/* vtw-shoppable-ugc-grid.css */
/* VendTheWeb Section Library — vendtheweb.com */
/* Version: 1.0.0 */

/* ── Variable resolution ─────────────────────────────── */
.vtw-shoppable-ugc-grid {
  --_bg:           var(--vtw-section-bg,     var(--vtw-brand-bg,     #faf9f7));
  --_text:         var(--vtw-section-text,   var(--vtw-brand-text,   #1a1a1a));
  --_accent:       var(--vtw-section-accent, var(--vtw-brand-accent, #5c6b3a));
  --_accent-text:  var(--vtw-section-accent-text, var(--vtw-brand-accent-text, #ffffff));
  --_heading-font: var(--vtw-section-heading-font,
                   var(--vtw-brand-heading-font, Georgia, serif));
  --_body-font:    var(--vtw-section-body-font,
                   var(--vtw-brand-body-font, 'Assistant', Georgia, serif));
  --_padding:      var(--vtw-section-padding,
                   var(--vtw-brand-section-padding, 80px));
  --_max-width:    var(--vtw-brand-container-width, 1280px);
  --_speed:        var(--vtw-brand-speed, 250ms);
  --_border:       var(--vtw-brand-border, #e8e3dc);
  --_surface:      var(--vtw-brand-surface, #f0ede8);
  --_text-muted:   var(--vtw-section-text-muted, var(--vtw-brand-text-muted, #6b675f));
  --_focus:        var(--vtw-section-focus, var(--vtw-brand-focus, var(--_accent)));
  --_heading-scale: var(--vtw-brand-heading-scale, 1);
  --_body-size:    var(--vtw-brand-body-size, 16px);
  --_body-line-height: var(--vtw-brand-body-line-height, 1.6);
  --_focus-width:  var(--vtw-brand-focus-width, 2px);
  --_media-radius: var(--vtw-brand-media-radius, 8px);
  --_shadow:       var(--vtw-brand-shadow, 0 8px 24px rgb(26 26 26 / 0.08));
  --_image-radius: 8px;
  --_gap:          16px;
  --_frame:        color-mix(in srgb, #c4a265 35%, var(--_border) 65%);
  --_overlay:      color-mix(in srgb, var(--_text) 72%, var(--_bg) 28%);
}

/* ── Base ────────────────────────────────────────────── */
.vtw-shoppable-ugc-grid {
  background-color: var(--_bg);
  color: var(--_text);
  padding-top: var(--_padding);
  padding-bottom: var(--_padding);
  font-family: var(--_body-font);
}

.vtw-shoppable-ugc-grid__inner {
  max-width: var(--_max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
}

.vtw-shoppable-ugc-grid[data-width="full"] .vtw-shoppable-ugc-grid__inner {
  max-width: none;
  padding-inline: clamp(24px, 6vw, 80px);
}

.vtw-shoppable-ugc-grid__empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--_text-muted);
}

/* ── Header ──────────────────────────────────────────── */
.vtw-shoppable-ugc-grid__header {
  margin-bottom: 32px;
  max-width: 560px;
}

.vtw-shoppable-ugc-grid__eyebrow {
  font-family: var(--_body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--_accent);
  margin: 0 0 12px;
}

.vtw-shoppable-ugc-grid__heading {
  font-family: var(--_heading-font);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--_text);
  margin: 0;
}

.vtw-shoppable-ugc-grid__body {
  font-family: var(--_body-font);
  font-size: var(--_body-size);
  line-height: var(--_body-line-height);
  color: var(--_text-muted);
  margin: 16px 0 0;
  max-width: 42ch;
}

.vtw-shoppable-ugc-grid[data-text-align="center"] .vtw-shoppable-ugc-grid__header {
  margin-inline: auto;
  text-align: center;
}

.vtw-shoppable-ugc-grid[data-text-align="center"] .vtw-shoppable-ugc-grid__body {
  margin-inline: auto;
}

/* ── Grid ────────────────────────────────────────────── */
.vtw-shoppable-ugc-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__inner {
  container-type: inline-size;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] {
  --_cols: 2;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__list,
.vtw-shoppable-ugc-grid[data-layout="grid-even"] .vtw-shoppable-ugc-grid__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--_gap);
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__list {
  --_track: calc((100cqw - (var(--_cols) - 1) * var(--_gap)) / var(--_cols));
  grid-template-columns: repeat(var(--_cols), minmax(0, 1fr));
  grid-auto-rows: var(--_track);
}

@media (min-width: 768px) {
  .vtw-shoppable-ugc-grid[data-layout="featured-first"] {
    --_cols: 3;
  }
}

@media (min-width: 1100px) {
  .vtw-shoppable-ugc-grid[data-layout="featured-first"][data-columns="2"] {
    --_cols: 2;
  }
  .vtw-shoppable-ugc-grid[data-layout="featured-first"][data-columns="3"] {
    --_cols: 3;
  }
  .vtw-shoppable-ugc-grid[data-layout="featured-first"][data-columns="4"] {
    --_cols: 4;
  }
  .vtw-shoppable-ugc-grid[data-layout="grid-even"][data-columns="2"] .vtw-shoppable-ugc-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vtw-shoppable-ugc-grid[data-layout="grid-even"][data-columns="3"] .vtw-shoppable-ugc-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vtw-shoppable-ugc-grid[data-layout="grid-even"][data-columns="4"] .vtw-shoppable-ugc-grid__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-featured="true"] {
  grid-column: span 2;
  grid-row: span 2;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-crop="portrait"]:not([data-featured]) {
  grid-column: span 1;
  grid-row: span 2;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-crop="landscape"]:not([data-featured]) {
  grid-column: span 2;
  grid-row: span 1;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-crop="square"]:not([data-featured]),
.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-crop="natural"]:not([data-featured]) {
  grid-column: span 1;
  grid-row: span 1;
}

.vtw-shoppable-ugc-grid[data-layout="masonry"] .vtw-shoppable-ugc-grid__list {
  column-count: 2;
  column-gap: var(--_gap);
}

@media (min-width: 900px) {
  .vtw-shoppable-ugc-grid[data-layout="masonry"][data-columns="2"] .vtw-shoppable-ugc-grid__list { column-count: 2; }
  .vtw-shoppable-ugc-grid[data-layout="masonry"][data-columns="3"] .vtw-shoppable-ugc-grid__list { column-count: 3; }
  .vtw-shoppable-ugc-grid[data-layout="masonry"][data-columns="4"] .vtw-shoppable-ugc-grid__list { column-count: 4; }
}

.vtw-shoppable-ugc-grid[data-layout="masonry"] .vtw-shoppable-ugc-grid__item {
  break-inside: avoid;
  margin-bottom: var(--_gap);
  display: block;
}

.vtw-shoppable-ugc-grid__item {
  min-width: 0;
  min-height: 0;
  list-style: none;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item {
  overflow: hidden;
}

.vtw-shoppable-ugc-grid__figure {
  position: relative;
  margin: 0;
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__figure,
.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__trigger {
  height: 100%;
}

/* ── Media ───────────────────────────────────────────── */
.vtw-shoppable-ugc-grid__trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--_image-radius);
  -webkit-tap-highlight-color: transparent;
}

.vtw-shoppable-ugc-grid__trigger:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__media {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--_image-radius);
  border: 1px solid var(--_frame);
  background-color: var(--_surface);
}

.vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__media {
  height: 100%;
}

.vtw-shoppable-ugc-grid[data-layout="grid-even"] .vtw-shoppable-ugc-grid__media {
  aspect-ratio: var(--_crop, 4 / 5);
}

.vtw-shoppable-ugc-grid[data-layout="masonry"] .vtw-shoppable-ugc-grid__media {
  aspect-ratio: auto;
}

.vtw-shoppable-ugc-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--_speed) ease;
}

svg.vtw-shoppable-ugc-grid__img {
  object-fit: fill;
}

.vtw-shoppable-ugc-grid[data-layout="masonry"] .vtw-shoppable-ugc-grid__img {
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .vtw-shoppable-ugc-grid__trigger:hover .vtw-shoppable-ugc-grid__img {
    transform: scale(1.03);
  }
}

/* ── Pin + chip ──────────────────────────────────────── */
.vtw-shoppable-ugc-grid__hotspot {
  position: absolute;
  left: var(--_pin-x);
  top: var(--_pin-y);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  z-index: 2;
}

.vtw-shoppable-ugc-grid__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background-color: var(--_accent);
  box-shadow: 0 0 0 2px var(--_accent-text);
  pointer-events: none;
}

.vtw-shoppable-ugc-grid__pin::before,
.vtw-shoppable-ugc-grid__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--_accent-text);
}

.vtw-shoppable-ugc-grid__pin::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.vtw-shoppable-ugc-grid__pin::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.vtw-shoppable-ugc-grid__chip {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: 18px;
  transform: translateY(-50%);
  background-color: var(--_bg);
  color: var(--_text);
  border: 1px solid var(--_frame);
  border-radius: 8px;
  box-shadow: var(--_shadow);
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  max-width: min(180px, 70%);
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--_speed) ease;
}

.vtw-shoppable-ugc-grid:not(.vtw-is-ready) .vtw-shoppable-ugc-grid__chip,
.vtw-shoppable-ugc-grid__hotspot:hover .vtw-shoppable-ugc-grid__chip,
.vtw-shoppable-ugc-grid__hotspot:focus-visible .vtw-shoppable-ugc-grid__chip {
  opacity: 1;
}

.vtw-shoppable-ugc-grid__figure:has(.vtw-shoppable-ugc-grid__credit) .vtw-shoppable-ugc-grid__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(to top, rgb(26 26 26 / 0.46), transparent);
}

.vtw-shoppable-ugc-grid__credit {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--_accent-text);
  text-shadow: 0 1px 2px rgb(26 26 26 / 0.55);
  pointer-events: none;
}

/* ── Lightbox ────────────────────────────────────────── */
.vtw-shoppable-ugc-grid__lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: var(--_overlay);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--_speed) ease,
    visibility var(--_speed) ease;
}

