:root {
    --navy: #0d2133;
    --navy-2: #16354b;
    --navy-3: #1d4360;
    --gold: #c9a24d;
    --gold-dark: #b18b36;
    --ink: #1d2733;
    --muted: #7b8794;
    --line: #e6e9ee;
    --bg: #f5f6f8;
    --danger: #b03a2e;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.site-body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------- header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #0a2a5c;
    box-shadow: 0 2px 12px rgba(8, 22, 35, .25);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.logo-mark-img {
    display: block;
    height: 36px;
    width: 100px;
    flex: 0 0 auto;
}

.logo-text strong {
    display: block;
    font-size: 19px;
    letter-spacing: 3px;
    font-weight: 600;
}

.logo-text small {
    display: block;
    font-size: 9px;
    letter-spacing: 2.4px;
    color: rgba(255, 255, 255, .5);
    margin-top: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    position: relative;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    letter-spacing: 1px;
    padding: 26px 0;
    transition: color .2s;
}

.site-nav a:hover {
    color: #fff;
}

.site-nav a.active {
    color: var(--gold);
}

.site-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 2px;
    background: var(--gold);
}

.header-actions .btn-gold {
    padding: 9px 22px;
}

/* ---------------- buttons ---------------- */
.btn-gold,
.btn-outline,
.btn-ghost {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all .2s;
    text-align: center;
    font-family: inherit;
}

.btn-gold {
    background: linear-gradient(135deg, #d3ae5d, #b8923b);
    color: #1b1508;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #dcb96b, #c19b42);
    box-shadow: 0 6px 18px rgba(201, 162, 77, .35);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    padding: 11px 28px;
    border-radius: 3px;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ---------------- hero ---------------- */
.hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: linear-gradient(120deg, #0b1c2b, #16354b 55%, #1d4360);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 29, .82) 0%, rgba(7, 18, 29, .45) 45%, rgba(7, 18, 29, .1) 100%),
        linear-gradient(0deg, rgba(7, 18, 29, .55), rgba(7, 18, 29, 0) 45%);
}

.hero-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(201, 162, 77, .28), transparent 42%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px),
        linear-gradient(120deg, #0b1c2b, #173a52 60%, #22506f);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    letter-spacing: 6px;
    font-size: 13px;
}

.hero-content h1 {
    margin: 0 0 16px;
    font-size: 46px;
    letter-spacing: 4px;
    font-weight: 600;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .35);
}

.hero-sub {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    letter-spacing: 1.5px;
}

.hero-line {
    width: 64px;
    height: 3px;
    background: var(--gold);
    margin: 26px 0 0;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dots span {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .2s;
}

.hero-dots span.active {
    background: var(--gold);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    border: none;
    background: rgba(9, 24, 38, .35);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 5;
    transition: background .2s;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(201, 162, 77, .75);
    color: #10151a;
}

.hero-arrow.prev {
    left: 0;
}

.hero-arrow.next {
    right: 0;
}

/* ---------------- search card ---------------- */
.search-card {
    position: relative;
    margin-top: -46px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(13, 33, 51, .14);
    padding: 22px 24px;
    z-index: 20;
}

.search-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.search-item {
    flex: 1 1 180px;
    min-width: 150px;
}

.search-item label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.search-item select,
.search-item input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    font-family: inherit;
    outline: none;
}

.search-item select:focus,
.search-item input:focus {
    border-color: var(--gold);
}

.search-actions {
    flex: 0 0 auto;
}

.search-actions .btn-gold {
    height: 42px;
    padding: 0 38px;
    border-radius: 3px;
}

/* ---------------- sections ---------------- */
.section {
    padding: 68px 0 12px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.section-title {
    position: relative;
    padding-left: 16px;
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--gold);
}

.section-title small {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: #b3bcc6;
    margin-top: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.section-more {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
}

.section-more:hover {
    color: var(--gold-dark);
}

/* ---------------- device cards ---------------- */
.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.device-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.device-card {
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(13, 33, 51, .12);
    border-color: #dfe4ea;
}

.device-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eef1f4, #dfe5ea);
    overflow: hidden;
}

.device-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.device-card:hover .device-thumb img {
    transform: scale(1.05);
}

.device-thumb .noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a7b1bb;
    letter-spacing: 2px;
    font-size: 13px;
}

.device-badge {
    position: absolute;
    left: 0;
    top: 14px;
    background: rgba(13, 33, 51, .82);
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 4px 12px;
}

.device-badge.hot {
    background: rgba(176, 58, 46, .88);
}

