/* ============================================================
   Korners badges — reusable on any page
   Loaded once per page by the badge partials in
   resources/views/frontend/partials/badges/.
     .kp-badge   Korners Pick (overlay on a photo, or inline)
     .kd-badge   Delivery managed by Korners (info panel)
   ============================================================ */

/* ---------- Korners Pick ---------- */
.kp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #000139;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 3px 7px;
  white-space: nowrap;
  flex: none;
}
.kp-badge svg { width: 11px; height: 11px; flex: none; }
.kp-badge svg { color: #E0A800; }

/* overlay: top-right corner of a photo box (position: relative) */
.kp-badge--overlay {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 2;
}

/* ---------- Delivery managed by Korners ---------- */
.kd-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 10px 14px;
  background: #E9EEF2;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
}
.kd-badge__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00002E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-badge__icon svg { width: 18px; height: 18px; }
.kd-badge__text { display: flex; flex-direction: column; min-width: 0; }
.kd-badge__title { font-size: 14px; font-weight: 500; line-height: 1.35; color: #00002E; }
.kd-badge__sub { font-size: 12px; line-height: 1.4; color: #4d4740; }

/* card: bottom-left corner of a product card photo (standard cards).
   Compact cards (homepage .kh-compact widgets) don't show it. */
.kp-badge--card {
  position: absolute;
  bottom: 8px;
  inset-inline-start: 8px;
  z-index: 2;
}
.kh-compact .kp-badge--card { display: none; }
