@charset "UTF-8";
/***
====================================================================
    Vozila (polovniautomobili integracija)
    Koristi postojece custom properties definisane u common/_root.scss
    (--theme-color1, --theme-color-dark, --title-font, --container-*...)
    tako da prati boje/fontove koji su vec zivi na sajtu.
====================================================================
***/
.pricing-block .inner-box .image-box .image:before {
  opacity: 0;
}

.pricing-block .inner-box .feature-list li .price {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3em;
}

.pricing-block .inner-box .image-box .image {
  height: 220px;
}
.pricing-block .inner-box .image-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pricing-block .inner-box .car-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 78px;
}
.pricing-block .inner-box .city {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lm-vozila {
  position: relative;
  padding: 50px 0 var(--container-pb);
}
.lm-vozila .sec-title .lm-brojac {
  margin-top: 8px;
}

.lm-azurirano {
  position: relative;
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-color);
  margin-top: -30px;
  margin-bottom: 50px;
}

/* Filter */
.lm-filter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 30px;
  background: #f8f8f8;
}
.lm-filter select,
.lm-filter input {
  height: 54px;
  padding: 0 20px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  font-size: 15px;
  color: var(--theme-color-dark);
  min-width: 160px;
  flex: 1 1 160px;
}
@media only screen and (max-width: 767px) {
  .lm-filter select,
  .lm-filter input {
    min-width: 100%;
  }
}
.lm-filter select:focus,
.lm-filter input:focus {
  outline: none;
  border-color: var(--theme-color1);
}
.lm-filter button {
  height: 54px;
  padding: 0 45px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-color-dark);
  background-color: var(--theme-color1);
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  transition: all 300ms ease;
}
.lm-filter button:hover {
  background-color: var(--theme-color-dark);
  color: var(--theme-color-light);
}
@media only screen and (max-width: 767px) {
  .lm-filter button {
    width: 100%;
    clip-path: none;
  }
}

/* Grid */
.lm-mreza {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px 30px;
}

.lm-prazno {
  text-align: center;
  padding: 80px 20px;
}
.lm-prazno p {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-color-dark);
  margin-bottom: 10px;
}
.lm-prazno span a {
  color: var(--theme-color-dark);
  text-decoration: underline;
}
.lm-prazno span a:hover {
  color: var(--theme-color1);
}

/* Kartica */
.lm-kartica {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  border: 1px solid #ececec;
  transition: all 300ms ease;
}
.lm-kartica:hover {
  border-color: var(--theme-color-dark);
  transform: translateY(-6px);
}
.lm-kartica:hover .lm-slika img {
  transform: scale(1.06);
}

.lm-slika {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.lm-slika:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background-color: var(--theme-color1);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.lm-slika img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 500ms ease;
}
.lm-slika .lm-broj-slika {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-color-light);
  background-color: rgba(0, 0, 0, 0.6);
}

.lm-telo {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lm-naslov {
  font-size: 19px;
  font-weight: 600;
  color: var(--theme-color-dark);
  margin-bottom: 6px;
  line-height: 1.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.6em;
}

.lm-podnaslov {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lm-cena {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-color-dark);
  margin-bottom: 16px;
}
.lm-cena:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 16px;
  margin-right: 8px;
  background-color: var(--theme-color1);
  transform: skewX(-22deg);
  vertical-align: middle;
}

.lm-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 0;
  border-top: 1px solid #ececec;
}
.lm-spec li {
  flex: 1 1 50%;
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 8px;
}
.lm-spec li:last-child, .lm-spec li:nth-last-child(2):nth-child(odd) {
  margin-bottom: 0;
}
.lm-spec li span:first-child {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 11px;
  color: #b1b1b1;
}
.lm-spec li span:last-child {
  display: block;
  font-weight: 600;
  color: var(--theme-color-dark);
}

.lm-oznake {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  min-height: 27px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ececec;
}

.lm-oznaka {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--theme-color-dark);
  background-color: #f2f2f2;
}
.lm-oznaka.lm-oznaka--garancija {
  background-color: var(--theme-color1);
}

/* Stranica pojedinačnog vozila */
.lm-nazad {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--theme-color-dark);
  transition: all 300ms ease;
}
.lm-nazad:hover {
  color: var(--theme-color1);
  padding-left: 6px;
}

.lm-detalj {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}
@media only screen and (max-width: 1023px) {
  .lm-detalj {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.lm-detalj > div {
  min-width: 0;
}

.lm-galerija-glavna {
  position: relative;
  margin-bottom: 14px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.lm-galerija-glavna img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lm-galerija-male {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 40px;
}
.lm-galerija-male button {
  flex: 0 0 90px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: all 300ms ease;
}
.lm-galerija-male button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-galerija-male button:hover {
  opacity: 1;
}
.lm-galerija-male button[aria-current=true] {
  border-color: var(--theme-color1);
  opacity: 1;
}

.lm-opis {
  margin-bottom: 40px;
}
.lm-opis h2 {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  color: var(--theme-color-dark);
  margin-bottom: 18px;
  padding-left: 18px;
}
.lm-opis h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 15px;
  background-color: var(--theme-color1);
  transform: skewX(-22deg);
}
.lm-opis p {
  color: var(--text-color);
  line-height: 1.8em;
}

.lm-oprema {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
@media only screen and (max-width: 767px) {
  .lm-oprema {
    grid-template-columns: 1fr;
  }
}
.lm-oprema li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--theme-color-dark);
}
.lm-oprema li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--theme-color1);
}

.lm-detalj-cena {
  font-family: var(--title-font);
  font-size: 34px;
  font-weight: 700;
  color: var(--theme-color-dark);
  margin: 4px 0 26px;
}

.lm-tabela {
  width: 100%;
  margin-bottom: 26px;
  border-collapse: collapse;
}
.lm-tabela tr:nth-child(odd) {
  background-color: #f8f8f8;
}
.lm-tabela th,
.lm-tabela td {
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
}
.lm-tabela th {
  font-weight: 500;
  color: var(--text-color);
  width: 45%;
}
.lm-tabela td {
  font-weight: 600;
  color: var(--theme-color-dark);
}
