.bf-ribbon {
  background: #453533;
  color: #faf7f2;
  font: 0.9375rem/1.35 Arial, Helvetica, sans-serif;
}
.bf-inner, .bf-terms { display: flex; align-items: center; justify-content: center; }
.bf-inner {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: .25rem clamp(.75rem, 1.6vw, 1.5rem);
  padding: .55rem 1.25rem;
  margin: 0 auto;
}
.bf-signature { font: italic 1.3rem/1.1 Georgia, serif; white-space: nowrap; }
.bf-copy { border-inline-start: 1px solid #9e8c80; padding-inline-start: clamp(.75rem, 1.6vw, 1.5rem); }
.bf-copy strong { font-weight: 600; }
.bf-terms { gap: 1.2rem; font-size: .875rem; color: #e7d9cb; }
.bf-terms time, .bf-shop { white-space: nowrap; }
.bf-ribbon .bf-shop { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.bf-shop-short { display: none; }
.bf-ribbon .bf-shop:hover, .bf-ribbon .bf-shop:focus-visible { color: white; }
.bf-ribbon .bf-shop:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports ((background-clip: text) or (-webkit-background-clip: text)) and (-webkit-text-fill-color: transparent) {
    .bf-inner {
      background-color: #e9dcd0;
      background-image: linear-gradient(110deg,
        transparent calc(50% - 3rem), #d8ba98 calc(50% - .8rem),
        #fffae9 50%, #f7e4c9 calc(50% + .5rem), transparent calc(50% + 3rem));
      background-repeat: no-repeat;
      background-size: 250% 100%;
      background-position: 100% 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: bf-letter-glint 10s ease-in-out 1.2s infinite;
    }
    .bf-shop:hover, .bf-shop:focus-visible { -webkit-text-fill-color: currentColor; }
  }
}
@keyframes bf-letter-glint {
  from { background-position: 100% 0; }
  22%, to { background-position: 0% 0; }
}
.bf-gap, .bf-breakdown { margin: .6rem 0; border-inline-start: 2px solid #a48c78; padding: .65rem .85rem; background: #f4eee7; color: #453533; font-size: .9375rem; }
.bf-breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bf-breakdown > div > :last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bf-total { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid #d5c7bb; }
@media (max-width: 48rem) {
  .bf-inner { display: grid; grid-template-columns: auto auto auto; justify-content: center; gap: .22rem .75rem; padding: .5rem .65rem; }
  .bf-signature { grid-area: 1 / 1; font-size: 1.12rem; }
  .bf-terms { display: contents; font-size: .8125rem; }
  .bf-terms time { grid-area: 1 / 2; color: #e7d9cb; }
  .bf-shop { grid-area: 1 / 3; }
  .bf-copy { grid-area: 2 / 1 / 3 / -1; text-align: center; border: 0; padding: 0; font-size: .875rem; }
  .bf-inner:not(:has(.bf-shop)) { grid-template-columns: auto auto; }
}
@media (max-width: 23rem) {
  .bf-inner { column-gap: .5rem; padding-inline: .35rem; }
  .bf-shop-full { display: none; }
  .bf-shop-short { display: inline; }
}
@media print { .bf-ribbon { display: none; } }
