.ec-fitment-ack {
  display: block;
  padding: 14px 16px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #f7faff;
  color: #0b3158;
}

.ec-fitment-ack__control {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  cursor: pointer;
}

.ec-fitment-ack__checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ec-fitment-ack__box {
  position: relative;
  inline-size: 22px;
  block-size: 22px;
  border: 2px solid #0068c9;
  border-radius: 4px;
  background: #fff;
}

.ec-fitment-ack__checkbox:checked + .ec-fitment-ack__box {
  border-color: #0068c9;
  background: #0068c9;
}

.ec-fitment-ack__checkbox:checked + .ec-fitment-ack__box::after {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 6px;
  inline-size: 6px;
  block-size: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.ec-fitment-ack__checkbox:focus-visible + .ec-fitment-ack__box {
  outline: 3px solid rgba(0, 104, 201, 0.25);
  outline-offset: 2px;
}

.ec-fitment-ack__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.ec-fitment-ack__help,
.ec-fitment-ack__error {
  margin: 6px 0 0 32px;
  font-size: 13px;
  line-height: 1.4;
}

.ec-fitment-ack__help a {
  color: #0068c9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ec-fitment-ack__error {
  color: #b42318;
  font-weight: 600;
}

theme-product-form[data-ec-fitment-required="true"][aria-disabled="true"] {
  cursor: not-allowed;
}

theme-product-form[data-ec-fitment-required="true"][aria-disabled="true"] button,
theme-product-form[data-ec-fitment-required="true"][aria-disabled="true"] [role="button"] {
  cursor: not-allowed;
}

@media (max-width: 959px) {
  .ec-fitment-ack {
    padding: 12px;
  }

  .ec-fitment-ack__label {
    font-size: 14px;
  }
}
