:root {
  --red: #ed233b;
  --slate: #778899;
  --black: #030405;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  /* background: var(--black); */
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4%;
  font: 10px monospace;
  letter-spacing: 2px;
  color: #9ca8b5;
}
header {
  border-bottom: 1px solid #1c232b;
}
.wordmark {
  font: bold italic 29px Arial;
  letter-spacing: -2px;
  color: #eee;
  text-decoration: none;
}
.wordmark span {
  color: var(--red);
}
.wordmark small {
  display: block;
  font: 8px monospace;
  letter-spacing: 3px;
  margin-top: 5px;
}
.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  margin-right: 10px;
  box-shadow: 0 0 12px var(--red);
}
main {
  overflow: hidden;
}
.board {
  position: relative;
  max-width: 1440px;
  aspect-ratio: 1366/800;
  margin: auto;
  /* background: radial-gradient(ellipse at center, #12182055, transparent 52%); */
}
#blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wire {
  fill: none;
  stroke: var(--slate);
  stroke-width: 1.5;
  opacity: 0.58;
  transition:
    opacity 0.3s,
    stroke-width 0.3s;
}
.wire.red {
  stroke: var(--red);
  opacity: 0.8;
}/*
.wire.active {
  opacity: 1;
  filter: drop-shadow(0 0 4px var(--red));
} */
.pulse {
  stroke-dasharray: 5 28;
  animation: flow 12s linear infinite;
}
.technical {
  stroke: var(--slate);
  stroke-width: 1;
  fill: none;
  opacity: 0.65;
}
.technical text {
  fill: var(--slate);
  stroke: none;
  font: 9px monospace;
  letter-spacing: 2px;
}
.station {
  position: absolute;
  width: 25%;
  text-decoration: none;
  color: #aab4c0;
  transition: transform 0.3s;
  outline-offset: 6px;
  z-index: 2;
}
.station img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition:
    filter 0.3s,
    transform 0.3s;
}
.station span {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 9px monospace;
  letter-spacing: 1.6px;
  white-space: nowrap;
}
.location span{
  display: flex;
    align-items: center;
    gap: 8px;
    font: 9px monospace;
    letter-spacing: 1.6px;
    white-space: nowrap;
}
.location b {

  font-weight: 400;
    color: var(--red);
}
.station b {
  font-weight: 400;
  color: var(--red);
}
.station em {
  margin-left: auto;
  font: 18px Arial;
  color: var(--red);
}
.location em{

margin-left: auto;
    font: 18px Arial;
    color: var(--red);
}
.station:hover img,
.station:focus-visible img {
  filter: drop-shadow(0 0 16px #ed233b55);
  transform: translateY(-6px);
}
.station:hover span,
.station:focus-visible span {
  color: rgb(16, 16, 16);
}

.location:hover img,
.location:focus-visible img {
  filter: drop-shadow(0 0 16px #ed233b55);
  transform: translateY(-6px);
}
.location:hover span,
.location:focus-visible span {
  color: rgb(16, 16, 16);
}
#symbols{
  display:none;
}
.wheels {
  left: 3%;
  top: 5%;
  width: 24%;
  height: 34%;
}
.careers {
  right: 3%;
  top: 3%;
  height: 35%;
}
.service {
  left: 2%;
  bottom: 4%;
  height: 43%;
  width: 25%;
}
.about {
  right: 2%;
  bottom: 4%;
  height: 42%;
  width: 27%;
}
.center {
    position: absolute;
    top: 50%;
    left: 30.3%;
    width: 39%;
    text-align: center;
    z-index: 3;
}
.location {

    width: 25%;
    text-decoration: none;
    color: #aab4c0;
    transition: transform 0.3s;
    outline-offset: 6px;
    z-index: 2;

}
.gps{
    right: 2%;
    bottom: 4%;
    height: 42%;
    width: 27%;
}
.eyebrow {
  font: 9px monospace;
  letter-spacing: 2.5px;
  color: var(--slate);
}
h1 {
  font-size: clamp(26px, 3.6vw, 53px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.04;
  margin: 17px 0 13px;
}
h1 strong {
  font-weight: 800;
  color: var(--red);
}
.center > p {
  color: #a5adb8;
  font-size: 12px;
}
form {
 
  padding: 7px 9px 7px 21px;
  box-shadow: 0 0 0 1px #77889933;
}
input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  font-size: 13px;
  color: #141924;
  min-width: 0;
}

button {
  cursor: pointer;
}
form button {
  border: 0;
  background: none;
  flex-shrink: 0;
}
form svg {
  width: 24px;
  fill: none;
  stroke: #18212b;
  stroke-width: 1.5;
}
.launch {
  font: 11px monospace;
  letter-spacing: 3px;
}
.launch span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #778899;
  margin-top: 10px;
}
#feedback {
  min-height: 20px;
  font: 10px monospace;
  color: #aab4c0;
}
.coordinate {
     position: absolute;
    bottom: 1%;
    left: 46%;
    font: 8px / 1.8 monospace;
    letter-spacing: 2px;
    color: #56636f;
}
footer {
  border-top: 1px solid #1c232b;
  font-size: 8px;
}
footer b {
  color: var(--red);
  font-size: 20px;
  margin-left: 20px;
}
dialog {
  color: white;
  background: #0e1319;
  border: 1px solid #778899;
  max-width: 440px;
  padding: 42px;
  width: 90%;
}
dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font-size: 28px;
}
dialog p {
  color: #aab4c0;
  line-height: 1.7;
  font-size: 14px;
}
.close {
  position: absolute;
  right: 13px;
  top: 10px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 27px;
}
.dismiss {
  border: 1px solid #ed233b;
  color: #fff;
  background: none;
  padding: 13px 17px;
  margin-top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
/*Product Style Start*/
 button,
      input {
        font: inherit;
      }
      button {
        cursor: pointer;
      }
      
      [hidden] {
        display: none !important;
      }
      .wrap {
        max-width: 1040px;
        margin: auto;
        padding: 28px 24px 56px;
      }
      
      .brand {
        font-size: 24px;
        font-weight: 900;
        letter-spacing: -1px;
      }
      .brand span {
        color: var(--red);
      }
      .header-note {
        font-size: 12px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 2px;
      }
      
      .eyebrow {
        color: var(--red);
        font-size: 12px;
        font-weight: 750;
        letter-spacing: 3px;
        text-transform: uppercase;
        text-align: center;
      }
      h1 {
        font-size: clamp(30px, 5vw, 48px);
        line-height: 1.15;
        letter-spacing: -1.5px;
        margin: 12px 0 16px;
      }
      .intro p {
        color: var(--muted);
        margin: 0;
      }
      .search-panel {
        background: var(--panel);
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: 18px;
      }
      label {
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 650;
      }
      .search-row {
        display: flex;
        gap: 10px;
      }
      input {
        width: 100%;
        min-width: 0;
        border: 1px solid #3b4656;
        border-radius: 10px;
        padding: 15px;
      }
      .primary {
        background: var(--red);
        border: 0;
        color: white;
        border-radius: 10px;
        padding: 12px 26px;
        font-weight: 750;
      }
      .hint {
        font-size: 12px;
        color: var(--muted);
        margin: 10px 0 0;
      }
      .message {
        min-height: 25px;
        font-size: 14px;
        color: var(--muted);
        margin: 18px 2px;
      }
      .message.error {
        color: #ff9aa5;
      }
      .results {
        display: grid;
        gap: 10px;
      }
      .result {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        padding: 15px;
        border: 1px solid var(--line);
        background: var(--panel);
        border-radius: 12px;
        color: var(--text);
        width: 100%;
      }
      .result:hover {
        border-color: var(--red);
        background: #1c202b;
      }
      .thumb {
        width: 64px;
        height: 64px;
        border-radius: 9px;
        background: #242b36;
        object-fit: contain;
        flex-shrink: 0;
      }
      .placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #a2adba;
        font-size: 12px;
      }
      .result-copy {
        flex: 1;
        min-width: 0;
      }
      .result-name {
        font-size: 15px;
        font-weight: 650;
        overflow-wrap: anywhere;
      }
      .item-code {
        color: var(--muted);
        font-size: 12px;
        overflow-wrap: anywhere;
        margin-top: 5px;
      }
      .result-availability {
        display: flex;
        gap: 6px 12px;
        flex-wrap: wrap;
        margin-top: 8px;
        font-size: 12px;
        color: var(--muted);
      }
      .small-stock {
        color: var(--green);
      }
      .arrow {
        color: var(--red);
        font-size: 23px;
      }
      .detail {
        margin-top: 24px;
        border: 1px solid var(--line);
        background: var(--panel);
        border-radius: 18px;
        overflow: hidden;
      }
      .product {
        display: flex;
        gap: 26px;
        padding: 28px;
        align-items: center;
      }
      .product-image {
        width: 180px;
        height: 180px;
        background: #202733;
        border-radius: 12px;
        object-fit: contain;
        flex-shrink: 0;
      }
      .product h2 {
        font-size: 24px;
        line-height: 1.3;
        margin: 8px 0;
        overflow-wrap: anywhere;
      }
      .group {
        font-size: 12px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 2px;
      }
      .branches {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 0 28px 28px;
      }
      .branch {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 20px;
        background: #0f141d;
      }
      .branch-name {
        font-weight: 650;
        margin-bottom: 12px;
      }
      .badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 99px;
        font-size: 13px;
        padding: 6px 10px;
        background: #25303d;
        color: #bdc8d6;
      }
      .badge.in {
        color: var(--green);
        background: #123c30;
      }
      .badge.out {
        color: #ff9ca6;
        background: #3c202a;
      }
      .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
      }
      .detail-footer {
        border-top: 1px solid var(--line);
        padding: 14px 28px;
        color: var(--muted);
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
      }
      .refresh {
        border: 1px solid var(--line);
        border-radius: 8px;
        color: var(--text);
        background: transparent;
        padding: 6px 12px;
      }
      .refresh:disabled {
        opacity: 0.5;
        cursor: wait;
      }
      .empty {
        margin-top: 24px;
        border: 1px dashed var(--line);
        border-radius: 16px;
        text-align: center;
        padding: 38px 20px;
        color: var(--muted);
      }
      .empty strong {
        display: block;
        color: var(--text);
        margin-bottom: 7px;
      }
          
        .search-row {
          display: flex;
          align-items: stretch;
          gap: 10px;
        }
        
        .search-row input {
          flex: 1;
          min-width: 0;
        }
        
        #groupFilter {
          flex: 0 0 190px;
          min-width: 0;
          padding: 12px;
          border: 1px solid #3b4656;
          border-radius: 10px;
          background: #0d1119;
          color: #f4f7fc;
          font: inherit;
          cursor: pointer;
        }
        
        
        
        @media (max-width: 640px) {
          .search-row {
            flex-wrap: wrap;
          }
        
          #groupFilter {
            flex: 0 0 100%;
          }
        
          .search-row input {
            flex: 1 1 0;
          }
        }
      @media (max-width: 640px) {
        .wrap {
          padding: 22px 16px;
        }
        .header-note {
          display: none;
        }
        .intro {
          margin-top: 36px;
        }
        .search-panel {
          padding: 16px;
        }
        .search-row {
          gap: 8px;
        }
        .primary {
          padding: 12px 16px;
        }
        .product {
          padding: 20px;
          gap: 18px;
          align-items: flex-start;
        }
        .product-image {
          width: 90px;
          height: 90px;
        }
        .product h2 {
          font-size: 18px;
        }
        .branches {
          grid-template-columns: 1fr;
          padding: 0 20px 20px;
          gap: 10px;
        }
        .branch {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 16px;
          gap: 10px;
        }
        .branch-name {
          margin: 0;
        }
        .detail-footer {
          padding: 14px 20px;
        }
        .thumb {
          width: 48px;
          height: 48px;
        }
      }
      

