:root {
  --bg: #f6f7f9;
  --panel: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #111827;
}
* { box-sizing: border-box; }
body { margin:0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
header { height: 56px; background: #111827; color: #fff; display:flex; align-items:center; justify-content:space-between; padding:0 24px; }
.brand { font-weight:700; }
nav a { color:#fff; text-decoration:none; margin-left:18px; font-size:14px; opacity:.9; }
main { padding: 24px; }
h1 { margin: 0 0 18px; }
h2 { margin-top: 0; }
.panel, .card, .login-card { background: var(--panel); border:1px solid var(--border); border-radius:16px; padding:18px; box-shadow: 0 8px 24px rgba(0,0,0,.04); margin-bottom:18px; }
.cards { display:grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap:16px; margin-bottom:18px; }
.num { font-size:32px; font-weight:700; margin-bottom:4px; }
.actions { display:flex; gap:12px; flex-wrap:wrap; }
button, .button { display:inline-block; border:none; background:var(--primary); color:#fff; padding:10px 14px; border-radius:10px; cursor:pointer; text-decoration:none; font-size:14px; }
input, select { padding:10px; border:1px solid var(--border); border-radius:10px; margin: 6px 8px 6px 0; }
table { width:100%; border-collapse: collapse; background:#fff; border-radius:12px; overflow:hidden; }
th, td { border-bottom:1px solid var(--border); padding:10px; font-size:13px; vertical-align:top; text-align:left; }
th { background:#f3f4f6; }
pre { white-space:pre-wrap; margin:0; font-size:12px; max-height:160px; overflow:auto; }
.success { color: #047857; font-weight:700; }
.failed { color: #b91c1c; font-weight:700; }
.running { color: #b45309; font-weight:700; }
.login-body { min-height:100vh; display:flex; align-items:center; justify-content:center; }
.login-card { width: 360px; display:flex; flex-direction:column; gap:8px; }
.error { background:#fee2e2; color:#991b1b; padding:10px; border-radius:10px; }
.wide { min-width: 1500px; }
.search { margin-bottom:12px; }


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  min-height: 260px;
}

.product-card.card-loss {
  border-color: #fecaca;
  background: #fffafa;
}

.product-image {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.product-main h2 {
  margin: 8px 0 4px;
  font-size: 18px;
  word-break: break-all;
}

.product-top {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  background: #eef2ff;
  color: #3730a3;
}

.tag.danger {
  background: #fee2e2;
  color: #991b1b;
}

.tag.warn {
  background: #fef3c7;
  color: #92400e;
}

.tag.ok {
  background: #dcfce7;
  color: #166534;
}

.muted {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.kv, .price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.price-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kv div, .price-row div {
  background: #f9fafb;
  border-radius: 10px;
  padding: 8px;
  min-width: 0;
}

.kv b, .price-row b {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 3px;
}

.kv span, .price-row span {
  display: block;
  font-size: 14px;
  word-break: break-all;
}

.link-text {
  color: #2563eb;
  font-size: 12px !important;
}

.text-danger {
  color: #b91c1c;
  font-weight: 700;
}

details {
  margin-top: 8px;
}

summary {
  cursor: pointer;
  color: #374151;
  font-size: 13px;
}

.table-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.thumb-placeholder {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 12px;
}


.button.mini {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.card-actions {
  margin: 8px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.edit-product-head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.edit-image {
  flex: 0 0 128px;
}

.edit-form {
  display: grid;
  grid-template-columns: 160px minmax(260px, 1fr);
  gap: 12px 16px;
  align-items: center;
  max-width: 900px;
}

.edit-form p {
  grid-column: 1 / -1;
}


.inline-form {
  display: inline-block;
  margin-left: 6px;
}

.mini-button {
  border: none;
  background: #991b1b;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}


.log-pre {
  max-height: 520px;
  overflow: auto;
  background: #111827;
  color: #e5e7eb;
  padding: 14px;
  border-radius: 12px;
  line-height: 1.45;
}

.error-pre {
  color: #fecaca;
}


.filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, 1fr)) auto auto;
  gap: 10px;
  align-items: center;
}

.compact-cards {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.compact-cards .card {
  margin-bottom: 0;
  padding: 14px;
}

.compact-cards .num {
  font-size: 24px;
}

.stat-link {
  color: inherit;
  text-decoration: none;
}

.toolbar-panel {
  padding: 12px 16px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .compact-cards {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}


.danger-button {
  border: none;
  background: #991b1b;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}


.tag.info {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag.muted {
  background: #f3f4f6;
  color: #4b5563;
}


.hero-panel {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .20);
}

.hero-panel h1 {
  font-size: 34px;
  margin: 4px 0 8px;
  letter-spacing: -.02em;
}

.eyebrow {
  color: #93c5fd;
  font-size: 13px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-subtitle {
  margin: 0;
  color: #d1d5db;
}

.hero-status {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-pill, .version-pill {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}

.status-idle {
  color: #bbf7d0;
}

.status-running {
  color: #fde68a;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.metric-value {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.metric-label {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.dashboard-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h2 {
  margin: 0;
}

.panel-head a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.risk-list {
  display: grid;
  gap: 10px;
}

.risk-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  text-decoration: none;
  color: var(--text);
}

.risk-list b {
  font-size: 20px;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-stat-grid div {
  background: #f9fafb;
  border-radius: 14px;
  padding: 14px;
}

.mini-stat-grid b {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.mini-stat-grid span {
  color: var(--muted);
  font-size: 13px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1100px) {
  .dashboard-grid, .dashboard-two-col {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    flex-direction: column;
  }
}


.sales-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 8px;
  margin: 8px 0;
  font-size: 13px;
}

.sales-strip b {
  color: #075985;
  margin-right: 4px;
}

.sales-strip span {
  color: #0f172a;
  background: #ffffff;
  border-radius: 999px;
  padding: 3px 7px;
}


.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.table-scroll table {
  min-width: 1200px;
}


.address-cell {
  max-width: 360px;
  white-space: normal;
  word-break: break-word;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}


.trend-chart {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.trend-svg {
  width: 100%;
  min-width: 820px;
  height: 360px;
}

.trend-grid {
  stroke: #e5e7eb;
  stroke-width: 1;
}

.trend-axis {
  stroke: #94a3b8;
  stroke-width: 1.4;
}

.trend-axis-label {
  fill: #475569;
  font-size: 12px;
  text-anchor: end;
}

.trend-y-label {
  text-anchor: end;
}

.trend-line {
  fill: none;
  stroke-width: 2.6;
}

.trend-dot {
  stroke: #fff;
  stroke-width: 1.5;
}

.trend-line-1 { stroke: #0f172a; fill: #0f172a; }
.trend-line-2 { stroke: #2563eb; fill: #2563eb; }
.trend-line-3 { stroke: #16a34a; fill: #16a34a; }
.trend-line-4 { stroke: #ea580c; fill: #ea580c; }
.trend-line-5 { stroke: #9333ea; fill: #9333ea; }

.trend-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trend-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox-group label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}


.trend-campaign-band {
  fill: #fef3c7;
  opacity: 0.5;
}

.trend-band-label {
  fill: #92400e;
  font-size: 12px;
  font-weight: 600;
}


/* v3.7.45 商品组中心卡片优化 */
.product-card-v2 {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 16px;
  align-items: start;
}

.product-card-v2 .product-image {
  width: 118px;
  height: 118px;
}

.product-card-v2 .product-main {
  min-width: 0;
}

.product-card-v2 h2 {
  margin: 8px 0 2px;
  font-size: 18px;
  line-height: 1.2;
  word-break: break-word;
}

.product-subtitle {
  margin: 0 0 4px;
  color: #374151;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.product-cost-key {
  margin-bottom: 10px;
  line-height: 1.35;
  word-break: break-word;
}

.compact-tags {
  max-height: 58px;
  overflow: hidden;
}

.metric-block {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.primary-metrics {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
}

.money-metrics {
  grid-template-columns: 1fr 1fr;
}

.metric-item {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 9px 10px;
  min-width: 0;
}

.metric-item b {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
}

.metric-item span {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-item.hero span {
  font-size: 19px;
}

.money-metrics .metric-item span {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.meta-row span {
  background: #f3f4f6;
  color: #475569;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.product-reason {
  margin-top: 8px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 8px;
}

.product-reason summary {
  font-size: 12px;
  color: #475569;
}

@media (max-width: 520px) {
  .product-card-v2 {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .product-card-v2 .product-image {
    width: 96px;
    height: 96px;
  }
  .primary-metrics,
  .money-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v3.7.46 商品组卡片布局修正 */
.product-card-v3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-card-v3 .product-card-header {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.product-card-v3 .product-image {
  width: 118px;
  height: 118px;
}

.product-card-v3 .product-main {
  min-width: 0;
}

.product-card-v3 h2 {
  margin: 8px 0 2px;
  font-size: 18px;
  line-height: 1.25;
  word-break: break-word;
}

.product-card-v3 .product-subtitle,
.product-card-v3 .product-cost-key {
  margin: 0 0 4px;
  line-height: 1.4;
  word-break: break-word;
}

.product-card-v3 .full-tags {
  max-height: none;
  overflow: visible;
}

.product-card-v3 .full-width-metrics {
  display: grid;
  gap: 10px;
}

.product-card-v3 .primary-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card-v3 .money-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card-v3 .metric-item {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 0;
}

.product-card-v3 .metric-item b {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: normal;
  word-break: break-word;
}

.product-card-v3 .metric-item span {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.product-card-v3 .metric-item.hero span {
  font-size: 22px;
}

.product-card-v3 .money-metrics .metric-item span {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.product-card-v3 .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.product-card-v3 .meta-row span {
  background: #f3f4f6;
  color: #475569;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.product-card-v3 .product-reason {
  margin-top: 2px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 8px;
}

@media (max-width: 860px) {
  .product-card-v3 .primary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .product-card-v3 .product-card-header {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .product-card-v3 .product-image {
    width: 88px;
    height: 88px;
  }

  .product-card-v3 .metric-item {
    padding: 9px 10px;
  }

  .product-card-v3 .metric-item b {
    font-size: 11px;
  }

  .product-card-v3 .metric-item span {
    font-size: 18px;
  }

  .product-card-v3 .money-metrics {
    grid-template-columns: 1fr;
  }

  .product-card-v3 .money-metrics .metric-item span {
    font-size: 22px;
  }
}


/* v3.7.47 商品组中心筛选排序 */
.filter-summary {
  margin-top: 10px;
  line-height: 1.6;
}


/* v3.7.48 商品组中心分页 */
.pagination-panel {
  margin-top: 12px;
  margin-bottom: 12px;
}


/* v3.7.49 商品组批量操作 */
.product-card-v3 {
  position: relative;
}

.group-select-box {
  position: absolute;
  right: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.group-select-box input {
  margin: 0;
}

.batch-panel h2 {
  margin-top: 0;
}

.batch-toolbar {
  margin-top: 10px;
}

.notice {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
}


/* v3.7.53 商品组日志中心 */
.log-value,
.log-note {
  max-width: 280px;
  white-space: normal;
  word-break: break-word;
}


.notice.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 10px 12px;
}


/* v3.8.0 稳定版说明 */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-section-title {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 18px;
}

.notice.error {
  background:#fee2e2;
  color:#991b1b;
  padding:10px;
  border-radius:10px;
}
/* v3.13.0 活动库存校验状态 */
.blocked_stock, .missing_inventory { color: #b42318; font-weight: 700; }
.ready { color: #067647; font-weight: 700; }

/* v3.19.0：导航重构。左侧/顶部主入口保留业务中心，二级功能收进下拉与页面内标签。 */
header {
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand a {
  color: #fff;
  text-decoration: none;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.top-nav a,
.nav-group-title {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: .9;
  border-radius: 999px;
  padding: 8px 11px;
  white-space: nowrap;
}
nav.top-nav a { margin-left: 0; }
.nav-link.active,
.nav-group.active .nav-group-title,
.top-nav a:hover,
.nav-group:hover .nav-group-title {
  opacity: 1;
  background: rgba(255,255,255,.12);
}
.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.nav-group-title {
  display: inline-flex;
  align-items: center;
  cursor: default;
}
.nav-group-title::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
  opacity: .75;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 42px;
  left: 0;
  min-width: 190px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  padding: 8px;
  z-index: 40;
}
.nav-dropdown-right {
  left: auto;
  right: 0;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  display: grid;
  gap: 2px;
}
.nav-dropdown a {
  color: var(--text) !important;
  display: block;
  border-radius: 10px;
  padding: 9px 10px;
  opacity: 1;
}
.nav-dropdown a:hover {
  background: #f3f4f6;
}
.top-nav .logout {
  color: #fecaca;
}
.section-tabs {
  position: sticky;
  top: 56px;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  background: rgba(246,247,249,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.section-tabs a {
  color: #374151;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.section-tabs a.active,
.section-tabs a:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.module-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.module-shortcut {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.module-shortcut b {
  display: block;
  margin-bottom: 6px;
}
.module-shortcut span {
  color: var(--muted);
  font-size: 13px;
}
.module-shortcut:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
@media (max-width: 1180px) {
  header {
    height: auto;
    min-height: 56px;
    align-items: flex-start;
    padding: 12px 16px;
  }
  .top-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .section-tabs {
    top: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
