/* Smart Bundle Discovery. Sits above the existing banners. */
body.bundle-page {
  background: #f9fafb;
}

.bd,
.bd * {
  box-sizing: border-box;
}

.bd {
  width: 100%;
  max-width: 560px;
  margin: 0 0 18px;
  color: #111827;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.bd button,
.bd a {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.bd button:focus-visible,
.bd a:focus-visible {
  outline: 2px solid #ff7a00;
  outline-offset: 2px;
}

.bd-hero {
  background: #273469;
  color: #fff;
  border-radius: 16px;
  padding: 16px 16px 15px;
  margin: 0 0 16px;
}

.bd-hero h1 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.bd-hero p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.bd-home-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.bd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bd-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 112px;
  padding: 14px 12px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: left;
  color: #111827;
  cursor: pointer;
}

.bd-cat:active,
.bd-wizard-entry:active {
  border-color: #273469;
}

.bd-cat-icon {
  display: block;
  margin-bottom: 8px;
  color: #ff7a00;
  line-height: 0;
}

.bd-cat-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #111827;
}

.bd-cat-sub {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: #6b7280;
}

.bd-wizard-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: left;
  color: #111827;
  cursor: pointer;
}

.bd-wizard-entry .bd-cat-icon {
  margin: 0;
}

.bd-wizard-entry .bd-cat-title,
.bd-wizard-entry .bd-cat-sub {
  display: block;
}

.bd-wizard-copy {
  flex: 1;
  min-width: 0;
}

.bd-chevron {
  flex: 0 0 auto;
  color: #273469;
}

.bd-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0 18px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #273469;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
}

.bd-back .bd-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.bd-back:active {
  background: #1e2956;
}

.bd-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
}

.bd-wizard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.bd-wizard-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff4eb;
  color: #ff7a00;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.bd-wizard-mark .bd-icon {
  display: block;
}

.bd-steps {
  display: flex;
  align-items: center;
  margin: 0 0 16px;
}

.bd-step {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.bd-step:disabled {
  opacity: 1;
  cursor: default;
}

.bd-step.is-current {
  background: #ff7a00;
  color: #fff;
}

.bd-step.is-done {
  background: #10b981;
  color: #fff;
}

.bd-step svg {
  width: 14px;
  height: 14px;
}

.bd-step-line {
  flex: 1;
  height: 2px;
  margin: 0 4px;
  background: #e5e7eb;
  border-radius: 2px;
}

.bd-step-line.is-done {
  background: #10b981;
}

.bd h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.bd-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.bd-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bd-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.bd-choice.is-selected {
  background: #273469;
  border-color: #273469;
  color: #fff;
}

.bd-choice--radio.is-selected {
  background: #fff;
  color: #111827;
  border-color: #273469;
}

.bd-radio-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.bd-choice--radio.is-selected .bd-radio-mark {
  border-color: #273469;
}

.bd-choice--radio.is-selected .bd-radio-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #273469;
}

.bd-sizes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.bd-size {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.bd-size.is-selected {
  background: #273469;
  border-color: #273469;
  color: #fff;
}

.bd-team-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.bd-team-summary strong {
  display: block;
  font-size: 16px;
  color: #111827;
}

.bd-team-summary p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.bd-team-icon {
  color: #6b7280;
  flex: 0 0 auto;
  line-height: 0;
}

.bd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #273469;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.bd-btn:disabled {
  background: #c5c9d6;
  color: #fff;
  cursor: default;
}

.bd-query {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #6b7280;
}

.bd-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 12px;
  color: #111827;
  font-size: 13px;
  line-height: 1.45;
}

.bd-empty {
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 16px;
  padding: 20px 16px;
}

.bd-empty h2 {
  margin: 0 0 6px;
}

.bd-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
}

.bd-result {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
}

.bd-result + .bd-result {
  margin-top: 10px;
}

.bd-result h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #273469;
}

.bd-result .bd-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
}

.bd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.bd-meta span {
  background: #f3f4f6;
  color: #111827;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.bd-price {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.bd-price.is-unset {
  color: #4b5563;
  font-weight: 700;
}

.bd-review {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bd-review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.bd-review-row span {
  color: #6b7280;
  font-weight: 600;
}

.bd-review-row strong {
  color: #111827;
  text-align: right;
}

@media (min-width: 700px) {
  .bd-hero h1 {
    font-size: 26px;
  }
}