.device-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.device-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.device-meta {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.device-meta span {
    position: relative;
}

.device-meta span + span::before {
    content: "·";
    margin-right: 10px;
    color: #c8cfd6;
}

.device-price-row {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.device-price {
    color: var(--danger);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .5px;
}

.device-price em {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    margin-left: 3px;
    color: #9aa4ae;
}

.device-place {
    color: var(--muted);
    font-size: 12px;
}

/* ---------------- advantages ---------------- */
.advantage {
    background: var(--bg);
    padding: 30px 0 60px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.adv-item {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px 24px;
    text-align: center;
}

.adv-item .num {
    font-size: 30px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.adv-item h4 {
    margin: 6px 0 8px;
    font-size: 16px;
    letter-spacing: 1px;
}

.adv-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ---------------- cta ---------------- */
.cta {
    background: linear-gradient(110deg, #0d2133, #1d4360);
    color: #fff;
    padding: 54px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta h3 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: 2px;
    font-weight: 600;
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
}

.cta-actions {
    display: flex;
    gap: 14px;
}

/* ---------------- footer ---------------- */
.site-footer {
    background: #0a1a28;
    color: rgba(255, 255, 255, .55);
    padding: 46px 0 26px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid h4 {
    color: #fff;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin: 0 0 14px;
    font-weight: 500;
}

.footer-grid p {
    margin: 0 0 8px;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-copy {
    text-align: center;
    padding-top: 22px;
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
    letter-spacing: 1px;
}

/* ---------------- page banner ---------------- */
.page-banner {
    background:
        radial-gradient(circle at 88% 20%, rgba(201, 162, 77, .22), transparent 40%),
        linear-gradient(110deg, #0b1c2b, #17384f);
    color: #fff;
    padding: 54px 0;
}

.page-banner h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 4px;
    font-weight: 600;
}

.page-banner p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .6);
    letter-spacing: 1px;
    font-size: 14px;
}

.crumb {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.crumb a:hover {
    color: var(--gold);
}

/* ---------------- filter bar ---------------- */
.filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 18px 22px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    box-shadow: 0 12px 30px rgba(13, 33, 51, .08);
}

.filter-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-row .search-item {
    flex: 1 1 160px;
}

.list-wrap {
    padding: 44px 0 70px;
}

.result-count {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.result-count b {
    color: var(--ink);
    font-size: 15px;
    padding: 0 3px;
}

.empty-state {
    padding: 70px 0;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    background: #fafbfc;
}

/* ---------------- pager ---------------- */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.pager a {
    min-width: 38px;
    height: 38px;
    line-height: 36px;
    text-align: center;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 3px;
    padding: 0 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}

.pager a:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.pager a.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pager a.disabled {
    color: #c3cad1;
    cursor: default;
}

/* ---------------- forms ---------------- */
.form-section {
    padding: 56px 0 76px;
    background: var(--bg);
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 44px;
    box-shadow: 0 14px 34px rgba(13, 33, 51, .06);
}

.form-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 600;
}

.form-card .form-tip {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 13px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

.form-item {
    display: flex;
    flex-direction: column;
}

.form-item.full {
    grid-column: 1 / -1;
}

.form-item label {
    font-size: 13px;
    color: #4a5663;
    margin-bottom: 7px;
    letter-spacing: 1px;
}

.form-item label i {
    color: var(--danger);
    font-style: normal;
    margin-left: 2px;
}

.form-item input,
.form-item select,
.form-item textarea {
    width: 100%;
    border: 1px solid #dfe4ea;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}

.form-item input,
.form-item select {
    height: 44px;
    padding: 0 13px;
}

.form-item textarea {
    padding: 12px 13px;
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
    border-color: var(--gold);
}

.form-submit {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.form-submit .btn-gold {
    padding: 13px 46px;
}

.form-note {
    color: var(--muted);
    font-size: 12px;
}

/* 短信验证码 */
.code-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.code-row input {
    flex: 1;
    width: auto;
    min-width: 0;
}

.sms-code-btn {
    flex: 0 0 auto;
    min-width: 116px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    background: transparent;
    color: #a9853c;
    font-size: 13px;
    font-family: inherit;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .2s;
}

.sms-code-btn:hover:not(:disabled) {
    background: rgba(201, 162, 77, .08);
}

.sms-code-btn:disabled,
.sms-code-btn.counting {
    border-color: #dfe4ea;
    color: #9aa4b0;
    cursor: not-allowed;
}


/* ---------------- split layout ---------------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.split-copy .eyebrow {
    color: var(--gold-dark);
    letter-spacing: 4px;
    font-size: 12px;
    margin: 0 0 12px;
}

.split-copy h2 {
    margin: 0 0 16px;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 600;
}

.split-copy p {
    color: #5b6673;
    margin: 0 0 24px;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.steps li .idx {
    flex: 0 0 28px;
    height: 28px;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    border-radius: 50%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps li b {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.steps li span.desc {
    color: var(--muted);
    font-size: 13px;
}

/* ---------------- about ---------------- */
.about-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 46px 50px;
    line-height: 1.9;
    color: #39434f;
}

.about-card img {
    max-width: 100%;
    height: auto;
}

.about-card p {
    margin: 0 0 16px;
}

/* ---------------- purchase dock ---------------- */
.purchase-dock {
    position: fixed;
    right: 26px;
    bottom: 96px;
    z-index: 950;
}

.purchase-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #d3ae5d, #b8923b);
    color: #1b1508;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(201, 162, 77, .45);
    transition: transform .2s;
    font-family: inherit;
}

.purchase-toggle:hover {
    transform: translateY(-3px);
}

.purchase-toggle .ic {
    font-size: 18px;
    line-height: 1;
}

.purchase-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 360px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 22px 54px rgba(9, 24, 38, .28);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
}

.purchase-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panel-head {
    background: var(--navy);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 1.5px;
    font-size: 14px;
}

.panel-head button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.panel-body {
    padding: 20px;
}

.panel-body .form-item {
    margin-bottom: 14px;
}

.panel-body .form-item textarea {
    min-height: 86px;
}

/* ---------------- toast ---------------- */
.site-toast {
    position: fixed;
    left: 50%;
    top: 32px;
    transform: translate(-50%, -16px);
    background: rgba(13, 33, 51, .95);
    color: #fff;
    padding: 12px 26px;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    max-width: 82vw;
}

.site-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.site-toast.err {
    background: rgba(176, 58, 46, .96);
}

/* ---------------- device modal ---------------- */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(7, 16, 25, .72);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.modal-mask.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    max-width: 1040px;
    max-height: 88vh;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(13, 33, 51, .06);
    border-radius: 50%;
    font-size: 20px;
    color: #4a5663;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(13, 33, 51, .12);
}

.device-modal {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 0;
}

.dm-gallery {
    padding: 28px;
    background: #f4f6f8;
}

.dm-main {
    aspect-ratio: 4 / 3;
    background: #e4e9ee;
    overflow: hidden;
    border-radius: 3px;
}

.dm-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.dm-thumbs img {
    width: 62px;
    height: 48px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    opacity: .75;
}

.dm-thumbs img.active,
.dm-thumbs img:hover {
    border-color: var(--gold);
    opacity: 1;
}

.dm-info {
    padding: 42px 36px 30px;
    display: flex;
    flex-direction: column;
}

.dm-info h2 {
    margin: 0 30px 12px 0;
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: 600;
}

.dm-price {
    color: var(--danger);
    font-size: 26px;
    font-weight: 700;
}

.dm-price em {
    font-size: 13px;
    font-style: normal;
    color: #9aa4ae;
    font-weight: 400;
    margin-left: 4px;
}

.dm-meta {
    list-style: none;
    padding: 18px 0 0;
    margin: 16px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    font-size: 13px;
}

.dm-meta li {
    color: var(--ink);
}

.dm-meta li span {
    color: var(--muted);
    margin-right: 6px;
}

.dm-meta li.dm-meta-wide {
    grid-column: 1 / -1;
    white-space: nowrap;
}

.dm-desc {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #4a5663;
    font-size: 13px;
    line-height: 1.9;
    max-height: 220px;
    overflow: auto;
}

.dm-desc img {
    max-width: 100%;
    height: auto;
}

.dm-actions {
    margin-top: 22px;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
    .site-nav {
        gap: 22px;
    }

    .device-grid,
    .adv-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .device-modal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 18px;
    }

    .site-nav a {
        padding: 8px 0;
        white-space: nowrap;
        font-size: 14px;
    }

    .site-nav a.active::after {
        bottom: 0;
    }

    .header-actions {
        display: none;
    }

    .hero {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .device-grid,
    .device-grid.cols-3,
    .adv-grid,
    .split,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 26px 20px;
    }

    .purchase-dock {
        right: 14px;
        bottom: 70px;
    }

    .purchase-panel {
        width: calc(100vw - 28px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* select2 可搜索下拉适配 */
.site-search-select + .select2-container--bootstrap {
    width: 100% !important;
}
.site-search-select + .select2-container--bootstrap .select2-selection--single {
    height: 42px;
    line-height: 40px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    font-size: 13px;
    color: var(--ink);
    padding: 0 32px 0 12px;
    transition: border-color .15s;
}
.site-search-select + .select2-container--bootstrap .select2-selection--single:hover {
    border-color: var(--gold);
}
.site-search-select + .select2-container--bootstrap.select2-container--open .select2-selection--single,
.site-search-select + .select2-container--bootstrap.select2-container--focus .select2-selection--single {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 77, .12);
}
.site-search-select + .select2-container--bootstrap .select2-selection__rendered {
    color: var(--ink);
    line-height: 40px;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-search-select + .select2-container--bootstrap .select2-selection__placeholder {
    color: #b0b7c2;
}
.site-search-select + .select2-container--bootstrap .select2-selection__arrow {
    height: 40px;
    right: 6px;
}
.site-search-select + .select2-container--bootstrap .select2-selection__arrow b {
    border-top-color: var(--muted);
    border-bottom-style: none;
}
.site-search-select + .select2-container--bootstrap.select2-container--open .select2-selection__arrow b {
    border-top-style: none;
    border-bottom-color: var(--gold);
}
.site-search-select + .select2-container--bootstrap .select2-selection__clear {
    right: 20px;
    color: var(--muted);
    font-weight: normal;
}
.site-search-select + .select2-container--bootstrap .select2-selection__clear:hover {
    color: var(--gold);
}

/* 下拉弹窗 */
.select2-dropdown.select2-dropdown--below {
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 8px 24px rgba(13, 33, 51, .08);
    font-size: 13px;
}
.select2-dropdown.select2-dropdown--above {
    border: 1px solid var(--line);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -8px 24px rgba(13, 33, 51, .08);
}
.select2-dropdown .select2-search.select2-search--dropdown .select2-search__field {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 13px;
}
.select2-dropdown .select2-search.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 77, .12);
    outline: none;
}
.select2-dropdown .select2-results__option {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink);
}
.select2-dropdown .select2-results__option[aria-selected=true] {
    background: rgba(201, 162, 77, .08);
    color: var(--gold-dark);
}
.select2-dropdown .select2-results__option.select2-results__option--highlighted[aria-selected] {
    background: var(--gold);
    color: #fff;
}
.select2-dropdown .select2-results__option.select2-results__option--highlighted:not([aria-selected]) {
    background: #faf6ed;
    color: var(--gold-dark);
}
.select2-dropdown .select2-results__message,
.select2-dropdown .select2-results__option.select2-results__option--disabled {
    color: var(--muted);
}
/* ---------------- device detail page ---------------- */
.dd-wrap {
    padding-top: 26px;
    padding-bottom: 64px;
}

.dd-crumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.dd-crumb a:hover {
    color: var(--gold-dark);
}

.dd-hero {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr) 190px;
    gap: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(13, 33, 51, .05);
}

.dd-gallery {
    min-width: 0;
}

.dd-main {
    position: relative;
    background: #f4f6f8;
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.dd-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a8b1bc;
    font-size: 14px;
}

.dd-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 3px 12px;
    background: rgba(10, 42, 92, .86);
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.dd-badge.hot {
    background: rgba(201, 162, 77, .95);
}

.dd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.dd-thumbs img {
    width: 76px;
    height: 54px;
    object-fit: cover;
    border: 2px solid #eceff3;
    border-radius: 2px;
    cursor: pointer;
    flex: 0 0 auto;
    opacity: .85;
    transition: all .15s;
}

.dd-thumbs img:hover,
.dd-thumbs img.active {
    border-color: var(--gold);
    opacity: 1;
}

.dd-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dd-name {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.5;
    color: #10233a;
    font-weight: 700;
}

.dd-intro-cell {
    line-height: 1.9;
    text-align: justify;
    color: #3d4b5c;
}

.dd-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 14px;
}

.dd-sub b {
    font-weight: 600;
}

.dd-sub .dd-no {
    color: #d0021b;
}

.dd-views b {
    color: #d0021b;
}

.dd-price-box {
    display: flex;
    align-items: stretch;
    gap: 48px;
    width: fit-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 14px 28px;
    background: #fdfcf9;
    border: 1px solid #efe9dc;
    border-radius: 3px;
}

.dd-price-col {
    flex: 1 1 auto;
    min-width: 0;
}

.dd-price-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

.dd-price {
    margin-top: 2px;
    font-size: 30px;
    font-weight: 700;
    color: #d0021b;
    line-height: 1.25;
    white-space: nowrap;
}

.dd-price i {
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    margin-right: 2px;
}

.dd-price em {
    font-size: 14px;
    font-style: normal;
    margin-left: 5px;
    color: #d0021b;
    font-weight: 500;
}

.dd-facts {
    display: flex;
    gap: 22px;
    flex: 0 0 auto;
    border-left: 1px solid #ece8dd;
    padding-left: 20px;
}

.dd-fact .k {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.dd-fact .v {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #1d3a5f;
    font-weight: 600;
    white-space: nowrap;
}

.dd-check {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.dd-check-tag {
    color: #3fae6a;
    letter-spacing: 1px;
}

.dd-check-txt {
    color: #93a0ad;
}

.dd-actions {
    margin-top: 18px;
    display: flex;
    gap: 14px;
}

.dd-actions .btn-gold,
.dd-actions .btn-teal {
    min-width: 132px;
    height: 40px;
    line-height: 40px;
    padding: 0 24px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.btn-teal {
    display: inline-block;
    background: #2aa79b;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.btn-teal:hover {
    background: #24968b;
}

.dd-buy-tips {
    margin-top: 16px;
    font-size: 12px;
    color: #9aa4ae;
}

.dd-buy-tips .k {
    color: #7b8794;
}

.dd-buy-tips a {
    margin-left: 10px;
    color: #7b8794;
}

.dd-buy-tips a:hover {
    color: var(--gold-dark);
}

.dd-seller {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.dd-seller-photo {
    width: 108px;
    height: 148px;
    object-fit: cover;
    object-position: center top;
    border-radius: 2px;
    background: #f2f4f7;
    border: 1px solid #eceef2;
}

.dd-seller-photo.noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    color: #aab4bf;
}

.dd-seller-name {
    margin: 14px 0 0;
    font-size: 15px;
    color: #1d2733;
    font-weight: 600;
}

.dd-seller-name small {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}

.dd-seller-phone {
    margin: 10px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: #d0021b;
    letter-spacing: .5px;
}

.dd-seller-btns {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
}

.dd-seller-shop,
.dd-seller-wx {
    flex: 1 1 0;
    padding: 7px 0;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: .5px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
}

.dd-seller-shop {
    background: #e0a92e;
    color: #fff;
}

.dd-seller-shop:hover {
    background: #cf9a22;
}

.dd-seller-wx {
    background: #0a2a5c;
    color: #fff;
}

.dd-seller-wx:hover {
    background: #123f7d;
}

.dd-panel {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px 26px 30px;
}

.dd-panel-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.dd-panel-head h2 {
    position: relative;
    margin: 0;
    padding-left: 14px;
    font-size: 18px;
    color: #10233a;
    letter-spacing: 1px;
}

.dd-panel-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
}

.dd-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.dd-table th,
.dd-table td {
    border: 1px solid #e9ecf1;
    padding: 12px 14px;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
    word-break: break-all;
}

.dd-table th {
    width: 13%;
    background: #f7f8fa;
    color: #5d6b7a;
    font-weight: 500;
}

.dd-table td {
    width: 20.3%;
    color: #22374f;
}

.dd-rich {
    color: #3d4b5c;
    font-size: 14px;
    line-height: 1.95;
}

.dd-rich img {
    max-width: 100%;
    height: auto;
}

.dd-qr-mask {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(9, 20, 33, .62);
}

.dd-qr-mask.open {
    display: flex;
}

.dd-qr-box {
    position: relative;
    width: 300px;
    padding: 30px 26px 22px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.dd-qr-box h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #10233a;
}

.dd-qr-box img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.dd-qr-box p {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.dd-qr-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 30px;
    height: 30px;
    line-height: 26px;
    border: none;
    background: transparent;
    color: #9aa4ae;
    font-size: 22px;
    cursor: pointer;
}

.dd-qr-close:hover {
    color: #c0392b;
}

@media (max-width: 960px) {
    .dd-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 18px;
    }

    .dd-name {
        font-size: 20px;
    }

    .dd-price {
        font-size: 28px;
    }

    .dd-price-box {
        flex-direction: column;
        gap: 14px;
    }

    .dd-facts {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #ece8dd;
        padding-top: 12px;
    }

    .dd-seller {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 18px;
    }

    .dd-seller-btns {
        max-width: 260px;
    }

    .dd-table th,
    .dd-table td {
        padding: 9px 10px;
        font-size: 12px;
    }

    .dd-panel {
        padding: 18px 16px 22px;
    }
}