/* Order flow — step-by-step card-slide wizard (design variant 07).
   Everything is scoped to #orderFlow so the generic class names never leak into
   the global design system. The plan grid keeps its existing look; only the
   wizard chrome (head · stepper · sliding cards · success) is new here.
   Post tiles, speed cards and the pay recap are styled in svc.css. */

#orderFlow .ow-planview[hidden],
#orderFlow .ow-wizardview[hidden] { display: none; }

/* ---------- free offer launcher ----------
   Free pages have one fixed tier instead of a tariff grid. This single offer
   card occupies the same "choose → wizard" screen used by paid ordering. */
#orderFlow.free-order-flow { max-width: 900px; margin: 0 auto; }
#orderFlow .free-offer-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 250px;
  overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
#orderFlow .free-offer-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--plat-grad-h, linear-gradient(90deg, var(--blue), #59A0F5));
}
#orderFlow .free-offer-main {
  display: flex; align-items: center; gap: 22px; min-width: 0; padding: 32px 34px;
}
#orderFlow .free-offer-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 76px; height: 76px;
  border-radius: 22px; color: #fff; background: var(--plat-grad, var(--blue));
  box-shadow: 0 16px 30px -16px rgba(34, 48, 74, .55);
}
#orderFlow .free-offer-icon svg { width: 36px; height: 36px; }
#orderFlow .free-offer-copy { min-width: 0; }
#orderFlow .free-offer-kicker {
  display: block; margin-bottom: 5px; font-family: 'Poppins', sans-serif;
  font-size: 11.5px; font-weight: 700; line-height: 1.3; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
}
#orderFlow .free-offer-copy h2 {
  margin: 0; font-family: 'Poppins', sans-serif; font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; line-height: 1.2; color: var(--head);
}
#orderFlow .free-offer-copy h2 .num { color: var(--plat, var(--head)); }
#orderFlow .free-offer-copy > p {
  max-width: 570px; margin: 9px 0 0; font-size: 14px; line-height: 1.55; color: var(--text);
}
#orderFlow .free-offer-points {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 17px 0 0; padding: 0; list-style: none;
}
#orderFlow .free-offer-points li {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px;
  font-weight: 600; color: var(--mut);
}
#orderFlow .free-offer-points svg { width: 14px; height: 14px; color: var(--green); }
#orderFlow .free-offer-action {
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  padding: 30px; text-align: center; border-left: 1px solid var(--line);
  background: linear-gradient(145deg, #F9FCFF, #F1F6FD);
}
#orderFlow .free-offer-price {
  font-family: 'Poppins', sans-serif; font-size: 31px; font-weight: 800;
  line-height: 1; color: var(--green);
}
#orderFlow .free-offer-price-note { margin-top: 6px; font-size: 12px; color: var(--mut); }
#orderFlow .free-offer-button {
  width: 100%; justify-content: center; gap: 8px; min-height: 50px; margin-top: 18px;
}
#orderFlow .free-offer-button[data-free-wait],
#orderFlow .free-offer-button[data-free-wait]:hover,
#orderFlow .free-offer-button[data-free-wait]:focus {
  color: #8496AB !important; background: #E9EEF4; border: 1px solid #D4DCE6;
  box-shadow: none; transform: none; cursor: not-allowed; opacity: 1;
}
#orderFlow .free-offer-button[data-free-wait] svg { opacity: .58; }
#orderFlow .free-offer-more {
  margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--blue);
  text-decoration: none;
}
#orderFlow .free-offer-more:hover { text-decoration: underline; }

