/* Anahata v2 — gift card preview. Figma: "Preview Card". */

.giftcard-preview {
  display: flex;
  align-items: center;
  gap: var(--a-space-4);
  padding: var(--a-space-3);
  border-radius: var(--a-radius);
  background: var(--a-surface);   /* Buy Gift Card.png: white preview panel */
}

.giftcard-preview__card {
  flex: 0 0 auto;
  width: 149px;   /* Figma I1552:3144;1552:3131 — the face (ui-giftcard-face) sets the height */
  border-radius: var(--a-radius);
  overflow: hidden;
}

.giftcard-preview__summary {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--a-space-3);
}

.giftcard-preview__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--a-space-3);
  font-family: var(--a-font-body);
}

/* Buy Gift Card.png: 13px grey labels, 15px bold values */
.giftcard-preview__row dt {
  font-size: var(--a-fs-body-xs);
  color: var(--a-text-muted);
}

.giftcard-preview__row dd {
  margin: 0;
  font-size: var(--a-fs-body-m);
  font-weight: 700;
  color: var(--a-ink);
  text-align: right;
}

/* Figma `1552:3144`: the face can be real artwork instead of the drawn card. */
.giftcard-preview__card--image {
  height: 93px;
}

.giftcard-preview__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* "Add Massage.." is the control that opens the message dialog */
.giftcard-preview__message {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--a-font-body);
  font-weight: 500;
  font-size: var(--a-fs-label);
  line-height: normal;
  color: var(--a-grey-2);
  cursor: pointer;
  text-align: right;
}
