/* Product add-ons — rendered inside form.cart above the Add to cart button. */
.sd-addons {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.sd-addons__title {
  float: none;
  width: auto;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4d50;
}

.sd-addon {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  margin: 0 0 0.625rem;
  padding: 0.875rem 1rem;
  font-weight: 400;
  color: #16181a;
  background: #fff;
  border: 1px solid #cfd1cc;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sd-addon:hover {
  border-color: #83878b;
}

.sd-addon:has(.sd-addon__input:checked) {
  border-color: #16181a;
  box-shadow: 0 0 0 1px #16181a;
}

.sd-addon:has(.sd-addon__input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(22, 24, 26, 0.2);
}

.sd-addon__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sd-addon__check {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid #cfd1cc;
  border-radius: 0.3rem;
  background: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sd-addon__input:checked + .sd-addon__check {
  background-color: #16181a;
  border-color: #16181a;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem;
}

.sd-addon__thumb {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #f4f4f2;
}

.sd-addon__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-addon__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sd-addon__name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.sd-addon__desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4a4d50;
}

.sd-addon__price {
  flex: 0 0 auto;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.sd-addon__price .woocommerce-Price-amount {
  font-weight: 600;
}