/* ---------- wizard shell ---------- */
#orderFlow .ow-wizard { max-width: 620px; margin: 0 auto; }
#orderFlow .ow-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
#orderFlow .ow-head[hidden] { display: none; }
#orderFlow .ow-changeplan {
  display: inline-flex; align-items: center; gap: 3px; background: none; border: none;
  cursor: pointer; color: var(--blue); font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 14px; padding: 7px 10px; border-radius: 9px; transition: background .18s;
}
#orderFlow .ow-changeplan:hover { background: var(--blue-t); }
#orderFlow .ow-changeplan svg { width: 15px; height: 15px; }
#orderFlow .ow-pill {
  display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px; font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--head); font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; min-width: 0;
}
#orderFlow .ow-pill-unit { color: var(--mut); font-weight: 600; }
#orderFlow .ow-pill-price { color: var(--blue); }
#orderFlow .ow-pill-price::before { content: '· '; color: var(--mut); }
#orderFlow .ow-pill-price[hidden] { display: none; }

#orderFlow .oc-promo-row .btn { white-space: nowrap; }
#orderFlow .ow-terms {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0; padding: 12px 18px; border-top: 1px solid #DCE8F7;
  background: linear-gradient(180deg, #F8FBFF 0%, #F2F7FD 100%);
  color: var(--mut); font-size: 12.5px; line-height: 1.45; text-align: center;
}
#orderFlow .ow-terms p { margin: 0; }
#orderFlow .ow-terms-icon {
  width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center;
  border-radius: 50%; background: #E5F0FF; color: var(--blue);
}
#orderFlow .ow-terms-icon svg { width: 14px; height: 14px; }
#orderFlow .ow-terms a {
  color: var(--blue); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(25, 103, 210, .35);
}
#orderFlow .ow-terms a:hover { border-bottom-color: currentColor; }

/* ---------- stepper ---------- */
#orderFlow .ow-stepper { list-style: none; display: flex; margin: 0 0 18px; padding: 0; }
#orderFlow .ow-stepper[hidden] { display: none; }
#orderFlow .ow-stepper li {
  flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
#orderFlow .ow-stepper li.done { cursor: pointer; }
#orderFlow .ow-stepper li:not(:first-child)::before {
  content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px;
  background: var(--line); z-index: 0; transition: background .3s;
}
#orderFlow .ow-stepper li.done:not(:first-child)::before,
#orderFlow .ow-stepper li.current:not(:first-child)::before { background: var(--blue); }
#orderFlow .ow-dot {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  color: var(--mut); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px;
  display: grid; place-items: center; position: relative; z-index: 1; transition: .25s;
}
#orderFlow .ow-dot svg { display: none; width: 15px; height: 15px; }
#orderFlow .ow-stepper li.current .ow-dot {
  background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px var(--blue-t);
}
#orderFlow .ow-stepper li.done .ow-dot { background: var(--blue); border-color: var(--blue); color: #fff; }
#orderFlow .ow-stepper li.done .ow-dot .ow-num { display: none; }
#orderFlow .ow-stepper li.done .ow-dot svg { display: block; }
#orderFlow .ow-lab {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11.5px; color: var(--mut);
  transition: .25s; text-align: center;
}
#orderFlow .ow-stepper li.current .ow-lab { color: var(--blue); }
#orderFlow .ow-stepper li.done .ow-lab { color: var(--head); }

/* ---------- sliding cards ---------- */
#orderFlow .ow-stage { position: relative; }
#orderFlow .ow-card {
  display: block; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
#orderFlow .ow-card[hidden] { display: none; }
#orderFlow .ow-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--bg-soft); z-index: 3; }
#orderFlow .ow-bar-fill {
  display: block; height: 100%; width: 0; border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, var(--blue), #59A0F5); transition: width .6s cubic-bezier(.22, .61, .36, 1);
}
#orderFlow .ow-chip {
  position: absolute; top: 15px; right: 16px; z-index: 3; font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 12px; color: var(--blue); background: var(--blue-t);
  padding: 5px 11px; border-radius: 999px;
}
#orderFlow .ow-inner { padding: 30px 24px 22px; }
#orderFlow .ow-card h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--head); padding-right: 60px;
}
#orderFlow .ow-lead { margin-top: 7px; font-size: 14px; color: var(--text); }
#orderFlow .ow-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px 22px; border-top: 1px solid var(--line); margin-top: 20px;
}
#orderFlow .ow-foot-center { justify-content: center; }

