/* Online shop service page.
   The page shell, sub-nav, structure tabs, diagram frame and pricing blocks come
   from service-page.css (.sv- prefix). What is here is only what this page uses:
   the payment and reliability cards, and the diagram families they contain. */

/* ---------- Straight to the website page ---------- */

/* Placed above everything else on purpose. Someone who has not yet decided they
   need a website should leave here, not read nine sections and then find out. */
.sh-first {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-1);
}
.sh-first > div { flex: 1 1 420px; }
.sh-first h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  text-transform: uppercase;
}
.sh-first p { margin: 0; color: var(--text-muted); font-size: 0.94rem; line-height: 1.75; }

/* ---------- What makes it a shop ---------- */

.sh-flow-wrap {
  margin: 0 0 12px;
  padding: 24px;
  overflow-x: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* Below this width the six steps stop being readable, so the wrapper scrolls
   rather than the diagram shrinking into illegibility. */
.sh-flow { display: block; width: 100%; min-width: 860px; height: auto; }

.sh-scroll-hint {
  margin: 0 0 40px;
  color: #6A6A6A;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Selling through Facebook and Instagram ---------- */

.sh-social-wrap {
  margin: 0 0 12px;
  padding: 24px;
  overflow-x: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* The chat bubbles carry 9.5px text; below this the phone stops being readable. */
.sh-social { display: block; width: 100%; min-width: 900px; height: auto; }

/* ---------- Card grids ---------- */

/* Flex rather than grid so a six-card set breaks 3+3 and a last row that is
   not full stays centred instead of hanging off the left. */
.sh-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.sh-cards > .sh-card { flex: 1 1 330px; max-width: 400px; }

.sh-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease;
}
.sh-card:hover { border-color: var(--accent-1); }
.sh-card > i { color: var(--accent-1); font-size: 1.3rem; }
.sh-card h3 {
  margin: 16px 0 12px;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sh-card-what { margin: 0 0 14px; color: var(--text); font-size: 0.9rem; line-height: 1.65; }
.sh-card-why {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* ---------- A diagram with its explanation beside it ---------- */

/* Weighted towards the diagram: at an even split these render at about 0.8
   scale and the 12px labels inside them drop below reading size. */
.sh-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; margin-bottom: 48px; }
.sh-pair:last-of-type { margin-bottom: 0; }
.sh-pair-text h3 { margin: 0 0 14px; font-size: 1.45rem; }
.sh-pair-text p { margin: 0 0 14px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; }
.sh-pair-text p:last-child { margin-bottom: 0; }
.sh-pair-text strong { color: var(--text); }
.sh-pair .sv-diagram-wrap { margin: 0; }

/* ---------- Sub-heading inside a section ---------- */

.sh-sub { margin: 64px 0 12px; font-size: 1.45rem; }
/* No top gap when it is the first thing under the section intro. */
.sh-sub-first { margin-top: 0; }
.sh-sub-p { max-width: 720px; margin: 0 0 24px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; }
.sh-sub-p strong { color: var(--text); }

/* ---------- Order states rail ---------- */

.sh-track-wrap {
  margin: 0 0 40px;
  padding: 28px 24px;
  overflow-x: auto;
  background: var(--bg);
  border: 1px solid var(--border);
}
.sh-track { display: block; width: 100%; min-width: 720px; height: auto; }

/* ---------- Payments ---------- */

.sh-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 24px; }

.sh-pay-card { padding: 26px; background: var(--bg-card); border: 1px solid var(--border); }
.sh-pay-card > i { color: var(--accent-1); font-size: 1.4rem; }
.sh-pay-card h3 { margin: 16px 0 10px; font-size: 1.15rem; }
.sh-pay-what { margin: 0 0 12px; color: var(--text); font-size: 0.88rem; line-height: 1.6; }
.sh-pay-why { margin: 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.75; }

.sh-note {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg);
  border-left: 2px solid var(--accent-2);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.sh-note i { margin-right: 8px; color: var(--accent-2); }

/* Block variant: the note carries paragraphs and a list rather than one line. */
.sh-note-block > p { margin: 0 0 14px; }
.sh-note-block > p:last-child { margin-bottom: 0; }

.sh-note-list { margin: 0 0 14px; padding: 0; list-style: none; }
.sh-note-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.6;
}
.sh-note-list li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-2);
}
.sh-note strong { color: var(--text); }

/* ---------- Shop diagram primitives ---------- */

