
:root{
  --bg:#09111f;
  --panel:rgba(13,23,42,.88);
  --panel-border:rgba(133,158,214,.14);
  --text:#edf2fb;
  --muted:#a5b2ce;
  --accent:#6c63ff;
  --accent-2:#7bc4ff;
  --shadow:0 22px 60px rgba(0,0,0,.36);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
.core-products-body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top center, rgba(55,100,255,.16), transparent 34%),
    linear-gradient(180deg,#0d1730 0%,#08111e 100%);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.page-shell{
  width:min(1440px, calc(100% - 28px));
  margin:0 auto;
  flex:0 0 auto;
  padding:clamp(96px,10vw,124px) 0 clamp(28px,3vw,48px);
}
.core-products-body .site-footer{
  margin-top:0;
  flex:1;
  display:flex;
  align-items:flex-start;
}
.core-products-body .site-footer .footer-bottom{
  padding-top:26px;
}
.page-header{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:18px;
}
.eyebrow{
  margin:0 0 8px;
  color:#91a2cb;
  letter-spacing:.16em;
  font-size:12px;
  text-transform:uppercase;
}
h1{
  margin:0;
  font-size:clamp(26px,3vw,42px);
  line-height:1.04;
}
.intro{
  max-width:520px;
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:clamp(14px,1.3vw,16px);
}
.panel{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:28px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(20px);
}
.network-panel{
  padding:18px;
}
.network-stage{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  min-height:420px;
  border-radius:24px;
  overflow:hidden;
  background:#0d1730;
}
.network-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.network-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(108,99,255,.10), transparent 32%),
    linear-gradient(180deg, rgba(7,14,28,.10), rgba(7,14,28,.16));
  pointer-events:none;
}
.hotspot{
  position:absolute;
  transform:translate(-50%,-50%);
  width:clamp(96px, var(--size), 270px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  z-index:2;
  cursor:pointer;
  transition:transform .22s ease, filter .22s ease;
}
.hotspot:hover{
  transform:translate(-50%,-50%) scale(1.03);
}
.hotspot:focus-visible{
  outline:2px solid rgba(123,196,255,.9);
  outline-offset:6px;
  border-radius:18px;
}
.hotspot-image-wrap{
  width:100%;
  padding:8px 10px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 12px 32px rgba(0,0,0,.28);
}
.hotspot.active .hotspot-image-wrap,
.hotspot:hover .hotspot-image-wrap{
  border-color:var(--button-primary);
  box-shadow:0 0 0 1px rgba(6,134,249,.18) inset, 0 18px 42px rgba(0,0,0,.34);
}
.hotspot img{
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.28));
}
.hotspot-copy{
  text-align:center;
  padding:0 6px;
}
.hotspot-title{
  margin:0;
  font-size:clamp(13px,1.3vw,16px);
  font-weight:700;
  line-height:1.2;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.hotspot-sub{
  margin:4px 0 0;
  color:#dbe7ff;
  font-size:clamp(11px,1vw,13px);
  line-height:1.35;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.network-footer{
  margin-top:18px;
  display:block;
}
.detail-card, .thumb-card{
  border-radius:24px;
  background:
    radial-gradient(circle at top, rgba(108,99,255,.14), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  padding:22px;
}
.detail-card{
  display:grid;
  grid-template-columns:minmax(220px, .95fr) minmax(0, 1.05fr);
  gap:22px;
  align-items:stretch;
  min-height:450px;
}
.detail-visual-stack{
  display:grid;
  gap:14px;
  height:100%;
}
.detail-image-wrap{
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.06);
  padding:18px;
  aspect-ratio: 1;
}
.detail-image-wrap img{
  max-height:260px;
  object-fit:contain;
}
.detail-label{
  margin:0 0 10px;
  color:#96a7d2;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
}
.detail-card h2{
  margin:0;
  font-size:clamp(28px,3vw,40px);
  line-height:1.06;
}
.detail-subtitle{
  margin:2px 0 10px;
  color:#c7d2eb;
  font-size:clamp(17px,1.3vw,19px);
  font-weight:700;
}
.product-feature-icons{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 14px;
}

.product-copy .detail-label,
.detail-copy .detail-label{
  order:0;
}

.product-copy h2,
.detail-copy h2{
  order:1;
}

.product-copy .detail-subtitle,
.detail-copy .detail-subtitle{
  order:2;
}

.product-copy .product-feature-icons,
.detail-copy .product-feature-icons{
  order:3;
}

.product-copy .detail-description,
.detail-copy .detail-description{
  order:4;
}

.product-copy .meta-grid,
.detail-copy .meta-grid{
  order:5;
}

.product-copy .detail-actions,
.detail-copy .detail-actions{
  order:6;
}
.product-feature-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.product-feature-icon img{
  width:20px;
  height:20px;
  object-fit:contain;
  border-radius:4px;
  box-shadow:inset 0 0 0 1px var(--button-primary);
}
.detail-copy{
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:100%;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(7,14,28,.62) rgba(255,255,255,.05);
}
.detail-copy::-webkit-scrollbar{
  width:10px;
}
.detail-copy::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
  border-radius:999px;
}
.detail-copy::-webkit-scrollbar-thumb{
  background:rgba(7,14,28,.62);
  border-radius:999px;
}
.detail-description{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.76;
  font-size:clamp(14px,1.05vw,15px);
}
.detail-description li{
  margin:0 0 10px;
}
.detail-description li:last-child{
  margin-bottom:0;
}
.detail-description strong{
  color:inherit;
  font-weight:700;
}
.product-copy .detail-description{
  max-height:none;
  overflow:visible;
  padding-right:0;
}
.detail-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  font-weight:600;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary{
  background:linear-gradient(135deg, #6c63ff, #4d8eff);
  color:#fff;
}
.btn-secondary{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:#e8eeff;
}
.btn:hover{ transform:translateY(-1px); }
.thumb-card h3{
  margin:0 0 12px;
  font-size:18px;
}
.thumb-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.thumb-card-head h3{
  margin:0;
}
.thumb-nav-buttons{
  display:flex;
  align-items:center;
  gap:8px;
}
.thumb-nav-button{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:#e8eeff;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.thumb-nav-button:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.22);
}
.thumb-scroller{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:clamp(130px, 22vw, 164px);
  gap:12px;
  overflow-x:auto;
  padding-bottom:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(7,14,28,.62) rgba(255,255,255,.05);
}
.thumb-scroller::-webkit-scrollbar{height:10px}
.thumb-scroller::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:999px}
.thumb-scroller::-webkit-scrollbar-thumb{background:rgba(7,14,28,.62);border-radius:999px}
.thumb-link{
  display:block;
  border-radius:18px;
  padding:10px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.07);
}
.thumb-link.active{border-color:var(--button-primary); box-shadow:0 0 0 2px rgba(6,134,249,.18) inset;}
.thumb-link img{
  width:100%;
  aspect-ratio:1.25/1;
  object-fit:contain;
}
.thumb-link p{
  margin:8px 0 0;
  font-size:12px;
  color:#c9d4ed;
  line-height:1.3;
}
.product-page{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px,.9fr);
  grid-template-rows: clamp(420px, 58vh, 680px);
  gap:24px;
  align-items:stretch;
}
.product-hero, .product-copy{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:22px;
  overflow:hidden;
}
.product-copy{
  position:relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(7,14,28,.62) rgba(255,255,255,.05);
  padding-right:18px;
}
.product-copy::-webkit-scrollbar{
  width:8px;
}
.product-copy::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
  border-radius:999px;
}
.product-copy::-webkit-scrollbar-thumb{
  background:rgba(7,14,28,.62);
  border-radius:999px;
}
.product-copy-scroll-track{
  position:absolute;
  top:12px;
  right:6px;
  bottom:12px;
  width:6px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  opacity:0;
  pointer-events:none;
}
.product-copy-scroll-thumb{
  position:absolute;
  left:0;
  width:100%;
  min-height:24px;
  border-radius:999px;
  background:rgba(7,14,28,.62);
}
.product-copy.has-overflow .product-copy-scroll-track{
  opacity:1;
}
.product-hero-frame{
  position:relative;
  border-radius:24px;
  background:
    radial-gradient(circle at center, rgba(108,99,255,.22), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  min-height:0;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px;
}
.product-hero-frame img{
  width:100%;
  height:100%;
  max-height:100%;
  object-fit:contain;
}
.product-hero-frame img[src*="MX5-K9-MAG-2DW-FP.png"]{
  width:auto;
  height:400px;
  max-width:100%;
  max-height:400px;
}
.product-nav-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  color:#f4f7ff;
  background:rgba(7,14,28,.72);
  border:1px solid rgba(255,255,255,.18);
  z-index:2;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.product-nav-arrow:hover{
  background:rgba(18,30,56,.96);
  border-color:rgba(255,255,255,.3);
}
.product-nav-arrow:active{
  transform:translateY(-50%) scale(.97);
}
.product-nav-arrow.prev{ left:14px; }
.product-nav-arrow.next{ right:14px; }
.meta-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:6px;
  margin-top:12px;
}
.meta-item{
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
}
.meta-item small{
  display:block;
  color:#91a2cb;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  margin-bottom:6px;
}
.meta-item span{
  color:#eef4ff;
  font-weight:600;
  font-size:14px;
}
.product-search-link{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
  color:#e8eeff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
}
.product-search-link:hover{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.11);
}

