/* ============================================================
   Heavy-Duty RC Control Linkage Kit — page-specific styles.
   Built from the product-page components (css/servo-labels.css,
   css/servo-locks.css, css/xt60-caps.css). This adds the labelled system
   diagram, the use-case cards, the four installation steps with photos,
   the spec table notes and the draft notice.
   ============================================================ */
.lg-callout { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.lg-callout i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* the hero add-to-cart panel is the shared control */
.sl-add.buy { display: block; }
.sl-add.buy .buy__row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.sl-add.buy .buy__row .btn { flex: 1; min-height: 50px; }
.sl-add.buy .buy__ok { min-height: 1.3em; font-size: .9rem; font-weight: 700; color: var(--green-text); margin: 10px 0 0; }
.sl-add.buy .buy__fallback, .sl-add.buy .buy__draft { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 10px 0 0; }
.buy__draft { padding: 12px 14px; border: 1px dashed var(--line-2, var(--line)); border-radius: var(--radius-sm); background: var(--panel); }

/* the system, labelled: the photo with numbered markers and a legend */
.lg-sys { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.lg-sys__fig { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lg-sys__fig img { display: block; width: 100%; height: auto; }
.lg-sys__pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.25); }
.lg-sys__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lg-sys__legend li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.lg-sys__legend b { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; display: block; }
.lg-sys__legend span { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.lg-sys__n { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* what you get: the list reads as a packing list */
.lg-inc { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.lg-inc li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.lg-inc b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--orange-text, var(--orange)); text-align: right; }
.lg-inc span { font-weight: 600; }
.lg-inc small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.lg-notinc { margin: 14px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* use-case cards */
.lg-uses { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lg-uses li { padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.lg-uses b { display: block; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; margin-bottom: 4px; }
.lg-uses span { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* the story: a wide photo band */
.lg-story { background: var(--navy); color: #fff; }
.lg-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lg-story h2 { color: #fff; }
.lg-story p { color: rgba(255,255,255,.82); line-height: 1.7; }
.lg-story .eyebrow { color: var(--orange); }
.lg-story__img { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.lg-story__img img { display: block; width: 100%; height: auto; }
.lg-story__img figcaption { padding: 10px 12px; font-size: .82rem; color: rgba(255,255,255,.7); background: rgba(0,0,0,.25); }
.lg-story__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.lg-story .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.lg-story .btn--ghost:hover { border-color: #fff; color: #fff; }

/* installation steps: four, each with a photo where one exists */
.lg-steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lg-steps li { padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lg-steps li::before { counter-increment: s; content: counter(s); display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.lg-steps b { display: block; font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase; font-size: .92rem; margin-bottom: 6px; }
.lg-steps p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* spec table + notes */
.lg-spec__fine { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.lg-safety { max-width: 860px; margin: 0 auto; }

@media (max-width: 980px) { .lg-uses { grid-template-columns: repeat(3, 1fr); } .lg-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .lg-sys, .lg-story__grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .lg-uses, .lg-steps { grid-template-columns: 1fr; } .lg-sys__pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: .8rem; } }