.sd-cart { fill: rgba(238, 62, 201, 0.25); stroke: var(--accent-1); stroke-width: 0.9; }
.sd-cart-n { fill: var(--text); font-family: var(--font-nav); font-size: 7px; font-weight: 700; }
.sd-panel { fill: #101010; stroke: #2C2C2C; stroke-width: 1; }
.sd-mini { fill: #6A6A6A; font-family: var(--font-body); font-size: 8px; }
.sd-buy { fill: rgba(238, 62, 201, 0.28); stroke: var(--accent-1); stroke-width: 1; }
.sd-buy-t { fill: var(--text); font-family: var(--font-nav); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.sd-locked { fill: #101010; stroke: #2C2C2C; stroke-width: 1; }
.sd-lock { fill: none; stroke: var(--accent-2); stroke-width: 1.6; }
.sd-lock-body { fill: rgba(255, 111, 60, 0.35); }
.sd-tier { fill: rgba(238, 62, 201, 0.12); stroke: var(--accent-1); stroke-width: 1.1; }
.sd-tier-t { fill: var(--text); font-family: var(--font-nav); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Checkout flow ---------- */

.cf-path { stroke: url(#cfgrad); stroke-width: 2; }
.cf-fail { fill: none; stroke: var(--accent-2); stroke-width: 1.4; stroke-dasharray: 4 4; }

.cf-box { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.cf-box-on { stroke: var(--accent-1); }

.cf-n { fill: #4A4A4A; font-family: var(--font-nav); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.cf-t { fill: var(--text); font-family: var(--font-nav); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.cf-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 12px; }

.cf-note { fill: #101010; stroke: rgba(255, 111, 60, 0.45); stroke-width: 1; }
.cf-note-t { fill: var(--accent-2); font-family: var(--font-nav); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.cf-note-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 12px; }

/* ---------- Charged once ---------- */

.dc-in { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.dc-in-t { fill: var(--text); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.dc-key { fill: var(--accent-1); font-family: var(--font-nav); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }

.dc-link { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.dc-drop { stroke-dasharray: 4 4; }

.dc-gate { fill: rgba(238, 62, 201, 0.08); stroke: var(--accent-1); stroke-width: 1.2; }
.dc-gate-t { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.dc-out { fill: #141414; stroke: #2E2E2E; stroke-width: 1.1; }
.dc-out-on { stroke: var(--accent-1); }
.dc-out-t { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.dc-out-dim { fill: #6A6A6A; }
.dc-out-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }

/* ---------- Stock hold ---------- */

.sk-buyer { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.sk-t { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.sk-s { fill: #6A6A6A; font-family: var(--font-body); font-size: 10.5px; }
.sk-link { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }

.sk-stock { fill: rgba(238, 62, 201, 0.08); stroke: var(--accent-1); stroke-width: 1.2; }
.sk-stock-n { fill: var(--accent-1); font-family: var(--font-display); font-size: 34px; }
.sk-stock-t { fill: var(--text-muted); font-family: var(--font-nav); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }

.sk-out { fill: #141414; stroke: #2E2E2E; stroke-width: 1.1; }
.sk-out-on { stroke: var(--accent-1); }
.sk-out-off { stroke: rgba(255, 111, 60, 0.5); }
.sk-out-t { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.sk-out-warn { fill: var(--accent-2); }
.sk-out-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }

/* ---------- Order states ---------- */

.os-rail { stroke: #2E2E2E; stroke-width: 2; }
.os-node { fill: #141414; stroke: var(--accent-1); stroke-width: 1.6; }
.os-node-end { fill: rgba(238, 62, 201, 0.28); }
.os-i { fill: var(--text); font-family: var(--font-nav); font-size: 11px; font-weight: 700; }
.os-t { fill: var(--text); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.os-s { fill: #6A6A6A; font-family: var(--font-body); font-size: 11px; }
.os-warn { fill: var(--accent-2); }
.os-branch { fill: none; stroke: var(--accent-2); stroke-width: 1.4; stroke-dasharray: 4 4; }

/* ---------- eBarimt ---------- */

.eb-box { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.eb-box-on { stroke: var(--accent-1); }
.eb-box-warn { stroke: rgba(255, 111, 60, 0.55); }
.eb-t { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.eb-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }
.eb-warn { fill: var(--accent-2); }
.eb-link { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.eb-link-warn { stroke: rgba(255, 111, 60, 0.55); stroke-dasharray: 4 4; }

.eb-receipt { fill: #1A1A1A; stroke: #3A3A3A; stroke-width: 1.2; }
.eb-qr { fill: #0C0C0C; stroke: #2E2E2E; stroke-width: 1; }
.eb-qr-p { fill: var(--accent-1); opacity: 0.75; }
.eb-ln { fill: #2A2A2A; }
.eb-ln-on { fill: rgba(238, 62, 201, 0.55); }
.eb-cap { fill: #6A6A6A; font-family: var(--font-nav); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Reconciliation ---------- */

.rc-col { fill: #101010; stroke: #2C2C2C; stroke-width: 1; }
.rc-head { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.rc-row { fill: #191919; stroke: #2E2E2E; stroke-width: 1; }
.rc-row-bad { stroke: var(--accent-2); }
.rc-id { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.06em; }
.rc-amt { fill: var(--text); font-family: var(--font-nav); font-size: 11.5px; }
.rc-match { stroke: var(--accent-1); stroke-width: 1.4; opacity: 0.7; }
.rc-match-bad { stroke: var(--accent-2); stroke-dasharray: 4 4; opacity: 1; }
.rc-flag { fill: var(--accent-2); font-family: var(--font-nav); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Cart totals ---------- */

.ct-panel { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.ct-l { fill: var(--text-muted); font-family: var(--font-nav); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ct-v { fill: var(--text); font-family: var(--font-nav); font-size: 14px; }
.ct-on { fill: var(--accent-1); }
.ct-warn { fill: var(--accent-2); }
.ct-note { fill: #6A6A6A; font-family: var(--font-body); font-size: 11.5px; }
.ct-code { fill: rgba(238, 62, 201, 0.16); stroke: var(--accent-1); stroke-width: 1; }
.ct-code-t { fill: var(--text); font-family: var(--font-nav); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; }
.ct-rule { stroke: #2E2E2E; stroke-width: 1; }
.ct-total-l { fill: var(--text); font-family: var(--font-nav); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ct-total-v { fill: var(--text); font-family: var(--font-display); font-size: 28px; }

/* ---------- Customer history ---------- */

.ch-card { fill: rgba(238, 62, 201, 0.06); stroke: var(--accent-1); stroke-width: 1.2; }
.ch-avatar { fill: #262626; stroke: var(--accent-1); stroke-width: 1.2; }
.ch-name { fill: var(--text); font-family: var(--font-nav); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.ch-sub { fill: var(--text-muted); font-family: var(--font-body); font-size: 11.5px; }
.ch-rule { stroke: rgba(238, 62, 201, 0.35); stroke-width: 1; }
.ch-stat { fill: var(--accent-1); font-family: var(--font-display); font-size: 24px; }
.ch-stat-l { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.ch-link { fill: none; stroke: rgba(238, 62, 201, 0.4); stroke-width: 1.1; }
.ch-row { fill: #191919; stroke: #2E2E2E; stroke-width: 1; }
.ch-id { fill: var(--text); font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.06em; }
.ch-date { fill: var(--text-muted); font-family: var(--font-body); font-size: 11.5px; }
.ch-state { fill: #6A6A6A; font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.ch-state-on { fill: var(--accent-1); }
.ch-state-warn { fill: var(--accent-2); }

/* ---------- Fulfilment ---------- */

.ff-box { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.ff-box-on { stroke: var(--accent-1); }
.ff-box-back { fill: rgba(238, 62, 201, 0.06); stroke: var(--accent-1); }
.ff-t { fill: var(--text); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.ff-on { fill: var(--accent-1); }
.ff-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }
.ff-link { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.ff-dash { stroke-dasharray: 4 4; }
.ff-back { fill: none; stroke: var(--accent-1); stroke-width: 1.4; }
.ff-note { fill: #101010; stroke: #2C2C2C; stroke-width: 1; stroke-dasharray: 4 4; }
.ff-note-t { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Social commerce ---------- */

.sc-eyebrow { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.sc-phone { fill: #1C1C1C; stroke: #3A3A3A; stroke-width: 1.4; }
.sc-screen { fill: #0C0C0C; stroke: #262626; stroke-width: 1; }
.sc-cam { fill: #3A3A3A; }

.sc-in { fill: #232323; }
.sc-out { fill: rgba(238, 62, 201, 0.16); stroke: rgba(238, 62, 201, 0.5); stroke-width: 1; }
.sc-out-pay { fill: rgba(238, 62, 201, 0.1); }
.sc-msg { fill: var(--text); font-family: var(--font-body); font-size: 11px; }
.sc-msg-out { font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.04em; }
.sc-sub { fill: var(--text-muted); font-family: var(--font-body); font-size: 9.5px; }
.sc-qr { fill: #0C0C0C; stroke: #2E2E2E; stroke-width: 1; }
.sc-qr-p { fill: var(--accent-1); opacity: 0.8; }
.sc-sys { fill: rgba(255, 111, 60, 0.16); stroke: var(--accent-2); stroke-width: 1; }
.sc-sys-t { fill: var(--accent-2); font-family: var(--font-nav); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.sc-link { fill: none; stroke: var(--accent-1); stroke-width: 1.6; }
.sc-shop { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.sc-core { fill: rgba(238, 62, 201, 0.08); stroke: var(--accent-1); stroke-width: 1.4; }
.sc-core-t { fill: var(--text); font-family: var(--font-nav); font-size: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sc-fan { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.sc-out-box { fill: #141414; stroke: #2E2E2E; stroke-width: 1.1; }
.sc-box-t { fill: var(--text); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.sc-box-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .sh-pair { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .sh-first { padding: 26px; }
}