.product-core-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(6, 134, 249, 0.36);
  background:rgba(6, 134, 249, 0.12);
  color:var(--button-primary);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.product-position-counter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
  font-weight:700;
  font-size:13px;
}
.product-core-badge-inline{
  position:absolute;
  top:14px;
  right:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(6, 134, 249, 0.3);
  background:rgba(6, 134, 249, 0.1);
  color:var(--button-primary);
  font-size:10px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
@media (max-width: 1100px){
  .network-footer, .product-page{
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }
  .product-hero, .product-copy{
    height:auto;
    overflow-y:auto;
  }
  .product-copy .detail-description{
    max-height:280px;
  }
  .product-hero-frame{
    min-height:300px;
  }
  .product-hero-frame img{
    max-height:360px;
    width:auto;
    height:auto;
  }
}
@media (max-width: 860px){
  .page-header{display:block}
  .intro{margin-top:12px;max-width:100%}
  .detail-card{grid-template-columns:1fr}
  .network-stage{aspect-ratio:4/5; min-height:760px;}
  .hotspot{width:clamp(90px, 17vw, 170px)}
}
@media (max-width: 640px){
  .page-shell{width:min(100% - 16px, 1440px);padding-top:92px}
  .network-panel, .product-hero, .product-copy{padding:14px}
  .network-stage{
    aspect-ratio:auto;
    min-height:0;
    padding:12px 12px 0;
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
    background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.015));
  }
  .network-bg, .network-overlay{
    position:absolute;
    inset:0;
    opacity:.34;
  }
  .hotspot{
    position:relative;
    inset:auto;
    transform:none !important;
    width:100%;
    z-index:2;
  }
  .hotspot-copy{text-align:left}
  .hotspot.center-mobile{
    grid-column:1 / -1;
    max-width:68%;
    justify-self:center;
  }
  .detail-image-wrap{min-height:220px}
  .product-hero-frame{min-height:320px}
  .product-hero-frame img{max-height:280px}
  .meta-grid{grid-template-columns:1fr}
}

html[data-theme="light"] .meta-item span {
  color: #0d1626;
}

html[data-theme="light"] .detail-label {
  color: #2b7de9;
}

html[data-theme="light"] .detail-description {
  color: #15263e;
}

html[data-theme="light"] .detail-subtitle {
  color: #2d3f5e;
}

html[data-theme="light"] .product-feature-icon {
  border-color: rgba(13,22,38,.18);
  background: rgba(13,22,38,.04);
}

html[data-theme="light"] .product-search-link {
  color: #0d1626;
  border-color: rgba(13,22,38,.18);
  background: rgba(13,22,38,.04);
}

html[data-theme="light"] .product-search-link:hover {
  color: #0d1626;
  border-color: rgba(13,22,38,.32);
  background: rgba(13,22,38,.09);
}

html[data-theme="light"] .network-overlay {
  background:
    radial-gradient(circle at center, rgba(67, 132, 215, .06), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .12));
}
