.shipping-protection-embed {
  margin: 10px 0;
  padding: 0;
  background: #fff;
  color: #1f2937;
  font-family: inherit;
}

.shipping-protection-embed[hidden] { display: none; }

.shipping-protection-embed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shipping-protection-embed__heading {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-weight: 600;
}

.shipping-protection-embed__control {
  display: inline-flex;
  flex: 0 0 auto;
  cursor: pointer;
}

.shipping-protection-embed__switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shipping-protection-embed__switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border-radius: 999px;
  background: #c7cdd4;
  transition: background-color 160ms ease;
}

.shipping-protection-embed__switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 24%);
  content: "";
  transition: transform 160ms ease;
}

.shipping-protection-embed__switch-input:checked + .shipping-protection-embed__switch {
  background: #1677ff;
}

.shipping-protection-embed__switch-input:checked + .shipping-protection-embed__switch::after {
  transform: translateX(18px);
}

.shipping-protection-embed__switch-input:focus-visible + .shipping-protection-embed__switch {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
}

.shipping-protection-embed__switch-input:disabled + .shipping-protection-embed__switch {
  cursor: not-allowed;
  opacity: 0.55;
}

.shipping-protection-embed__description {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.shipping-protection-embed__price {
  color: #414141;
  font-weight: inherit;
  white-space: nowrap;
}
