* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --eq-ink: #141414;
  --eq-deep: #113024;
  --eq-green: #035240;
  --eq-sage: #e1eae8;
  --eq-line: rgba(17, 48, 36, 0.18);
}
body { font-family: 'Satoshi', system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
       color: var(--eq-ink); background: #fff; -webkit-font-smoothing: antialiased; }
.eqb-wrap { max-width: 880px; margin: 0 auto; padding: 20px 22px 60px; }
.eqb-header { text-align: center; padding: 26px 0 8px; }
.eqb-header img { max-height: 96px; }
.eqb-eyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
               text-transform: uppercase; color: var(--eq-green); margin: 18px 0 10px; }
.eqb-title { text-align: center; font-size: 44px; line-height: 1.08; font-weight: 900;
             color: var(--eq-deep); margin: 0 auto 14px; max-width: 640px; }
.eqb-sub { text-align: center; color: #4c5a54; font-size: 17px; max-width: 560px;
           margin: 0 auto 44px; line-height: 1.5; }
.eqb-card { border-top: 1px solid var(--eq-line); padding: 26px 0 30px; margin: 0; }
.eqb-card h2 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
               color: var(--eq-green); margin-bottom: 18px; }
.eqb-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.eqb-field { flex: 1 1 250px; }
.eqb-field label { display: block; font-size: 13px; font-weight: 700; color: var(--eq-deep);
                   margin-bottom: 5px; }
.eqb-field input, .eqb-field select, .eqb-field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--eq-line); border-radius: 2px;
  font-size: 15px; font-family: inherit; color: var(--eq-ink); background: #fff; }
.eqb-field input:focus, .eqb-field select:focus, .eqb-field textarea:focus {
  outline: none; border-color: var(--eq-green); }