@keyframes ow-in-right { from { opacity: 0; transform: translateX(42px); } to { opacity: 1; transform: none; } }
@keyframes ow-in-left  { from { opacity: 0; transform: translateX(-42px); } to { opacity: 1; transform: none; } }
#orderFlow .ow-card.ow-in-right { animation: ow-in-right .32s cubic-bezier(.22, .61, .36, 1); }
#orderFlow .ow-card.ow-in-left  { animation: ow-in-left  .32s cubic-bezier(.22, .61, .36, 1); }

/* foot buttons */
#orderFlow .ow-back {
  display: inline-flex; align-items: center; gap: 3px; background: none; border: none; cursor: pointer;
  color: var(--blue); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  padding: 10px; border-radius: 9px; transition: background .18s;
}
#orderFlow .ow-back:hover { background: var(--blue-t); }
#orderFlow .ow-back svg { width: 15px; height: 15px; }
#orderFlow .ow-foot .btn.ow-next { margin-left: auto; }
#orderFlow .btn.ow-next { gap: 8px; }
#orderFlow .btn.ow-next svg { width: 16px; height: 16px; }

/* fields inside a card */
#orderFlow .ow-inner .oc-field { margin-top: 16px; }
#orderFlow .ow-inner .oc-promo { margin-top: 14px; }
#orderFlow [data-oc-step="details"] .ow-inner { padding-bottom: 2px; }
#orderFlow [data-oc-step="details"] .ow-foot { margin-top: 0; }

/* ---------- main feed ⇄ reels ---------- */
/* A reel kept off the profile grid is invisible to the feed parser, so the
   customer has to be able to say where to look. Main feed is preselected. */
#orderFlow .oc-feed { margin-top: 14px; }
#orderFlow .oc-feed-label {
  display: block; margin-bottom: 7px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--text);
}
#orderFlow .oc-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
#orderFlow .oc-seg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 10px; min-height: 40px;
  border: 1px solid transparent; border-radius: 9px; background: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--mut);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}
#orderFlow .oc-seg-btn:hover { color: var(--text); }
#orderFlow .oc-seg-btn.is-active {
  background: var(--card, #fff); color: var(--blue);
  border-color: var(--line); box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}
#orderFlow .oc-seg-btn svg { width: 15px; height: 15px; flex: none; }
#orderFlow .oc-feed-hint { margin: 7px 0 0; font-size: 12px; line-height: 1.5; color: var(--mut); }

/* ---------- pay step — prototype pay-01 "Classic vertical stack" ---------- */
/* order tag: green pill + check tick (order.js sets the inner span's text) */
#orderFlow .ow-order-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 0;
  font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .2px;
  color: var(--green-d); background: var(--green-t); border: 1px solid #CBEEDF;
  padding: 5px 11px 5px 7px; border-radius: 999px; line-height: 1;
}
#orderFlow .ow-order-tick {
  flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--green);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
#orderFlow .ow-order-tick svg { width: 10px; height: 10px; }

/* "500 Instagram Likes Premium" — SUCCESS card (pay uses .ow-pay-sum). */
#orderFlow .ow-order-summary { margin: 2px 0 6px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 17px; color: var(--head); line-height: 1.25; }
#orderFlow .ow-order-summary:empty { display: none; }
#orderFlow .ow-success .ow-order-summary { color: var(--plat, var(--head)); }

/* pay: title + ordered summary (platform chip + label) + reassurance dot */
#orderFlow .ow-pay .ow-pay-title { padding: 0; margin: 13px 0 0; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.16; letter-spacing: -.015em; color: var(--head); }
#orderFlow .ow-pay-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 11px 0 0; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16.5px; line-height: 1.25; color: var(--head); overflow-wrap: anywhere; }
#orderFlow .ow-pay-sum-chip { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; color: #fff; background: var(--plat-grad, var(--plat, var(--blue))); box-shadow: 0 3px 8px -2px rgba(34, 48, 74, .4); }
#orderFlow .ow-pay-sum-chip svg { width: 15px; height: 15px; }
#orderFlow .ow-pay-reassure { display: flex; align-items: center; gap: 9px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--text); }
#orderFlow .ow-pay-dot { position: relative; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
#orderFlow .ow-pay-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ow-ping 2s ease-out infinite; }
@keyframes ow-ping { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }

/* posts recap panel (order.js fills [data-pay-posts] + toggles [data-pay-recap]) */
#orderFlow .ow-pay-recap { margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
#orderFlow .ow-pay-recap[hidden] { display: none; }
#orderFlow .ow-pay-recap-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; margin-bottom: 11px; }
#orderFlow .ow-pay-recap-label { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .03em; color: var(--head); }
#orderFlow .ow-pay-recap-meta { font-size: 11.5px; font-weight: 600; color: var(--mut); white-space: nowrap; }

/* single-target preview — profile avatar (Followers) or a link chip (url / no-preview) */
#orderFlow .ow-pay-target { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease; }
#orderFlow .ow-pay-target[hidden] { display: none; }
#orderFlow .ow-pay-target:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(34, 48, 74, .35); border-color: #CFD9E8; }
#orderFlow .ow-pay-target-img { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--plat-grad, var(--plat, var(--blue))); box-shadow: 0 3px 8px -2px rgba(34, 48, 74, .35); }
#orderFlow .ow-pay-target-img.is-avatar { border-radius: 50%; }
#orderFlow .ow-pay-target-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#orderFlow .ow-pay-target-img svg { width: 26px; height: 26px; }
#orderFlow .ow-pay-target-body { flex: 1 1 auto; min-width: 0; }
#orderFlow .ow-pay-target-label { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--head); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#orderFlow .ow-pay-target-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mut); }
#orderFlow .ow-pay-target-go { flex: 0 0 auto; display: flex; align-items: center; color: var(--mut); }
#orderFlow .ow-pay-target-go svg { width: 18px; height: 18px; }

/* to-pay total (blue-tint pill; amount stays site-green via the price rule below) */
#orderFlow .ow-pay-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 0 0; padding: 15px 16px; border-radius: 16px; background: var(--blue-t); border: 1px solid #D5E6FB; }
#orderFlow .ow-pay-total span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--head); }
#orderFlow .ow-pay-total b { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }

