/*
 * VEL-20261108-MOBILE-UI-FIXES: every collection uses the Verlobungsringe grid.
 * The padding formula is explained in includes/class-velur-collection-shell.php.
 * Keep CSS function names out of comments in this file: Autoptimize hides
 * those expressions before minifying and would then swallow the comment end.
 */
@media (min-width: 768px) {
  body .vlr-collection-filter,
  body.vlr-jewelry-collection-page .vlr-jewelry-collection,
  body .vlr-gift__wrap,
  body .vlr-gift-list {
    box-sizing: border-box;
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: max(0px, calc((min(1320px, 100%) - min(1320px, 100vw)) / 2 + clamp(20px, 4vw, 60px)));
  }

  /* The gift page wraps its list in .vlr-gift-list: one shell, not two. */
  body .vlr-gift-list .vlr-collection-filter {
    padding-inline: 0;
  }
}

/* Like Verlobungsringe: tighter gaps only from 1024 px, 24/20 below. */
@media (min-width: 1024px) {
  body .vlr-collection-filter .products-list,
  body .vlr-gift-list .products-list {
    gap: 28px 12px;
  }
}
