.buying-card {
  gap: .85rem;
  border-top: 3px solid var(--stm-green-accent);
}
.buying-card:nth-child(2) { border-top-color: var(--stm-blue); }
.buying-card:nth-child(3) { border-top-color: #179493; }
.buying-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--stm-blue-surface);
}
.buying-card-icon > img { width: 29px; height: auto; }
.buying-card .service-checks { margin: .25rem 0 .5rem; }
.buying-card .button { margin-top: auto; max-width: 100%; }

.connectivity-quote { margin-top: 1.25rem; }
.connectivity-quote .service-checks { margin-top: .55rem; }
.service-form .enquiry-details { min-width: 0; margin: 0; padding: 0; border: 0; }

.fibre-demo { min-width: 0; margin: 0; }
.fibre-demo-choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.fibre-demo-choices label {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  padding: .55rem .8rem;
  border: 1px solid #c7dced;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 720;
}
.fibre-demo-choices label:hover { box-shadow: 0 4px 12px #142d5715; }
.fibre-demo-choices label:has(input:checked) { border-color: var(--stm-blue-accent); box-shadow: inset 0 0 0 1px var(--stm-blue-accent); }
.fibre-demo-choices input { margin: 0; accent-color: var(--stm-blue); }
.fibre-demo-flow {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.35rem .7rem;
  margin: 1rem 0 0;
}
.fibre-link {
  position: relative;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--stm-border);
  border-radius: 12px;
  background: #fff;
}
.fibre-link dt { display: flex; align-items: center; gap: .56rem; font-weight: 740; overflow-wrap: anywhere; }
.fibre-link dd { margin: .45rem 0 0; color: var(--quiet); }
.fibre-link .service-icon { width: 35px; height: 35px; border-radius: 8px; }
.fibre-link .service-icon svg { width: 20px; height: 20px; }
.fibre-office { grid-column: 1 / -1; }
.fibre-primary::after, .fibre-backup::after {
  position: absolute;
  top: 100%;
  left: 50%;
  height: calc(1.35rem + 1px);
  border-left: 2px dashed var(--stm-blue-border);
  content: "";
}
.fibre-when-outage { display: none; }
.fibre-demo:has(#fibre-outage:checked) .fibre-when-normal { display: none; }
.fibre-demo:has(#fibre-outage:checked) .fibre-when-outage { display: block; }
.fibre-demo:has(#fibre-normal:checked) .fibre-primary,
.fibre-demo:has(#fibre-outage:checked) .fibre-backup {
  border-color: var(--stm-green-light);
  box-shadow: inset 3px 0 var(--stm-green);
}
.fibre-demo:has(#fibre-normal:checked) .fibre-primary::after,
.fibre-demo:has(#fibre-outage:checked) .fibre-backup::after { border-left: 2px solid var(--stm-green-text); }
.fibre-demo:has(#fibre-outage:checked) .fibre-primary dd { color: #982c2a; }
@media (max-width: 480px) {
  .fibre-link { padding: .7rem; }
  .fibre-link dt { align-items: flex-start; flex-direction: column; }
  .fibre-office dt { align-items: center; flex-direction: row; }
}

