html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.frontend-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.frontend-shell,
.frontend-shell > div {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.frontend-shell img {
  max-width: 100%;
  height: auto;
}

.site-mobile-topbar,
.site-mobile-panel {
  display: none;
}

.site-footer__content {
  padding-bottom: 1rem;
}

.site-footer__column {
  margin-bottom: 2rem;
}

.site-footer__socials {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem !important;
}

.cookieConsent__text {
  flex: 1 1 auto;
}

.site-mobile-toggle {
  border: 0;
  background: #101011;
  border-radius: 0.75rem;
  width: 52px;
  height: 52px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: 0 14px 30px rgba(16, 16, 17, 0.16);
}

.site-mobile-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.listing-layout {
  align-items: flex-start;
}

.listing-sidebar-panel {
  display: block;
  margin: 0;
}

.listing-sidebar-toggle {
  display: none;
}

.listing-sidebar-content {
  display: block;
}

.listing-sidebar-block {
  border: 1px solid #eceef6;
  box-shadow: 0 16px 36px rgba(16, 16, 17, 0.05);
}

.listing-mini-card {
  padding: 0.65rem;
  border: 1px solid #eceef6 !important;
  border-radius: 1rem;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(16, 16, 17, 0.04);
}

.listing-mini-card .row {
  margin: 0;
}

.listing-mini-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.listing-ad img {
  width: 100%;
}

.listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid #eceef6;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(16, 16, 17, 0.06);
}

.listing-card__media {
  position: relative;
}

.listing-card__badge {
  top: 12px;
  left: 12px;
  z-index: 2;
}

.listing-card__compare {
  top: 10px;
  right: 10px;
  z-index: 2;
}

.listing-card__image {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border-radius: 1rem !important;
}

.listing-card__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.listing-card__title {
  font-size: 1.2rem !important;
  line-height: 1.3;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.listing-card__meta span {
  margin-right: 0 !important;
}

.listing-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border-radius: 0.9rem;
}

.listing-pagination {
  width: 100%;
  margin-top: 0.75rem;
}

.listing-pagination nav {
  width: 100%;
}

