.trident-options-card {
  color: #4b4b4b;
  display: flex;
  justify-content: center;
  margin: .5rem auto 0;
  padding: 0 .25rem;
}

.product-miniature .trident-options-ribbon-host,
.product-miniature .trident-options-ribbon-frame {
  clip-path: none;
  contain: none;
  display: block !important;
  isolation: isolate;
  overflow: visible !important;
  position: relative;
  vertical-align: top;
}

.trident-options-ribbon {
  /* Keep every placement value and the proven right crop; trim 4px more from the top. */
  bottom: auto;
  box-sizing: border-box;
  -webkit-clip-path: inset(24px 20px 0 0);
  clip-path: inset(24px 20px 0 0);
  contain: none;
  display: block;
  height: 150px;
  isolation: isolate;
  left: auto;
  overflow: hidden !important;
  pointer-events: none;
  position: absolute;
  right: -23px;
  top: -22px;
  width: 150px;
  z-index: 4;
}

.trident-options-ribbon__label {
  /* Compensate for the crop-frame movement, then shift the visual label 8px right. */
  align-items: center;
  background: #292929;
  border-bottom: 2px solid #efbf00;
  border-top: 2px solid #efbf00;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-size: .64rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .055em;
  line-height: 1;
  overflow: hidden;
  padding: .44rem .75rem;
  position: absolute;
  height: 34px;
  right: -41px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  top: 54px;
  transform: rotate(45deg);
  white-space: nowrap;
  width: 210px;
}

.trident-options-ribbon__text {
  display: block;
}

.trident-options-card__details {
  align-items: center;
  background: #f3f3f3;
  border: 1px solid #dedede;
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: .72rem;
  gap: .18rem;
  justify-content: center;
  line-height: 1.25;
  max-width: 100%;
  padding: .3rem .62rem;
}

.trident-options-card__mark {
  background: #efbf00;
  border: 1px solid #292929;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 auto;
  height: .48rem;
  margin-right: .12rem;
  width: .48rem;
}

.trident-options-card__facet {
  color: #505050;
  white-space: nowrap;
}

.trident-options-card__facet + .trident-options-card__facet::before {
  color: #a57d00;
  content: "\00b7";
  margin: 0 .25rem 0 .08rem;
}

.trident-options-product {
  align-items: center;
  background: #292929;
  border-radius: 2px;
  box-shadow: inset 3px 0 0 #efbf00;
  color: #fff;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: .78rem;
  gap: .22rem .38rem;
  line-height: 1.35;
  margin: .45rem 0 .9rem;
  max-width: 100%;
  padding: .43rem .7rem .43rem .8rem;
}

.trident-options-product__mark {
  background: #efbf00;
  border: 1px solid #292929;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 auto;
  height: .5rem;
  width: .5rem;
}

.trident-options-product__label {
  color: #fff;
  font-weight: 700;
}

.trident-options-product__facet {
  color: #f3f3f3;
  white-space: nowrap;
}

.trident-options-product__separator {
  color: #b68c00;
  font-weight: 600;
}

.product-prices > .trident-options-product {
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .trident-options-ribbon__label {
    font-size: .56rem;
    right: -41px;
    top: 54px;
  }

  .trident-options-card {
    padding: 0 .1rem;
  }

  .trident-options-card__details {
    font-size: .67rem;
    padding: .28rem .5rem;
  }

  .trident-options-product {
    font-size: .74rem;
    margin-top: .35rem;
    padding: .4rem .6rem .4rem .7rem;
  }
}

@media (prefers-contrast: more) {
  .trident-options-card__details {
    border-color: #5a5a5a;
  }
}
