.gm-glass-pilot-slot {
  margin-top: 16px;
  min-width: 0;
}

.gm-glass-pilot-slot.gm-pilot-cart-slot {
  box-sizing: border-box;
  clear: both;
  flex: 0 0 100%;
  margin: 16px 0;
  max-width: 100%;
  width: 100%;
}

.gm-glass-pilot {
  min-width: 0;
  position: relative;
}

.gm-glass-pilot .gm-pilot-viewer {
  margin-top: 0;
}

.gm-glass-pilot [hidden] {
  display: none !important;
}

.gm-glass-pilot .gm-pilot-collapse {
  background: #edf3f5;
  border: 1px solid #d4e1e6;
  border-radius: 8px;
  color: #17354a;
  font-size: .82rem;
  letter-spacing: normal;
  line-height: 1.12;
  margin: 0;
  min-height: 34px;
  padding: 8px 11px;
  position: absolute;
  right: 13px;
  text-transform: none;
  top: 11px;
  z-index: 2;
}

.gm-glass-pilot .gm-pilot-viewer__title {
  align-items: center;
  display: flex;
  min-height: 40px;
  padding-inline-end: 100px;
}

.gm-glass-pilot.gm-pilot-is-collapsed .gm-pilot-collapse {
  position: static;
}

@media (min-width: 850px) {
  .product-gallery.gm-pilot-gallery-column {
    align-self: stretch !important;
    height: auto !important;
    overflow: visible !important;
  }

  .gm-pilot-gallery-column > .gm-pilot-static-photos {
    bottom: auto !important;
    height: auto !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }

  .gm-pilot-gallery-column > .gm-glass-pilot-slot {
    position: sticky;
    top: var(--gm-pilot-sticky-top, 106px);
  }

  .gm-glass-pilot-slot > .gm-glass-pilot {
    max-height: calc(100vh - var(--gm-pilot-sticky-top, 106px) - 12px);
    max-height: calc(100dvh - var(--gm-pilot-sticky-top, 106px) - 12px);
    overflow-y: auto;
  }
}