/* payment methods */
#orderFlow .pay-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
#orderFlow .ow-method { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; text-decoration: none; color: var(--head); background: #fff; font-family: 'Open Sans', sans-serif; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 15px; box-shadow: 0 2px 8px -5px rgba(34, 48, 74, .32); cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease; }
#orderFlow .ow-method-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
#orderFlow .ow-method-ic svg { width: 21px; height: 21px; }
#orderFlow .ow-method-body { flex: 1 1 auto; min-width: 0; }
#orderFlow .ow-method-title { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
#orderFlow .ow-method-sub { display: block; margin-top: 2px; color: var(--mut); font-size: 12.5px; line-height: 1.3; overflow-wrap: anywhere; }
#orderFlow .ow-method-end { flex: 0 0 auto; display: flex; align-items: center; color: var(--mut); }
#orderFlow .ow-method-end svg { width: 19px; height: 19px; }
#orderFlow .ow-method .ow-method-ic { color: var(--blue); background: var(--blue-t); }
#orderFlow .ow-method:hover { transform: translateY(-1px); border-color: #BDD3ED; box-shadow: 0 11px 22px -13px rgba(34, 48, 74, .48); }
#orderFlow .ow-method:active { transform: translateY(0); }
#orderFlow .ow-method:focus-visible { outline: 3px solid var(--blue-t); outline-offset: 2px; }
/* card is the default and visually primary payment route */
#orderFlow .ow-method--primary { color: #fff; background: linear-gradient(180deg, #F79056, var(--orange)); border-color: transparent; box-shadow: 0 12px 24px -8px rgba(245, 128, 62, .58), inset 0 1px 0 rgba(255, 255, 255, .26); }
#orderFlow .ow-method--primary .ow-method-ic { color: #fff; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
#orderFlow .ow-method--primary .ow-method-sub { color: rgba(255, 255, 255, .92); font-weight: 600; }
#orderFlow .ow-method--primary .ow-method-end { color: rgba(255, 255, 255, .94); }
#orderFlow .ow-method--primary:hover { border-color: transparent; box-shadow: 0 16px 30px -8px rgba(245, 128, 62, .64), inset 0 1px 0 rgba(255, 255, 255, .28); }
/* balance remains a secondary route under "Other methods" */
#orderFlow .ow-method--balance .ow-method-ic { color: var(--green); background: var(--green-t); }
/* balance off (insufficient) — order.js toggles .is-off + sets disabled */
#orderFlow .ow-method--balance.is-off { color: var(--mut); background: var(--bg-soft); box-shadow: none; cursor: not-allowed; }
#orderFlow .ow-method--balance.is-off .ow-method-ic { color: var(--mut); background: var(--line); box-shadow: none; }
#orderFlow .ow-method--balance.is-off .ow-method-sub,
#orderFlow .ow-method--balance.is-off .ow-method-end { color: var(--mut); }
#orderFlow .ow-method--balance.is-off:hover { transform: none; border-color: var(--line); box-shadow: none; }
/* separator */
#orderFlow .ow-method-sep { display: flex; align-items: center; gap: 10px; margin: 5px 2px 2px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
#orderFlow .ow-method-sep::before, #orderFlow .ow-method-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* disabled methods = present but secondary */
#orderFlow .ow-method--off { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(34, 48, 74, .05); cursor: not-allowed; margin-bottom: 9px; }
#orderFlow .ow-method--off:last-child { margin-bottom: 0; }
#orderFlow .ow-method--off .ow-method-ic { color: var(--mut); background: var(--bg-soft); }
#orderFlow .ow-method--off .ow-method-title { color: var(--head); opacity: .72; }
#orderFlow .ow-method--off .ow-method-sub { color: var(--mut); }
#orderFlow .ow-method-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 10.5px; color: var(--mut); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
#orderFlow .ow-method-tag svg { width: 11px; height: 11px; }
#orderFlow .pay-topup-hint { margin: -4px 4px 0; }

/* SSL footer */
#orderFlow .ow-ssl { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--mut); }
#orderFlow .ow-ssl svg { width: 14px; height: 14px; color: var(--green); }
@media (prefers-reduced-motion: reduce) { #orderFlow .ow-pay-dot::after { animation: none; } }

#orderFlow .ow-success .ow-inner { padding: 44px 26px 38px; text-align: center; }
#orderFlow .ow-tick {
  width: 88px; height: 88px; border-radius: 50%; background: var(--green-t); display: grid;
  place-items: center; margin: 0 auto 18px; color: var(--green);
}
#orderFlow .ow-tick svg { width: 44px; height: 44px; }
#orderFlow .ow-success h2 { padding: 0; font-size: 22px; text-align: center; }
#orderFlow .ow-success .ow-lead { margin-top: 8px; }
#orderFlow .ow-success .btn { margin-top: 24px; display: inline-flex; }
@keyframes ow-pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
#orderFlow .ow-success .ow-tick { animation: ow-pop .5s cubic-bezier(.2, 1.25, .4, 1) both; }

/* ---------- free-only wizard states ---------- */
#orderFlow .free-privacy-hint { margin-top: 14px; }
#orderFlow .free-code {
  text-align: center; padding-left: 8px; font-family: 'Poppins', sans-serif;
  font-size: 23px; font-weight: 700; letter-spacing: 8px;
}
#orderFlow .free-devhint {
  margin: 12px 0 0; padding: 8px 10px; border: 1px dashed var(--line);
  border-radius: 9px; background: var(--bg-soft); color: var(--mut);
  font-size: 11.5px; line-height: 1.45; text-align: center;
}
#orderFlow .free-turnstile { display: flex; justify-content: center; margin-top: 18px; }
#orderFlow .free-progress-state {
  display: flex; min-height: 270px; padding: 54px 26px 46px; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
