.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}

.product-gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #edf2f5;
}

.product-gallery__item--hero {
  grid-column: 1 / -1;
}

.product-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-gallery__item--hero img {
  aspect-ratio: 16 / 10;
}

.product-gallery__item figcaption {
  padding: 10px 12px;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  line-height: 1.45;
}

.sidebar-card__email {
  display: block;
  margin-top: 14px;
  color: #ffd08a;
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.sidebar-card__email:hover {
  color: var(--white);
}

.sidebar-card__steps {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.sidebar-card__steps strong,
.sidebar-card__steps span {
  display: block;
}

.sidebar-card__steps strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 13px;
}

.sidebar-card__steps span {
  color: #c5d4de;
  font-size: 12px;
  line-height: 1.65;
}

.mobile-rfq-bar {
  display: none;
}

@media (max-width: 640px) {
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }

  .product-gallery__item--hero {
    grid-column: auto;
  }

  .product-gallery__item img,
  .product-gallery__item--hero img {
    aspect-ratio: 4 / 3;
  }

  .mobile-rfq-bar {
    position: fixed;
    z-index: 999;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(7,26,43,.96);
    box-shadow: 0 18px 40px rgba(7,26,43,.28);
    backdrop-filter: blur(12px);
  }

  .mobile-rfq-bar a {
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 9px;
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
  }

  .mobile-rfq-bar__primary {
    border-color: var(--accent) !important;
    color: #1d2a34 !important;
    background: var(--accent);
  }
}
