:root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #172033;
    --muted: #667085;
    --line: #e4e9f0;
    --primary: #1f5eff;
    --primary-dark: #1648c7;
    --green: #0d9f6e;
    --orange: #d97a06;
    --red: #d92d20;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(23, 32, 51, .06);
    color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 4px; }
h2 { font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
h3 { font-size: 16px; margin-bottom: 0; }

.muted { color: var(--muted); margin-bottom: 0; }
.nowrap { white-space: nowrap; }

/* ---------- guest / login ---------- */
.guest-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background:
        radial-gradient(circle at 10% 10%, rgba(31, 94, 255, .10), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(13, 159, 110, .08), transparent 30%),
        var(--bg);
}

.guest-wrap { width: 100%; max-width: 430px; }

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1f5eff, #1039a7);
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 18px;
    margin: 0 auto 18px;
    box-shadow: 0 8px 22px rgba(31, 94, 255, .24);
}
.brand-mark.small { width: 38px; height: 38px; border-radius: 12px; margin: 0; font-size: 14px; }

.login-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px 30px 26px;
    box-shadow: var(--shadow);
}

.login-heading { text-align: center; margin-bottom: 24px; }
.login-heading h1 { font-size: 24px; margin-bottom: 6px; }
.login-heading p { color: var(--muted); margin: 0; }
.eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--primary);
    background: #eef3ff;
    border-radius: 999px;
    padding: 4px 9px;
    margin-bottom: 12px;
}

.guest-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 20px; }

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 16px;
    color: var(--muted);
    font-size: 12px;
}

/* ---------- forms ---------- */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-weight: 600; font-size: 13px; }
.field small { color: var(--muted); font-size: 12px; }

