/* ══════════════════════════════════════
   BECOME A SELLER (design-changes-8-11-2026 / become-a-seller.html, #283 / #284 / #376)
   One white card in both versions: photo flush on the left, form on the
   right, ink top edge, soft shadow.
   - Full page (body.bs-page): the card on a cream page, the three green-check
     benefits under it. The promo box always shows.
   - Pop-up (?lightbox=1, body.bs-embed): the card over a dark backdrop,
     sized to fit a 1440×900 laptop with no scrolling. The promo code starts as
     a "Have a promo code?" link. On shorter windows the form scrolls inside the
     card and the X stays pinned to the corner.
   Neither version has the "Shop with us already?" note or the FAQ topic buttons.
══════════════════════════════════════ */

/* ── The card (shared) ── */
.bs { color: var(--ink); font-family: var(--ff-body); }
.bs-card { position: relative; display: flex; background: var(--white); border-radius: 12px; border-top: 3px solid var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.bs-photo { position: relative; background: var(--ivory); }
.bs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.bs-side { flex: 1 1 auto; min-width: 0; }
.bs-x { display: none; }

.bs-title { font-family: var(--ff-body); font-size: 32px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.12; color: var(--ink); margin: 0 0 8px; white-space: normal; text-align: left; }
.bs-sub { font-size: 15px; color: var(--ink); margin: 0 0 10px; }
.bs-price { margin: 0 0 20px; font-size: 15px; color: var(--ink); }
.bs-price b { font-size: 17px; }
.bs-was { color: var(--stone); text-decoration: line-through; margin-right: 4px; }
.bs-lim { display: block; margin-top: 2px; color: var(--stone); font-size: 13px; }

.bs-plan { margin: -6px 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.bs-plan-t { font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--ink); text-align: left; }
.bs-plan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 7px 18px; text-align: left; }
.bs-plan-list li { position: relative; padding-left: 20px; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.bs-plan-list li::after { content: ""; position: absolute; left: 3px; top: 2px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* The form sits straight on the card (no box of its own) */
.bs-box { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.bs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bs-two--creds { align-items: start; }
.bs-field { margin-bottom: 18px; }
.bs-field label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.bs-opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--stone); }
.bs-input { position: relative; }
.bs-input input { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 6px; padding: 0 14px; font-family: var(--ff-body); font-size: 14px; color: var(--ink); background: #fff; outline: none; transition: border-color .2s; box-sizing: border-box; }
.bs-input input:focus { border-color: var(--ink); }
.bs-input input.is-invalid { border-color: #B23B2A; }
.bs-input input::placeholder { color: var(--stone); opacity: .7; }
.bs-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--stone); cursor: pointer; padding: 4px; display: flex; }
.bs-hint { margin-top: 6px; font-size: 12px; color: var(--stone); }
.bs-hint.is-bad, .bs-err { color: #B23B2A; }
.bs-hint.is-good { color: #3F7A57; }
.bs-err { margin-top: 6px; font-size: 12.5px; }
.bs-err--form { margin: -8px 0 14px; }
.bs-err[hidden] { display: none; }

/* Promo code: half-width box, its message beside it in the empty half */
.bs-code { grid-column: 1 / -1; display: grid; grid-template-columns: calc(50% - 7px) 1fr; column-gap: 14px; align-items: center; }
.bs-code label { grid-column: 1 / -1; }
.bs-code .bs-input { grid-column: 1; }
.bs-code .bs-hint { grid-column: 2; margin-top: 0; }
.bs-code .bs-hint:not(.is-good):not(.is-bad) { display: none; }
.bs-codelink { display: none; }   /* the full page shows the promo box itself */

/* Hidden from people (bot trap) */
.bs-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.bs-checks { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 4px 0 22px; }
.bs-check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12px; line-height: 1.5; color: var(--ink); }
.bs-check input { width: 14px; height: 14px; accent-color: var(--ink); margin: 2px 0 0; flex-shrink: 0; }
.bs-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.bs-check.is-invalid span { color: #B23B2A; }

.bs-btn { width: 100%; height: 46px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; font-family: var(--ff-body); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .2s var(--ease-out), border-color .2s var(--ease-out); }
.bs-btn:hover { background: #bc886d; border-color: #bc886d; color: #fff; }
.bs-btn:disabled { opacity: .7; cursor: wait; }
.bs-foot { text-align: center; font-size: 12px; color: var(--stone); margin-top: 18px; }
.bs-foot button { border: 0; background: none; padding: 0; font: inherit; color: var(--fri-yay); font-weight: 500; cursor: pointer; }
.bs-foot button:hover { text-decoration: underline; text-underline-offset: 3px; }
.bs-signed { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.bs-signed a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* "This email is already in use" screens (#284) */
.bs-done { text-align: center; padding: 8px 4px 4px; }
.bs-done[hidden] { display: none; }
.bs-done h2 { font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.bs-done p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; }
.bs-go { margin-top: 14px; }
.bs-small { color: var(--stone); font-size: 13px !important; margin: 14px 0 20px !important; }
.bs-lnk { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bs.is-have .bs-title, .bs.is-have .bs-sub, .bs.is-have .bs-price, .bs.is-have .bs-plan { display: none; }
.bs.is-have .bs-have { padding-top: 36px; }

.bs-q { text-align: center; margin: 22px 0 10px; font-size: 14px; color: var(--ink); }
.bs-q a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bs-q a:hover { color: #bc886d; }

/* ── Full page ── */
body.bs-page { background: var(--cream); }
.bs-page .bs { max-width: 1100px; margin: 0 auto; padding: 56px 40px 36px; box-sizing: border-box; }
.bs-page .bs-card { max-width: 1020px; margin: 0 auto; }
.bs-page .bs-photo { flex: 0 0 clamp(300px, 42%, 440px); min-height: 560px; }
.bs-page .bs-side { padding: 44px 48px 36px; }

/* The three benefits under the card: green checks, same width as the card, no band */
.bs-wh { background: transparent; }
.bs-wh-in { max-width: 1100px; margin: 0 auto; padding: 8px 40px 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; box-sizing: border-box; }
.bs-wh-card { position: relative; padding-left: 44px; }
.bs-wh-card::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sage-light); color: #3F7A57; font-size: 15px; font-weight: 700; line-height: 30px; text-align: center; }
.bs-wh-card b { display: block; font-size: 17px; margin-bottom: 6px; padding-top: 3px; color: var(--ink); }
.bs-wh-card span { font-size: 14px; color: var(--stone); line-height: 1.5; }

/* Narrower card: the promo box gets the full width so its message is not cut off */
@media (max-width: 1100px) {
  .bs-page .bs-code { grid-template-columns: minmax(0, 1fr); }
  .bs-page .bs-code .bs-hint { grid-column: 1; margin-top: 6px; }
}
/* Tablet and phone: the photo goes; the card is just the form */
@media (max-width: 860px) {
  .bs-page .bs { max-width: 640px; padding: 28px 16px 20px; }
  .bs-page .bs-photo { display: none; }
  .bs-page .bs-side { padding: 32px 24px 28px; }
  .bs-page .bs-title { font-size: 28px; }
  .bs-wh-in { grid-template-columns: minmax(0, 1fr); max-width: 640px; padding: 8px 16px 48px; gap: 20px; }
}
@media (max-width: 560px) {
  .bs-plan-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
/* Phones: one column, but first and last name stay side by side */
@media (max-width: 480px) {
  .bs-page .bs-side { padding: 28px 18px 24px; }
  .bs-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bs-two.bs-two--names { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .bs-plan-list { gap: 4px; }
  .bs-plan-list li { font-size: 13px; }
  .bs-code { grid-template-columns: minmax(0, 1fr); }
  .bs-code .bs-hint { grid-column: 1; margin-top: 6px; }
}

/* ── Pop-up (?lightbox=1) ── */
html.is-embed, body.bs-embed { background: transparent; margin: 0; color-scheme: light; }
body.bs-embed { font-family: var(--ff-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.bs-embed .bs { position: fixed; inset: 0; z-index: 10; margin: 0; padding: 20px; display: flex; align-items: center; justify-content: center; background: rgba(28,26,24,.55); box-sizing: border-box; }
.bs-embed .bs-card { width: 100%; max-width: 1020px; max-height: calc(100vh - 40px); }
.bs-embed .bs-photo { display: block; flex: 0 0 clamp(300px, 42%, 420px); }
/* The side scrolls on short windows; it is not positioned, so the X is pinned to the card corner. */
.bs-embed .bs-side { position: static; overflow-y: auto; padding: 34px 44px 16px; }
.bs-embed .bs-x { display: block; position: absolute; z-index: 2; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 22px; line-height: 32px; color: var(--ink); text-align: center; padding: 0; cursor: pointer; }
.bs-embed .bs-x:hover { background: #fff; }
.bs-embed .bs-title { font-size: 30px; line-height: 1.12; margin: 0 0 6px; padding-right: 34px; }
.bs-embed .bs-sub { margin-bottom: 8px; }
.bs-embed .bs-price { margin: 0 0 14px; font-size: 15px; }
.bs-embed .bs-lim { display: inline; margin: 0 0 0 8px; font-size: 12.5px; }   /* the "special offer" note sits on the price line */
.bs-embed .bs-plan { margin: 0 0 12px; }
.bs-embed .bs-plan-t { margin-bottom: 6px; }
.bs-embed .bs-plan-list { gap: 3px 18px; }
.bs-embed .bs-field { margin-bottom: 8px; }
.bs-embed .bs-field label { margin-bottom: 4px; }
.bs-embed .bs-input input { height: 36px; }
.bs-embed .bs-hint { margin-top: 3px; font-size: 11px; line-height: 1.3; }
.bs-embed .bs-checks { margin: 4px 0 12px; gap: 8px; }
.bs-embed .bs-btn { height: 44px; }
.bs-embed .bs-foot { margin-top: 10px; }
.bs-embed .bs-q { margin: 8px 0 5px; font-size: 13px; }
/* "Have a promo code?" opens the box (open from the start when a code came in the link) */
.bs-embed .bs-codelink { display: block; grid-column: 1 / -1; justify-self: start; margin: 0 0 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bs-embed .bs-codelink:hover { color: #bc886d; }
.bs-embed .bs-two--code:not(.is-open) .bs-code { display: none; }
.bs-embed .bs-two--code.is-open .bs-codelink { display: none; }
.bs-embed .bs.is-have .bs-card { min-height: 480px; }
.bs-embed .bs.is-have .bs-side { display: flex; flex-direction: column; justify-content: center; }
/* Short laptop windows: a little tighter again */
@media (min-width: 861px) and (max-height: 760px) {
  .bs-embed .bs-side { padding-top: 26px; }
  .bs-embed .bs-field { margin-bottom: 6px; }
  .bs-embed .bs-input input { height: 34px; }
  .bs-embed .bs-plan-list li { font-size: 12px; }
  .bs-embed .bs-title { font-size: 27px; }
}
@media (max-width: 860px) {
  .bs-embed .bs { padding: 16px; }
  .bs-embed .bs-photo { display: none; }
  .bs-embed .bs-card { max-width: 640px; }
  .bs-embed .bs-side { padding: 34px 30px 26px; }
}
/* Phone: the pop-up fills the screen */
@media (max-width: 560px) {
  .bs-embed .bs { padding: 0; align-items: stretch; }
  .bs-embed .bs-card { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .bs-embed .bs-side { padding: 28px 20px; }
  .bs-embed .bs-title { font-size: 27px; }
  .bs-embed .bs-lim { display: block; margin: 2px 0 0; }
}
