.ift-sdaddon {
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.ift-sdaddon__title {
  float: none;
  width: auto;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.ift-sdaddon__hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #6b7280;
}

.ift-sdaddon__opts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.ift-sdaddon__opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 7px 4px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}

.ift-sdaddon__opt:hover {
  border-color: #9ca3af;
}

.ift-sdaddon__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ift-sdaddon__opt:has(input:checked) {
  border-color: #0f766e;
  background: #f0fdfa;
  box-shadow: inset 0 0 0 1px #0f766e;
}

.ift-sdaddon__opt:has(input:focus-visible) {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.ift-sdaddon__opt.is-out {
  cursor: not-allowed;
  opacity: .5;
}

.ift-sdaddon__size {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
}

.ift-sdaddon__price {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
  color: #4b5563;
  white-space: nowrap;
}

.ift-sdaddon__price s {
  margin-left: 3px;
  color: #9ca3af;
}

.ift-sdaddon__note {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #374151;
}

.ift-sdaddon__note strong {
  font-weight: 600;
  color: #0f766e;
}

@media (max-width: 575px) {
  .ift-sdaddon__opts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
