/* 德州欧仕医疗器械有限公司 · 信息发布平台 */
:root {
  --brand: #134f68;
  --brand-2: #1d7f8c;
  --brand-soft: #eaf3f6;
  --accent: #b0803a;
  --ink: #1b2430;
  --ink-2: #3d4a5a;
  --muted: #6b7a8c;
  --line: #e2e8ee;
  --line-2: #eef2f6;
  --bg: #f5f8fa;
  --card: #ffffff;
  --ok: #1f7a5a;
  --warn: #9a6a12;
  --danger: #a63a2f;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(19, 79, 104, 0.05), 0 10px 26px -18px rgba(19, 79, 104, 0.28);
  --wrap: 1180px;
}

/* 归一化：hidden 属性必须压过组件类与内联样式 */
[hidden] { display: none !important; }

/* 内联 SVG 统一兜底尺寸（须置于所有 .xxx svg 规则之前） */
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.75 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.35; }
p { margin: 0 0 14px; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------ 页头 */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-head__in { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 0 0 auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex: 0 0 42px; display: block; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 16.5px; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); letter-spacing: 1.6px; white-space: nowrap; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: 0.5; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 8px 13px; border-radius: 7px; color: var(--ink-2); font-size: 14.5px;
  white-space: nowrap;
}
.nav__link:hover { background: var(--brand-soft); color: var(--brand); }
.nav__link.is-on { color: var(--brand); font-weight: 700; background: var(--brand-soft); }

.head-account { display: flex; align-items: center; gap: 12px; }
.head-account__link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.head-account__link:hover { color: var(--brand); }

.site-head .nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink-2); cursor: pointer;
}
.site-head .nav-toggle svg.i { width: 20px; height: 20px; }
.only-mobile { display: none; }

/* ------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 14.5px; cursor: pointer;
  font-family: inherit; line-height: 1.4; white-space: nowrap;
  transition: background .16s, color .16s, border-color .16s;
}
.btn:hover { border-color: var(--brand-2); color: var(--brand); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: #0f4359; border-color: #0f4359; color: #fff; }
.btn--ghost { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.btn--ghost:hover { background: #dfeef1; }
.btn--sm { padding: 7px 14px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------------------ 版块 */
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.sec-head h2 { font-size: 22px; }
.sec-head .sec-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sec-head__line { flex: 1; height: 1px; background: var(--line); margin-bottom: 9px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 24px; }

/* ------------------------------------------------------------ 首页横幅 */
.hero { background: linear-gradient(160deg, #10465c 0%, #16697c 58%, #1d7f8c 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; right: -140px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; padding: 62px 0 58px; align-items: center; }
.hero h1 { color: #fff; font-size: 30px; letter-spacing: .3px; margin-bottom: 14px; }
.hero p.lede { color: rgba(255, 255, 255, 0.86); font-size: 15.5px; margin-bottom: 24px; max-width: 560px; }
.hero__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); color: #fff; }
.hero .btn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn--solid { background: #fff; color: var(--brand); border-color: #fff; font-weight: 700; }
.hero .btn--solid:hover { background: #eef6f8; color: var(--brand); }

.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hstat {
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px; padding: 16px 18px;
}
.hstat b { display: block; font-size: 25px; font-weight: 700; letter-spacing: .5px; }
.hstat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); letter-spacing: .6px; }

/* ------------------------------------------------------------ 类目 */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-card {
  display: flex; gap: 14px; padding: 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink);
}
.cat-card:hover { border-color: var(--brand-2); color: var(--ink); }
.cat-card__ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.cat-card__ico svg.i { width: 23px; height: 23px; }
.cat-card h3 { font-size: 16px; margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.cat-card__n { display: block; margin-top: 7px; font-size: 12.5px; color: var(--accent); }

/* ------------------------------------------------------------ 信息卡片 */
.grid-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.lcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink); transition: transform .16s, box-shadow .16s;
}
.lcard:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 14px 30px -20px rgba(19, 79, 104, 0.45); }
.lcard__media { position: relative; aspect-ratio: 2 / 1; background: #eef2f5; overflow: hidden; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; }
.lcard__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: rgba(255, 255, 255, 0.94); color: var(--brand); border: 1px solid rgba(19, 79, 104, .12);
}
.lcard__tag svg.i { width: 13px; height: 13px; }
.lcard__body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcard__title {
  font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 46px;
}
.lcard__meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.lcard__meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.lcard__meta svg.i { width: 14px; height: 14px; }
.lcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 11px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted);
}
.lcard__pub { color: var(--ink-2); }
.lcard__date { white-space: nowrap; flex: 0 0 auto; }