.vtw-shoppable-ugc-grid__lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vtw-shoppable-ugc-grid__lightbox-frame {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background-color: var(--_bg);
  border: 1px solid var(--_frame);
  border-radius: var(--_image-radius);
  overflow: hidden;
}

@media (min-width: 768px) {
  .vtw-shoppable-ugc-grid__lightbox-frame {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: stretch;
  }
}

.vtw-shoppable-ugc-grid__lightbox-stage {
  min-width: 0;
  background-color: var(--_surface);
}

  .vtw-shoppable-ugc-grid__lightbox-stage img,
  .vtw-shoppable-ugc-grid__lightbox-stage .vtw-shoppable-ugc-grid__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(42vh, 420px);
    object-fit: contain;
    margin: 0 auto;
  }

@media (min-width: 768px) {
  .vtw-shoppable-ugc-grid__lightbox-stage {
    min-height: 420px;
    max-height: min(80vh, 680px);
  }

  .vtw-shoppable-ugc-grid__lightbox-stage img,
  .vtw-shoppable-ugc-grid__lightbox-stage .vtw-shoppable-ugc-grid__img {
    height: 100%;
    max-height: min(80vh, 680px);
    object-fit: cover;
    margin: 0;
  }
}

.vtw-shoppable-ugc-grid__lightbox-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background-color: var(--_bg);
  overflow: auto;
}

