.vr-pcard__body {
  text-align: left;
}

.vr-pcard__heading {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
}

.vr-pcard__name,
.vr-pcard__sku {
  text-align: left;
}

.vr-pcard__name {
  margin: 4px 0 0;
  min-height: 0;
}

.vr-pcard__sku {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.2;
}

.vr-pcard__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-top: 13px;
}

.vr-pcard__summary-row--price-only {
  justify-content: flex-end;
}

.vr-pcard__colors {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
  min-height: 24px;
  margin-top: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.vr-pcard__color {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: var(--slate-100);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px var(--slate-200);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.vr-pcard__color:hover,
.vr-pcard__color:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px var(--accent);
}

.vr-pcard__color::before,
.vr-pcard__color::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity var(--dur-fast),
    transform var(--dur-fast);
  z-index: 30;
}

.vr-pcard__color::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 11px);
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  background: #fff;
  color: var(--slate-800);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.vr-pcard__color::after {
  content: "";
  bottom: calc(100% + 5px);
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(226, 232, 240, .95);
  border-bottom: 1px solid rgba(226, 232, 240, .95);
  background: #fff;
  box-shadow: 5px 5px 12px rgba(15, 23, 42, .06);
  transform: translate(-50%, 6px) rotate(45deg);
}

.vr-pcard__color:hover::before,
.vr-pcard__color:hover::after,
.vr-pcard__color:focus::before,
.vr-pcard__color:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.vr-pcard__color:hover::after,
.vr-pcard__color:focus::after {
  transform: translate(-50%, 0) rotate(45deg);
}

.vr-pcard__prices {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
  margin-top: 0;
  margin-left: auto;
  text-align: right;
}

.vr-pcard__actions {
  margin-top: auto;
  padding-top: 18px;
}

.vr-pcard__actions .vr-pcard__summary-row {
  width: 100%;
  margin-top: 0;
}

.vr-plist--list .vr-pcard__summary-row {
  justify-content: space-between;
}
