:root {
    color-scheme: light;
    --bg: #f5f8fc;
    --panel: #ffffff;
    --ink: #10203f;
    --muted: #64748b;
    --line: #dce6f3;
    --blue: #1f67d2;
    --blue-dark: #143d8c;
    --teal: #147c7a;
    --green: #14784d;
    --gold: #d08a1d;
    --shadow: 0 18px 42px rgba(16, 32, 63, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

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

button,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.store-hero {
    min-height: 720px;
    padding: 18px clamp(18px, 4vw, 54px) 56px;
    background:
        linear-gradient(90deg, rgba(245, 248, 252, 0.96) 0%, rgba(245, 248, 252, 0.84) 45%, rgba(245, 248, 252, 0.28) 100%),
        url("hero-esim-china.png") center / cover no-repeat;
}

.store-nav {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.store-brand {
    color: var(--blue-dark);
    font-size: 20px;
    font-weight: 900;
}

.store-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: #1d3768;
    font-size: 14px;
    font-weight: 800;
}

.store-nav-links a,
.store-nav-links span,
.store-login {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 103, 210, 0.16);
    padding: 8px 11px;
}

.store-hero-inner {
    width: min(1180px, 100%);
    min-height: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
    align-items: center;
    gap: 28px;
}

.store-hero-copy {
    max-width: 720px;
}

.store-eyebrow {
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.store-hero-copy h1,
.map-title h1 {
    color: #0f2e68;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1;
}

.store-hero-copy p:not(.store-eyebrow),
.map-title p:not(.store-eyebrow) {
    max-width: 650px;
    margin-top: 18px;
    color: #1f365e;
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.6;
}

.store-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-primary,
.store-secondary,
.store-plan-card a {
    min-height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    font-weight: 900;
}

.store-primary,
.store-plan-card a {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(31, 103, 210, 0.24);
}

.store-secondary {
    color: var(--blue-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 103, 210, 0.16);
}

.store-hero-panel {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(220, 230, 243, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 22px;
    box-shadow: var(--shadow);
}

.store-hero-panel strong {
    color: var(--blue-dark);
    font-size: 34px;
    line-height: 1.1;
}

.store-hero-panel span {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    color: var(--muted);
    font-weight: 800;
}

.store-main,
.map-main {
    width: min(1180px, calc(100% - 32px));
    margin: -34px auto 0;
    padding-bottom: 58px;
    position: relative;
}

.store-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.store-strip article {
    min-height: 150px;
    display: grid;
    gap: 8px;
    align-content: center;
    background: #ffffff;
    padding: 22px;
}

.store-strip span {
    color: var(--gold);
    font-size: 24px;
    font-weight: 900;
}

.store-strip h2,
.store-section h2,
.map-group h2 {
    color: #10285b;
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
}

.store-strip p,
.store-section-head p,
.store-two-col p,
.store-plan-card p,
.store-plan-card li,
.store-checklist p,
.store-faq p,
.map-card span,
.map-card small {
    color: var(--muted);
    line-height: 1.6;
}

.store-section,
.map-group {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 10px 26px rgba(16, 32, 63, 0.08);
}

.store-section-head {
    max-width: 760px;
    margin-bottom: 18px;
}

.store-currency {
    width: min(100%, 520px);
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.store-currency label {
    color: #10285b;
    font-weight: 900;
}

.store-currency select,
.store-currency button {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    padding: 0 12px;
}

.store-currency button {
    background: #eef7ff;
    color: var(--blue-dark);
    font-weight: 900;
    cursor: pointer;
}

.store-currency-note {
    margin-top: 10px;
    color: var(--muted);
}

.store-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.store-plan-card {
    min-height: 430px;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr auto;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
}

.store-plan-badge {
    width: fit-content;
    border-radius: 999px;
    background: #eef7ff;
    color: var(--blue-dark);
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 900;
}

.store-plan-card h3 {
    color: #10285b;
    font-size: 27px;
    line-height: 1.22;
}

.store-plan-card strong {
    color: var(--blue);
    font-size: 42px;
    line-height: 1;
}

.store-plan-card ul {
    margin: 0;
    padding-left: 20px;
}

.store-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}

.store-checklist {
    display: grid;
    gap: 12px;
}

.store-checklist article,
.store-faq details {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fbfdff;
}

.store-checklist h3 {
    margin-bottom: 8px;
    color: #10285b;
    font-size: 19px;
}

.store-faq {
    display: grid;
    gap: 10px;
}

.store-faq summary {
    cursor: pointer;
    color: #10285b;
    font-weight: 900;
}

.store-faq p {
    margin-top: 10px;
}

.china-product-page {
    background: #eef4f8;
}

.china-hero {
    min-height: 760px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(244, 248, 252, 0.98) 0%, rgba(244, 248, 252, 0.9) 38%, rgba(244, 248, 252, 0.28) 72%, rgba(244, 248, 252, 0.08) 100%),
        url("china-esim-hero-ai.png") center right / cover no-repeat;
}

.china-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(238, 244, 248, 0), #eef4f8);
    pointer-events: none;
}

.china-hero .store-nav,
.china-hero-inner {
    position: relative;
    z-index: 1;
}

.china-hero-inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.china-hero .store-hero-copy {
    max-width: 680px;
}

.china-hero .store-hero-copy h1 {
    color: #0d2f68;
    font-size: clamp(46px, 6.5vw, 86px);
    line-height: 0.98;
}

.china-hero .store-hero-copy p:not(.store-eyebrow) {
    color: #1d355e;
}

.china-hero-points {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.china-hero-points span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(31, 103, 210, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue-dark);
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 900;
}

.china-main {
    margin-top: -74px;
    z-index: 2;
}

.china-quick-buy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.china-quick-buy div,
.china-quick-buy a {
    min-height: 130px;
    display: grid;
    align-content: center;
    gap: 7px;
    background: #ffffff;
    padding: 20px;
}

.china-quick-buy span,
.china-quick-buy small {
    color: var(--muted);
    line-height: 1.45;
}

.china-quick-buy span {
    font-size: 13px;
    font-weight: 900;
}

.china-quick-buy strong {
    color: #10285b;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
}

.china-quick-buy a {
    min-width: 130px;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.china-options,
.china-info-band {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 10px 26px rgba(16, 32, 63, 0.08);
}

.china-option-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.china-option-layout h3 {
    color: #10285b;
    font-size: 19px;
    margin-bottom: 10px;
}

.china-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.china-choice-grid span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
    color: #1d3768;
    padding: 9px 12px;
    font-weight: 900;
}

.china-choice-grid span.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(31, 103, 210, 0.18);
}