.vtw-shoppable-ugc-grid__lightbox-product {
  font-family: var(--_heading-font);
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.vtw-shoppable-ugc-grid__lightbox-product:empty {
  display: none;
}

.vtw-shoppable-ugc-grid__lightbox-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.vtw-shoppable-ugc-grid__lightbox-price[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-price s {
  font-size: 15px;
  font-weight: 500;
  color: var(--_text-muted);
}

.vtw-shoppable-ugc-grid__lightbox-price s[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-caption {
  font-size: 16px;
  line-height: 1.6;
  color: var(--_text);
  margin: 4px 0 0;
}

.vtw-shoppable-ugc-grid__lightbox-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--_text-muted);
  margin: 0;
}

.vtw-shoppable-ugc-grid__lightbox-caption:empty,
.vtw-shoppable-ugc-grid__lightbox-credit:empty,
.vtw-shoppable-ugc-grid__lightbox-desc:empty {
  display: none;
}

.vtw-shoppable-ugc-grid__lightbox-credit {
  font-size: 12px;
  color: var(--_accent);
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.vtw-shoppable-ugc-grid__lightbox-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}

.vtw-shoppable-ugc-grid__lightbox-picks[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-pick {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--_frame);
  border-radius: 8px;
  background: transparent;
  color: var(--_text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}

.vtw-shoppable-ugc-grid__lightbox-pick[aria-pressed="true"] {
  border-color: var(--_accent);
  color: var(--_accent);
  font-weight: 700;
}

.vtw-shoppable-ugc-grid__lightbox-pick:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.vtw-shoppable-ugc-grid__lightbox-form[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.vtw-shoppable-ugc-grid__lightbox-option[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-option-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--_text-muted);
}

.vtw-shoppable-ugc-grid__lightbox-select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--_frame);
  border-radius: 8px;
  background-color: var(--_bg);
  color: var(--_text);
  font-family: inherit;
  font-size: 15px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--_text) 50%),
    linear-gradient(135deg, var(--_text) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.vtw-shoppable-ugc-grid__lightbox-select:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-atc {
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: var(--_accent);
  color: var(--_accent-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.vtw-shoppable-ugc-grid__lightbox-atc:hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--_accent) 88%, var(--_text));
}

