:root {
  --ink: #244b58;
  --muted: #5b747b;
  --line: #d7e6eb;
  --paper: #f5fbfc;
  --white: #ffffff;
  --blue: #3f7889;
  --green: #58afca;
  --gold: #7aaeba;
  --charcoal: #203f4a;
  --shadow: 0 18px 50px rgba(32, 63, 74, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: #244b58;
  color: #eef6f4;
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-brand {
  align-items: center;
  flex-direction: row;
  gap: 12px;
}

.logo-brand img {
  width: 142px;
  height: auto;
  display: block;
}

.logo-only img {
  width: 176px;
}

.logo-brand span {
  display: flex;
  flex-direction: column;
}

.brand small {
  color: #58afca;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 300px;
  padding: 10px;
  display: grid;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.dropdown-menu::before {
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #edf8fb;
  color: #3f7889;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #3f7889;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #58afca;
  color: white;
  font-weight: 760;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(88, 175, 202, 0.28);
}

.button.secondary {
  background: white;
  color: #3f7889;
  border-color: rgba(63, 120, 137, 0.28);
  box-shadow: none;
}

.button.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  box-shadow: none;
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 49, 58, 0.9) 0%, rgba(36, 75, 88, 0.68) 43%, rgba(63, 120, 137, 0.2) 75%);
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 70px;
  color: white;
}

.eyebrow {
  color: #b9edf7;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
  margin-top: 14px;
}

.hero p {
  max-width: 660px;
  font-size: 20px;
  color: #e4eeec;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 66px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.22);
}

.metric {
  padding: 22px;
  background: rgba(88, 175, 202, 0.18);
}

.metric strong {
  display: block;
  font-size: 28px;
}

.metric span {
  color: #d9e8e5;
  font-size: 14px;
}

section {
  padding: 74px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-kicker {
  color: #3f7889;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.section-soft {
  background: #f8fcfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list strong {
  color: var(--ink);
  font-size: 17px;
}

.service-list span {
  color: var(--muted);
}

.service-grid,
.product-grid,
.process-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.product-card,
.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(19, 32, 35, 0.05);
}

.service-photo {
  display: block;
  width: calc(100% + 48px);
  height: 190px;
  object-fit: cover;
  margin: -24px -24px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--line);
}

.card h3,
.product-card h3,
.process-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p,
.process-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #e8f6fa;
  color: #3f7889;
  margin-bottom: 18px;
}

.dark-band {
  background: #203f4a;
  color: white;
}

.dark-band .lead,
.dark-band .card p,
.dark-band .process-card p {
  color: #cad7d7;
}

.dark-band .card,
.dark-band .process-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

.product-hero {
  background: #edf8fb;
  border-bottom: 1px solid var(--line);
}

.compact-product-hero {
  padding: 34px 0 24px;
}

.compact-product-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 4vw, 52px);
}

.compact-product-hero p {
  max-width: 920px;
  margin-bottom: 18px;
}

.hardware-choice-above-fold {
  padding-top: 38px;
}

.service-photo-band {
  padding: 38px 0 0;
}

.service-page-feature-photo {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sales-trust-strip,
.checkout-confidence {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.sales-trust-grid,
.checkout-confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.checkout-confidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sales-trust-grid div,
.checkout-confidence-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfc;
}

.sales-trust-grid strong,
.checkout-confidence-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.sales-trust-grid span,
.checkout-confidence-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.buyer-path-section {
  padding: 42px 0 18px;
  background: #f3fafc;
}

.buyer-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.buyer-path-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 48, 58, .06);
}

.buyer-path-grid span {
  color: #4c7c89;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.buyer-path-grid h2 {
  margin: 0;
  font-size: 24px;
}

.buyer-path-grid p {
  margin: 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.hardware-choice-section {
  background: #f5fbfd;
}

.hardware-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hardware-choice-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hardware-choice-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  border: 1px solid #e5eef1;
  border-radius: 8px;
  background: #fff;
}

.hardware-choice-card span {
  display: block;
  margin-bottom: 8px;
  color: #3f7889;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hardware-choice-card h2 {
  margin-bottom: 8px;
  color: var(--ink);
}

.hardware-choice-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.catalog-return {
  margin-bottom: 18px;
}

