/* Global premium refinement: separate with space and contrast, not table lines. */
.site-header {
  border-bottom: 0;
}

.trust-row {
  gap: 34px;
  border: 0;
}

.trust-row div {
  width: auto;
  min-width: 165px;
  margin: 0;
  padding: 0;
  border: 0;
}

.facts-grid div,
.order li {
  border: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.showroom-card {
  border: 0;
  box-shadow: 0 16px 40px rgba(22,18,10,.09);
}

.video-card {
  border: 0;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.18);
}

.footer-bottom {
  border-top: 0;
}

.catalog-track {
  gap: 18px;
}

.catalog-track article {
  flex-basis: 342px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #15130f;
  box-shadow: 0 16px 42px rgba(20,16,8,.14);
}

.catalog-track img {
  height: 300px;
  object-fit: cover;
}

.catalog-track h3 {
  color: #f0e8da;
  padding: 18px 20px 20px;
}

.product-mosaic .flagship img {
  object-position: center;
}

.hero-previews a:first-child {
  background: #ece9e2;
}

.hero-previews a:first-child img {
  object-fit: contain;
  object-position: center;
  padding: 5px 0;
}

.hero-previews a:first-child::after {
  background: linear-gradient(90deg, rgba(8,7,6,.94) 0%, rgba(8,7,6,.62) 34%, rgba(8,7,6,.08) 72%);
}

.showroom-card > img {
  object-fit: cover;
}

.navoi-darxon-card > img {
  object-position: center 42%;
}

.jizzakh-card > img {
  object-fit: cover;
  object-position: center 38%;
  background: #0c0b09;
}

.showroom-card:nth-of-type(5) > img {
  object-fit: contain;
  object-position: center;
  background: #0c0b09;
}

@media (max-width: 720px) {
  .trust-row {
    gap: 16px;
  }

  .trust-row div {
    min-width: 0;
    padding: 0;
  }

  .catalog-track article {
    flex-basis: 84vw;
  }

  .catalog-track img {
    height: 270px;
  }

  .jizzakh-card > img {
    object-position: center 38%;
  }

  .showroom-card:nth-of-type(5) > img {
    object-position: center;
  }
}

.gallery-trigger {
  cursor: zoom-in;
}

.gallery-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 4, .94);
  backdrop-filter: blur(14px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-dialog {
  position: relative;
  width: min(1080px, 100%);
  height: min(88vh, 820px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.gallery-head,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f3efe6;
}

.gallery-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  text-transform: uppercase;
}

.gallery-close,
.gallery-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(15,14,12,.72);
  color: #fff;
  cursor: pointer;
}

.gallery-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
}

.gallery-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #15130f;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 64px;
  transform: translateY(-50%);
  border-radius: 12px;
  font-size: 34px;
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-counter { color: #f0cd7a; font-weight: 700; }
.gallery-hint { color: #aaa399; font-size: 13px; }
body.gallery-open { overflow: hidden; }

@media (max-width: 720px) {
  .gallery-modal { padding: 14px; }
  .gallery-dialog { height: 92vh; }
  .gallery-stage { border-radius: 13px; }
  .gallery-arrow { width: 44px; height: 54px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-hint { font-size: 11px; }
}
