/* Anahata v2 — gift card face (snippets/ui-giftcard-face). Figma "Preview
   Card", 149x93. Every size is the Figma px as a share of that 149px width
   (cqw), so the face looks the same at 128px in the cart and full width on
   the product page. */

.giftcard-face {
  display: block;
  width: 100%;
  aspect-ratio: 149 / 93;
  container-type: inline-size;
  overflow: hidden;
  border-radius: var(--a-radius);
  background: var(--a-giftcard-bg);
  color: var(--a-giftcard-ink);
}

.giftcard-face__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 8cqw;                      /* 12px */
}

.giftcard-face__brand {
  font-family: var(--a-font-display);
  font-size: 8cqw;                    /* 12px, --a-fs-label */
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--a-giftcard-gold);
}

.giftcard-face__brand small {
  display: block;
  font-size: 4.7cqw;                  /* 7px */
  letter-spacing: 0.3em;
}

.giftcard-face__value {
  font-family: var(--a-font-display);
  font-size: 11.4cqw;                 /* 17px, --a-fs-subheading */
  line-height: 1;
  white-space: nowrap;
}

.giftcard-face__tag {
  font-family: var(--a-font-body);
  font-size: 6.7cqw;                  /* 10px, --a-fs-caption */
  letter-spacing: 0.15em;
  color: var(--a-giftcard-muted);
}
