/* ============================================================
   RC Servo Connector Safety Locks — page-specific styles.
   The page is built from the label kit's .sl-* components in
   css/servo-labels.css; this file adds only what that page did not need:
   the pack badge, the two-line message band, the close-up feature grid,
   the compatibility box and the bundle cross-sell.
   ============================================================ */
.lk-pack { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 14px; padding: 7px 14px; border: 2px solid var(--ink); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: #fff; }
.lk-pack small { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.sl-gal__thumbs--5 { grid-template-columns: repeat(5, 1fr); }
.sl-gal__thumbs--4 { grid-template-columns: repeat(4, 1fr); }

/* the generic add-to-cart control inside the hero panel */
.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 { font-size: .88rem; color: var(--muted); line-height: 1.55; margin: 10px 0 0; }

/* the two-line message band */
.lk-band { background: var(--navy); color: #fff; padding: 36px 0; text-align: center; }
.lk-band p { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.2; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: .01em; }
.lk-band p + p { margin-top: 10px; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; color: rgba(255, 255, 255, .78); }

/* close-up: what the part is */
.lk-feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lk-feat li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.lk-feat b { display: block; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; margin-bottom: 2px; }
.lk-feat span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* 50-pack value */
.lk-per { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0 10px; }
.lk-per b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--green-text); }
.lk-per span { font-size: .95rem; font-weight: 700; color: var(--ink); }
.lk-per small { display: block; font-size: .82rem; font-weight: 500; color: var(--muted); }

/* compatibility box */
.lk-fit { max-width: 860px; margin: 0 auto; padding: 26px 28px; border: 2px solid var(--line-2, var(--line)); border-radius: var(--radius); background: var(--panel); }
.lk-fit h2 { margin: 6px 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.lk-fit p { color: var(--muted); line-height: 1.7; margin: 0 0 10px; }
.lk-fit ul { margin: 12px 0 0; padding: 0 0 0 20px; color: var(--ink); line-height: 1.7; }
.lk-fit__gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.lk-fit__gal button { padding: 0; border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; cursor: pointer; }
.lk-fit__gal img { display: block; width: 100%; height: auto; }
.lk-fit__gal button:hover { border-color: var(--orange); }
.lk-fit__gal button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* the bundle cross-sell */
.lk-bundle { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lk-bundle__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.lk-bundle__pair figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lk-bundle__pair img { display: block; width: 100%; height: auto; }
.lk-bundle__pair figcaption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 700; line-height: 1.35; }
.lk-bundle__pair figcaption small { display: block; font-weight: 500; color: var(--muted); }
.lk-bundle__plus { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--muted); }
.lk-bundle__box { border: 2px solid var(--green); border-radius: var(--radius); background: #fff; padding: 24px 26px; }
.lk-bundle__box h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.lk-bundle__box .sl-price { margin-bottom: 12px; }
.lk-bundle__list { margin: 0 0 14px; padding: 0 0 0 20px; line-height: 1.7; color: var(--ink); }
.lk-bundle__box .buy .buy__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.lk-bundle__box .buy .buy__row .btn { flex: 1; }
.lk-bundle__box .buy__ok { font-size: .9rem; font-weight: 700; color: var(--green-text); margin: 10px 0 0; }
.lk-bundle__box .buy__fallback { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.lk-bundle__alt { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

@media (max-width: 860px) {
  .lk-bundle { grid-template-columns: 1fr; gap: 24px; }
  .lk-feat { grid-template-columns: 1fr; }
  .lk-fit { padding: 20px 18px; }
}
@media (max-width: 560px) {
  .lk-fit__gal { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lk-bundle__pair { gap: 8px; }
  .lk-bundle__plus { font-size: 1.6rem; }
  .lk-bundle__pair figcaption { font-size: .78rem; padding: 8px; }
  .sl-gal__thumbs--5 { gap: 6px; }
}