.vtw-shoppable-ugc-grid__lightbox-atc:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vtw-shoppable-ugc-grid__lightbox-atc:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-shop {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--_accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-shop[hidden] {
  display: none !important;
}

.vtw-shoppable-ugc-grid__lightbox-shop:hover {
  opacity: 0.9;
}

.vtw-shoppable-ugc-grid__lightbox-shop:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-hint {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 12px;
  color: var(--_text-muted);
}

.vtw-shoppable-ugc-grid__lightbox-close,
.vtw-shoppable-ugc-grid__lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--_frame);
  background-color: var(--_bg);
  color: var(--_text);
  cursor: pointer;
  transition: opacity var(--_speed) ease;
}

.vtw-shoppable-ugc-grid__lightbox-close:hover,
.vtw-shoppable-ugc-grid__lightbox-nav:hover {
  opacity: 0.9;
}

.vtw-shoppable-ugc-grid__lightbox-close:focus-visible,
.vtw-shoppable-ugc-grid__lightbox-nav:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-shoppable-ugc-grid__lightbox-close {
  top: 16px;
  right: 16px;
}

.vtw-shoppable-ugc-grid__lightbox-nav--prev {
  left: 16px;
  top: 38%;
}

.vtw-shoppable-ugc-grid__lightbox-nav--next {
  right: 16px;
  top: 38%;
}

.vtw-shoppable-ugc-grid__lightbox-nav[hidden] {
  display: none !important;
}

body.vtw-shoppable-ugc-grid-lightbox-open {
  overflow: hidden;
}

/* ── Reveal ──────────────────────────────────────────── */
.vtw-shoppable-ugc-grid[data-animate="true"].vtw-animate-ready .vtw-shoppable-ugc-grid__item {
  opacity: 0;
  transform: translateY(12px);
}

.vtw-shoppable-ugc-grid[data-animate="true"].vtw-is-visible .vtw-shoppable-ugc-grid__item {
  opacity: 1;
  transform: none;
  transition:
    opacity 480ms ease,
    transform 480ms ease;
  transition-delay: var(--_anim-delay, 0ms);
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 767px) {
  .vtw-shoppable-ugc-grid__header {
    margin-bottom: 24px;
  }

  .vtw-shoppable-ugc-grid[data-layout="featured-first"] .vtw-shoppable-ugc-grid__item[data-featured="true"] {
    grid-column: span 2;
    grid-row: span 2;
  }

  .vtw-shoppable-ugc-grid[data-text-align-mobile="left"] .vtw-shoppable-ugc-grid__header {
    margin-inline: 0;
    text-align: left;
  }

  .vtw-shoppable-ugc-grid[data-text-align-mobile="left"] .vtw-shoppable-ugc-grid__body {
    margin-inline: 0;
  }

  .vtw-shoppable-ugc-grid[data-text-align-mobile="center"] .vtw-shoppable-ugc-grid__header {
    margin-inline: auto;
    text-align: center;
  }

  .vtw-shoppable-ugc-grid[data-text-align-mobile="center"] .vtw-shoppable-ugc-grid__body {
    margin-inline: auto;
  }

  .vtw-shoppable-ugc-grid__lightbox {
    padding: 12px;
    align-items: flex-end;
  }

  .vtw-shoppable-ugc-grid__lightbox-nav {
    display: none;
  }

  .vtw-shoppable-ugc-grid__chip {
    max-width: min(140px, 62%);
  }
}

/* ── Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .vtw-shoppable-ugc-grid *,
  .vtw-shoppable-ugc-grid *::before,
  .vtw-shoppable-ugc-grid *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .vtw-shoppable-ugc-grid[data-animate="true"].vtw-animate-ready .vtw-shoppable-ugc-grid__item,
  .vtw-shoppable-ugc-grid[data-animate="true"].vtw-is-visible .vtw-shoppable-ugc-grid__item {
    opacity: 1;
    transform: none;
  }
}
