/* ALMIRA VEHICLE V4 */

.almira-v4-gallery {
  width: 100%;
  min-width: 0;
}

.almira-v4-main-image {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #85632f;
  border-radius: 22px;
  background: #101923;
  cursor: zoom-in;
}

.almira-v4-main-image img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform .4s;
}

.almira-v4-main-image:hover img {
  transform: scale(1.035);
}

.almira-v4-main-image span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 11px 15px;
  border-radius: 9px;
  background: rgba(9,16,23,.88);
  color: #e7bf79;
  font-size: 12px;
  font-weight: 700;
}

.almira-v4-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.almira-v4-thumbs button {
  flex: 0 0 100px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #152333;
  cursor: pointer;
}

.almira-v4-thumbs button:hover,
.almira-v4-thumbs button:focus-visible {
  border-color: #d9ae6a;
}

.almira-v4-thumbs img {
  display: block;
  width: 100%;
  height: 75px;
  object-fit: cover;
}

.almira-v4-lightbox {
  width: min(1050px,95vw);
  max-width: 1050px;
  max-height: 95vh;
  border: 1px solid #aa8246;
  border-radius: 16px;
  padding: 18px;
  background: #09131e;
  color: #fff;
}

.almira-v4-lightbox[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 999999;
}

.almira-v4-lightbox::backdrop {
  background: rgba(0,0,0,.88);
}

.almira-v4-lightbox-head,
.almira-v4-lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.almira-v4-lightbox-head {
  margin-bottom: 16px;
}

.almira-v4-lightbox-head strong {
  color: #e5bc76;
}

.almira-v4-lightbox-head button {
  background: #263849;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  cursor: pointer;
}

.almira-v4-lightbox-body {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) 40px;
  align-items: center;
  gap: 10px;
}

.almira-v4-lightbox-body img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.almira-v4-lightbox-body button {
  height: 55px;
  border: 0;
  border-radius: 8px;
  background: #253646;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.almira-v4-lightbox-foot {
  padding-top: 16px;
  font-size: 12px;
}

.almira-v4-lightbox-foot a {
  color: #e5bc76;
  text-decoration: none;
  font-weight: 700;
}

.almira-v4-related {
  margin-top: 55px;
}

.almira-v4-related-heading span {
  color: #a67a38;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.almira-v4-related-heading h2 {
  margin: 10px 0;
  color: #142232;
  font-size: clamp(25px,3vw,36px);
}

.almira-v4-related-heading p {
  color: #687483;
  font-size: 13px;
}

.almira-v4-related-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 25px;
}

.almira-v4-related-card {
  overflow: hidden;
  border: 1px solid #e5ded2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(20,30,40,.06);
}

.almira-v4-related-card a {
  display: block;
  text-decoration: none;
}

.almira-v4-related-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.almira-v4-related-card a > div {
  padding: 20px;
}

.almira-v4-related-card span {
  color: #aa8246;
  font-size: 10px;
  font-weight: 700;
}

.almira-v4-related-card h3 {
  margin: 9px 0 15px;
  color: #172535;
  font-size: 19px;
}

.almira-v4-related-card strong {
  color: #987038;
  font-size: 12px;
}

@media(max-width:900px) {
  .almira-v4-related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
  .almira-v4-main-image img {
    height: 290px;
  }

  .almira-v4-related-grid {
    grid-template-columns: 1fr;
  }

  .almira-v4-lightbox {
    padding: 10px;
  }

  .almira-v4-lightbox-body {
    grid-template-columns: 28px minmax(0,1fr) 28px;
    gap: 5px;
  }
}