.eqb-req label::after { content: " *"; color: #a8071a; }
.eqb-modes { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.eqb-mode { padding: 8px 16px; border: 1px solid var(--eq-green); border-radius: 2px;
            background: #fff; color: var(--eq-green); cursor: pointer; font-size: 14px;
            font-weight: 700; font-family: inherit; }
.eqb-mode.active { background: var(--eq-green); color: #fff; }
.eqb-lines { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.eqb-lines th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase;
                letter-spacing: 1.5px; color: var(--eq-deep); padding: 0 6px 8px 0;
                border-bottom: 2px solid var(--eq-deep); }
.eqb-lines td { padding: 8px 6px 8px 0; border-bottom: 1px solid var(--eq-line); }
.eqb-lines input, .eqb-lines select { width: 100%; padding: 9px 10px; font-size: 15px;
  border: 1px solid var(--eq-line); border-radius: 2px; font-family: inherit; background: #fff; }
.eqb-lines input:focus, .eqb-lines select:focus { outline: none; border-color: var(--eq-green); }
.eqb-remove { background: none; border: none; color: #a8071a; font-size: 17px; cursor: pointer; }
.eqb-btn { background: var(--eq-green); color: #fff; border: 1px solid var(--eq-green);
           border-radius: 2px; padding: 12px 26px; font-size: 15px; font-weight: 700;
           cursor: pointer; font-family: inherit; }
.eqb-btn:hover { background: var(--eq-deep); border-color: var(--eq-deep); }
.eqb-btn.secondary { background: #fff; color: var(--eq-green); }
.eqb-btn.secondary:hover { background: var(--eq-sage); }
.eqb-btn:disabled { opacity: .45; cursor: not-allowed; }
.eqb-total { font-size: 14px; margin: 10px 0 2px; color: var(--eq-deep); font-weight: 500; }
.eqb-total.over { color: #a8071a; font-weight: 700; }
.eqb-tiers label.eqb-tier { display: inline-flex; align-items: center; gap: 7px;
                            margin: 0 18px 12px 0; font-size: 15px; color: var(--eq-ink); }
.eqb-tiers input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--eq-green); }
.eqb-prices { width: 100%; border-collapse: collapse; margin-top: 12px; }
.eqb-prices th { background: var(--eq-sage); color: var(--eq-deep); font-size: 12px;
                 font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
                 padding: 10px 12px; text-align: right; border: none; }
.eqb-prices th:first-child { text-align: left; }
.eqb-prices td { padding: 12px; text-align: right; font-size: 16px;
                 border-bottom: 1px solid var(--eq-line); }
.eqb-prices td:first-child { text-align: left; font-weight: 700; color: var(--eq-deep); }
.eqb-error { background: #ffdede; border-left: 3px solid #a8071a; color: #7a1220;
             padding: 10px 14px; border-radius: 2px; margin: 14px 0; display: none;
             font-size: 14px; }
.eqb-success { background: var(--eq-sage); border-left: 3px solid var(--eq-green);
               color: var(--eq-deep); padding: 18px; border-radius: 2px; margin: 14px 0;
               font-size: 17px; font-weight: 500; display: none; }
.eqb-note { font-size: 12px; color: #6b7772; margin-top: 8px; }
.eqb-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.eqb-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 640px) {
  .eqb-title { font-size: 32px; }
  .eqb-header img { max-height: 76px; }
}

/* supplement facts generator */
.eqb-sf-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
@media (max-width: 860px) { .eqb-sf-layout { grid-template-columns: 1fr; } }
.eqb-sf-side { position: sticky; top: 12px; }
.eqb-sf-class { margin-top: 5px; font-size: 12px !important; padding: 5px 8px !important; }
.sf-box { border: 2.5px solid #000; padding: 8px 10px; background: #fff; color: #000;
          font-family: Helvetica, Arial, sans-serif; margin-top: 12px; }
.sf-title { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.05;
            border-bottom: 1px solid #000; padding-bottom: 4px; }
.sf-serving { font-size: 13px; padding: 1px 0; }
.sf-bar { height: 9px; background: #000; margin: 5px -10px 4px; }
.sf-bar.thin { height: 4px; margin-top: 6px; }
.sf-headrow { display: flex; justify-content: space-between; font-size: 11.5px;
              font-weight: 700; }
.sf-rule { border-bottom: 3px solid #000; margin: 3px 0; }
.sf-row { display: flex; justify-content: space-between; font-size: 13px;
          border-bottom: 1px solid #999; padding: 3px 0; gap: 8px; }
.sf-row.sf-prop-head { font-weight: 700; }
.sf-prop-list { font-size: 12px; font-style: italic; border-bottom: 1px solid #999;
                padding: 3px 0 3px 14px; }
.sf-foot { font-size: 11px; padding-top: 4px; }
.sf-other { font-size: 13px; margin-top: 10px; line-height: 1.5; }

.eqb-amt-wrap { display: flex; gap: 6px; }
.eqb-amt-wrap input { flex: 1; min-width: 70px; }
.eqb-amt-wrap select.eqb-unit { width: 74px; flex: none; }

.eqb-ing-note { font-size: 12px; color: #4c5a54; background: var(--eq-sage);
                border-left: 2px solid var(--eq-green); padding: 5px 8px;
                margin-top: 5px; border-radius: 2px; line-height: 1.45;
                display: none; }

/* loading spinner on quote buttons */
.eqb-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    vertical-align: -2px;
    margin-right: 6px;
    animation: eqb-spin 0.8s linear infinite;
}
@keyframes eqb-spin {
    to { transform: rotate(360deg); }
}

/* ingredient not allowed for the selected type/classification */
.eqb-ing-err {
    display: none;
    color: #a3271d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

/* ---- type-to-search ingredient picker (item 9) ---- */
.eqb-combo { position: relative; }
.eqb-combo-input { width: 100%; padding: 9px 11px; border: 1px solid var(--eq-line);
    border-radius: 2px; font-size: 14.5px; background: #fff; color: var(--eq-ink); }
.eqb-combo-input:focus { outline: none; border-color: var(--eq-green);
    box-shadow: 0 0 0 2px rgba(3, 82, 64, 0.15); }
.eqb-combo-list { position: absolute; z-index: 60; top: calc(100% + 2px); left: 0; right: 0;
    max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid var(--eq-line);
    border-radius: 2px; box-shadow: 0 10px 26px rgba(17, 48, 36, 0.16); }
.eqb-combo-opt { padding: 8px 11px; font-size: 14px; cursor: pointer; }
.eqb-combo-opt:hover, .eqb-combo-opt.active { background: var(--eq-sage); color: var(--eq-deep); }
.eqb-combo-empty { padding: 9px 11px; font-size: 13.5px; color: #8a8a8a; }

/* ---- step indicator ---- */
.eqb-steps { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.96);
    backdrop-filter: blur(4px); border-bottom: 1px solid var(--eq-line);
    display: flex; gap: 6px; overflow-x: auto; padding: 10px 2px; margin: 0 0 8px; }
.eqb-step-chip { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .3px;
    color: #6b7c74; background: #f1f4ef; border: 1px solid var(--eq-line); border-radius: 999px;
    padding: 5px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.eqb-step-chip:hover { color: var(--eq-green); border-color: var(--eq-green); }

/* ---- sticky live-price bar (item 9) ---- */
.eqb-sticky { position: sticky; bottom: 0; z-index: 40; margin-top: 18px;
    background: var(--eq-deep); color: #fff; border-radius: 4px;
    display: flex; align-items: center; gap: 16px; padding: 12px 18px;
    box-shadow: 0 -6px 20px rgba(17, 48, 36, 0.18); flex-wrap: wrap; }
.eqb-sticky .lbl { font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(225, 234, 232, 0.7); }
.eqb-sticky .val { font-size: 15px; font-weight: 700; }
.eqb-sticky .val.price { font-size: 19px; }
.eqb-sticky .grow { margin-left: auto; }
.eqb-sticky .eqb-btn { margin: 0; }
@media (max-width: 560px) {
    .eqb-sticky { gap: 10px 14px; padding: 10px 14px; }
    .eqb-sticky .grow { margin-left: 0; width: 100%; }
    .eqb-sticky .eqb-btn { width: 100%; }
}

/* Formula R&D option */
.eqb-optional-tag { display: inline-block; font-size: 10px; font-weight: 700;
                    letter-spacing: 1px; text-transform: uppercase; vertical-align: middle;
                    color: #035240; background: #e1eae8; border-radius: 10px;
                    padding: 2px 9px; margin-left: 8px; }
.eqb-callout { margin-top: 12px; padding: 12px 15px; font-size: 13px; line-height: 1.55;
               color: #113024; background: #f2f8f5; border-left: 4px solid #035240;
               border-radius: 0 3px 3px 0; }
.eqb-callout strong { color: #035240; }
