@media screen and (min-width: 500px) {
  .whatsapp {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .logo_cls {
    width: 116px !important;
  }
}

.logo_cls {
  width: 150px;
}

.goog-te-combo {
  min-width: 100% !important;
}

#menutoggle {
  text-align: left;
}

.aside-sticky-top {
  padding-top: 2rem;
  z-index: 10;
}

@media (max-width: 576px) {
  .w-100-sm {
    width: 100% !important;
  }

  .me-0-sm {
    margin-right: 0px !important;
  }

  .pe-0-sm {
    padding-right: 0px !important;
  }

  .nav-item .nav-link {
    padding: .5rem 1rem !important;
  }

  .dropdown-menu .dropdown-item {
    color: #fff !important;
  }

  #dropdown_start {
    display: none !important;
  }

  .dropdown-menu-img {
    display: none !important;
  }

  #aside_mobile {
    z-index: 1090 !important;
  }

  .aside-sticky-top {
    padding-top: 0px;
  }
}

@media (max-width: 820px) {
  .w-100-sm {
    width: 100% !important;
  }

  .nav-item .nav-link {
    padding: .5rem 1rem !important;
  }

  .dropdown-menu .dropdown-item {
    color: #fff !important;
  }

  #dropdown_start {
    display: none !important;
  }

  .dropdown-menu-img {
    display: none !important;
  }

  html {
    overflow-x: hidden;
  }

  #google_translate_element {
    overflow-x: hidden;
  }

  #aside_mobile {
    z-index: 1090 !important;
  }

  .aside-sticky-top {
    padding-top: 0px;
  }
}

@media (min-width: 1024px) {
  #inv_menu {
    display: none !important;
  }

  html {
    overflow-x: hidden;
  }

  #google_translate_element {
    overflow-x: hidden;
  }
}

html {
  overflow-x: hidden;
}

#google_translate_element {
  overflow-x: hidden;
}

#truck_content_inner .card {
  /* min-height: 271px !important; */
   min-height: auto !important;
}
.stock-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stock-status-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.stock-status-location {
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 576px) {
  .stock-status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .stock-status-location {
    white-space: normal;
    text-align: left;
  }
}
/* =========================
   SPEC ROWS
========================= */
.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(80px, auto);
  align-items: center;
  column-gap: 15px;
  margin-bottom: 0.4rem;
}

.spec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.spec-value,
.spec-row strong {
  min-width: 0;
  text-align: right;
  /* color: #111; */
  font-weight: 100 !important;
  word-break: break-word;
}
.spec-label i {
  width: 14px;
  min-width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  font-size: 12px;
}
.spec-label i.fa-horse-head {
  font-size: 12px;
}
/* =========================
   MEDIA WRAPPER (4:3)
========================= */
.media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* 1600x1200 */
  overflow: hidden;
  background: #000; /* fallback */
}

/* =========================
   BLURRED BACKGROUND (BEHIND)
========================= */
.media-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;

  /* will be set via CSS variable */
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;

  filter: blur(3px);
  transform: scale(1.1); /* avoid blur edges */
  opacity: 0.8;

  z-index: 0;
}

/* =========================
   FOREGROUND IMAGE / VIDEO
========================= */
.media-element {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  object-fit: contain; /* no cropping */
  object-position: center;
}

/* =========================
   VIDEO (optional polish)
========================= */
video.media-element {
  background: #000;
}
/* =========================
   CARD LAYOUT
========================= */
.card-horizontal {
  /* padding: 0.75rem; */
}
.card-horizontal .card-body {
  display: flex;
  flex-direction: column;
}

.truck-spec-content {
  /* flex: 1 1 auto; */
  flex: 1;
   display: flex;
   align-items: center;
}
/*new css*/
.truck-spec-content > .col-lg-6 {
  align-self: center;
}
.truck-warranty-container {
  margin-top: auto;
}
/*new css*/
.truck-warranty-row {
  margin-top: auto;
  padding-top: 0.5rem;
}



.card-horizontal .card-body {
  padding: 1rem 1.25rem;
}
.card-horizontal,
.card-horizontal * {
  box-sizing: border-box;
}

.card-horizontal {
  display: flex;
  flex-direction: column;
}

.card-horizontal .media-wrapper,
.card-horizontal .card-body {
  min-width: 0;
}

.card-horizontal .media-wrapper {
  flex: 0 0 100%;
  max-width: 100%;
}

.card-horizontal .card-body {
  flex: 1 1 auto;
  max-width: 100%;
  overflow: hidden;
}

#truck_content_inner .card-body {
  padding: 0px 0px 0px 0.5rem;
  /* padding-top:0px; */
  /* padding-bottom: 0px; */
}

.card-horizontal .card-img-top {
  border-radius: .75rem !important;
}
@media (min-width: 768px) {
  .card-horizontal {
    flex-direction: row;
    align-items: stretch;
  }

  .card-horizontal .media-wrapper {
    flex: 0 0 36%;
    max-width: 36%;
  }

  .card-horizontal .card-body {
    flex: 1 1 auto;
    max-width: 64%;
  }
}

@media (min-width: 1200px) {
  .card-horizontal .media-wrapper {
    flex-basis: 34%;
    max-width: 34%;
  }

  .card-horizontal .card-body {
    max-width: 66%;
  }
}

@media (min-width: 1400px) {
  .card-horizontal .media-wrapper {
    flex: 0 0 33%;
    max-width: 33%;
    aspect-ratio: 4 / 3;
  }

  .card-horizontal .card-body {
    max-width: 68%;
  }
}

@media (min-width: 1920px) {
  .card-horizontal .media-wrapper {
    flex-basis: 30%;
    max-width: 30%;
  }

  .card-horizontal .card-body {
    max-width: 70%;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .container {
    max-width: 100% !important;
  }
}

/* =========================
   MOBILE / TABLET
========================= */
@media (max-width: 767px) {
  .card-horizontal {
    flex-direction: column !important;
  }

  .card-horizontal .media-wrapper,
  .card-horizontal .card-body {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-horizontal .card-img-top {
    min-height: 16.5rem;
    border-radius: .75rem !important;
  }

  #truck_content_inner .card-body {
    padding: 1rem;
  }

  .spec-row {
    grid-template-columns: minmax(110px, 1fr) minmax(70px, auto);
    column-gap: 10px;
  }
}

/* =========================
   RIBBON
========================= */
.ribbon {
  z-index: 9;
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}

.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #2980b9;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 10px 0;
  background-color: #f23c49;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 14px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
}

.ribbon-top-left {
  top: -10px;
  left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}

.ribbon-top-left::before {
  top: 0;
  right: 0;
}

.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}

.ribbon-top-left span {
  right: -12px;
  top: 32px;
  transform: rotate(-45deg);
  background-color: #7EBA58;
}

.ribbon-top-right {
  top: -10px;
  right: -10px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}

.ribbon-top-right::before {
  top: 0;
  left: 0;
}

.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}

.ribbon-top-right span {
  left: -12px;
  top: 33px;
  transform: rotate(45deg);
  background-color: #f23c49;
}

.a-top {
  color: var(--bs-body-color);
}

.no-uppercase {
  text-transform: none !important;
}