.china-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.china-plan-card {
    min-height: 520px;
    border-color: rgba(31, 103, 210, 0.2);
    box-shadow: 0 10px 22px rgba(16, 32, 63, 0.06);
}

.china-plan-card:hover {
    border-color: var(--blue);
    box-shadow: 0 16px 30px rgba(16, 32, 63, 0.11);
}

.china-plan-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.china-plan-specs div {
    background: #f8fbff;
    padding: 12px;
}

.china-plan-specs dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.china-plan-specs dd {
    margin: 0;
    color: #10285b;
    font-weight: 900;
}

.china-info-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    background: #0f2e68;
}

.china-info-band h2,
.china-info-band p,
.china-info-band .store-eyebrow {
    color: #ffffff;
}

.china-info-band p:not(.store-eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.china-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.china-benefit-grid article {
    min-height: 150px;
    display: grid;
    gap: 8px;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.china-benefit-grid strong {
    color: #ffffff;
    font-size: 22px;
}

.china-benefit-grid span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

.china-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.china-steps article {
    min-height: 250px;
    display: grid;
    gap: 10px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
    padding: 20px;
}

.china-steps span {
    color: var(--gold);
    font-size: 30px;
    font-weight: 900;
}

.china-steps h3,
.china-alert-list strong {
    color: #10285b;
    font-size: 20px;
}

.china-steps p,
.china-alert-list span {
    color: var(--muted);
    line-height: 1.6;
}

.china-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
}

.china-alert-list {
    display: grid;
    gap: 12px;
}

.china-alert-list article {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf0;
    padding: 16px;
}

.china-device-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.china-device-table div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1px;
    border-bottom: 1px solid var(--line);
}

