:root {
  --brand: #2156c4;
  --brand-d: #173e92;
  --brand-l: #eaf0fc;
  --ink: #1f2733;
  --muted: #6b7686;
  --line: #e7eaf0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --ok: #1f9d6b;
  --warn: #c9870a;
  --bad: #d9534f;
  --shadow: 0 6px 22px rgba(28, 52, 110, .08);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section__head h2 { font-size: 26px; }
.section__head p { color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; padding: 11px 22px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .18s; background: #eef1f6; color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 7px 15px; font-size: 13.5px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__bar { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.hdr__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hdr__logo { width: 38px; height: 38px; flex: 0 0 auto; }
.hdr__name { font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.hdr__nav { display: flex; gap: 4px; margin-left: 8px; }
.nav__link { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav__link:hover { color: var(--brand); background: var(--brand-l); }
.nav__link.is-active { color: var(--brand); background: var(--brand-l); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr__search { display: flex; align-items: center; background: #f1f3f8; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hdr__search input { border: 0; background: transparent; padding: 9px 12px; width: 168px; outline: none; font-size: 14px; }
.hdr__search button { border: 0; background: transparent; padding: 8px 10px; cursor: pointer; color: var(--muted); display: flex; }
.hdr__cart { position: relative; color: var(--ink); display: flex; padding: 6px; }
.hdr__cartbadge { position: absolute; top: -2px; right: -4px; background: var(--bad); color: #fff; font-size: 11px; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.hdr__user { position: relative; }
.hdr__userbtn { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.hdr__menu { position: absolute; top: 110%; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; display: none; flex-direction: column; overflow: hidden; }
.hdr__menu.is-open { display: flex; }
.hdr__menu a { padding: 10px 14px; font-size: 14px; }
.hdr__menu a:hover { background: var(--brand-l); color: var(--brand); }
.hdr__burger { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 6px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(135deg, #2156c4 0%, #2f6fe0 55%, #4f8be6 100%); color: #fff; }
.hero__inner { max-width: 1180px; margin: 0 auto; padding: 64px 20px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: 38px; line-height: 1.25; }
.hero p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__cta .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,.22); }
.hero__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modcard { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 16px; padding: 22px; backdrop-filter: blur(4px); transition: .2s; }
.modcard:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.modcard__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: #fff; }
.modcard h3 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.modcard p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0 0 12px; }
.modcard a { color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- feature strip ---------- */
.featstrip { background: #fff; border-bottom: 1px solid var(--line); }
.featstrip__inner { max-width: 1180px; margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { display: flex; align-items: center; gap: 12px; }
.feat__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.feat h4 { margin: 0; font-size: 15px; }
.feat span { color: var(--muted); font-size: 13px; }

/* ---------- module cards (home sections) ---------- */
.modrow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.modbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.modbox__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.modbox__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.modbox h3 { margin: 0; font-size: 20px; }
.modbox__head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.minilist { display: flex; flex-direction: column; gap: 10px; }
.minilist a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; transition: .15s; }
.minilist a:hover { border-color: var(--brand); color: var(--brand); }
.minilist .tag { font-size: 12px; color: var(--muted); background: #f1f3f8; padding: 3px 9px; border-radius: 6px; }

/* ---------- cards grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(28,52,110,.14); }
.card__media { aspect-ratio: 1/1; background: #f3f5f9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 14px 15px 16px; }
.card__title { font-size: 15px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { color: var(--brand); font-weight: 700; font-size: 17px; }
.card__price small { color: var(--muted); font-weight: 400; font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.card__shop { font-size: 12.5px; color: var(--muted); }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { font-size: 11.5px; color: var(--brand); background: var(--brand-l); padding: 2px 8px; border-radius: 6px; }

/* info card */
.info-card { cursor: pointer; }
.info-card__media { aspect-ratio: 16/10; background: #eef1f6; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__body { padding: 14px 15px 16px; }
.info-card__cat { display: inline-block; font-size: 11.5px; color: var(--brand); background: var(--brand-l); padding: 2px 9px; border-radius: 6px; margin-bottom: 8px; }
.info-card__title { font-size: 15.5px; font-weight: 600; margin: 0 0 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.info-card__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.info-card__row .ph { color: var(--ink); font-weight: 600; }

/* ---------- page hero ---------- */
.page-hero { background: var(--brand); color: #fff; }
.page-hero__inner { max-width: 1180px; margin: 0 auto; padding: 40px 20px; }
.page-hero h1 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.page-hero p { color: rgba(255,255,255,.9); margin: 0; }

/* ---------- filters / toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.searchline { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: 1 1 280px; }
.searchline input { border: 0; padding: 11px 14px; flex: 1; outline: none; font-size: 14px; }
.searchline button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 7px 16px; font-size: 13.5px; cursor: pointer; color: var(--muted); font-weight: 600; }
.chip-btn.is-active, .chip-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-l); }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start; }
.pd-media__stage { background: #f3f5f9; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 18px; }
.pd-media__stage img { max-width: 100%; max-height: 460px; width: auto; height: auto; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pd-thumbs button { width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0; background: #f3f5f9; }
.pd-thumbs button.on { border-color: var(--brand); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 26px; margin: 0 0 10px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pd-price .now { color: var(--brand); font-size: 30px; font-weight: 800; }
.pd-price .old { color: var(--muted); text-decoration: line-through; }
.pd-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.pd-meta b { color: var(--ink); font-weight: 600; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pd-buy { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 36px; height: 40px; border: 0; background: #f1f3f8; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty input { width: 52px; height: 40px; border: 0; text-align: center; outline: none; font-size: 15px; }
.pd-merchant { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.pd-merchant__logo { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.spec { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec__row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec__row .sk { background: #f7f9fc; padding: 11px 16px; color: var(--muted); font-size: 14px; }
.spec__row .sv { padding: 11px 16px; font-size: 14px; }
.detail-block { margin-top: 30px; }
.detail-block h3 { font-size: 19px; border-left: 4px solid var(--brand); padding-left: 12px; }
.detail-block p { color: #445; line-height: 1.85; }

/* ---------- cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cart-table th { background: #f7f9fc; font-size: 14px; color: var(--muted); font-weight: 600; }
.cart-table .ci { display: flex; align-items: center; gap: 12px; }
.cart-table .ci img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cart-summary { margin-top: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.cart-summary .total { font-size: 22px; font-weight: 800; color: var(--brand); }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; color: #c4ccd8; }

/* ---------- info detail ---------- */
.infodetail { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.infodetail__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.infodetail__media img { width: 100%; }
.infodetail__body h1 { font-size: 26px; margin: 0 0 12px; }
.infodetail__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.infodetail__meta span { display: inline-flex; align-items: center; gap: 5px; }
.infodetail__content { line-height: 1.95; color: #3a4250; font-size: 15.5px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.contact-card h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.contact-card .pub { font-size: 15px; font-weight: 600; margin: 6px 0 2px; }
.contact-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.contact-card .row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.contact-card .row .ic { color: var(--brand); }
.contact-card .ph-mask { font-weight: 700; letter-spacing: 1px; }
.ph-link { color: var(--brand); font-weight: 600; }
.ph-open { color: var(--brand); font-weight: 700; }

/* ---------- forms / auth ---------- */
.auth-wrap { max-width: 440px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.auth-wrap h1 { font-size: 24px; text-align: center; }
.auth-wrap .sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; outline: none; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); margin: 14px 0 18px; line-height: 1.6; }
.agree input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.agree a { color: var(--brand); }
.auth-alt { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--brand); font-weight: 600; }
.form-note { background: var(--brand-l); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--brand-d); margin-bottom: 18px; }

/* ---------- publish / join layout ---------- */
.form-page { max-width: 720px; margin: 0 auto; }
.form-page .card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-page h1 { font-size: 24px; }
.radioline { display: flex; gap: 10px; flex-wrap: wrap; }
.radioline label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
.my-status { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.my-status .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge--pending { background: #fff4e0; color: var(--warn); }
.badge--approved { background: #e6f7ef; color: var(--ok); }
.badge--rejected { background: #fdecec; color: var(--bad); }

/* ---------- account ---------- */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.acct__side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.acct__user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.acct__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.acct__tabs { display: flex; flex-direction: column; gap: 4px; }
.acct__tab { text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.acct__tab.is-active, .acct__tab:hover { background: var(--brand-l); color: var(--brand); }
.acct__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-height: 360px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row__main { min-width: 0; }
.list-row__main b { font-size: 15px; }
.list-row__main p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.list-row__actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.adm__side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.adm__brand { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.adm__brand img { width: 34px; height: 34px; }
.adm__tabs { display: flex; flex-direction: column; gap: 4px; }
.adm__tab { text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.adm__tab.is-active, .adm__tab:hover { background: var(--brand-l); color: var(--brand); }
.adm__tab .cnt { margin-left: auto; background: #eef1f6; color: var(--muted); font-size: 12px; border-radius: 10px; padding: 1px 8px; }
.adm__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.adm__kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.kpi b { font-size: 26px; color: var(--brand); display: block; }
.kpi span { color: var(--muted); font-size: 13px; }
.adm-filter { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-tb { overflow-x: auto; }
.adm-tb table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-tb table.data th, .adm-tb table.data td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.adm-tb table.data th { background: #f7f9fc; color: var(--muted); font-weight: 600; }
.adm-tb table.data td:nth-child(2), .adm-tb table.data th:nth-child(2) { white-space: normal; min-width: 280px; }
.adm-tb .act { display: inline-flex; gap: 6px; }
.adm-tb .mini { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 5px 11px; cursor: pointer; font-size: 13px; font-weight: 600; }
.adm-tb .mini--ok { color: var(--ok); border-color: var(--ok); }
.adm-tb .mini--no { color: var(--bad); border-color: var(--bad); }
.adm-tb .st { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.st--pending { background: #fff4e0; color: var(--warn); }
.st--approved { background: #e6f7ef; color: var(--ok); }
.st--rejected { background: #fdecec; color: var(--bad); }
.company-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.company-card dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0; }
.company-card dt { color: var(--muted); font-size: 14px; }
.company-card dd { margin: 0; font-size: 14px; }

/* ---------- notice / cta band ---------- */
.cta-band { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow); margin-top: 24px; flex-wrap: wrap; }
.cta-band h3 { margin: 0 0 4px; font-size: 18px; }
.cta-band p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.ft { background: #2156c4; color: #e3ebfa; margin-top: 50px; }
.ft__main { max-width: 1180px; margin: 0 auto; padding: 46px 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; }
.ft__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.ft__brand img { width: 34px; height: 34px; background: #fff; border-radius: 8px; padding: 3px; box-sizing: border-box; }
.ft__col h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.ft__col a, .ft__col p { display: block; color: #d6e1f7; font-size: 13.5px; margin: 0 0 9px; }
.ft__col a:hover { color: #fff; }
.ft__col--contact p { display: flex; align-items: center; gap: 8px; }
.ft__bar { border-top: 1px solid rgba(255,255,255,.22); padding: 16px 20px; text-align: center; font-size: 13px; color: #dce6f9; }
.ft__icp { color: #dce6f9; }
.ft__icp:hover { color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: #16213a; color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .3s; z-index: 999; box-shadow: var(--shadow); }
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .detail, .infodetail, .acct, .adm { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .featstrip__inner { grid-template-columns: repeat(2, 1fr); }
  .modrow { grid-template-columns: 1fr; }
  .adm__side, .acct__side { position: static; }
}
@media (max-width: 760px) {
  .hdr__nav, .hdr__search, .hdr__user { display: none; }
  .hdr__nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px; }
  .hdr__right.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; gap: 12px; }
  .hdr__burger { display: flex; }
  .hero h1 { font-size: 28px; }
  .hero__cards { grid-template-columns: 1fr; }
  .ft__main { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .ft__main { grid-template-columns: 1fr; }
}
