.nc-sf-funnel {
  --nc-sf-accent: #20b8cc;
  --nc-sf-ink: #111;
  --nc-sf-muted: #5e6268;
  --nc-sf-line: #d6d8dc;
  --nc-sf-highlight: #fff9c9;
  max-width: 640px;
  margin: 24px auto;
  color: var(--nc-sf-ink);
  font-family: inherit;
}

.nc-sf-panel {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid #bfc3c7;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 25, 30, .06);
}

.nc-sf-title {
  margin: 0 0 24px;
  color: var(--nc-sf-ink);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
}

.nc-sf-main-options,
.nc-sf-extra-options {
  display: grid;
  gap: 10px;
}

.nc-sf-option {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.nc-sf-option:hover {
  border-color: var(--nc-sf-line);
  background: #fafafa;
}

.nc-sf-option.is-selected {
  border-color: #a9dfe5;
  background: #f4fcfd;
  box-shadow: 0 0 0 1px rgba(32, 184, 204, .08);
}

.nc-sf-option--featured,
.nc-sf-option--featured:hover,
.nc-sf-option--featured.is-selected {
  background: var(--nc-sf-highlight);
}

.nc-sf-option-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.nc-sf-option-marker {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid #aeb3b8;
  border-radius: 50%;
  background: #fff;
}

.nc-sf-option-input[type="checkbox"] + .nc-sf-option-marker {
  border-radius: 4px;
}

.nc-sf-option-input:checked + .nc-sf-option-marker {
  border-color: var(--nc-sf-accent);
  background: var(--nc-sf-accent);
}

.nc-sf-option-input:checked + .nc-sf-option-marker::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: #fff;
}

.nc-sf-option-input[type="checkbox"]:checked + .nc-sf-option-marker::after {
  inset: 3px 6px 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg);
}

.nc-sf-option-input:focus-visible + .nc-sf-option-marker {
  outline: 3px solid rgba(32, 184, 204, .28);
  outline-offset: 3px;
}

.nc-sf-option-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nc-sf-option-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.nc-sf-option-description {
  color: var(--nc-sf-muted);
  font-size: .94rem;
  line-height: 1.4;
}

.nc-sf-option--main .nc-sf-option-description {
  color: var(--nc-sf-ink);
  font-size: 1rem;
  font-style: italic;
}

.nc-sf-option--extra .nc-sf-option-description {
  font-size: .9rem;
}

.nc-sf-option-price {
  padding-left: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.nc-sf-option-price:empty {
  display: none;
}

.nc-sf-option-badge {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--nc-sf-ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nc-sf-extras {
  margin-top: 28px;
  padding: 16px;
  border: 2px dashed #252525;
  background: #fffef2;
}

.nc-sf-extras[hidden] {
  display: none;
}

.nc-sf-extras-title {
  display: inline-block;
  margin: -4px 0 12px;
  padding: 4px 8px;
  background: #f5ff75;
  color: #24991e;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.nc-sf-summary {
  margin-top: 18px;
  color: var(--nc-sf-muted);
  font-size: .9rem;
  line-height: 1.4;
}

.nc-sf-feedback {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 4px solid #c5221f;
  background: #fff1f0;
  color: #8f1714;
  font-size: .94rem;
}

.nc-sf-feedback[hidden] {
  display: none;
}

.nc-sf-funnel .nc-sf-submit {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  background: #050505;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.nc-sf-funnel .nc-sf-submit:hover,
.nc-sf-funnel .nc-sf-submit:focus-visible {
  background: #252525;
  color: #fff;
}

.nc-sf-funnel .nc-sf-submit[disabled] {
  cursor: wait;
  opacity: .76;
}

.nc-sf-funnel .nc-sf-submit[hidden] {
  display: none;
}

.nc-sf-funnel .nc-sf-submit[aria-busy="true"]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: .6em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -.18em;
  animation: nc-sf-spin .6s linear infinite;
}

.nc-sf-panel.is-locked {
  padding-top: 20px;
  padding-bottom: 20px;
  box-shadow: none;
}

.nc-sf-panel.is-locked .nc-sf-title {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.nc-sf-panel.is-locked .nc-sf-main-options,
.nc-sf-panel.is-locked .nc-sf-extras {
  display: none;
}

.nc-sf-panel.is-locked .nc-sf-summary {
  margin-top: 0;
  color: var(--nc-sf-ink);
  font-weight: 600;
}

.nc-sf-embedded-checkout:not(:empty) {
  min-height: 420px;
  margin-top: 18px;
}

.nc-sf-error {
  padding: 10px 12px;
  border-left: 4px solid #c5221f;
  background: #fff1f0;
  color: #8f1714;
}

@keyframes nc-sf-spin { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
  .nc-sf-funnel { margin: 12px auto; }
  .nc-sf-panel { padding: 22px 16px; }
  .nc-sf-option {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 12px 8px;
  }
  .nc-sf-option-price {
    grid-column: 2;
    padding-left: 0;
  }
  .nc-sf-extras { padding: 12px 8px; }
}