.listing-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.mobile-nav-open .site-mobile-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-nav-open .site-mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .site-mobile-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media only screen and (max-width: 991.98px) {
  .homepage-page,
  .homepage-page .content-body,
  .homepage-page .container-fluid,
  .homepage-page .container,
  .homepage-page .row,
  .homepage-page [class*="col-"] {
    max-width: 100%;
  }

  .homepage-page [class*="col-"] {
    min-width: 0;
  }

  .homepage-page .owl-carousel,
  .homepage-page .owl-stage-outer,
  .homepage-page .owl-stage,
  .homepage-page .owl-item,
  .homepage-page .course-slider,
  .homepage-page .feedback-wrapper,
  .homepage-page .homepage-brands,
  .homepage-page .homepage-testimonials {
    max-width: 100% !important;
  }

  .homepage-page .owl-stage-outer,
  .homepage-page .feedback-slider .owl-stage-outer {
    overflow: hidden !important;
  }

  .homepage-page .owl-stage {
    min-width: 0 !important;
  }

  .homepage-page .owl-item {
    overflow: hidden;
  }

  .text-w h1,
  .text-w p {
    color: #fff !important;
  }

  .nav-header {
    display: none !important;
  }

  .header,
  [data-sidebar-style="full"] .header,
  [data-sidebar-style="overlay"] .header,
  [data-sidebar-style="mini"] .header,
  [data-sidebar-style="compact"] .header,
  [data-sidebar-style="modern"] .header {
    padding-left: 0 !important;
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(16, 16, 17, 0.08);
  }

  .header .header-content {
    padding: 0.75rem 1rem !important;
    align-items: stretch;
  }

  .header .navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .site-mobile-topbar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
  }

  .site-mobile-brand {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 68px);
  }

  .site-mobile-brand img {
    display: block;
    max-height: 42px;
    width: auto;
  }

  .site-header-shell {
    min-height: auto !important;
  }

  .header-left {
    display: none;
  }

  .header-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
  }

  .header-right > li:not(:first-child) {
    padding-left: 0;
  }

  .header-right .nav-item {
    height: auto;
  }

  .header-right .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 240px;
  }

  .header-right .header-profile > a.nav-link {
    min-height: 44px;
    height: 44px;
    border-radius: 0.75rem;
  }

  .header-right .header-profile img {
    width: 44px;
    height: 44px;
  }

  .site-mobile-panel {
    display: block;
    background: #fff;
    border-bottom: 1px solid rgba(16, 16, 17, 0.08);
    box-shadow: 0 18px 40px rgba(16, 16, 17, 0.08);
  }

  .site-mobile-panel[hidden] {
    display: none;
  }

  .site-mobile-panel__inner {
    padding: 1rem;
    display: grid;
    gap: 1rem;
  }

  .site-mobile-search__field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border: 1px solid #ebebeb;
    border-radius: 1rem;
    overflow: hidden;
    background: #fbfbfb;
  }

  .site-mobile-search__field .form-control {
    min-height: 52px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
  }

  .site-mobile-search__submit {
    border: 0;
    background: #d32803;
    color: #fff;
    min-width: 56px;
  }

  .site-mobile-section {
    display: grid;
    gap: 0.75rem;
  }

  .site-mobile-group {
    background: #f6f7fc;
    border: 1px solid #eceef6;
    border-radius: 1rem;
    overflow: hidden;
  }

  .site-mobile-group summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    font-weight: 700;
    color: #101011;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-mobile-group summary::-webkit-details-marker {
    display: none;
  }

  .site-mobile-group summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
  }

  .site-mobile-group summary::after {
    content: "+";
    font-size: 1.125rem;
    line-height: 1;
    color: #d32803;
  }

  .site-mobile-group[open] summary::after {
    content: "-";
  }

  .site-mobile-links {
    display: grid;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
  }

  .site-mobile-links--grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .page-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-nav img.img-fluid {
    max-height: 88px;
    object-fit: contain;
    margin-bottom: 1rem;
  }

  .listing-page {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .listing-layout {
    gap: 1rem;
  }

  .listing-sidebar-column,
  .listing-results-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .listing-sidebar-panel {
    background: #f6f7fc;
    border: 1px solid #eceef6;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 16, 17, 0.06);
  }

  .listing-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    font-weight: 800;
    color: #101011;
    cursor: pointer;
    list-style: none;
  }

  .listing-sidebar-toggle::-webkit-details-marker {
    display: none;
  }

  .listing-sidebar-toggle::after {
    content: "+";
    color: #d32803;
    font-size: 1.2rem;
    line-height: 1;
  }

  .listing-sidebar-panel[open] .listing-sidebar-toggle::after {
    content: "-";
  }

  .listing-sidebar-content {
    padding: 0 0.85rem 0.85rem;
  }

  .listing-sidebar-block {
    padding: 1rem !important;
    margin-bottom: 0.85rem !important;
  }

  .listing-sidebar-block:last-child {
    margin-bottom: 0 !important;
  }

  .listing-results-grid {
    row-gap: 0;
  }

  .listing-card-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem !important;
  }

  .listing-card {
    padding: 0.8rem;
  }

  .listing-card__image {
    height: 210px !important;
  }

  .listing-card__title {
    font-size: 1.05rem !important;
  }

  .listing-card__meta {
    font-size: 0.875rem;
  }

  .listing-mini-card {
    padding: 0.75rem;
  }

  .listing-mini-card img {
    height: 76px;
    border-radius: 0.85rem;
  }

  .listing-pagination,
  .listing-pagination .pagination {
    justify-content: center !important;
  }

  .brandscarousel .owl-nav,
  .brandscarouselrtl .owl-nav {
    display: none;
  }

  .site-mobile-link {
    display: block;
    background: #fff;
    border: 1px solid #eceef6;
    border-radius: 0.875rem;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: #101011;
    box-shadow: 0 8px 20px rgba(16, 16, 17, 0.05);
  }

  .site-mobile-link--accent {
    background: #d32803;
    border-color: #d32803;
    color: #fff;
  }

  footer.site-footer {
    padding-top: 0.5rem;
  }

  .site-footer__content {
    margin-top: 0 !important;
  }

  .site-footer__column {
    margin-bottom: 1.5rem;
  }

  .site-footer__column:last-child {
    margin-bottom: 0;
  }

  .pr-7,
  .px-7 {
    padding-right: 0 !important;
  }

  .pt-6,
  .py-6 {
    padding-top: 2rem !important;
  }

  .cookieConsent {
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: none;
    left: 12px;
    transform: none;
    padding: 1rem;
    border-radius: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  #acceptCookies {
    width: 100%;
  }

  .course-slider,
  .bootstrap-carousel,
  .carousel,
  .widget-carousel .items,
  .height-370 {
    height: auto !important;
  }

  .course-slider .card-body {
    width: 100%;
    padding: 1.5rem;
  }

  .course-slider .video-wrap {
    min-height: 280px;
  }

  .car-slider .owl-thumbs,
  .car-slider-rtl .owl-thumbs {
    position: static;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    overflow-x: auto;
    padding-top: 0.75rem;
  }

  .car-slider .owl-thumb-item,
  .car-slider-rtl .owl-thumb-item {
    flex: 0 0 72px;
  }

  .homepage-page .container-fluid,
  .homepage-page .container,
  .car-detail-page .container,
  .profile-page .container,
  .compare-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .homepage-hero {
    margin-top: 0.5rem !important;
  }

  .homepage-hero-card {
    min-height: 520px;
    overflow: hidden;
  }

  .homepage-hero-card .card-body {
    position: absolute !important;
    align-items: flex-end !important;
    padding: 1.25rem !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(16, 16, 17, 0.08) 0%, rgba(16, 16, 17, 0.7) 100%);
  }

  .homepage-hero-card .card-content {
    max-width: 100%;
  }

  .homepage-stats .widget-stat,
  .homepage-featured .card,
  .homepage-about .card,
  .homepage-testimonials .card,
  .homepage-news .post-article,
  .compare-intro-card,
  .compare-table-card,
  .profile-hero-card,
  .profile-tab-content > .tab-pane > .card,
  .car-detail-summary {
    border-radius: 1.25rem !important;
    overflow: hidden;
  }

  .homepage-featured .card-header {
    gap: 1rem;
    padding-bottom: 1rem !important;
  }

  .homepage-featured .card-action,
  .homepage-featured .card-tabs,
  .homepage-featured .nav-tabs {
    width: 100%;
  }

  .homepage-featured .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
  }

  .homepage-featured-card-col {
    margin-bottom: 1.25rem !important;
  }

  .homepage-featured .media,
  .profile-offer-card-col .media {
    margin-bottom: 0.85rem !important;
  }

  .homepage-featured img.height-145,
  .profile-offer-card-col img.height-210 {
    height: 220px !important;
    object-fit: cover;
  }

  .homepage-about .card-body,
  .homepage-testimonials .card-body,
  .compare-table-card,
  .profile-tab-content > .tab-pane > .card {
    padding: 1.25rem !important;
  }

  .homepage-about__media {
    text-align: left !important;
    display: grid;
    gap: 1rem;
  }

  .homepage-about__media .img-lamd,
  .homepage-about__media .width-50 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .homepage-testimonials .owl-items,
  .homepage-news .col-lg-4,
  .homepage-brands .items {
    margin-bottom: 1rem;
  }

  .homepage-brands {
    padding: 1rem !important;
  }

  .homepage-cta .section-header img {
    width: 100% !important;
    max-width: 280px;
  }

  .car-detail-hero .row {
    gap: 1rem;
  }

  .car-detail-gallery,
  .car-detail-summary {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .car-detail-gallery .owl-items {
    padding: 1rem !important;
  }

  .car-detail-gallery img.height-333,
  .car-detail-summary.height-333 {
    height: auto !important;
  }

  .car-detail-summary {
    padding: 0 !important;
  }

  .car-detail-summary .card-body {
    padding: 1.25rem !important;
  }

  .car-detail-feature-list {
    display: grid;
    gap: 0.75rem;
    padding-left: 0;
  }

  .car-detail-feature-list li {
    float: none !important;
    width: 100% !important;
    margin-top: 0 !important;
    list-style: none;
  }

  .car-detail-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.25rem;
  }

  .car-detail-tabs .list-inline-item {
    flex: 0 0 auto;
  }

  .car-detail-tabs a {
    margin-right: 1rem !important;
    padding-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
  }

  .car-detail-tab-content iframe {
    height: 240px;
    border-radius: 1rem;
  }

  .car-detail-questions .col-5,
  .car-detail-questions .col-7,
  .car-detail-question-item .col-2,
  .car-detail-question-item .col-10 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left !important;
  }

  .car-detail-question-item,
  .car-detail-question-form {
    padding: 1rem !important;
  }

  .car-detail-question-item figure.avatar,
  .car-detail-question-item .w100 {
    width: 72px !important;
  }

  .car-detail-contact .row,
  .car-detail-related .row {
    row-gap: 1rem;
  }

  .profile-hero-card .h200 {
    height: 180px !important;
  }

  .profile-hero-content {
    padding: 1.25rem !important;
  }

  .profile-hero-content .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .profile-socials {
    float: none !important;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 0;
  }

  .profile-tabs,
  .profile-tabs.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start !important;
    gap: 0.5rem;
    padding: 1rem !important;
  }

  .profile-tabs .list-inline-item {
    flex: 0 0 auto;
  }

  .profile-tabs a {
    margin: 0 !important;
    padding: 0.8rem 1rem !important;
    border: 1px solid #eceef6;
    border-radius: 999px;
    background: #fff;
  }

  .profile-tab-content > .active {
    display: block;
  }

  .profile-offer-card-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.25rem !important;
  }

  .profile-data-table,
  .compare-data-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .profile-data-table thead,
  .compare-data-table thead,
  .profile-data-table tr:first-child,
  .compare-data-table tr:first-child {
    display: none;
  }

  .profile-data-table tbody,
  .profile-data-table tr,
  .profile-data-table td,
  .compare-data-table tbody,
  .compare-data-table tr,
  .compare-data-table td {
    display: block;
    width: 100%;
  }

  .profile-data-table tr,
  .compare-data-table tr {
    background: #fff;
    border: 1px solid #eceef6;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(16, 16, 17, 0.05);
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .profile-data-table td,
  .compare-data-table td {
    position: relative;
    padding: 0.6rem 0 0.6rem 7.25rem !important;
    text-align: left !important;
    min-height: 2.5rem;
    border-top: 0 !important;
  }

  .profile-data-table td::before,
  .compare-data-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6.5rem;
    font-weight: 800;
    color: #101011;
  }

  .profile-data-table .media,
  .compare-data-table .media {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
    align-items: center;
  }

  .profile-data-table .btn-block,
  .compare-data-table .btn-block {
    width: 100%;
  }

  .compare-table-card {
    padding: 1.25rem !important;
  }

  .compare-promo-card .card-body {
    padding: 1.5rem !important;
  }
}