.page-heading {
  padding: 68px 0 50px;
}

.page-heading h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
}

.page-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 28px;
}

.catalog-tools .filter-row {
  margin: 0;
}

.catalog-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.filter-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.filter-row button.active {
  background: #3f7889;
  color: white;
  border-color: #3f7889;
}

.product-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  position: relative;
}

.product-card::before {
  content: "SVS Supported";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(76, 124, 137, .12);
  color: #244b58;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-card[data-category*="quote"]::before,
.product-card[data-category*="rhombus"]::before,
.product-card[data-category*="avigilon"]::before,
.product-card[data-category*="kisi"]::before {
  content: "Quote Required";
  background: rgba(99, 175, 204, .16);
}

.product-grid--catalog {
  gap: 16px;
}

.product-grid--catalog .product-card {
  align-content: start;
  gap: 9px;
  min-height: 326px;
  padding: 14px;
  box-shadow: none;
}

.product-card-link {
  display: grid;
  gap: 9px;
}

.product-card h3 {
  font-size: 18px;
  line-height: 1.22;
}

.product-grid--catalog .product-card h3 {
  min-height: 44px;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 650;
  color: #244b58;
}

.product-art {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2fbfd, #d7eef5);
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--line);
}

.product-grid--catalog .product-art {
  height: 154px;
  padding: 8px;
  background: #fff;
  border-color: #e5eef1;
}

.product-art--document {
  display: grid;
  place-items: center;
  color: #3f7889;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.price {
  font-size: 24px;
  line-height: 1;
  font-weight: 840;
  color: #3f7889;
}

.product-grid--catalog .price {
  font-size: 14px;
  color: #101820;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.accessory-select {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.accessory-select legend {
  padding: 0 4px;
  color: var(--ink);
}

.accessory-select label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
}

.accessory-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.purchase-actions .accessory-select {
  flex: 1 1 100%;
  max-width: 380px;
}

.product-confidence-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5fbfc;
}

.product-confidence-list span {
  position: relative;
  padding-left: 20px;
  color: #365967;
  font-size: 14px;
  line-height: 1.45;
}

.product-confidence-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.rhombus-quote-builder {
  margin: 0 0 28px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(19, 32, 35, 0.06);
}

.rhombus-quote-builder h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.quote-builder-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.quote-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.quote-product-list label,
.quote-builder-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 750;
}

.quote-product-list input,
.quote-builder-form input,
.quote-builder-form select,
.quote-builder-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  color: var(--ink);
  font: inherit;
  background: white;
}

.quote-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price.quote {
  font-size: 26px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-size: 12px;
  font-weight: 750;
  color: #244b58;
  background: #e5f5f9;
  padding: 5px 8px;
  border-radius: 999px;
}

.catalog-note {
  color: var(--muted);
  margin: 26px 0 0;
  max-width: 840px;
}

.cta-band {
  background: #3f7889;
  color: white;
  padding: 46px 0;
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  font-size: 30px;
}

.cta-band p {
  margin: 8px 0 0;
  color: #d8eeef;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: white;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.jotform-frame {
  width: 100%;
  min-height: 780px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  border-radius: 999px;
  background: #e5f5f9;
  color: #244b58;
  font-size: 12px;
}

.product-detail-hero {
  background: #edf8fb;
  padding: 64px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}

.product-detail-image {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.product-detail-image img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}

