/* themes/xgate/assets/css/prod-mikrotik.css */
/* Scoped Tier 3 CSS for MikroTik product page */

.mikrotik-visual {
  padding: 30px;
  min-height: 540px;
}
.router-scene {
  border-radius: 28px;
  min-height: 392px;
  background:
    linear-gradient(180deg, rgba(7, 12, 28, .38), rgba(7, 12, 28, .88)),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80') center/cover;
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
  padding: 22px;
  display: grid;
  place-items: center;
}
.router-box {
  width: min(96%, 520px);
  border-radius: 26px;
  background: rgba(5, 9, 22, .88);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .46);
}
.router-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.router-brand strong {
  font-size: 28px;
  letter-spacing: -.06em;
}
.router-brand span {
  font-size: 11px;
  color: var(--muted2);
  font-weight: 800;
  letter-spacing: .1em;
}
.ports {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.port {
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}
.port::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 8px;
  height: 4px;
  border-radius: 99px;
  background: var(--green);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(24, 201, 139, .8);
}
.router-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.router-line {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .10);
}
.router-line:nth-child(1) { width: 92%; background: rgba(255, 102, 0, .32); }
.router-line:nth-child(2) { width: 76%; }
.router-line:nth-child(3) { width: 84%; background: rgba(90, 174, 255, .22); }

/* Responsive Overrides */
@media(max-width: 880px) {
  .ports {
    grid-template-columns: repeat(4, 1fr);
  }
}
