.two-gis-badge {
  gap: 8px;
  min-height: 36px;
  padding: 4px 11px 4px 4px;
  border: 1px solid #292b34;
  background: #101116;
}

.two-gis-badge img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 8px;
}

.two-gis-reviews-head {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.two-gis-reviews-head > div:first-child {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.two-gis-summary {
  margin: 0 auto;
  text-align: left;
}

.two-gis-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  width: 100%;
}

.two-gis-footer-row .two-gis-all,
.two-gis-footer-row .two-gis-summary {
  margin: 0;
}

@media (max-width: 620px) {
  .two-gis-footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .two-gis-footer-row .two-gis-summary {
    width: 100%;
    box-sizing: border-box;
  }
}

.two-gis-all.secondary-btn {
  border-color: #e238aa;
  background: #e238aa;
  color: #fff;
}

.two-gis-all.secondary-btn:hover {
  border-color: #f044b8;
  background: #f044b8;
}

.workstation-more.secondary-btn {
  border-color: #e238aa;
  background: #e238aa;
  color: #fff;
}

.workstation-more.secondary-btn:hover {
  border-color: #f044b8;
  background: #f044b8;
}

.two-gis-review-photos {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.two-gis-review-photos button {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #343640;
  border-radius: 9px;
  background: #191a20;
  cursor: zoom-in;
}

.two-gis-review-photos button:hover {
  border-color: #e238aa;
}

.two-gis-review-photos img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.two-gis-review-photos button:hover img {
  transform: scale(1.08);
}

.two-gis-gallery {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 64px 84px;
  background: rgba(2, 3, 7, .94);
  backdrop-filter: blur(16px);
}

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

.two-gis-gallery img {
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 128px);
  display: block;
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .65);
  object-fit: contain;
}

.two-gis-gallery button {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(21, 22, 29, .88);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.two-gis-gallery-close { top: 22px; right: 22px; }
.two-gis-gallery-prev { top: 50%; left: 22px; transform: translateY(-50%); }
.two-gis-gallery-next { top: 50%; right: 22px; transform: translateY(-50%); }
.two-gis-gallery-count { position: absolute; bottom: 24px; left: 50%; padding: 7px 11px; border-radius: 20px; background: rgba(21,22,29,.88); color: #ddd; font-size: 11px; transform: translateX(-50%); }

@media (max-width: 620px) {
  .two-gis-gallery { padding: 70px 14px; }
  .two-gis-gallery img { max-height: calc(100vh - 140px); }
  .two-gis-gallery-prev { left: 10px; }
  .two-gis-gallery-next { right: 10px; }
  .two-gis-gallery-close { top: 14px; right: 14px; }
}
