/*
 * Loaded last (and with !important) so theme/plugin CSS cannot repaint
 * the buttons or the header brand. Scoped to this single page.
 */

body.bkp-cyberpunk .btn,
body.bkp-cyberpunk a.btn,
body.bkp-cyberpunk .btn:link,
body.bkp-cyberpunk .btn:visited {
  color: var(--accent-ink, #ffffff) !important;
  background: var(--accent, #0f6ab4) !important;
  border-color: var(--accent, #0f6ab4) !important;
  text-decoration: none !important;
}

body.bkp-cyberpunk .btn:hover,
body.bkp-cyberpunk .btn:focus {
  color: var(--accent-ink, #ffffff) !important;
  background: var(--accent-dark, #0b4f87) !important;
  border-color: var(--accent-dark, #0b4f87) !important;
}

body.bkp-cyberpunk .btn-ghost,
body.bkp-cyberpunk a.btn-ghost {
  color: var(--ink, #16202b) !important;
  background: transparent !important;
  border-color: rgba(22, 32, 43, 0.28) !important;
}

body.bkp-cyberpunk .hero .btn-ghost,
body.bkp-cyberpunk .cta .btn-ghost,
body.bkp-cyberpunk .hero a.btn-ghost,
body.bkp-cyberpunk .cta a.btn-ghost {
  color: #ffffff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

body.bkp-cyberpunk .hero .btn-ghost:hover,
body.bkp-cyberpunk .cta .btn-ghost:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

/* Header brand: real logo, readable size, no plugin interference */
body.bkp-cyberpunk .brand img {
  height: 46px !important;
  width: auto !important;
  max-width: 200px !important;
  opacity: 1 !important;
  display: inline-block !important;
}

body.bkp-cyberpunk .brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
}

/* Header quote button: always one line, never squeezed by the flex header */
body.bkp-cyberpunk .btn-quote,
body.bkp-cyberpunk a.btn-quote {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Give the header enough room for the full label at 1440/1366 */
body.bkp-cyberpunk .header-inner {
  max-width: 1320px !important;
}

/* In-page anchor buttons (hero "See the layouts") */
html {
  scroll-behavior: smooth;
}

body.bkp-cyberpunk [id] {
  scroll-margin-top: 130px; /* clear the sticky header when jumping to a section */
}

/* Planning steps: horizontal cards instead of a vertical timeline */
body.bkp-cyberpunk ol.steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  counter-reset: none !important;
}

body.bkp-cyberpunk ol.steps li {
  counter-increment: none !important;
  position: relative;
  margin: 0 !important;
  padding: 48px 16px 16px !important;
  border: 1px solid rgba(22, 32, 43, 0.12);
  border-radius: 10px;
  background: #f7f9fb;
}

body.bkp-cyberpunk ol.steps li::before {
  left: 16px !important;
  top: 14px !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 12px !important;
}

body.bkp-cyberpunk ol.steps li::after {
  display: none !important;
}

body.bkp-cyberpunk ol.steps h3 {
  margin: 0 0 6px !important;
  font-size: 16px;
}

/* Related Products: three image cards per view, swipe or use the arrows */
body.bkp-cyberpunk .related-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.bkp-cyberpunk .related-head h2 {
  margin: 0 !important;
}

body.bkp-cyberpunk .related-arrows {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

body.bkp-cyberpunk .related-arrows button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(22, 32, 43, 0.2);
  border-radius: 50%;
  background: #ffffff;
  color: #16202b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.bkp-cyberpunk .related-arrows button:hover {
  border-color: var(--accent, #0f6ab4);
  color: var(--accent, #0f6ab4);
}

body.bkp-cyberpunk .related-arrows button:disabled {
  opacity: 0.35;
  cursor: default;
}

body.bkp-cyberpunk .related-rail {
  overflow: hidden;
}

body.bkp-cyberpunk .related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.bkp-cyberpunk .related-track::-webkit-scrollbar {
  display: none;
}

body.bkp-cyberpunk .related-card {
  display: block;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 43, 0.12);
  border-radius: 12px;
  background: #f7f9fb;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.bkp-cyberpunk .related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 32, 43, 0.12);
}

body.bkp-cyberpunk .related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.bkp-cyberpunk .related-card h3 {
  margin: 0 !important;
  padding: 12px 14px 14px !important;
  font-size: 16px !important;
  line-height: 1.35;
  color: #16202b !important;
}

@media (max-width: 900px) {
  body.bkp-cyberpunk .related-track {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  body.bkp-cyberpunk .related-track {
    grid-auto-columns: 86%;
  }
}
