.bf-sub {
  background: #fff;
  padding: 24px 20px 80px;
}

.bf-sub-wrap {
  width: min(560px, 100%);
  margin: 0 auto;
}

.bf-sub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  color: #111;
  font: 600 14px Inter, sans-serif;
}

.bf-sub-badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #14532d;
  font: 700 11px/1 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bf-sub h1 {
  margin: 0 0 10px;
  font: 800 34px/1.15 Inter, "Anek Telugu", sans-serif;
  color: #111;
}

.bf-sub-lead {
  margin: 0 0 18px;
  font: 400 15px/1.55 Inter, sans-serif;
  color: #334155;
}

.bf-sub-founder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f0fdf4;
  font: 500 13px/1.4 Inter, sans-serif;
  color: #14532d;
}

.bf-sub-founder a {
  flex: none;
  color: #111;
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}

.bf-sub-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}

.bf-sub-card strong {
  display: block;
  font: 700 16px Inter, sans-serif;
  color: #111;
}

.bf-sub-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font: 400 13px Inter, sans-serif;
}

.bf-sub-card-media {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  display: grid;
  place-items: center;
}

.bf-sub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bf-sub-upsell {
  align-items: flex-start;
}

.bf-sub-upsell-copy {
  min-width: 0;
  flex: 1;
}

.bf-sub-upsell-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bf-sub-add {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 600 13px Inter, sans-serif;
  cursor: pointer;
}

.bf-sub-skip {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font: 600 13px Inter, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.bf-sub-deliver {
  margin: 18px 0 22px;
}

.bf-sub-deliver > span {
  display: block;
  margin: 0 0 10px;
  font: 700 14px Inter, sans-serif;
  color: #111;
}

.bf-sub-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.bf-sub-pill {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font: 600 13px Inter, sans-serif;
  color: #111;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.bf-sub-pill input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  border: 0;
  background: none;
}

.bf-sub-pill.is-active {
  background: #f3f4f6;
  border-color: #111;
  border-width: 2px;
  padding: 9px 11px;
}

.bf-sub-field,
.bf-sub-address {
  display: block;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.bf-sub-field > span,
.bf-sub-address legend,
.bf-sub-field legend,
.bf-sub-shipping legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font: 700 14px Inter, sans-serif;
  color: #111;
}

.bf-sub-field input:not([type="radio"]):not([type="checkbox"]),
.bf-sub-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font: 400 15px Inter, sans-serif;
}

.bf-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bf-sub-shipping {
  display: block;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.bf-sub-ship-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font: 500 15px Inter, sans-serif;
  color: #111;
  cursor: pointer;
}

.bf-sub-ship-opt input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: auto;
  -webkit-appearance: radio;
  accent-color: #111;
  cursor: pointer;
}

.bf-sub-ship-opt span {
  display: inline;
  margin: 0;
  font: inherit;
  font-weight: 500;
}

.bf-sub-ship-opt b {
  margin-left: auto;
  font-weight: 700;
}

.bf-sub-hint {
  display: block;
  color: #64748b;
  font: 400 13px Inter, sans-serif;
}

.bf-sub-promo-toggle {
  display: inline-block;
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font: 600 14px Inter, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.bf-sub-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  font: 400 13px/1.45 Inter, sans-serif;
  color: #334155;
}

.bf-sub-check input {
  margin-top: 3px;
}

.bf-sub-summary {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f3f4f6;
}

.bf-sub-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font: 500 14px Inter, sans-serif;
  color: #334155;
}

.bf-sub-total {
  margin-top: 10px !important;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  color: #111 !important;
  font-weight: 700 !important;
}

.bf-sub-summary small {
  display: block;
  color: #64748b;
  font: 400 12px Inter, sans-serif;
}

.bf-sub-continue {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 700 15px Inter, sans-serif;
  cursor: pointer;
}

.bf-sub-continue:hover {
  background: #1e293b;
}

@media (max-width: 620px) {
  .bf-sub h1 {
    font-size: 28px;
  }
  .bf-sub-founder {
    flex-direction: column;
    align-items: flex-start;
  }
  .bf-sub-pills {
    flex-wrap: wrap;
  }
  .bf-sub-pill {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
}