#orderFlow .free-progress-state h2 { margin-top: 20px; padding: 0; text-align: center; }
#orderFlow .free-progress-state .ow-lead { max-width: 390px; }
#orderFlow .free-progress-spinner { width: 46px; height: 46px; border-width: 4px; }
#orderFlow .free-timer-num {
  display: block; margin-top: 8px; font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--blue);
}
#orderFlow .free-post-grid { max-height: none; overflow: visible; padding: 0; }
#orderFlow .free-block-tick { color: #D23B30; background: #FDECEA; }
#orderFlow .free-block-text { max-width: 480px; margin-left: auto; margin-right: auto; white-space: pre-line; }
#orderFlow .free-block-card .btn { margin-top: 22px; }

@media (max-width: 440px) {
  #orderFlow .ow-inner { padding: 26px 16px 18px; }
  #orderFlow .ow-foot { padding: 14px 16px 18px; }
  #orderFlow .ow-card h2 { font-size: 18px; }
  #orderFlow .ow-lab { font-size: 10.5px; }
  #orderFlow .ow-dot { width: 30px; height: 30px; }
}
@media (max-width: 720px) {
  #orderFlow .free-offer-card { grid-template-columns: 1fr; }
  #orderFlow .free-offer-main { padding: 27px 22px 23px; }
  #orderFlow .free-offer-action {
    padding: 22px; border-top: 1px solid var(--line); border-left: 0;
  }
}
@media (max-width: 480px) {
  #orderFlow .free-offer-main { align-items: flex-start; gap: 15px; padding: 24px 17px 20px; }
  #orderFlow .free-offer-icon { width: 52px; height: 52px; border-radius: 15px; }
  #orderFlow .free-offer-icon svg { width: 26px; height: 26px; }
  #orderFlow .free-offer-copy h2 { font-size: 20px; }
  #orderFlow .free-offer-copy > p { font-size: 13px; }
  #orderFlow .free-offer-points { gap: 7px 12px; margin-top: 14px; }
  #orderFlow .free-offer-points li { font-size: 11.5px; }
  #orderFlow .free-offer-action { padding: 19px 17px 22px; }
  #orderFlow .free-offer-price { font-size: 27px; }
  #orderFlow .ow-head {
    display: grid; grid-template-columns: max-content minmax(0, 1fr);
    align-items: center; gap: 5px;
  }
  #orderFlow .ow-changeplan { padding: 7px 2px; font-size: 11.5px; white-space: nowrap; }
  #orderFlow .ow-changeplan svg { display: block; width: 13px; height: 13px; }
  #orderFlow .ow-pill {
    width: max-content; max-width: 100%; justify-self: end;
    overflow: hidden; padding: 7px 9px; gap: 3px;
    justify-content: flex-end; font-size: 12px; letter-spacing: -.15px;
  }
  #orderFlow .ow-terms { padding: 11px 14px; font-size: 11.5px; }
}
/* On narrow screens the card fills the column, so a big horizontal slide would
   briefly poke past the viewport edge — shrink the travel so it never overflows. */
