/* templet5 — corporate instrument-commerce shell */
:root {
  --t5-ink: #1f2430;
  --t5-muted: #6b7280;
  --t5-line: #e5e7eb;
  --t5-paper: #f3f4f6;
  --t5-card: #ffffff;
  --t5-brand: #3ba8d3;
  --t5-brand-dark: #2387af;
  --t5-charcoal: #2b303b;
  --t5-charcoal-deep: #1a1d24;
  --t5-soft: #e8f5fb;
  --t5-max: 1200px;
  --t5-radius: 4px;
  --t5-shadow: 0 2px 12px rgba(31, 36, 48, 0.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.t5-body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t5-ink);
  background: var(--t5-paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--t5-brand); text-decoration: none; }
a:hover { color: var(--t5-brand-dark); }
.t5-wrap {
  width: min(100% - 32px, var(--t5-max));
  margin-inline: auto;
}
/* ── Topbar ── */
.t5-topbar {
  background: var(--t5-charcoal-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 36px;
}
.t5-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.t5-topbar-left,
.t5-topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.t5-topbar a {
  color: rgba(255, 255, 255, 0.9);
}
.t5-topbar a:hover { color: #fff; }
.t5-hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  line-height: 26px;
  background: var(--t5-brand);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.t5-hotline-pill:hover { background: var(--t5-brand-dark); color: #fff !important; }
/* ── Header ── */
.t5-header {
  background: var(--t5-card);
  border-bottom: 1px solid var(--t5-line);
}
.t5-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}
.t5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--t5-ink);
  flex-shrink: 0;
}
.t5-brand:hover { color: var(--t5-ink); }
.t5-brand img { max-height: 48px; width: auto; }
.t5-brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.t5-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.t5-header-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  color: var(--t5-ink);
  font-size: 13px;
  white-space: nowrap;
}
.t5-header-cart:hover {
  border-color: var(--t5-brand);
  color: var(--t5-brand);
}
.t5-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--t5-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}
.t5-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  background: var(--t5-card);
  cursor: pointer;
}
.t5-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--t5-ink);
  border-radius: 1px;
  transition: transform 0.2s;
}
.t5-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t5-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.t5-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── Primary Nav (inline with logo) ── */
.t5-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  background: transparent;
  border: 0;
}
.t5-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
}
.t5-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: var(--t5-ink);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.t5-nav-link:hover,
.t5-nav-link.is-on {
  color: var(--t5-brand);
  border-bottom-color: var(--t5-brand);
}
.t5-nav-link-cn {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.t5-nav-link-en {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--t5-muted);
  line-height: 1.2;
}
.t5-nav-link.is-on .t5-nav-link-en,
.t5-nav-link:hover .t5-nav-link-en { color: var(--t5-brand); opacity: 0.75; }
.t5-nav-drop { position: relative; }
.t5-nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  box-shadow: var(--t5-shadow);
  z-index: 200;
  padding: 6px 0;
}
.t5-nav-drop:hover .t5-nav-drop-menu { display: block; }
.t5-nav-drop-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--t5-ink);
  font-size: 13px;
}
.t5-nav-drop-menu a:hover {
  background: var(--t5-soft);
  color: var(--t5-brand);
}
/* ── Blue search strip ── */
.t5-search-strip {
  background: var(--t5-brand);
  color: #fff;
}
.t5-search-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.t5-hot-cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  flex: 1;
  min-width: 0;
}
.t5-hot-cats-label {
  font-size: 12px;
  opacity: 0.85;
  white-space: nowrap;
  margin-right: 4px;
}
.t5-hot-cats a {
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: var(--t5-radius);
  white-space: nowrap;
}
.t5-hot-cats a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.t5-search-form {
  display: flex;
  flex-shrink: 0;
  max-width: 360px;
  width: 100%;
}
.t5-search-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border: none;
  border-radius: var(--t5-radius) 0 0 var(--t5-radius);
  font-size: 13px;
  outline: none;
}
.t5-search-form button {
  padding: 8px 20px;
  border: none;
  background: var(--t5-charcoal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 var(--t5-radius) var(--t5-radius) 0;
  cursor: pointer;
}
.t5-search-form button:hover { background: var(--t5-charcoal-deep); }
/* ── Main ── */
.t5-main { min-height: 400px; }
/* ── Hero carousel ── */
.t5-hero-wrap {
  position: relative;
  width: 100%;
  background: var(--t5-charcoal);
}
.t5-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.t5-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.t5-hero-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.t5-hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}
.t5-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-hero-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, var(--t5-charcoal) 0%, var(--t5-brand-dark) 100%);
  text-align: center;
  padding: 40px;
}
.t5-hero-fallback strong {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.t5-hero-fallback p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}
.t5-hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.t5-hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.t5-hero-dots button.is-on {
  background: var(--t5-brand);
  border-color: var(--t5-brand);
}
/* ── Floor sections ── */
.t5-floor {
  padding: 48px 0;
}
.t5-floor-head {
  text-align: center;
  margin-bottom: 32px;
}
.t5-floor-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--t5-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.t5-floor-title-mark {
  color: var(--t5-brand);
  font-size: 18px;
  letter-spacing: -2px;
  font-weight: 900;
}
.t5-floor-title-en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--t5-muted);
  font-weight: 500;
  margin-top: 4px;
}
.t5-floor-title-line {
  width: 48px;
  height: 3px;
  background: var(--t5-brand);
  margin: 10px auto 0;
  border-radius: 2px;
}
.t5-floor-more {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
}
.t5-floor-more a { color: var(--t5-muted); }
.t5-floor-more a:hover { color: var(--t5-brand); }
.t5-floor-body { background: transparent; }
/* ── Product showcase (sidebar + grid) ── */
.t5-prod-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}
.t5-cat-sidebar {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-cat-sidebar-head {
  padding: 14px 16px;
  background: var(--t5-charcoal);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.t5-cat-list { list-style: none; margin: 0; padding: 0; }
.t5-cat-list li { border-bottom: 1px solid var(--t5-line); }
.t5-cat-list li:last-child { border-bottom: none; }
.t5-cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--t5-ink);
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.t5-cat-list a::before {
  content: "›";
  color: var(--t5-brand);
  font-weight: 700;
}
.t5-cat-list a:hover,
.t5-cat-list a.is-on {
  background: var(--t5-soft);
  color: var(--t5-brand);
}
.t5-goods-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.t5-goods {
  display: flex;
  flex-direction: column;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.t5-goods:hover {
  border-color: var(--t5-brand);
  box-shadow: var(--t5-shadow);
  color: var(--t5-ink);
}
.t5-goods-cover {
  aspect-ratio: 1;
  background: var(--t5-paper);
  overflow: hidden;
}
.t5-goods-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.t5-goods:hover .t5-goods-cover img { transform: scale(1.04); }
.t5-goods-body { padding: 12px; flex: 1; }
.t5-goods-body h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t5-goods-price {
  color: var(--t5-brand);
  font-size: 16px;
  font-weight: 700;
}
.t5-goods-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--t5-muted);
}
/* ── Posts / knowledge blocks ── */
.t5-post-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.t5-post-card {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
  transition: box-shadow 0.2s;
}
.t5-post-card:hover {
  box-shadow: var(--t5-shadow);
  color: var(--t5-ink);
}
.t5-post-card-cover {
  aspect-ratio: 16/10;
  background: var(--t5-paper);
  overflow: hidden;
}
.t5-post-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-post-card h3 {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.t5-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t5-post-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--t5-line);
}
.t5-post-list li:last-child { border-bottom: none; }
.t5-post-list a {
  flex: 1;
  color: var(--t5-ink);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t5-post-list a::before {
  content: "›› ";
  color: var(--t5-brand);
  font-weight: 700;
}
.t5-post-list a:hover { color: var(--t5-brand); }
.t5-post-list time {
  font-size: 12px;
  color: var(--t5-muted);
  white-space: nowrap;
}
.t5-info-cols {
  display: grid;
  grid-template-columns: repeat(var(--t5-cols, 3), 1fr);
  gap: 24px;
}
.t5-info-col {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 20px;
}
.t5-info-col h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--t5-brand);
  font-size: 15px;
}
.t5-info-col h3 a { color: var(--t5-ink); }
.t5-info-col h3 a:hover { color: var(--t5-brand); }
/* ── Housing cards ── */
.t5-housing-grid {
  display: grid;
  grid-template-columns: repeat(var(--t5-cols, 2), 1fr);
  gap: 20px;
}
.t5-housing-card {
  display: flex;
  gap: 16px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
  padding: 12px;
}
.t5-housing-card:hover { border-color: var(--t5-brand); color: var(--t5-ink); }
.t5-housing-thumb {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-housing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t5-housing-body h3 { margin: 0 0 6px; font-size: 15px; }
.t5-housing-body p { margin: 0 0 8px; font-size: 12px; color: var(--t5-muted); }
.t5-housing-meta { font-size: 11px; color: var(--t5-muted); display: flex; gap: 12px; }
/* ── Merchants block ── */
.t5-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.t5-shop-card {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
}
.t5-shop-card:hover { box-shadow: var(--t5-shadow); color: var(--t5-ink); }
.t5-shop-cover {
  aspect-ratio: 16/7;
  background: var(--t5-paper);
  overflow: hidden;
}
.t5-shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-shop-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.t5-shop-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--t5-soft);
  color: var(--t5-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.t5-shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t5-shop-card-meta strong { display: block; font-size: 14px; }
.t5-shop-card-meta span { font-size: 11px; color: var(--t5-muted); }
.t5-shop-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.t5-shop-logo-cell {
  aspect-ratio: 1;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--t5-brand);
  font-weight: 700;
  font-size: 18px;
}
.t5-shop-logo-cell img { max-height: 100%; object-fit: contain; }
/* ── Custom / about block ── */
.t5-ad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
}
.t5-ad:hover { color: var(--t5-ink); }
.t5-ad-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.t5-ad-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.t5-ad-body h2 { margin: 0 0 12px; font-size: 24px; }
.t5-ad-body p { margin: 0; color: var(--t5-muted); line-height: 1.8; }
.t5-rich img { max-width: 100%; height: auto; }
/* ── Home trust strip ── */
.t5-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--t5-muted);
}
.t5-trust b {
  color: var(--t5-brand);
  font-size: 16px;
  margin-right: 4px;
}
/* ── Buttons ── */
.t5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--t5-radius);
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.t5-btn-brand { background: var(--t5-brand); color: #fff; border-color: var(--t5-brand); }
.t5-btn-brand:hover { background: var(--t5-brand-dark); color: #fff; }
.t5-btn-dark { background: var(--t5-charcoal); color: #fff; }
.t5-btn-dark:hover { background: var(--t5-charcoal-deep); color: #fff; }
.t5-btn-outline {
  background: transparent;
  color: var(--t5-ink);
  border-color: var(--t5-line);
}
.t5-btn-outline:hover { border-color: var(--t5-brand); color: var(--t5-brand); }
.t5-btn-accent { background: var(--t5-soft); color: var(--t5-brand-dark); border-color: var(--t5-brand); }
.t5-btn-accent:hover { background: var(--t5-brand); color: #fff; }
.t5-btn-commerce { background: var(--t5-brand); color: #fff; }
.t5-btn-commerce:hover { background: var(--t5-brand-dark); color: #fff; }
.t5-btn-outline-light { background: transparent; color: var(--t5-brand); border-color: var(--t5-brand); }
.t5-btn-outline-light:hover { background: var(--t5-soft); }
.t5-btn-muted { color: var(--t5-muted); border-color: var(--t5-line); }
.t5-btn-sm { padding: 6px 12px; font-size: 12px; }
.t5-btn-full { width: 100%; }
/* ── Notices & empty ── */
.t5-notice {
  padding: 12px 16px;
  border-radius: var(--t5-radius);
  margin-bottom: 16px;
  font-size: 13px;
}
.t5-notice-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.t5-notice-ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.t5-notice-warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.t5-state-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--t5-muted);
  background: var(--t5-card);
  border: 1px dashed var(--t5-line);
  border-radius: var(--t5-radius);
}
/* ── Footer ── */
.t5-footer {
  background: var(--t5-charcoal-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
  margin-top: 0;
}
.t5-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.t5-footer-grid h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.t5-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t5-footer-grid li { margin-bottom: 8px; font-size: 13px; }
.t5-footer-grid a { color: rgba(255, 255, 255, 0.7); }
.t5-footer-grid a:hover { color: var(--t5-brand); }
.t5-footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
}
.t5-footer-copy p { margin: 4px 0; }
.t5-footer-copy a { color: rgba(255, 255, 255, 0.6); }
/* ── Floating contact dock ── */
.t5-dock {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t5-dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--t5-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59, 168, 211, 0.4);
  font-size: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.t5-dock-btn:hover {
  background: var(--t5-brand-dark);
  color: #fff;
  transform: scale(1.05);
}
/* ── User dashboard layout ── */
.t5-dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0 40px;
  align-items: start;
}
.t5-dash-side {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--t5-charcoal);
  color: #fff;
}
.t5-dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--t5-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.t5-dash-user-text strong { display: block; font-size: 14px; }
.t5-dash-user-text span { font-size: 11px; opacity: 0.8; }
.t5-dash-nav-link {
  display: block;
  padding: 11px 16px;
  color: var(--t5-ink);
  font-size: 13px;
  border-left: 3px solid transparent;
}
.t5-dash-nav-link:hover,
.t5-dash-nav-link.is-on {
  background: var(--t5-soft);
  color: var(--t5-brand);
  border-left-color: var(--t5-brand);
}
.t5-dash-nav-label {
  margin: 12px 16px 4px;
  font-size: 11px;
  color: var(--t5-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.t5-dash-main { min-width: 0; }
/* ── Responsive ── */
@media (max-width: 1024px) {
  .t5-goods-grid,
  .t5-post-cards,
  .t5-shop-grid { grid-template-columns: repeat(3, 1fr); }
  .t5-prod-layout { grid-template-columns: 160px 1fr; }
  .t5-ad { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .t5-nav-toggle { display: flex; }
  .t5-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--t5-card);
    border-bottom: 1px solid var(--t5-line);
    justify-content: stretch;
    padding: 0 16px;
  }
  .t5-nav-inner {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 16px;
  }
  .t5-nav-inner.is-open { display: flex; }
  .t5-nav-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .t5-nav-link.is-on,
  .t5-nav-link:hover { border-left-color: var(--t5-brand); border-bottom-color: transparent; }
  .t5-nav-drop-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }
  .t5-header-row { flex-wrap: nowrap; }
  .t5-search-strip-inner { flex-direction: column; align-items: stretch; }
  .t5-search-form { max-width: none; }
  .t5-hero { height: 260px; }
  .t5-prod-layout { grid-template-columns: 1fr; }
  .t5-cat-sidebar { display: none; }
  .t5-goods-grid,
  .t5-post-cards,
  .t5-shop-grid,
  .t5-shop-logos { grid-template-columns: repeat(2, 1fr); }
  .t5-info-cols { grid-template-columns: 1fr; }
  .t5-housing-grid { grid-template-columns: 1fr; }
  .t5-housing-card { flex-direction: column; }
  .t5-housing-thumb { width: 100%; }
  .t5-dash { grid-template-columns: 1fr; }
  .t5-dock { bottom: 16px; right: 12px; }
}
@media (max-width: 480px) {
  .t5-goods-grid,
  .t5-post-cards,
  .t5-shop-grid { grid-template-columns: 1fr; }
  .t5-topbar-inner { font-size: 11px; }
}