.china-device-table div:last-child {
    border-bottom: 0;
}

.china-device-table strong,
.china-device-table span {
    background: #ffffff;
    padding: 16px;
    line-height: 1.55;
}

.china-device-table strong {
    color: #10285b;
}

.china-device-table span {
    color: var(--muted);
}

.china-faq details {
    background: #ffffff;
}

.map-page {
    background: #f5f8fc;
}

.map-hero {
    padding: 18px clamp(18px, 4vw, 54px) 74px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.map-title {
    width: min(1180px, 100%);
    margin: 68px auto 0;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.map-card {
    min-height: 150px;
    display: grid;
    gap: 8px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
}

.map-card:hover,
.map-card:focus-visible {
    border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(31, 103, 210, 0.12);
    outline: none;
}

.map-card strong {
    color: #10285b;
    font-size: 19px;
}

.map-card small {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.map-group h2 span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef7ff;
    color: var(--blue-dark);
    font-size: 14px;
}

.map-note {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 920px) {
    .store-hero {
        min-height: 0;
        background:
            linear-gradient(180deg, rgba(245, 248, 252, 0.98) 0%, rgba(245, 248, 252, 0.82) 50%, rgba(245, 248, 252, 0.24) 100%),
            url("hero-esim-china.png") center / cover no-repeat;
    }

    .store-hero-inner,
    .store-two-col,
    .store-strip,
    .store-plan-grid,
    .map-grid {
        grid-template-columns: 1fr;
    }

    .store-hero-inner {
        min-height: 620px;
    }

    .china-hero {
        background:
            linear-gradient(180deg, rgba(244, 248, 252, 0.98) 0%, rgba(244, 248, 252, 0.82) 48%, rgba(244, 248, 252, 0.18) 100%),
            url("china-esim-hero-ai.png") center right / cover no-repeat;
    }

    .china-hero-inner,
    .china-quick-buy,
    .china-option-layout,
    .china-info-band,
    .china-two-col {
        grid-template-columns: 1fr;
    }

    .china-quick-buy a {
        min-height: 64px;
    }

    .china-benefit-grid,
    .china-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .store-hero,
    .map-hero {
        padding: 16px 16px 46px;
    }

    .store-nav {
        align-items: flex-start;
    }

    .store-nav-links {
        gap: 8px;
    }

    .store-hero-inner {
        min-height: 650px;
        align-items: start;
        padding-top: 52px;
    }

    .store-actions,
    .store-currency {
        grid-template-columns: 1fr;
        display: grid;
    }

    .store-primary,
    .store-secondary,
    .store-plan-card a {
        width: 100%;
    }

    .store-main,
    .map-main {
        width: min(100% - 24px, 1180px);
    }

    .store-plan-card {
        min-height: 0;
    }

    .china-hero {
        min-height: 760px;
        background:
            linear-gradient(180deg, rgba(244, 248, 252, 0.99) 0%, rgba(244, 248, 252, 0.92) 44%, rgba(244, 248, 252, 0.18) 100%),
            url("china-esim-hero-ai.png") center bottom / cover no-repeat;
    }

    .china-main {
        margin-top: -44px;
    }

    .china-hero .store-hero-copy h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .china-plan-grid,
    .china-benefit-grid,
    .china-steps,
    .china-plan-specs,
    .china-device-table div,
    .china-alert-list article {
        grid-template-columns: 1fr;
    }

    .china-steps article {
        min-height: 0;
    }
}
