/* Transparent condition symbols share the product tag's navy and bold stroke. */
.uswing-card-condition {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: block;
  width: clamp(28px, 15%, 96px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #002b45;
  line-height: 0;
  pointer-events: none;
}
.uswing-card-condition > svg { display: block; width: 100%; height: 100%; }
.uswing-card-badges-host:has(> .uswing-card-condition) > .uswing-card-badges {
  max-width: calc(100% - clamp(28px, 15%, 96px) - 42px);
}
.mega-menu-products .uswing-card-condition { top: 10px; right: 10px; }
.mega-menu-products .uswing-card-badges-host:has(> .uswing-card-condition) > .uswing-card-badges {
  max-width: calc(100% - clamp(28px, 15%, 96px) - 30px);
}
/* Small horizontal cards use a compact symbol and reserve space for their title. */
.uswing-card-condition.uswing-card-condition--inline { top: 10px; right: 10px; width: 24px; height: 24px; }
.shopping-video__product-card { position: relative; }
.product-anchor__link:has(> .uswing-card-condition) { position: relative; }
.image-accordion__product-card:has(.uswing-card-condition) .title-and-price { padding-inline-end: 28px; }
.shopping-video__product-card-title-wrapper:has(.uswing-card-condition) { padding-inline-end: 28px; }
@media (max-width: 959px) {
  .uswing-card-condition { top: 10px; right: 10px; }
  .uswing-card-badges-host:has(> .uswing-card-condition) > .uswing-card-badges {
    max-width: calc(100% - clamp(28px, 15%, 96px) - 30px);
  }
}

/* Keep both corner markers legible in the smallest navigation cards. */
@media (max-width: 359px) {
  .mega-menu-products .uswing-card-condition { top: 8px; right: 8px; width: 20px; }
  body .mega-menu-products .uswing-card-badges-host > .uswing-card-badges { top: 8px; left: 8px; gap: 4px; }
  .mega-menu-products .uswing-card-badges-host:has(> .uswing-card-condition) > .uswing-card-badges { max-width: calc(100% - 44px); }
  body .mega-menu-products .uswing-card-badges-host .uswing-card-badges > .uswing-card-badge { font-size: 10px; line-height: 1.4; letter-spacing: 0; padding-inline: 4px; }
}