/*Product Style End*/
@keyframes flow {
  to {
    stroke-dashoffset: -330;
  }
}
@media (min-width: 1600px) {
  h1 {
    font-size: 53px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 20px;
  }
  .status {
    font-size: 7px;
    max-width: 135px;
    line-height: 1.8;
  }
  .wordmark {
    font-size: 24px;
  }
  .board {
    aspect-ratio: auto;
    height: 1050px;
  }
  .center {
    top: 330px;
    left: 8%;
    width: 84%;
  }
  h1 {
    font-size: 43px;
  }
  .station {
    width: 42%;
    height: 250px;
  }
  .wheels {
    left: 5%;
    top: 30px;
  }
  .careers {
    right: 5%;
    top: 30px;
  }
  .service {
    left: 5%;
    bottom: 240px;
  }
  .about {
    right: 5%;
    bottom: 240px;
  }
  .station span {
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .coordinate {
      left: 37%;
      bottom: 30px;
  }
  #blueprint {
    opacity: 0.45;
  }
  footer {
    padding: 18px;
    line-height: 1.8;
    font-size: 7px;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Brand slider: change --brand-speed to control the scrolling speed. */
.header-logo {
  max-width: 100%;
  height: auto;
}
.brand-section {
  --brand-speed: 45s;
  margin: 16px auto 20px;
  width: 100%;
}
.brand-heading-row {

  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.brand-heading-row h2 {
  margin: 0;
  color: var(--slate);
  font: 9px monospace;
  letter-spacing: 2px;
}
.brand-toggle {
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--slate);
  border-radius: 3px;
  padding: 4px 9px;
  font: 9px monospace;
}
.brand-toggle:focus-visible,
.brand-slider:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.brand-slider {
  overflow: hidden;
  width: 100%;
  padding: 6px 0;
  border-top: 1px solid #77889944;
  border-bottom: 1px solid #77889944;
}
.brand-track {
  display: flex;
  width: max-content;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0 12px 0 0;
  margin: 0;
  flex-shrink: 0;
}
.brand-card {
  width: 130px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
  border-radius: 4px;
  padding: 10px;
  flex-shrink: 0;
}
.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-track.is-ready {
  animation: brand-scroll var(--brand-speed) linear infinite;
}
.brand-slider:hover .brand-track,
.brand-slider:focus-within .brand-track,
.brand-section.is-paused .brand-track {
  animation-play-state: paused;
}

.station-panel[hidden] {
  display: none !important;
}
.station-panel {
  position: absolute;
  top: 10%;
  left: 32%;
  width: 36%;
  height: 61%;
  z-index: 10;
  padding: 10px 16px 24px;
  overflow-y: auto;
  background: #edeef0;
  color: #101114;
  box-shadow: 12px 18px 22px #0005;
  text-align: left;
}
.station-panel:focus {
  outline: none;
}
.station-panel h2 {
  margin: 0 24px 32px;
  font: 800 clamp(18px, 2vw, 29px) / 1.2 Arial, sans-serif;
  text-align: center;
}
.panel-content {
  font: clamp(11px, 1.05vw, 15px) / 1.3 Georgia, serif;
  text-transform: uppercase;
}
.panel-content ul {
  padding-left: 16px;
  margin: 0;
}
.panel-content li {
  margin-bottom: 18px;
}
.panel-close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 29px;
  height: 29px;
  border: 0;
  color: #111;
  background: transparent;
  font: 27px/1 Arial, sans-serif;
  cursor: pointer;
}
.panel-close:focus-visible {
  outline: 2px solid #ed233b;
}
.panel-locations a {
  color: #a40d24;
  text-underline-offset: 4px;
}
.station.is-selected img,
.location.is-selected img {
  filter: drop-shadow(0 0 20px #ed233b66);
  transform: translateY(-6px);
}
.station.is-selected span,
.location.is-selected span {
  color: #ed233b;
}
@media (max-width: 700px) {
  .station-panel {
    top: 292px;
    left: 8%;
    width: 84%;
    height: 300px;
    padding: 16px 20px;
  }
  .station-panel h2 {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .panel-content {
    font-size: 12px;
  }
}

@keyframes brand-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .brand-card {
    width: 110px;
    height: 54px;
  }
  .brand-section {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track.is-ready {
    animation: none;
  }
  .brand-slider {
    overflow-x: auto;
  }
  .brand-group[aria-hidden="true"] {
    display: none;
  }
  .brand-toggle {
    display: none;
  }
}