.product-detail-copy h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.product-detail-price {
  margin: 22px 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
  color: #3f7889;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.qty-control,
.cart-qty {
  display: inline-grid;
  grid-template-columns: 38px 54px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.qty-control button,
.cart-qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #edf6f8;
  color: #214d5b;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.qty-control input,
.cart-qty input {
  width: 54px;
  height: 38px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 850;
  color: #102f3b;
}

/* Hard guards for the live catalog so product images can never blow out the layout. */
.hardware-choice-grid {
  align-items: stretch;
}

.hardware-choice-card {
  overflow: hidden;
}

.hardware-choice-card > img {
  width: 180px;
  max-width: 100%;
  height: 180px;
  max-height: 180px;
  object-fit: contain;
}

.product-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--catalog .product-art,
.product-card img.product-art {
  display: block;
  width: 100%;
  height: 154px;
  max-height: 154px;
  object-fit: contain;
}

.product-actions .qty-control {
  grid-column: 1 / -1;
  justify-self: start;
}

.product-detail-image {
  display: grid;
  place-items: center;
}

.product-detail-image img {
  width: 100%;
  max-width: 560px;
  max-height: 560px;
  object-fit: contain;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 750;
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 8px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cart-line,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-line span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.cart-total {
  align-items: center;
  font-size: 18px;
  margin-bottom: 18px;
}

.footer {
  background: #172f38;
  color: #dbe7e6;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer a {
  display: block;
  color: #b9c7c7;
  margin-top: 8px;
}

.policy-content {
  max-width: 920px;
}

.policy-content h2 {
  color: var(--ink);
  font-size: 28px;
  margin: 34px 0 10px;
}

.policy-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.policy-content a {
  color: var(--brand);
  font-weight: 800;
}

.planner-heading {
  padding-bottom: 40px;
}

.planner-app {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 780px;
  border-top: 1px solid var(--line);
  background: #edf5f7;
}

.planner-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.planner-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.planner-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.planner-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.planner-panel input,
.planner-panel select,
.planner-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.planner-actions,
.planner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-filters button,
.planner-product-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.planner-filters button {
  padding: 8px 12px;
}

.planner-filters button.active,
.planner-product-list button.active {
  border-color: var(--brand);
  background: #e7f5f8;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.planner-product-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.planner-product-list button {
  display: grid;
  grid-template-columns: 58px minmax(58px, 72px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
}

.planner-product-list img {
  width: 52px;
  height: 42px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.planner-product-list span {
  color: var(--brand-dark);
  font-size: 11px;
  letter-spacing: .04em;
}

.planner-product-list strong {
  font-size: 13px;
}

.planner-product-list em,
.planner-summary em {
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.planner-product-list em {
  grid-column: 3;
  color: var(--brand-dark);
  font-size: 12px;
}

.planner-muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.planner-accessories {
  display: grid;
  gap: 8px;
}

.planner-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  color: var(--ink) !important;
  font-size: 13px !important;
}

.planner-check input {
  width: auto;
}

.planner-summary {
  display: grid;
  gap: 10px;
}

.planner-summary div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.planner-summary span {
  color: var(--muted);
  font-size: 13px;
}

.planner-summary-total {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.planner-workspace {
  display: grid;
  grid-template-rows: auto minmax(620px, 1fr);
  min-width: 0;
}

.planner-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.planner-toolbar div:first-child {
  display: grid;
  gap: 2px;
}

.planner-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.planner-stage {
  position: relative;
  min-height: 620px;
  margin: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  cursor: crosshair;
}

.planner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 126, 141, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 126, 141, .12) 1px, transparent 1px);
  background-size: 32px 32px;
}

.planner-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.planner-stage > img.is-hidden,
.planner-empty.is-hidden {
  display: none;
}

[data-camera-layer] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.planner-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.planner-links line {
  stroke: rgba(36, 75, 88, .42);
  stroke-width: .22;
  stroke-dasharray: 1.2 1.1;
}

.planner-links .planner-link-wireless {
  stroke: rgba(47, 111, 159, .68);
  stroke-width: .32;
  stroke-dasharray: 2 1.2;
}

.planner-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 6px;
  width: min(420px, 80%);
  transform: translate(-50%, -50%);
  padding: 22px;
  border: 1px dashed var(--brand);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  text-align: center;
  color: var(--ink);
}

.planner-empty span {
  color: var(--muted);
}

.planner-camera {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: grab;
}

.planner-camera:active {
  cursor: grabbing;
}

.planner-coverage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--range);
  aspect-ratio: 1;
  height: auto;
  transform-origin: 50% 50%;
  border-radius: 50%;
  clip-path: polygon(50% 50%, 100% calc(50% - var(--spread)), 100% calc(50% + var(--spread)));
  background: rgba(var(--planner-rgb, 99, 175, 204), .28);
  border-right: 2px solid rgba(var(--planner-rgb, 50, 124, 153), .55);
  pointer-events: none;
}

.coverage-ptz {
  background: rgba(var(--planner-rgb, 76, 124, 137), .24);
  border-right-color: rgba(var(--planner-rgb, 76, 124, 137), .55);
}

