/* 路由器产品区：沿用官网蓝色，突出真实设备图片与选型差异。 */
.routers-section { padding: 64px 24px; background: #eef3f9; scroll-margin-top: 64px; color: #172b48; }
.routers-container { max-width: 1232px; margin: auto; }
.routers-heading { text-align: center; margin-bottom: 30px; }
.routers-heading h2 { font-size: 36px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; }
.routers-heading p { margin: 0; color: #53657d; font-size: 16px; line-height: 1.7; }
.router-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.router-card { background: #fff; border: 1px solid #dce4ee; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.router-image-button { display: block; position: relative; width: 100%; padding: 12px; aspect-ratio: 16 / 10; border: 0; background: #e9edf2; cursor: zoom-in; }
.router-image-button img { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; mix-blend-mode: multiply; }
.router-image-hint { position: absolute; bottom: 10px; right: 12px; padding: 4px 8px; border-radius: 4px; color: #3c4e65; background: #ffffffed; font-size: 12px; }
.router-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.router-card h3 { font-size: 22px; font-weight: 750; line-height: 1.5; margin: 0; }
.router-card-description { font-size: 14px; line-height: 1.7; color: #53657d; margin: 0 0 22px; }
.router-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; margin-bottom: 16px; }
.router-price-value { font-size: 18px; white-space: nowrap; line-height: 1.2; font-weight: 750; color: #1d4ed8; }
.router-price-value small { font-size: 14px; margin-right: 3px; }
.router-consult-button { margin-top: auto; display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 46px; background: #2559d5; color: #fff; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.router-consult-button:hover { background: #1945b0; }
.router-dialog { position: fixed; inset: 0; margin: auto; border: 0; border-radius: 16px; padding: 24px; color: #172b48; max-height: 90vh; overflow: auto; }
.router-dialog::backdrop { background: #172b48b3; }
.router-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.router-dialog-header h2 { margin: 0; font-size: 22px; font-weight: 700; }
.router-dialog-header button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #53657d; cursor: pointer; }
.router-image-dialog { width: min(1000px,94vw); }
.router-image-dialog img { display: block; max-height: 65vh; width: 100%; object-fit: contain; }
.router-image-button:focus-visible,.router-consult-button:focus-visible,.router-dialog button:focus-visible { outline: 3px solid #2563eb; outline-offset: -3px; }
@media (max-width: 1023px) { .router-grid { gap: 14px; } .router-card-body { padding: 18px; } .router-card h3 { font-size: 21px; } }
@media (max-width: 767px) { .routers-section { padding: 44px 20px; } .routers-heading { display: block; } .routers-heading h2 { font-size: 30px; } .router-grid { grid-template-columns: 1fr; gap: 24px; } .router-card-body { padding: 24px; } .router-card h3 { font-size: 22px; } }


.router-dialog-header button:hover { background: #eef3f9; color: #172b48; }
