/* 1.2.1 — prices sit quietly on the photograph; all values still come from the menu record. */
.menu-card-image,
.home-dish-media,
.dialog-photo,
.dish-hero-photo {
  position: relative;
}

.dish-price.photo-price {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: calc(100% - 28px);
  min-height: 40px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 249, .8);
  border-radius: 999px;
  background: #f7f5ec;
  color: #31533a;
  box-shadow: 0 3px 14px rgba(28, 44, 29, .12);
  font-family: var(--clean, Arial, sans-serif);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.015em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

/* Keep the existing reveal arrow clear of the price. */
.home-dish-media .dish-discover {
  right: auto;
  left: 14px;
}

@media (min-width: 701px) {
  .dialog-photo > .photo-price,
  .dish-hero-photo > .photo-price {
    right: 20px;
    bottom: 20px;
    padding: 11px 19px;
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .dish-price.photo-price {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    min-height: 38px;
    padding: 8px 14px;
    font-size: 17px;
  }
}
