.store-card-ribbon {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 120px;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.store-card-ribbon::before,
.store-card-ribbon::after {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #522414;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: '';
}
.store-card-ribbon::before { top: 0; left: 21px; }
.store-card-ribbon::after { top: 93px; right: 0; }
.store-card-ribbon-face {
  position: absolute;
  top: 40px;
  left: 80px;
  display: grid;
  place-items: center;
  width: 160px;
  height: 27px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(180deg, #a1462b, #87331f);
  box-shadow: inset 0 1px #da835a, inset 0 -1px #622515, 0 3px 5px #0008;
  color: #fff1df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.15;
}
.store-card-ribbon-text {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-card-ribbon-custom .store-card-ribbon-face {
  background: var(--ribbon-color);
  box-shadow: inset 0 1px #fff6, inset 0 -1px #0006, 0 3px 5px #0008;
  color: var(--ribbon-ink);
}
.store-card-ribbon-custom::before,
.store-card-ribbon-custom::after {
  background: var(--ribbon-color);
  filter: brightness(.55);
}
.store-discount-price {
  display: grid;
  gap: .26rem;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.store-discount-comparison {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2rem .6rem;
}
.store-discount-comparison del {
  position: relative;
  display: inline-block;
  color: #d7cbbb;
  font: 600 .88rem/1.2 var(--rust-ui-font, system-ui), sans-serif;
  letter-spacing: -.015em;
  text-decoration: none;
  white-space: nowrap;
}
.store-discount-comparison del::after {
  content: '';
  position: absolute;
  inset: 49% -.04em auto;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  opacity: .88;
  transform: rotate(-9deg);
}
.store-discount-comparison > span {
  color: #c7b381;
  font: 650 .72rem/1.3 system-ui, sans-serif;
}
.store-discount-current {
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.store-detail-media--compat { position: relative; }
.store-detail-media--compat .store-card-ribbon { top: 0; right: 0; }
@media (max-width: 759px) {
  .store-detail-media--compat .store-card-ribbon { top: 48px; }
}