.coverage-dual {
  background: rgba(var(--planner-rgb, 99, 175, 204), .22);
}

.coverage-circle {
  clip-path: none;
  border-radius: 50%;
  border: 2px solid rgba(var(--planner-rgb, 50, 124, 153), .52);
}

.planner-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgb(var(--planner-rgb, 33, 77, 91));
  color: #fff;
  box-shadow: 0 5px 14px rgba(14, 48, 58, .22);
  cursor: inherit;
}

.planner-marker span {
  font-size: 7px;
  font-weight: 950;
}

.planner-item-recorder .planner-marker,
.planner-item-network .planner-marker,
.planner-item-access .planner-marker {
  border-radius: 7px;
}

.planner-camera small {
  position: absolute;
  left: 50%;
  top: 30px;
  z-index: 3;
  transform: translateX(-50%);
  display: block;
  min-width: 44px;
  max-width: 112px;
  padding: 2px 5px;
  border: 1px solid rgba(var(--planner-rgb, 33, 77, 91), .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: #244b58;
  text-align: center;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: 0 3px 10px rgba(14, 48, 58, .1);
}

.planner-camera.selected .planner-marker {
  background: rgb(var(--planner-rgb, 99, 175, 204));
  outline: 3px solid rgba(var(--planner-rgb, 99, 175, 204), .22);
}

.planner-delete {
  position: absolute;
  right: -9px;
  top: -9px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #a83c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(14, 48, 58, .22);
}

.planner-system-checks {
  display: grid !important;
  gap: 6px !important;
  padding: 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: #f2f9fb;
}

.planner-system-checks ul {
  display: grid;
  gap: 5px;
  margin: 3px 0 0;
  padding-left: 18px;
  color: #8a4b1c;
  font-size: 13px;
}

.product-seo-copy {
  background: #f3fafc;
  border-top: 1px solid var(--line);
}

.product-seo-copy .section-inner {
  max-width: 960px;
}

.product-seo-copy h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.product-seo-copy p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seo-link-row a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

@media print {
  .topbar,
  .nav,
  .planner-sidebar,
  .footer,
  .planner-toolbar .planner-actions {
    display: none !important;
  }

  .planner-app,
  .planner-workspace {
    display: block;
    background: #fff;
  }

  .planner-stage {
    height: 720px;
    margin: 0;
  }
}

@media (max-width: 880px) {
  .topbar-inner,
  .nav-inner,
  .cta-band .section-inner,
  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .nav-dropdown {
    position: static;
  }

  .dropdown-menu {
    left: 0;
    right: auto;
    transform: translateY(8px);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: translateY(0);
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background: rgba(32, 63, 74, 0.78);
  }

  .hero-metrics,
  .service-grid,
  .product-grid,
  .process-grid,
  .industry-grid,
  .sales-trust-grid,
  .checkout-confidence-grid,
  .buyer-path-grid,
  .quote-product-list,
  .quote-builder-grid,
  .hardware-choice-grid,
  .planner-app,
  .split,
  .product-detail-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hardware-choice-card {
    grid-template-columns: 1fr;
  }

  .hardware-choice-card img {
    max-height: 220px;
  }

  .planner-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .planner-workspace {
    grid-template-rows: auto 620px;
  }
}

@media (max-width: 1120px) and (min-width: 881px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.accessory-group-label {
  margin: 8px 0 3px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #244b58;
}
.accessory-group-label span {
  color: #5f7680;
  font-weight: 600;
}

/* Compact product accessory dropdowns */
.accessory-dropdown { margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.accessory-dropdown summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 800; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.accessory-dropdown summary::-webkit-details-marker { display: none; }
.accessory-dropdown summary::after { content: "v"; font-size: 14px; line-height: 1; transition: transform .18s ease; }
.accessory-dropdown[open] summary::after { transform: rotate(180deg); }
.accessory-dropdown .accessory-select { border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; padding: 12px 14px 14px; }
.accessory-group-title { margin: 12px 0 6px; color: var(--ink); font-weight: 900; font-size: .92rem; }
.accessory-note, .warranty-note { margin: 8px 0 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.product-card .accessory-dropdown summary { padding: 10px 12px; }
.product-card .accessory-group-title { font-size: .86rem; }
.product-card .accessory-note { font-size: .85rem; }