/* Owner-selected recommendations, anchored within the top-right image corner. */
.detail-image.has-product-highlights { position: relative; }
.product-highlights {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.product-highlights .product-highlight {
  display: inline-block;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--highlight-border);
  border-radius: 6px;
  background: var(--highlight-background);
  color: var(--highlight-ink);
  font-family: var(--sans, sans-serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 2px 7px rgba(60, 45, 27, .06);
}

.product-highlight--signature {
  --highlight-background: #f1e5ca;
  --highlight-ink: #604313;
  --highlight-border: #d8c193;
}

.product-highlight--chef-pick {
  --highlight-background: #e7ece2;
  --highlight-ink: #3d5135;
  --highlight-border: #becbb4;
}

.product-highlight--cheongdam-favourite {
  --highlight-background: #f0e3e3;
  --highlight-ink: #703e48;
  --highlight-border: #d8b8be;
}

.product-highlight--apgujeong-popup-favourite {
  --highlight-background: #e5eaf0;
  --highlight-ink: #3f526b;
  --highlight-border: #b9c8d8;
}

.product-highlight--rich-almond-cream {
  --highlight-background: #f4e4d6;
  --highlight-ink: #80441f;
  --highlight-border: #dfb999;
}

.product-highlights--detail {
  top: 20px;
  right: 20px;
  max-width: calc(100% - 40px);
  gap: 8px;
}

.product-highlights--detail .product-highlight {
  padding: 6px 12px;
  font-size: 12px;
}

@media (max-width: 480px) {
  .product-highlights--card { top: 7px; right: 7px; max-width: calc(100% - 14px); gap: 4px; }
  .product-highlights--card .product-highlight {
    padding: 4px 7px;
    font-size: 10px;
  }
  .product-highlights--detail { top: 14px; right: 14px; max-width: calc(100% - 28px); gap: 6px; }
}

@media (forced-colors: active) {
  .product-highlights .product-highlight {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
  }
}
