  *, *::before, *::after { box-sizing: border-box; }

  .octane-ai-quiz-rendered,
  .octane-ai-quiz-rendered * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
    color: #234134;
  }

  .octane-ai-quiz-rendered .oct-quiz-wrapper { padding: 12px !important; }
  .octane-ai-quiz-rendered h1 {
    font-size: 22px !important; line-height: 1.25 !important;
    margin: 8px 0 12px 0 !important; font-weight: 600 !important;
    text-align: center !important;
  }
  .octane-ai-quiz-rendered h2 {
    font-size: 14px !important; line-height: 1.4 !important;
    margin: 0 0 14px 0 !important; font-weight: 400 !important;
    color: #555 !important; text-align: center !important;
  }

  .octane-ai-quiz-rendered [class*="picture-choice"][class*="image"],
  .octane-ai-quiz-rendered [class*="picture-choice"] img {
    max-height: 180px !important; object-fit: contain !important;
  }
  .octane-ai-quiz-rendered [class*="picture-choice-options__option"] { padding: 6px !important; }
  .octane-ai-quiz-rendered [class*="picture-choice-options__option"] [class*="label"],
  .octane-ai-quiz-rendered [class*="picture-choice-options__option"] [class*="title"] {
    font-size: 13px !important; line-height: 1.3 !important;
    padding: 6px 4px !important; min-height: 0 !important;
  }

  .bb-q1-strike { text-decoration: line-through; color: #888; font-weight: 500; margin-right: 6px; }
  .bb-q1-free { color: #3f745d; font-weight: 800; letter-spacing: 0.4px; }

  .octane-ai-quiz-rendered [class*="multiple-choice-options__option"] {
    padding: 12px 14px !important; min-height: 48px !important;
    margin-bottom: 8px !important; font-size: 14px !important;
  }

  .octane-ai-quiz-rendered .oct-quiz-btn--primary,
  .octane-ai-quiz-rendered button[class*="oct-quiz-btn"]:not([class*="back"]):not([class*="secondary"]) {
    background: #3f745d !important; color: #fff !important; border-color: #3f745d !important;
  }
  .octane-ai-quiz-rendered .oct-quiz-btn--primary:hover {
    background: #234134 !important; border-color: #234134 !important;
  }

  .octane-ai-quiz-rendered [class*="smart-copy"],
  .octane-ai-quiz-rendered [class*="smart-copy"] *,
  .bb-smart-copy, .bb-smart-copy * { text-align: left !important; }
  .bb-smart-copy {
    background: #fff; border: 1px solid #e5e5e1; border-radius: 10px;
    padding: 16px 18px; margin: 12px 0;
  }
  .bb-smart-copy-list {
    list-style: disc outside !important;
    list-style-position: outside !important;
    padding: 0 0 0 18px !important;
    margin: 0 !important;
  }
  .bb-smart-copy .bb-bullet {
    display: list-item !important;
    list-style: disc outside !important;
    list-style-position: outside !important;
    text-align: left !important;
    text-indent: 0 !important;
    padding-left: 2px !important;
    margin-bottom: 10px !important;
    line-height: 1.55 !important;
    font-size: 14px !important;
    color: #234134 !important;
  }
  .bb-smart-copy .bb-bullet:last-child { margin-bottom: 0 !important; }

  .octane-ai-quiz-rendered select,
  .octane-ai-quiz-rendered [role="combobox"] {
    border: 2px solid #3f745d !important; border-radius: 6px !important;
    padding: 10px 40px 10px 14px !important; background: #fff !important;
    font-weight: 600 !important; color: #234134 !important; cursor: pointer !important;
    appearance: none !important; -webkit-appearance: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1l6 6 6-6' stroke='%233f745d' stroke-width='2' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important; background-position: right 14px center !important;
  }
  /* The parent of the variant selector should also not constrain width */
  .octane-ai-quiz-rendered [class*="oct-quiz-result-actions-wrapper"] select,
  .octane-ai-quiz-rendered [class*="variant"] select {
    min-width: 240px !important;
  }

  /* Strikethrough + FREE on gift card price (results page) */
  .bb-gift-card [class*="oct-quiz-result-item__pricing"],
  .bb-gift-card .oct-quiz-result-item__pricing {
    color: #888 !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
    position: relative !important;
  }
  .bb-gift-card [class*="oct-quiz-result-item__pricing"]::after,
  .bb-gift-card .oct-quiz-result-item__pricing::after {
    content: "FREE";
    display: inline-block;
    margin-left: 10px;
    color: #3f745d;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    font-size: 1.05em;
  }

  /* Hero pricing strikethrough + 20%-off (injected by JS as <span class="bb-was"> + <span class="bb-now">) */
  .bb-was { text-decoration: line-through; color: #888; margin-right: 8px; font-weight: 500; }
  .bb-now { font-weight: 800; color: #234134; font-size: 1.1em; }

  .octane-ai-quiz-rendered [class*="oct-quiz-back"],
  .octane-ai-quiz-rendered button[class*="back"],
  .bb-hidden-back, .bb-hero-atc-hidden { display: none !important; }

  /* Results page: equalize card heights + center hero variant selector + radios */
  .octane-ai-quiz-rendered [class*="oct-quiz-products"],
  .octane-ai-quiz-rendered [class*="oct-quiz-result-page"] [class*="products"] {
    align-items: stretch !important;
  }
  .octane-ai-quiz-rendered [class*="oct-quiz-products__item"] {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  /* Unconstrain the variant area so the dropdown can show full text */
  .octane-ai-quiz-rendered [class*="oct-quiz-result-actions-wrapper"],
  .octane-ai-quiz-rendered [class*="oct-quiz-result-actions-content"] {
    max-width: none !important;
    width: auto !important;
    margin: 12px auto !important;
    text-align: center !important;
  }
  .octane-ai-quiz-rendered [class*="oct-quiz-result-item__variant-wrapper"],
  .octane-ai-quiz-rendered [class*="oct-quiz-result-item__dropdown-mask"] {
    max-width: none !important;
    width: 100% !important;
  }

  /* Radio area: keep Octane's NATIVE radio button positioning (don't break the absolute-positioned dot)
     Just left-align the column and leave label display alone */
  .octane-ai-quiz-rendered [class*="oct-quiz-selling-plans"] {
    text-align: left !important;
    margin: 12px auto !important;
    max-width: 300px !important;
  }
  .octane-ai-quiz-rendered [class*="oct-quiz-selling-plans__radio-label"] {
    position: relative !important;    /* anchor absolute-positioned radio dot inside this label */
    text-align: left !important;
    padding-left: 28px !important;    /* room for the native radio circle on the left */
    margin-bottom: 8px !important;
  }
  /* (?) help icon inline AFTER the "Subscribe & save" text */
  .octane-ai-quiz-rendered [class*="oct-quiz-selling-plans__tooltip"],
  .octane-ai-quiz-rendered [class*="oct-quiz-selling-plans"] [class*="tooltip"],
  .octane-ai-quiz-rendered [class*="oct-quiz-selling-plans"] [class*="info"] {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 6px !important;
    position: static !important;       /* override any absolute positioning */
  }
  /* Push gift "Added to bundle" badge to bottom so it aligns vertically with hero ATC badge */
  .octane-ai-quiz-rendered [class*="oct-quiz-products__item"] .bb-bundled-badge {
    margin-top: auto !important;
  }

  .bb-banner {
    background: #234134; color: #fff; padding: 8px 12px;
    text-align: center; font-size: 12px; letter-spacing: 0.2px; line-height: 1.3;
    margin: 0 0 12px 0;
  }
  .bb-banner b { color: #F2CB49; font-weight: 700; }

  /* "ADD TO CART" badge — looks like a real CTA (filled green button) */
  .bb-bundled-badge {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #3f745d; color: #fff; border: none; border-radius: 8px;
    padding: 14px 16px; font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
    text-align: center; margin: 12px 0;
    cursor: pointer; text-transform: uppercase;
    transition: background 0.15s ease;
  }
  .bb-bundled-badge:hover { background: #234134; }

  .bb-checkout-bar {
    position: fixed; left: 0; right: 0; bottom: 0; padding: 12px; background: #fff;
    border-top: 1px solid #e5e5e1; z-index: 999; box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  }
  .bb-checkout-bar a {
    display: block; width: 100%; max-width: 600px; margin: 0 auto;
    background: #234134; color: #fff; padding: 14px 16px; border: none; border-radius: 8px;
    font-size: 15px; font-weight: 700; letter-spacing: 0.4px; text-decoration: none;
    text-align: center; cursor: pointer; text-transform: uppercase;
  }
  .bb-checkout-bar a:hover { background: #3f745d; }
