/* Cut tiles (VEL-20261110-KOLLEKTIONSKOEPFE): line icon on a warm square with
 * the cut name below. Links on the cut landings of the engagement rings,
 * filter buttons on the in-stock page. Loaded by both pages. */
.vlr-cuts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 4px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 32px;
}

.vlr-cuts > a,
.vlr-instock .vlr-cuts > button {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--vlr-muted, #75675c);
  font: 500 12px/1.35 "Karla", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.vlr-cuts .vlr-cut-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  background: var(--vlr-mist, #f9f8f4);
}

.vlr-cuts .vlr-cut-icon img {
  display: block;
  width: auto !important;
  height: 30px !important;
  max-width: none;
  transition: transform var(--vlr-motion-slow) var(--vlr-ease);
}

.vlr-cuts > a:hover,
.vlr-instock .vlr-cuts > button:hover {
  background: none;
  color: var(--vlr-ink, #3a2a1f);
}

.vlr-cuts > a:hover img,
.vlr-instock .vlr-cuts > button:not(:disabled):hover img {
  transform: scale(1.08);
}

.vlr-cuts > a:focus-visible,
.vlr-instock .vlr-cuts > button:focus-visible {
  outline: 2px solid var(--vlr-ink, #3a2a1f);
  outline-offset: 4px;
}

.vlr-cuts > a[aria-current="page"],
.vlr-instock .vlr-cuts > button[aria-pressed="true"] {
  color: var(--vlr-ink, #3a2a1f);
  font-weight: 600;
}

.vlr-cuts > a[aria-current="page"] .vlr-cut-icon::after,
.vlr-instock .vlr-cuts > button[aria-pressed="true"] .vlr-cut-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--vlr-ink, #3a2a1f);
}

.vlr-instock .vlr-cuts > button:disabled {
  opacity: .4;
  cursor: default;
}

/* Phones: one row to swipe, running to the right edge of the screen. */
@media (max-width: 767px) {
  .vlr-cuts {
    grid-auto-columns: 68px;
    gap: 2px;
    margin-right: -20px;
    padding: 0 20px 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .vlr-cuts::-webkit-scrollbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlr-cuts .vlr-cut-icon img {
    transition: none;
  }

  .vlr-cuts > a:hover img,
  .vlr-instock .vlr-cuts > button:hover img {
    transform: none;
  }
}