input[type="text"], input[type="password"] {
    width: 100%;
    border: 1px solid #cdd5e1;
    border-radius: 10px;
    padding: 11px 13px;
    font: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
input[type="text"]:focus, input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 94, 255, .13);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .05s;
}
.button:active { transform: translateY(1px); }
.button.primary { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-dark); text-decoration: none; }
.button.ghost { background: #fff; border-color: var(--line); color: var(--text); }
.button.ghost:hover { border-color: #c3ccdb; text-decoration: none; }
.button.full { width: 100%; padding: 12px 16px; }

.form-actions { display: flex; gap: 10px; align-items: center; padding-top: 2px; }

/* ---------- alerts ---------- */
.alert {
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid transparent;
}
.alert-success { background: #eafaf3; border-color: #bcebd8; color: #08694a; }
.alert-error { background: #fff1f0; border-color: #ffd1cd; color: #a81d15; }
.alert-warning { background: #fff8e8; border-color: #ffe2a6; color: #855400; }
.alert-info { background: #eef4ff; border-color: #d3e0ff; color: #1745a8; }
.error-list { margin: 7px 0 0; padding-left: 19px; }

/* ---------- admin shell ---------- */
.admin-body { min-height: 100vh; }
.app-shell { min-height: 100vh; display: flex; }

.sidebar {
    width: 238px;
    flex: 0 0 238px;
    background: #101a2e;
    color: #cbd5e1;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.sidebar-brand { display: flex; gap: 10px; align-items: center; padding: 0 7px 22px; }
.sidebar-brand strong { display: block; color: #fff; font-size: 16px; letter-spacing: .3px; }
.sidebar-brand small { color: #93a4bd; font-size: 11px; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
    color: #b9c6d9;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.nav-item.active { background: rgba(64, 124, 255, .22); color: #fff; }

.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.10); padding-top: 14px; }
.account-mini { display: flex; align-items: center; gap: 9px; padding: 3px 7px 10px; }
.account-mini strong { display: block; color: #fff; font-size: 13px; }
.account-mini small { color: #93a4bd; font-size: 11px; }
.avatar {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: #22324d; color: #fff; font-weight: 700;
}
.logout-form { margin: 0; padding: 0 7px; }
.link-button {
    border: 0; background: transparent; color: #9fb0c8;
    font: inherit; font-size: 12px; cursor: pointer; padding: 0;
}
.link-button:hover { color: #fff; text-decoration: underline; }

.main-area { flex: 1; min-width: 0; }
.topbar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 24px 30px 18px;
}
.topbar h1 { margin: 0; }
.topbar p { margin: 2px 0 0; font-size: 12px; }
.topbar-user {
    display: flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 12px; font-size: 12px; font-weight: 600;
}
.status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); display: inline-block;
    box-shadow: 0 0 0 3px rgba(13,159,110,.12);
}

.content { padding: 0 30px 34px; max-width: 1400px; }
.page-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; margin-bottom: 18px;
}
.page-head h2 { margin-bottom: 3px; }

/* ---------- cards ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 17px 18px;
    box-shadow: 0 1px 2px rgba(23,32,51,.02);
}
.stat-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.stat-card strong { display: block; font-size: 27px; line-height: 1.2; letter-spacing: -.4px; }
.stat-card strong.stat-text { font-size: 19px; padding-top: 5px; }
.stat-card small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }

.content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(23,32,51,.02);
}
.panel.narrow { max-width: 620px; }
.panel-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin-bottom: 14px;
}

.badge {
    display: inline-flex; align-items: center;
    border-radius: 999px; padding: 4px 9px;
    background: #eef1f5; color: #475467;
    font-size: 11px; font-weight: 650; white-space: nowrap;
}
.badge-green { background: #e8f8f1; color: #087a56; }
.badge-blue { background: #eaf0ff; color: #1745a8; }
.badge-orange { background: #fff5e5; color: #915400; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: #344054; font-size: 13px; }
.check {
    width: 18px; height: 18px; flex: 0 0 18px;
    border-radius: 50%; background: #e8f8f1; color: #087a56;
    display: grid; place-items: center; font-size: 11px; font-weight: 800;
    margin-top: 1px;
}

.meta-list { margin: 0; display: grid; gap: 9px; }
.meta-list > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed #edf0f4; padding-bottom: 8px; }
.meta-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list dt { color: var(--muted); font-size: 12px; }
.meta-list dd { margin: 0; font-size: 12px; font-weight: 600; text-align: right; word-break: break-all; }

/* ---------- phase ---------- */
.phase-panel { margin-top: 0; }
.phase-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 10px; }
.phase-step {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    border-radius: 11px;
    padding: 12px;
    display: flex; flex-direction: column; gap: 1px;
}
.phase-step > span { font-size: 10px; font-weight: 800; color: #98a2b3; letter-spacing: .5px; }
.phase-step strong { font-size: 13px; }
.phase-step small { font-size: 11px; color: var(--muted); }
.phase-step.done { background: #effaf5; border-color: #bcebd8; }
.phase-step.done > span { color: var(--green); }
.phase-step.done small { color: #087a56; }
.phase-note { font-size: 12px; margin-top: 6px; }

/* ---------- tables ---------- */
.table-panel { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { color: var(--muted); font-size: 11px; font-weight: 650; background: #fbfcfe; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcff; }
.data-table code { font-size: 11px; background: #f1f4f8; padding: 2px 5px; border-radius: 5px; }
.detail-cell { max-width: 330px; color: var(--muted); word-break: break-all; }
.empty-state { padding: 36px 20px; text-align: center; color: var(--muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.pagination a { font-weight: 600; }

/* ---------- error page ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.error-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; max-width: 420px; text-align: center; box-shadow: var(--shadow); }
.error-card h1 { font-size: 21px; }
.error-card p { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-grid { grid-template-columns: 1fr; }
    .phase-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .app-shell { display: block; }
    .sidebar { width: auto; height: auto; position: static; padding: 14px; }
    .sidebar-brand { padding-bottom: 12px; }
    .nav { flex-direction: row; flex-wrap: wrap; }
    .nav-item { padding: 8px 10px; }
    .sidebar-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; }
    .account-mini { padding: 0; }
    .topbar { padding: 18px 16px 13px; }
    .content { padding: 0 16px 24px; }
    .topbar-user { display: none; }
    .stat-grid { grid-template-columns: 1fr; }
    .page-head { flex-direction: column; }
    .login-card { padding: 26px 21px 22px; }
}

@media (max-width: 480px) {
    .phase-track { grid-template-columns: 1fr; }
    .sidebar-foot { flex-wrap: wrap; gap: 8px; }
}

/* ============================================================
   DeepSeek / 太阳神旧后台风格适配
   白底、浅灰卡片、蓝色点缀 #4D6BFE
   ============================================================ */
:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --surface-soft: #fafaf8;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --line: #e6e6e4;
    --primary: #4D6BFE;
    --primary-dark: #3f59e6;
    --green: #0d9f6e;
    --orange: #d97a06;
    --red: #d92d20;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

body { background: var(--bg); color: var(--text); }

.guest-body {
    background:
        radial-gradient(circle at 12% 8%, rgba(77, 107, 254, .07), transparent 32%),
        radial-gradient(circle at 88% 92%, rgba(255, 184, 0, .06), transparent 28%),
        var(--bg);
}

.brand-mark {
    background: #fff;
    color: #ff9500;
    border: 1px solid #f0e2c0;
    box-shadow: 0 6px 18px rgba(255, 149, 0, .12);
    font-size: 26px;
}

.login-card { border-radius: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.eyebrow { background: #eef1ff; color: var(--primary); }
.login-heading h1 { font-size: 22px; letter-spacing: .01em; }

.sidebar {
    background: #ffffff;
    color: #1d2129;
    border-right: 1px solid var(--line);
    box-shadow: 2px 0 12px rgba(0, 0, 0, .04);
}
.sidebar-brand { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 12px; }
.brand-sun {
    width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: #fff8e8; color: #ff9500;
    border: 1px solid #f3e3c3;
    font-size: 21px;
}
.sidebar-brand strong { color: #1d2129; font-size: 16px; }
.sidebar-brand small { color: #9a9a9a; }
.nav-item { color: #4e5969; }
.nav-item:hover { background: #f7f8fa; color: #1d2129; }
.nav-item.active { background: #eef1ff; color: var(--primary); font-weight: 650; }
.sidebar-foot { border-top-color: var(--line); }
.account-mini strong { color: #1d2129; }
.account-mini small { color: #9a9a9a; }
.avatar { background: #eef1ff; color: var(--primary); }
.link-button { color: #86909c; }
.link-button:hover { color: #1d2129; }

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 28px;
    margin-bottom: 20px;
}
.topbar h1 { font-size: 20px; }
.topbar p { color: #9a9a9a; }
.topbar-user { color: #4e5969; }
.content { padding: 0 28px 32px; }

.button { border-radius: 8px; }
.button.primary { background: var(--primary); border-color: var(--primary); }
.button.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button.ghost { border-color: var(--line); }
input[type="text"], input[type="password"] { border-color: var(--line); border-radius: 8px; }
input[type="text"]:focus, input[type="password"]:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(77, 107, 254, .12); }

.stat-card, .panel { box-shadow: var(--shadow); }
.stat-card strong { color: #1a1a1a; }
.badge { background: #f2f3f5; color: #4e5969; }
.badge-blue { background: #eef1ff; color: var(--primary); }
.check { background: #e8f8f1; color: #087a56; }
.phase-step.done { background: #f3f7ff; border-color: #d9e2ff; }
.phase-step.done > span, .phase-step.done small { color: var(--primary); }
.data-table th { background: #fafaf8; }
.pagination a { color: var(--primary); }

@media (max-width: 760px) {
    .topbar { margin-bottom: 14px; }
    .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}
/* Phase 2: 商品和管理员表单 */
textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 10px;
    font: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(77, 107, 254, .12); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.filter-bar input[type="search"] {
    width: min(300px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 11px;
    font: inherit;
    background: #fff;
}
.filter-bar select { width: auto; min-width: 130px; }
.filter-bar .button { padding: 9px 13px; }

.product-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.product-cell strong { display: block; font-size: 12px; max-width: 300px; }
.product-cell small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.thumb {
    width: 44px; height: 44px; flex: 0 0 44px;
    object-fit: cover; border-radius: 8px;
    border: 1px solid var(--line); background: #f7f7f5;
}
.thumb-empty { display: grid; place-items: center; font-size: 10px; color: var(--muted); }
.inline-form { display: inline; margin: 0; padding: 0; }
.inline-form .link-button { color: var(--primary); font-size: 12px; margin-left: 8px; }

.form-grid { align-items: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cover-preview { border: 1px solid var(--line); padding: 10px; border-radius: 10px; background: var(--surface-soft); }
.cover-preview img { display: block; max-width: 100%; max-height: 220px; border-radius: 8px; object-fit: contain; margin: 0 auto 7px; }
.cover-preview small { display: block; color: var(--muted); text-align: center; font-size: 11px; }
input[type="file"] { font: inherit; font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
    .product-cell { min-width: 180px; }
}
/* Phase 2B: 商品采集/编辑模板 */
.collect-row { display: flex; gap: 10px; align-items: center; }
.collect-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.collect-status { min-height: 20px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.collect-status.ok { color: #087a56; }
.collect-status.err { color: var(--red); }
.collect-note { font-size: 11px; margin-top: 7px; }

.section-card { scroll-margin-top: 12px; }
.section-no {
    display: inline-grid; place-items: center;
    width: 21px; height: 21px; margin-right: 7px;
    border-radius: 6px; background: #eef1ff; color: var(--primary);
    font-size: 11px; font-weight: 800; vertical-align: 1px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .field.full { grid-column: 1 / -1; }
.form-grid .field > span { display: block; }

.image-hint { font-size: 12px; margin: -4px 0 12px; }
.image-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.image-slot {
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface-soft); padding: 10px;
    display: flex; flex-direction: column; gap: 7px;
}
.image-slot-head { font-size: 12px; font-weight: 650; }
.image-preview {
    height: 120px; border-radius: 8px; border: 1px solid var(--line);
    background: #fff; display: grid; place-items: center; overflow: hidden;
}
.image-preview img { width: 100%; height: 100%; object-fit: contain; }
.image-preview span { font-size: 10px; color: #9a9a9a; }
.image-preview.is-empty { background: #fafaf8; }
.image-slot input[type="text"] { font-size: 12px; padding: 7px 8px; }
.image-slot input[type="file"] { font-size: 10px; width: 100%; }

.radio-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 3px; }
.radio-row label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #4e5969; }

@media (max-width: 900px) {
    .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .collect-row { flex-direction: column; align-items: stretch; }
    .form-grid { grid-template-columns: 1fr; }
    .image-grid { grid-template-columns: 1fr; }
}
/* 商品列表：对齐旧站卡片式排版 */
.goods-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.goods-row {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 12px; display: flex; align-items: center; gap: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.goods-row:hover { border-color: #c7d2fe; box-shadow: 0 3px 14px rgba(77,107,254,.06); }
.goods-thumb-wrap { flex: 0 0 76px; width: 76px; height: 76px; }
.goods-thumb { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f7f7f5; display: block; }
.goods-thumb-empty { display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.goods-info { flex: 1; min-width: 0; }
.goods-title { font-size: 14px; line-height: 1.5; margin: 0 0 5px; font-weight: 650; overflow-wrap: anywhere; }
.goods-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.goods-price { color: var(--site-accent, #ff5000); font-size: 18px; font-weight: 800; }
.goods-price small { font-size: 11px; margin-right: 1px; }
.goods-id { color: #ff4757; background: rgba(255,71,87,.08); border: 1px solid rgba(255,71,87,.22); border-radius: 999px; padding: 1px 7px; font-size: 10px; font-weight: 700; }
.goods-mini { color: var(--muted); font-size: 10px; margin-top: 4px; }
.row-ops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: 0 0 350px; }
.op-form { margin: 0; display: inline-flex; }
.op-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 30px; padding: 4px 10px; border-radius: 7px;
    border: 1px solid var(--line); background: #fff; color: #4e5969;
    font-size: 11px; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: all .15s ease;
}
.op-btn:hover { border-color: var(--primary); color: var(--primary); background: #f7f8ff; text-decoration: none; }
.op-del { color: #d92d20; border-color: #ffd1cd; }
.op-del:hover { color: #a81d15; border-color: #d92d20; background: #fff1f0; }
.empty-goods { background: #fff; border: 1px dashed #d7dce5; border-radius: 12px; padding: 58px 20px; text-align: center; }
.empty-goods h2 { font-size: 16px; margin-bottom: 4px; }
.empty-goods p { color: var(--muted); font-size: 12px; margin-bottom: 14px; }

@media (max-width: 980px) {
    .goods-row { flex-wrap: wrap; align-items: flex-start; }
    .row-ops { flex: 1 0 100%; justify-content: flex-start; border-top: 1px dashed var(--line); padding-top: 10px; }
}
@media (max-width: 480px) {
    .goods-thumb-wrap, .goods-thumb { width: 62px; height: 62px; flex-basis: 62px; }
    .goods-title { font-size: 13px; }
    .op-btn { padding: 4px 8px; }
}