/* v=20260305164317 */
/* Korpa 9 — two widgets side by side, each with its own "Preporučeno" banner on top */

.cart-insurance-widget .insurance-widget-k9__host {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 13px 0 0 auto;
  clear: both;
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .cart-insurance-widget .insurance-widget-k9__host {
    max-width: 100%;
  }
}

.product-item-details .cart-insurance-widget .insurance-widget-k9__host {
  margin-left: 0;
}

/* ── Single widget (banner + button) ── */
.insurance-widget-k9 {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: inherit;
  box-sizing: border-box;
}

/* ── Banner on top ── */
.insurance-widget-k9__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #FFCB05;
  color: #000;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
  border-radius: 6px 6px 0 0;
}

.insurance-widget-k9__banner i {
  font-size: 9px;
}

/* ── Button (below banner) — high specificity vs Magento ── */
.insurance-widget-k9 .insurance-widget-k9__btn.insurance-widget-k9__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  margin: 0;
  background: #fff;
  border: 1.5px solid #333;
  border-top: none;
  border-radius: 0 0 6px 6px;
  color: #2c2c2c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  min-height: 0;
  height: auto;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  vertical-align: middle;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.insurance-widget-k9 .insurance-widget-k9__btn.insurance-widget-k9__btn:hover,
.insurance-widget-k9 .insurance-widget-k9__btn.insurance-widget-k9__btn:focus,
.insurance-widget-k9 .insurance-widget-k9__btn.insurance-widget-k9__btn:active {
  background: #fffbe6;
  border-color: #333;
  color: #2c2c2c;
  padding: 8px 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}

.insurance-widget-k9.is-selected .insurance-widget-k9__btn {
  background: #fffbe6;
}

.insurance-widget-k9__label {
  flex: 1 1 auto;
  min-width: 0;
}

.insurance-widget-k9__label strong {
  font-weight: 600;
}

/* ── Clear × (hidden until selected) ── */
.insurance-widget-k9__clear {
  display: none;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1;
  color: #888;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  box-sizing: border-box;
}

.insurance-widget-k9.is-selected .insurance-widget-k9__clear {
  display: inline-flex;
}

.insurance-widget-k9__clear:hover {
  background: #FFCB05;
  border-color: #FFCB05;
  color: #333;
}