/* ------------------------------------------------------------ 检索栏 */
.searchbar {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.searchbar input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fbfcfd;
}
.searchbar input[type="search"]:focus { outline: none; border-color: var(--brand-2); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2);
  font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.chip:hover { border-color: var(--brand-2); color: var(--brand); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip svg.i { width: 14px; height: 14px; }

/* ------------------------------------------------------------ 详情 */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }

.detail__title { font-size: 25px; line-height: 1.42; margin-bottom: 12px; }
.detail__metas { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.detail__metas span { display: inline-flex; align-items: center; gap: 6px; }
.detail__cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px; background: #eef2f5; }
.detail__cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.detail__body p { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin-bottom: 15px; }

.statebar { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 8px; font-size: 13.5px; margin-bottom: 18px; border: 1px solid; }
.statebar--pending { background: #fdf7ec; border-color: #f0dcb4; color: var(--warn); }
.statebar--rejected { background: #fcf1ef; border-color: #eecfc9; color: var(--danger); }

.side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.side h3 { font-size: 15px; margin-bottom: 13px; display: flex; align-items: center; gap: 7px; }
.kv { display: flex; flex-direction: column; gap: 11px; }
.kv__row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.kv__row svg.i { margin-top: 3px; color: var(--brand-2); }
.kv__row .k { color: var(--muted); flex: 0 0 62px; }
.kv__row .v { color: var(--ink-2); word-break: break-all; }

.contact-phone { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--brand); display: flex; align-items: center; gap: 9px; }
.contact-lock { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.contact-lock svg.i { color: var(--accent); margin-top: 3px; }

/* ------------------------------------------------------------ 表单 */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 13.5px; color: var(--ink-2); font-weight: 700; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input[type="text"], .field input[type="password"], .field input[type="tel"],
.field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fbfcfd;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--brand); }
.check a { text-decoration: underline; }

.alert { padding: 11px 14px; border-radius: 8px; font-size: 13.5px; border: 1px solid; display: flex; gap: 8px; align-items: flex-start; }
.alert--err { background: #fcf1ef; border-color: #eecfc9; color: var(--danger); }
.alert--ok { background: #eef7f3; border-color: #cbe6da; color: var(--ok); }
.alert--info { background: var(--brand-soft); border-color: #d5e6ea; color: var(--brand); }
.alert svg.i { margin-top: 3px; }

.auth-wrap { max-width: 470px; margin: 0 auto; }

/* ------------------------------------------------------------ 步骤条 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step__n {
  width: 30px; height: 30px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; margin-bottom: 11px;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ------------------------------------------------------------ 套餐 */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan--hot { border-color: var(--brand-2); box-shadow: 0 14px 34px -22px rgba(19, 79, 104, .6); position: relative; }
.plan--hot::before {
  content: '推荐'; position: absolute; top: -11px; left: 22px; padding: 2px 11px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; letter-spacing: .5px;
}
.plan h3 { font-size: 17px; margin-bottom: 6px; }
.plan .price { font-size: 30px; font-weight: 700; color: var(--brand); letter-spacing: .5px; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 5px; letter-spacing: 0; }
.plan .pdesc { font-size: 13px; color: var(--muted); margin: 10px 0 15px; line-height: 1.65; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.plan li svg.i { color: var(--ok); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ------------------------------------------------------------ 个人中心 / 后台 */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { padding: 9px 15px; border: none; background: none; font: inherit; font-size: 14.5px; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; }
.tab:hover { color: var(--brand); }
.tab.is-on { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand); }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 25px; color: var(--brand); letter-spacing: .5px; }
.stat span { font-size: 12.5px; color: var(--muted); }

.table-scroll { overflow-x: auto; }
table.data { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 13.5px; background: #fff; }
table.data th, table.data td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.data th { background: #f7fafb; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
table.data th:first-child { min-width: 168px; }
table.data tr:last-child td { border-bottom: none; }
.row-actions { display: flex; gap: 7px; flex-wrap: nowrap; align-items: center; }
.row-actions .btn { padding: 5px 11px; font-size: 12.5px; }

.tagline { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.tagline--pending { background: #fdf7ec; color: var(--warn); border: 1px solid #f0dcb4; }
.tagline--approved { background: #eef7f3; color: var(--ok); border: 1px solid #cbe6da; }
.tagline--rejected { background: #fcf1ef; color: var(--danger); border: 1px solid #eecfc9; }

.adm { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 22px; align-items: start; margin: 26px 0 50px; }
.adm > * { min-width: 0; }
.adm-side { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.adm-side__hd { padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.adm-side__hd b { display: block; font-size: 15px; }
.adm-side__hd span { font-size: 12.5px; color: var(--muted); }
.adm-nav { display: flex; flex-direction: column; padding: 8px; }
.adm-nav button {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: none; background: none;
  font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; border-radius: 8px; text-align: left;
}
.adm-nav button:hover { background: var(--brand-soft); color: var(--brand); }
.adm-nav button.is-on { background: var(--brand); color: #fff; }
.adm-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }

.empty { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 14px; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink-2); font: inherit; font-size: 13.5px; cursor: pointer;
}
.pager button:hover { border-color: var(--brand-2); color: var(--brand); }
.pager button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------------------ 富文本页 */
.prose { max-width: 860px; }
.prose h2 { font-size: 20px; margin: 30px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 22px 0 9px; }
.prose p, .prose li { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.prose ol, .prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose .note { background: var(--brand-soft); border-left: 3px solid var(--brand-2); padding: 13px 16px; border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--ink-2); }

.page-hero { background: linear-gradient(150deg, #10465c, #1d7f8c); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; font-size: 24px; }
.page-hero p { color: rgba(255, 255, 255, .84); margin: 7px 0 0; font-size: 14px; }

/* ------------------------------------------------------------ 页脚 */
.site-foot { background: #0e3d50; color: rgba(255, 255, 255, 0.72); margin-top: 46px; padding-top: 42px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 30px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 5px; }
.foot-col a { color: rgba(255, 255, 255, 0.7); }
.foot-col a:hover { color: #fff; }
.foot-col span { display: flex; align-items: center; gap: 8px; word-break: break-all; }
.foot-col span svg.i { color: rgba(255, 255, 255, 0.5); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 700; }
.logo-mark--sm { width: 34px; height: 34px; flex: 0 0 34px; }
.foot-desc { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 1.75; margin: 0; max-width: 330px; }
.foot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0 20px; font-size: 12.5px;
}
.foot-bar .icp { color: rgba(255, 255, 255, 0.7); }
.foot-bar .icp:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 46px 0; }
  .cat-grid, .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; }
  .adm-nav { flex-direction: row; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .brand-name { font-size: 15px; }
  .brand { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 1px; gap: 5px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }

  .site-head .nav-toggle { display: inline-flex; }
  .head-account { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 14px 14px; gap: 2px;
    box-shadow: 0 16px 30px -22px rgba(19, 79, 104, .5); display: none;
  }
  .nav.is-open { display: flex; }
  .site-head__in { position: relative; }
  .nav__link { padding: 11px 10px; font-size: 15px; }
  .only-mobile { display: none; }
  .nav.is-open .only-mobile { display: block; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 15px; }
  .cat-grid, .grid-list, .plan-grid, .grid-2, .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 23px; }
  .detail__title { font-size: 20px; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input[type="search"] { flex: 1 1 100%; }
  .searchbar .btn { flex: 1 1 auto; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sec-head__line { display: none; }
  .pad, .adm-panel { padding: 17px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
