/* ==========================================================================
   Wholesale Cotton Slippers Manufacturer in China — front-end stylesheet
   ========================================================================== */

:root {
    --brand: #1F4E5F;
    --brand-dark: #12303B;
    --brand-soft: #E7EFF1;
    --accent: #D2762F;
    --accent-dark: #B35F1E;
    --accent-soft: #FBEEE2;
    --cream: #FAF7F3;
    --ink: #22333A;
    --muted: #6B7C84;
    --line: #E4DED6;
    --white: #fff;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(18, 48, 59, .07), 0 1px 2px rgba(18, 48, 59, .04);
    --shadow: 0 6px 22px rgba(18, 48, 59, .09);
    --shadow-lg: 0 18px 48px rgba(18, 48, 59, .14);
    --wrap: 1200px;
    --serif: Georgia, "Times New Roman", "Songti SC", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
/* layui.css 会把 ul/ol/li 的 margin/padding 全部清零，这里显式补回来 */
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--brand { background: var(--brand); color: #EAF2F4; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }
.section--soft { background: var(--brand-soft); }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- section headings ---------- */
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head .eyebrow {
    display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 10px;
}
.sec-head p { color: var(--muted); margin: 0; font-size: 1.06rem; }
.sec-head--left { text-align: left; margin-left: 0; }

.rule { width: 56px; height: 3px; background: var(--accent); margin: 18px auto 0; border-radius: 2px; }
.sec-head--left .rule { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: .95rem; cursor: pointer; font-family: var(--sans);
    transition: transform .15s, box-shadow .18s, background .18s, color .18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(210, 118, 47, .28); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
    background: var(--brand-dark); color: #B9CDD3; font-size: .855rem;
    padding: 9px 0;
}
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: space-between; }
.topbar a { color: #B9CDD3; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar i { margin-right: 6px; color: var(--accent); }

/* ---------- header ---------- */
.header {
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 900;
}
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
    width: 42px; height: 42px; border-radius: 11px; background: var(--brand);
    display: grid; place-items: center; color: #fff; font-family: var(--serif);
    font-size: 1.25rem; font-weight: 700; flex-shrink: 0;
}
.logo__text { line-height: 1.15; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; color: var(--brand-dark); }
.logo__sub { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
    display: block; padding: 9px 14px; border-radius: 7px; font-size: .94rem;
    font-weight: 500; color: var(--ink);
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

/* 导航下拉（Buyer Guides → 各分类栏目页） */
.nav li.has-sub { position: relative; }
.nav li.has-sub > a::after {
    content: "\25BE"; margin-left: 6px; font-size: .62em; vertical-align: 1px; opacity: .75;
}
.nav ul.nav__sub {
    list-style: none; display: none; position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 200px; margin: 0; padding: 6px; background: var(--white);
    border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 40px rgba(18, 48, 59, .14); z-index: 60;
}
.nav li.has-sub:hover > ul.nav__sub,
.nav li.has-sub:focus-within > ul.nav__sub { display: block; }
.nav ul.nav__sub a { padding: 9px 12px; font-size: .9rem; }
.header__cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

.nav-toggle {
    display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
    width: 44px; height: 40px; cursor: pointer; margin-left: auto;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--brand-dark); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--brand-dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(18, 48, 59, .95) 8%, rgba(18, 48, 59, .78) 52%, rgba(18, 48, 59, .45) 100%);
}
.hero__inner { position: relative; padding: 92px 0 84px; max-width: 720px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
    font-size: .78rem; font-weight: 600; letter-spacing: .04em;
    background: rgba(255, 255, 255, .08); color: #E4EEF0;
}
.hero h1 { font-size: 3.1rem; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #F0B57E; }
.hero__lead { font-size: 1.14rem; color: #C6D8DD; max-width: 620px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
    position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255, 255, 255, .14);
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__stat { background: var(--brand-dark); padding: 26px 20px; text-align: center; }
.hero__stat b { display: block; font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1.1; }
.hero__stat span { font-size: .82rem; color: #A9C0C7; letter-spacing: .04em; }

/* ---------- trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust .wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.trust__item {
    font-family: var(--serif); font-weight: 700; color: var(--brand);
    font-size: 1rem; padding: 5px 14px; border: 1px solid var(--line);
    border-radius: 7px; background: var(--cream);
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6CEC3; }
.card__media { background: var(--cream); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__cat {
    font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
    color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.card__title { font-size: 1.1rem; margin-bottom: .5em; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__desc { font-size: .9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.card__meta {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem;
}
.card__price { font-weight: 700; color: var(--brand); font-family: var(--serif); }
.card__moq { color: var(--muted); font-size: .8rem; }

.cat-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay {
    position: absolute; inset: auto 0 0 0; padding: 42px 20px 20px; color: #fff;
    background: linear-gradient(to top, rgba(18, 48, 59, .92), rgba(18, 48, 59, 0));
}
.cat-card__overlay h3 { color: #fff; margin-bottom: .15em; font-size: 1.12rem; }
.cat-card__overlay p { margin: 0; font-size: .84rem; color: #C6D8DD; }
.cat-card__count {
    position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .93);
    color: var(--brand); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}

/* ---------- feature / why-us ---------- */
.feature { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature__icon {
    width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft);
    color: var(--accent-dark); display: grid; place-items: center; font-size: 1.35rem;
    margin-bottom: 16px;
}
.feature h3 { font-size: 1.08rem; margin-bottom: .35em; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 16px; }
.step::before {
    counter-increment: step; content: "0" counter(step);
    font-family: var(--serif); font-size: 2.4rem; font-weight: 700;
    color: var(--accent); opacity: .35; display: block; line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: .97rem; }
.checklist li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
    background: var(--brand-soft); color: var(--brand); border-radius: 50%;
    font-size: .72rem; display: grid; place-items: center; font-weight: 700; margin-top: 4px;
}
.section--brand .checklist li::before { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- page header ---------- */
.pagehead { background: var(--brand); color: #fff; padding: 54px 0 50px; position: relative; overflow: hidden; }
.pagehead::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
    border-radius: 50%; background: var(--accent); opacity: .16;
}
.pagehead h1 { color: #fff; position: relative; margin-bottom: .3em; font-size: 2.4rem; }
.pagehead p { color: #B9CDD3; position: relative; margin: 0; max-width: 760px; }
.breadcrumb { font-size: .85rem; color: #9CB6BE; margin-bottom: 14px; position: relative; }
.breadcrumb a { color: #B9CDD3; }
.breadcrumb a:hover { color: #fff; }

/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 258px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 96px; }
.side-block {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; margin-bottom: 20px;
}
.side-block h4 {
    font-family: var(--sans); font-size: .78rem; text-transform: uppercase;
    letter-spacing: .12em; color: var(--muted); margin-bottom: 14px;
}
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav li { margin-bottom: 2px; }
.side-nav a {
    display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px;
    border-radius: 7px; font-size: .92rem; color: var(--ink);
}
.side-nav a:hover { background: var(--cream); color: var(--brand); }
.side-nav a.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.side-nav a.is-active span { color: rgba(255, 255, 255, .75); }
.side-nav span { color: var(--muted); font-size: .82rem; }

.toolbar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.toolbar__count { font-size: .92rem; color: var(--muted); }
.toolbar__right { display: flex; gap: 10px; align-items: center; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 8px; background: var(--white);
    font-size: .9rem; color: var(--ink);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager .is-disabled { opacity: .4; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.detail__media {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; position: sticky; top: 96px;
}
.detail__thumbs { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.detail__thumbs img {
    width: 68px; height: 68px; object-fit: cover; border-radius: 8px;
    border: 2px solid transparent; cursor: pointer;
}
.detail__thumbs img.is-active { border-color: var(--accent); }
.detail h1 { font-size: 2.05rem; }
.detail__sku { font-size: .84rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.detail__short { font-size: 1.05rem; color: #45585F; }
.detail__price {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin: 22px 0;
}
.detail__price b { font-family: var(--serif); font-size: 1.5rem; color: var(--accent-dark); }
.detail__price span { font-size: .85rem; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--cream); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.detail__assure { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail__assure div { font-size: .84rem; color: var(--muted); }
.detail__assure i { color: var(--brand); margin-right: 6px; }

.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

/* ---------- faq ---------- */
.faq-item {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden;
}
.faq-q {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; cursor: pointer; font-weight: 600; font-family: var(--serif);
    font-size: 1.06rem; color: var(--brand-dark);
}
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: "+"; font-size: 1.4rem; font-family: var(--sans); color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 22px; color: #45585F; font-size: .95rem; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--brand-dark); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
    font-family: var(--sans); font-size: .95rem; color: var(--ink); background: var(--white);
    transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 78, 95, .12);
}
.field__hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: .93rem; border: 1px solid; }
.alert--success { background: #EAF6EE; border-color: #B9DFC6; color: #22633C; }
.alert--error { background: #FCEDEC; border-color: #F0C3BE; color: #8E3129; }

/* ---------- contact / info boxes ---------- */
.info-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card__icon {
    width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft);
    color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0;
}
.info-card h4 { margin: 0 0 4px; font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card p { margin: 0; font-size: .96rem; word-break: break-word; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 48px 52px; position: relative; overflow: hidden; }
.cta-band::after {
    content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px;
    border-radius: 50%; background: var(--accent); opacity: .18;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #B9CDD3; margin-bottom: 26px; max-width: 620px; position: relative; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band__inner > div:last-child { flex-shrink: 0; }

/* ---------- footer ---------- */
.footer { background: var(--brand-dark); color: #9CB6BE; padding: 62px 0 0; font-size: .92rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: #9CB6BE; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 46px; }
.footer__brand p { color: #8FA9B1; font-size: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: .84rem;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7E99A2;
}
.footer__certs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.footer__certs span {
    font-size: .72rem; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 5px; color: #A9C0C7;
}

/* ---------- floating contact ---------- */
.float-contact { position: fixed; right: 20px; bottom: 100px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.float-contact a {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; font-size: 1.2rem; box-shadow: var(--shadow);
    transition: transform .18s;
}
.float-contact a:hover { transform: scale(1.09); color: #fff; }
.float-contact .wa { background: #25D366; }
.float-contact .mail { background: var(--brand); }
.float-contact .top { background: var(--accent); display: none; }

/* ---------- modal ---------- */
.modal-mask {
    position: fixed; inset: 0; background: rgba(18, 48, 59, .55); z-index: 1200;
    display: none; align-items: flex-start; justify-content: center; padding: 60px 20px; overflow-y: auto;
}
.modal-mask.is-open { display: flex; }
.modal {
    background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 560px;
    box-shadow: var(--shadow-lg); animation: pop .22s ease-out;
}
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 0; font-size: 1.2rem; }
.modal__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal__close:hover { color: var(--ink); }
.modal__body { padding: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .catalog { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .topbar__left { display: none; }
    .topbar .wrap { justify-content: center; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: var(--white);
        transform: translateX(100%); transition: transform .25s; padding: 84px 20px 30px;
        box-shadow: -10px 0 40px rgba(18, 48, 59, .18); overflow-y: auto; z-index: 950; margin: 0;
    }
    .nav.is-open { transform: none; }
    .nav ul { flex-direction: column; gap: 2px; }
    .nav a { padding: 13px 15px; font-size: 1rem; }
    /* 移动端没有 hover：下拉直接整段铺开，缩进一层即可 */
    .nav ul.nav__sub {
        position: static; display: block; min-width: 0; padding: 0 0 6px 14px;
        border: 0; box-shadow: none; border-radius: 0; background: none;
    }
    .nav li.has-sub > a::after { content: none; }
    .nav-toggle { display: flex; }
    .header__cta .btn--primary { display: none; }
    .hero h1 { font-size: 2.3rem; }
    .hero__inner { padding: 64px 0 58px; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 56px 0; }
    .split, .detail { grid-template-columns: 1fr; gap: 34px; }
    .detail__media { position: static; }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 34px 26px; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    h1 { font-size: 1.95rem; }
    h2 { font-size: 1.55rem; }
    .wrap { padding: 0 18px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .pagehead { padding: 40px 0 36px; }
    .pagehead h1 { font-size: 1.75rem; }
    .float-contact { right: 12px; bottom: 76px; }
}

.nav-mask { position: fixed; inset: 0; background: rgba(18, 48, 59, .45); z-index: 940; display: none; }
.nav-mask.is-open { display: block; }

/* ---------- inline svg icons ---------- */
.ico {
    width: 1.05em; height: 1.05em; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -0.16em; flex-shrink: 0;
}
.ico--lg { width: 1.5em; height: 1.5em; stroke-width: 1.5; }
.ico--xl { width: 2em; height: 2em; stroke-width: 1.4; }
.ico--sm { width: .9em; height: .9em; stroke-width: 2; }

/* scroll reveal — JS 加 .reveal，未启用 JS 时元素照常显示 */
.reveal { animation: revealFade .55s ease both; }
@keyframes revealFade { from { opacity: 0; } to { opacity: 1; } }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
    padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- print ---------- */
@media print {
    .topbar, .header, .footer, .float-contact, .cta-band { display: none; }
}

/* ---------- buyer guides (articles) ---------- */
/* 与 .catalog 相反：正文在左、侧栏在右，保证正文先出现在 DOM 里 */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 40px; align-items: start; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-bottom: 6px; }
.article-lead { font-size: 1.06rem; color: var(--ink-2); border-left: 3px solid var(--brand); padding-left: 16px; margin-bottom: 26px; }
@media (max-width: 940px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout .sidebar { position: static; }
}