@media (max-width: 680px) {
  @keyframes ow-in-right { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  @keyframes ow-in-left  { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  #orderFlow .ow-card.ow-in-right, #orderFlow .ow-card.ow-in-left, #orderFlow .ow-success .ow-tick { animation: none; }
  #orderFlow .ow-bar-fill { transition: none; }
}

/* ---------- platform brand accents ----------
   Each service takes its platform's colour for the price and the unit icons
   (likes / followers / views), so IG pages feel IG, TikTok pages feel TikTok… */
[data-system="Instagram"] { --plat: #E1306C; --plat-grad: linear-gradient(180deg,#515BD4,#8134AF,#DD2A7B,#E1306C,#F56040,#FEDA77); --plat-grad-h: linear-gradient(90deg,#515BD4,#8134AF,#DD2A7B,#E1306C,#F56040,#FEDA77); }
[data-system="TikTok"]    { --plat: #FE2C55; --plat-grad: linear-gradient(180deg,#25F4EE 0%,#FE2C55 62%,#EE1D52); --plat-grad-h: linear-gradient(90deg,#25F4EE 0%,#FE2C55 62%,#EE1D52); }
[data-system="YouTube"]   { --plat: #FF0000; --plat-grad: linear-gradient(180deg,#FF5A54,#FF0000,#CC0000); --plat-grad-h: linear-gradient(90deg,#FF5A54,#FF0000,#CC0000); }
[data-system="Facebook"]  { --plat: #1877F2; --plat-grad: linear-gradient(180deg,#4A9BFF,#1877F2,#0E5FD8); --plat-grad-h: linear-gradient(90deg,#4A9BFF,#1877F2,#0E5FD8); }

/* ---------- Service hero — prototype 03 "left accent rail" (HEADER ONLY) ----------
   A vertical platform-gradient rail beside left-aligned kicker / title / status.
   Nav, logo, menu, plan cards and the rest of the page are untouched. */
.svc-hero { background: #fff; padding: 40px 0 34px; }
.svc-hero-inner { display: flex; align-items: stretch; gap: 20px; }
.svc-hero-rail {
  flex: 0 0 6px; width: 6px; border-radius: 999px; align-self: stretch;
  background: var(--plat-grad, var(--plat, var(--line)));
  box-shadow: 0 8px 22px -10px rgba(34, 48, 74, .35);
}
.svc-hero-inner .svc-hero-main { flex: 1 1 auto; min-width: 0; max-width: 720px; }
.svc-hero-kicker {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--plat, var(--mut)); margin-bottom: 9px;
}
.svc-hero-sub { margin-top: 12px; font-size: clamp(14.5px, 2.2vw, 17px); line-height: 1.55; color: var(--text); max-width: 58ch; }
.svc-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }

/* Status — a green chip with a pulsing check + last-check (prototype 03). When
   the label + "Last check" don't fit the width, the meta wraps to a SECOND line
   inside the chip as a whole phrase (never mid-word). The dot is vertically
   CENTERED (align-items: center) so it sits level whether the chip is one line or
   wraps to two. A soft 14px radius keeps the multi-line chip clean (a 999px pill
   turns into an ugly blob once it wraps). */
.svc-hero .svc-status {
  display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 9px; margin: 0; max-width: 100%;
  background: var(--green-t); border: 1px solid rgba(0, 182, 122, .22); color: var(--green-d);
  padding: 6px 13px 6px 7px; border-radius: 14px; font-size: 13.5px; line-height: 1.45;
}
.svc-hero .svc-status-dot {
  display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green); color: #fff; flex: 0 0 auto;
  animation: svc-pulse 2.4s infinite;
}
.svc-hero .svc-status-dot svg { width: 11px; height: 11px; }
.svc-hero .svc-status-txt { min-width: 0; }
/* Icon + status label stay together on line 1; "Last check …" flows after it and,
   when it doesn't fit, wraps as a whole to line 2 (aligned under the label). The
   label's right margin is the inline gap (invisible when it trails a wrapped line). */
.svc-hero .svc-status b { font-weight: 700; white-space: nowrap; margin-right: 7px; }
.svc-hero .svc-status-dim { opacity: .82; white-space: nowrap; }
@keyframes svc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 182, 122, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 182, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 182, 122, 0); }
}
/* Delays / Unavailable variants — steady (no pulse), amber / red (legacy states 2/3). */
.svc-hero .svc-status.is-warn { background: #FEF6E7; border-color: rgba(245,166,35,.28); color: #9A6A00; }
.svc-hero .svc-status.is-warn .svc-status-dot { background: #F5A623; animation: none; }
.svc-hero .svc-status.is-down { background: #FDECEC; border-color: rgba(224,49,49,.22); color: #B42318; }
.svc-hero .svc-status.is-down .svc-status-dot { background: #E03131; animation: none; }

/* Rating — white pill with stars, score and review count (prototype 03). */
.svc-hero .svc-hero-rating {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); color: var(--head);
  padding: 6px 14px; border-radius: 999px; font-family: 'Poppins', sans-serif;
  box-shadow: 0 1px 3px rgba(34, 48, 74, .05); text-decoration: none !important;
}
.svc-hero .svc-rating-stars { color: #F5A623; letter-spacing: 1px; font-size: 13px; }
.svc-hero .svc-rating-num { font-weight: 800; color: var(--head); font-size: 14px; }
.svc-hero .svc-rating-den { color: var(--mut); font-weight: 600; font-size: 13px; }
.svc-hero .svc-rating-rev { color: var(--mut); font-weight: 600; font-size: 12.5px; border-left: 1px solid var(--line); padding-left: 8px; }

/* Stats strip (prototype 03 / variant 16 — compact type so all three fit one row on mobile). */
.svc-hero .svc-hero-stats { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.svc-hero .svc-hstat { display: flex; flex-direction: column; }
.svc-hero .svc-hnum { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 21px; color: var(--head); line-height: 1.1; }
.svc-hero .svc-hlabel { font-size: 12.5px; color: var(--mut); margin-top: 4px; }

@media (max-width: 640px) {
  .svc-hero-inner { gap: 15px; }
  .svc-hero-rail { flex-basis: 5px; width: 5px; }
  .svc-hero-meta .svc-hero-rating { order: 0; align-self: center; }
  /* All three stats on ONE row: no wrap, spread edge-to-edge, compact type.
     "Auto-Likes delivered" is the widest label on the whole site, so sizing
     to fit it here guarantees every other service fits too. */
  .svc-hero .svc-hero-stats { flex-wrap: nowrap; justify-content: space-between; gap: 8px 12px; }
  .svc-hero .svc-hstat { min-width: 0; }
  .svc-hero .svc-hnum { font-size: 18px; }
  .svc-hero .svc-hlabel { font-size: 11px; margin-top: 3px; white-space: nowrap; }
}

/* Only the unit icons (likes / followers / views) take the platform colour. */
#orderFlow .plan-unit-icon { color: var(--plat, currentColor); }
/* Prices stay ONE consistent, readable colour (site green) on every platform. */
#orderFlow .plan-price,
#orderFlow .speed-card-price,
#orderFlow .speed-card.is-active .speed-card-price,
#orderFlow .ow-pill-price,
#orderFlow .ow-pay-total b { color: var(--green); }

/* Wizard step titles were <h2> and occupied 6-9 of each page's top-level heading
   slots ahead of every editorial heading — a checkout UI posing as the document
   outline. They are now <p>; these rules carry the visual weight they had. */
#orderFlow .ow-card .ow-step-title,
#orderFlow .free-progress-state .ow-step-title,
#orderFlow .ow-success .ow-step-title,
#orderFlow .free-offer-copy .ow-step-title { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--head); }
#orderFlow .ow-card .ow-step-title { font-size: 20px; padding: 0 0 2px; margin: 0 0 4px; }
#orderFlow .ow-success .ow-step-title { padding: 0; font-size: 22px; text-align: center; }
#orderFlow .free-progress-state .ow-step-title { margin-top: 20px; padding: 0; text-align: center; font-size: 20px; }
#orderFlow .free-offer-copy .ow-step-title { font-size: 22px; margin: 0 0 6px; }
#orderFlow .free-offer-copy .ow-step-title .num { color: var(--plat, var(--head)); }
@media (max-width: 640px) {
  #orderFlow .ow-card .ow-step-title { font-size: 18px; }
  #orderFlow .free-offer-copy .ow-step-title { font-size: 20px; }
}
