/**
 * Gig Driver Tax & Earnings Toolkit offer box + slim bottom bar (kit system v2).
 * Built by /assets/js/inline-cta.js. Site palette: TestBeforeYouBuy brand blue #1e40af, ink
 * #1f2937; the Buy button is the site green, darkened to #047857 so white text passes contrast.
 */
.kit-offer {
  --k-green: #1e40af;
  --k-green-dark: #1e3a8a;
  --k-tint: #eff6ff;
  --k-border: #bfdbfe;
  --k-buy: #047857;
  --k-buy-hover: #065f46;
  --k-ink: #1f2937;
  --k-muted: #4b5563;
  margin: 2rem auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 2px solid var(--k-green);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px -10px rgba(15, 76, 125, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--k-ink);
  text-align: left;
  box-sizing: border-box;
  line-height: 1.45;
}
.kit-offer *, .kit-bar * { box-sizing: border-box; }
.kit-offer-strip {
  display: flex;
  gap: 8px;
  padding: 14px 14px 0;
  background: var(--k-tint);
  background-image: repeating-linear-gradient(-62deg, rgba(20, 110, 180, 0.07) 0 46px, rgba(20, 110, 180, 0.02) 46px 92px);
  align-items: flex-end;
  text-decoration: none;
}
.kit-offer-strip img {
  width: 31%;
  min-width: 0;
  height: auto;
  aspect-ratio: 8.5 / 11;
  object-fit: cover;
  object-position: top;
  background: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 10px rgba(15, 30, 50, 0.18);
  display: block;
}
.kit-offer-body { padding: 14px 16px 16px; display: grid; gap: 8px; min-width: 0; }
.kit-offer p { margin: 0; }
.kit-eyebrow { font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-green) !important; }
.kit-offer-title { font-size: 1.35rem !important; font-weight: 800; line-height: 1.1; color: var(--k-ink) !important; letter-spacing: -0.01em; }
.kit-offer-line { font-size: 1rem !important; color: var(--k-ink) !important; }
.kit-offer-bullets { margin: 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: 4px; font-size: 0.95rem; }
.kit-offer-bullets li { position: relative; padding-left: 1.35rem !important; margin: 0 !important; list-style: none !important; }
.kit-offer-bullets li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.5rem; height: 0.5rem;
  border-radius: 2px; transform: rotate(45deg); background: var(--k-green);
}
.kit-offer-bullets b { color: var(--k-green-dark); font-variant-numeric: tabular-nums; }
.kit-offer-replaces { font-size: 0.88rem !important; color: var(--k-muted) !important; font-style: italic; }
.kit-offer-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.kit-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--k-buy); color: #fff !important; text-decoration: none !important;
  font-weight: 800; font-size: 1.1rem; line-height: 1.1;
  padding: 0.75rem 1.3rem; border-radius: 10px; min-height: 44px;
  box-shadow: 0 3px 0 #064e3b;
}
.kit-buy:hover, .kit-buy:focus-visible { background: var(--k-buy-hover); color: #fff !important; }
.kit-price { font-variant-numeric: tabular-nums; }
.kit-guarantee { display: flex; gap: 6px; align-items: flex-start; font-size: 0.84rem !important; line-height: 1.35; color: var(--k-muted) !important; flex: 1 1 13rem; min-width: 0; }
.kit-guarantee svg { flex: 0 0 auto; margin-top: 1px; }
.kit-guarantee strong { color: var(--k-green-dark); }
.kit-guarantee-link { color: var(--k-green-dark) !important; text-decoration: underline; text-decoration-thickness: 1px; }
.kit-offer-look { font-weight: 700; color: var(--k-green-dark) !important; font-size: 0.95rem; }
.kit-offer-fine { font-size: 0.78rem !important; color: #7f8c8d !important; }
@media (min-width: 720px) {
  .kit-offer { grid-template-columns: 14rem 1fr; }
  .kit-offer-strip { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 10px; padding: 18px; }
  .kit-offer-strip img { width: 100%; border-radius: 5px; }
  .kit-offer-strip img:first-child { grid-column: 1 / -1; }
  .kit-offer-body { padding: 18px 22px; }
}

/* ------------------------------------------------------------ bottom bar */
.kit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid #1e40af;
  box-shadow: 0 -6px 18px -10px rgba(15, 30, 50, 0.35);
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.kit-bar[hidden] { display: none !important; }
.kit-bar-in { max-width: 56rem; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.kit-bar-cover img { display: block; width: 36px; height: 47px; object-fit: cover; object-position: top; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.kit-bar-text { flex: 1; min-width: 0; text-decoration: none !important; display: grid; line-height: 1.2; }
.kit-bar-name { font-weight: 800; font-size: 0.98rem; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-bar-sub { font-size: 0.74rem; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-bar .kit-bar-buy { --k-buy: #047857; --k-buy-hover: #065f46; padding: 0.5rem 0.9rem; font-size: 0.98rem; min-height: 40px; white-space: nowrap; box-shadow: none; }
.kit-bar-x { flex: 0 0 auto; width: 36px; height: 36px; border: 0; background: transparent; color: #7f8c8d; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 8px; }
.kit-bar-x:hover { background: #eef2f3; }

/* Legacy inline CTA (unused since the kit v2 box; kept so an old cached page renders). */
.icta-card { display: none; }
