/* ===========================================================
   Followium — Instagram Followers landing.
   Loaded after style.css, content.css and buy.css. Adds only
   the two-column hero that holds the package selector; the
   order card itself reuses the homepage component (buy.css).
   =========================================================== */

/* ---------------- hero + selector ---------------- */
.ig-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px 10px;
}
.ig-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
@media (min-width: 900px) {
  .ig-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(366px, 430px);
    gap: 52px;
    align-items: center;
  }
  .ig-hero { padding-top: 40px; padding-bottom: 20px; }
}

.ig-hero-copy .eyebrow { display: inline-block; }
.ig-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
  max-width: 16ch;
}
.ig-hero-lede {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.ig-hero-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.ig-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.ig-hero-points li strong { font-weight: 700; }
.ig-hero-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: #2f8a4e;
}
.ig-hero .updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
}
.ig-hero .updated-badge svg { width: 13px; height: 13px; }

/* the card: a touch more lift than the homepage's inline card */
.ig-hero-card .order-card { box-shadow: var(--shadow-lg); }

/* rating line at the top of the card (reused .order-rating, left-aligned here) */
.ig-hero-card .order-rating {
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-soft);
}
.ig-hero-card .order-rating img { flex: none; }
.ig-hero-card .order-rating strong { font-size: 15px; }
.ig-hero-card .order-rating span { color: var(--ink-faint); font-size: 12.5px; }

/* meta line under the running total (per-1,000 unit price + savings) */
.oc-save-line#ocMeta {
  min-height: 15px;
  margin-bottom: 16px;
}
.oc-save-line#ocMeta b { color: var(--buy-ok, #1f8a4c); font-weight: 600; }

/* no-JS fallback inside the picker */
.oc-noscript {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 4px 0 8px;
}
.oc-noscript a { color: var(--accent-ink); text-decoration: underline; }

/* ---------------- answer-first: last-updated signal ---------------- */
.answer-box .answer-updated {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

/* ---------------- "what to look for" criteria list (GEO) ---------------- */
.criteria-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 720px) {
  .criteria-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
  }
}
.criteria-list > li {
  position: relative;
  padding-left: 30px;
}
.criteria-list > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2f8a4e;
  /* inline check mark so the list needs no extra markup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.criteria-list > li h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.criteria-list > li p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.criteria-list > li a { color: var(--accent-ink); text-decoration: underline; }

/* ---------------- sticky mobile buy-bar (biggest mobile CRO lever) ---------------- */
.ig-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;            /* hidden on desktop; shown via media query below */
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface, #fff);
  border-top: 1px solid var(--hairline, rgba(16, 24, 40, 0.10));
  box-shadow: 0 -8px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(115%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ig-buybar.is-visible { transform: translateY(0); }
.ig-buybar-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
}
.ig-buybar-qty {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ig-buybar-price {
  font-size: 12px;
  color: var(--ink-faint);
}
.ig-buybar-price b {
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
/* reuse the brand buy button, compact, right-aligned */
.ig-buybar .oc-btn-buy.ig-buybar-btn {
  width: auto;
  margin: 0 0 0 auto;
  flex: 0 0 auto;
  padding: 12px 20px;
  font-size: 14.5px;
  border-radius: 12px;
}
@media (max-width: 760px) {
  .ig-buybar { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-buybar { transition: none; }
}

/* keep the whole thing honest on very small phones */
@media (max-width: 400px) {
  .ig-hero { padding-left: 16px; padding-right: 16px; }
  .ig-hero h1 { font-size: 28px; }
  .ig-buybar .oc-btn-buy.ig-buybar-btn { padding: 12px 16px; }
}