@media only screen and (max-width: 575.98px) {
  .header .header-content {
    padding: 0.75rem !important;
  }

  .header-right {
    justify-content: space-between;
  }

  .header-right .nav-item {
    flex: 0 0 auto;
  }

  .font-3,
  .font-4,
  .font-5 {
    font-size: 2rem !important;
  }

  .font-3u {
    font-size: 1.5rem !important;
  }

  .listing-page .container,
  .content-body > .col-md-12.p-3 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .listing-card__image {
    height: 190px !important;
  }

  .listing-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .homepage-hero-card {
    min-height: 460px;
  }

  .homepage-featured .card-header,
  .homepage-about .row,
  .car-detail-contact .row,
  .car-detail-related .row,
  .compare-page .row {
    margin-left: 0;
    margin-right: 0;
  }

  .homepage-featured-card-col,
  .homepage-news .col-lg-4,
  .car-detail-related .col-lg-3,
  .compare-page [class*="col-xl-4"] {
    padding-left: 0;
    padding-right: 0;
  }

  .homepage-featured img.height-145,
  .profile-offer-card-col img.height-210,
  .car-detail-related .card-image img {
    height: 200px !important;
  }

  .car-detail-summary .porduct-title {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
  }

  .car-detail-tab-content iframe {
    height: 200px;
  }

  .car-detail-question-item .content,
  .car-detail-question-form {
    margin-top: 0.75rem !important;
  }

  .profile-hero-content {
    padding: 1rem !important;
  }

  .profile-hero-content .avatar {
    width: 78px !important;
  }

  .profile-tabs a {
    font-size: 0.78rem !important;
  }

  .profile-data-table td,
  .compare-data-table td {
    padding-left: 0 !important;
    padding-top: 1.85rem !important;
  }

  .profile-data-table td::before,
  .compare-data-table td::before {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 0.35rem;
  }

  .profile-data-table .media,
  .compare-data-table .media {
    grid-template-columns: 1fr;
  }

  .listing-mini-card .col-5 {
    flex: 0 0 38%;
    max-width: 38%;
  }

  .listing-mini-card .col-7 {
    flex: 0 0 62%;
    max-width: 62%;
  }

  .site-footer__bottom {
    text-align: center;
  }
}