/** Shopify CDN: Minification failed

Line 69:10 Expected identifier but found whitespace
Line 69:11 Unexpected "8px"
Line 97:0 Expected "}" to go with "{"

**/
.ugc-gallery {
  padding: 32px 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.ugc-gallery__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ugc-gallery__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.ugc-gallery__subtitle {
  font-size: 13px;
  color: #444;
  margin: 6px 0 0 0;
  text-align: right;
  max-width: 260px;
}

.ugc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ugc-gallery__item {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}

.ugc-gallery__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ugc-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  text-align: center;
  padding: 8px

.ugc-gallery__caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

@media (max-width: 480px) {
  .ugc-gallery__title {
    font-size: 20px;
  }
  .ugc-gallery__subtitle {
    font-size: 11px;
    text-align: left;
    max-width: 100%;
  }
  .ugc-gallery__header {
    flex-direction: column;
  }
  .ugc-gallery__grid {
    gap: 6px;
  }
}
