/* ==========================================================
 * wysbjy 商标转让销售官网 - 公共样式 (common.css)
 * 原创标识: wysbjy / wysb
 * 主色: #165DFF (商务深蓝)  辅色: #F53F3F
 * 依赖降级: 即使 Tailwind/CDN 不可用, 核心布局与样式仍可正常显示
 * ========================================================== */

:root {
  --wysb-primary: #165DFF;
  --wysb-primary-dark: #0E4ACC;
  --wysb-primary-light: #E8F0FF;
  --wysb-danger: #F53F3F;
  --wysb-text: #1F2329;
  --wysb-text-sub: #646A73;
  --wysb-text-light: #8F959E;
  --wysb-border: #E5E6EB;
  --wysb-border-hover: #165DFF;
  --wysb-bg: #F7F8FA;
  --wysb-white: #FFFFFF;
  --wysb-radius: 4px;
  --wysb-shadow: 0 4px 16px rgba(22, 93, 255, 0.08);
  --wysb-shadow-hover: 0 8px 24px rgba(22, 93, 255, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--wysb-text);
  background: var(--wysb-bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wysb-primary); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ wysb 通用容器 ============ */
.wysb-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .wysb-container { padding: 0 12px; }
}

/* ============ wysb 全站导航 ============ */
.wysb-header {
  background: var(--wysb-white);
  border-bottom: 1px solid var(--wysb-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.wysb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wysb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--wysb-text);
}
.wysb-logo-mark {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--wysb-primary), #4080FF);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.5px;
}
.wysb-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.wysb-menu li a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--wysb-text-sub);
  font-size: 14px;
  font-weight: 500;
}
.wysb-menu li a:hover,
.wysb-menu li a.wysb-active {
  color: var(--wysb-primary);
  background: var(--wysb-primary-light);
}
.wysb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wysb-phone {
  font-weight: 600;
  color: var(--wysb-primary);
  font-size: 15px;
}
.wysb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}
.wysb-btn-primary {
  background: var(--wysb-primary);
  color: #fff;
}
.wysb-btn-primary:hover {
  background: var(--wysb-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}
.wysb-btn-outline {
  background: #fff;
  color: var(--wysb-primary);
  border-color: var(--wysb-primary);
}
.wysb-btn-outline:hover {
  background: var(--wysb-primary-light);
  color: var(--wysb-primary-dark);
}
.wysb-btn-danger {
  background: var(--wysb-danger);
  color: #fff;
}
.wysb-btn-danger:hover {
  background: #D92B2B;
  color: #fff;
}
.wysb-btn-lg { padding: 12px 28px; font-size: 16px; }
.wysb-btn-block { width: 100%; }

/* 移动端汉堡按钮 */
.wysb-burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 4px;
  border: 1px solid var(--wysb-border);
  background: #fff;
}
.wysb-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--wysb-text);
  border-radius: 2px;
  transition: all .3s ease;
}
.wysb-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wysb-burger.active span:nth-child(2) { opacity: 0; }
.wysb-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .wysb-menu, .wysb-header-actions .wysb-phone { display: none; }
  .wysb-burger { display: flex; }
  .wysb-menu.wysb-mobile-show {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--wysb-border);
    padding: 12px 20px;
    gap: 4px;
    box-shadow: var(--wysb-shadow);
  }
  .wysb-menu.wysb-mobile-show li a { display: block; padding: 12px 14px; }
}

/* ============ wysb 页脚 ============ */
.wysb-footer {
  background: #1D2129;
  color: #C9CDD4;
  margin-top: 60px;
}
.wysb-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 36px;
}
.wysb-footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 16px;
  font-weight: 600;
}
.wysb-footer ul { list-style: none; padding: 0; margin: 0; }
.wysb-footer ul li { padding: 6px 0; font-size: 13px; color: #8F959E; }
.wysb-footer ul li a:hover { color: #fff; }
.wysb-footer-brand .wysb-logo { color: #fff; margin-bottom: 16px; }
.wysb-footer-brand p { color: #8F959E; font-size: 13px; margin: 6px 0; line-height: 1.8; }
.wysb-footer-contact .wysb-big-phone {
  color: var(--wysb-primary);
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 10px;
}
.wysb-footer-contact .wysb-time { font-size: 13px; color: #8F959E; }
.wysb-footer-bottom {
  border-top: 1px solid #2E323A;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #6E7278;
}
@media (max-width: 900px) {
  .wysb-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0 24px; }
}
@media (max-width: 520px) {
  .wysb-footer-top { grid-template-columns: 1fr; }
}

/* ============ wysb 通用标题与区块 ============ */
.wysb-section {
  padding: 48px 0;
}
.wysb-section-title {
  text-align: center;
  margin-bottom: 36px;
}
.wysb-section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--wysb-text);
  margin: 0 0 8px;
}
.wysb-section-title p {
  color: var(--wysb-text-sub);
  font-size: 14px;
  margin: 0;
}

/* ============ wysb 商标卡片 (核心组件) ============ */
.wysb-tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .wysb-tm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .wysb-tm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.wysb-tm-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: var(--wysb-radius);
  padding: 24px 16px 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
  cursor: pointer;
  overflow: hidden;
}
.wysb-tm-card:hover {
  transform: translateY(-3px);
  border-color: var(--wysb-primary);
  box-shadow: var(--wysb-shadow-hover);
}
.wysb-tm-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 4px 18px;
  min-height: 120px;
}
/* 4种商标名称形态 */
.wysb-tm-name-mix .wysb-tm-en {
  font-size: 12px;
  color: var(--wysb-text-sub);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.wysb-tm-name-mix .wysb-tm-cn {
  font-size: 26px;
  font-weight: 700;
  color: var(--wysb-text);
  line-height: 1.2;
}
.wysb-tm-name-cn-double .wysb-tm-main {
  font-size: 28px;
  font-weight: 700;
  color: var(--wysb-text);
  line-height: 1.2;
}
.wysb-tm-name-cn-double .wysb-tm-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--wysb-text-sub);
  font-weight: 400;
  letter-spacing: 1px;
}
.wysb-tm-name-en-only .wysb-tm-en {
  font-size: 26px;
  font-weight: 700;
  color: var(--wysb-text);
  line-height: 1.2;
  letter-spacing: 1px;
}
.wysb-tm-name-figure .wysb-tm-placeholder {
  width: 96px; height: 96px;
  margin: 0 auto;
  border: 2px dashed var(--wysb-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--wysb-text-light);
  background: var(--wysb-bg);
  /* 图形标图片替换位 */
  /* background-image: url('../images/wysb_logo_001.png'); background-size: cover; border: none; */
}

.wysb-tm-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed #F1F2F4;
}
.wysb-tm-category {
  font-size: 12px;
  color: var(--wysb-text-light);
}
.wysb-tm-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--wysb-primary);
  white-space: nowrap;
  margin-left: 8px;
}
.wysb-tm-price::before { content: '¥'; font-size: 12px; margin-right: 1px; font-weight: 500; }

/* ============ wysb 筛选栏 ============ */
.wysb-filter {
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: var(--wysb-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.wysb-filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #F1F2F4;
}
.wysb-filter-row:last-child { border-bottom: none; }
.wysb-filter-label {
  width: 84px;
  flex-shrink: 0;
  padding-top: 6px;
  color: var(--wysb-text-sub);
  font-weight: 500;
  font-size: 13px;
}
.wysb-filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wysb-filter-tag {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: var(--wysb-text-sub);
  background: #F7F8FA;
  cursor: pointer;
  transition: all .2s;
}
.wysb-filter-tag:hover {
  color: var(--wysb-primary);
  background: var(--wysb-primary-light);
}
.wysb-filter-tag.active {
  background: var(--wysb-primary);
  color: #fff;
  border-color: var(--wysb-primary);
}
.wysb-filter-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  gap: 10px;
}
@media (max-width: 640px) {
  .wysb-filter-row { flex-direction: column; }
  .wysb-filter-label { padding-top: 0; margin-bottom: 8px; }
}

/* wysb 自定义下拉 */
.wysb-select {
  position: relative;
  display: inline-block;
  min-width: 220px;
}
.wysb-select-head {
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--wysb-border);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: var(--wysb-text);
  cursor: pointer;
  position: relative;
}
.wysb-select-head::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  width: 6px; height: 6px;
  border-right: 2px solid var(--wysb-text-sub);
  border-bottom: 2px solid var(--wysb-text-sub);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.wysb-select.open .wysb-select-head::after {
  transform: translateY(-30%) rotate(-135deg);
}
.wysb-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: 4px;
  box-shadow: var(--wysb-shadow);
  z-index: 50;
  display: none;
}
.wysb-select.open .wysb-select-list { display: block; }
.wysb-select-list .wysb-opt {
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
}
.wysb-select-list .wysb-opt:hover { background: var(--wysb-primary-light); color: var(--wysb-primary); }
.wysb-select-list .wysb-opt.active { background: var(--wysb-primary); color: #fff; }

/* ============ wysb 分页 ============ */
.wysb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
}
.wysb-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid var(--wysb-border);
  background: #fff;
  color: var(--wysb-text-sub);
  font-size: 13px;
  transition: all .2s;
}
.wysb-page-btn:hover:not(:disabled) {
  border-color: var(--wysb-primary);
  color: var(--wysb-primary);
}
.wysb-page-btn.active {
  background: var(--wysb-primary);
  color: #fff;
  border-color: var(--wysb-primary);
}
.wysb-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wysb-page-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--wysb-text-sub);
  font-size: 13px;
}
.wysb-page-jump input {
  width: 52px;
  height: 36px;
  border: 1px solid var(--wysb-border);
  border-radius: 4px;
  text-align: center;
  outline: none;
  font-size: 13px;
}
.wysb-page-jump input:focus { border-color: var(--wysb-primary); }

/* ============ wysb 面包屑 ============ */
.wysb-breadcrumb {
  padding: 18px 0;
  font-size: 13px;
  color: var(--wysb-text-sub);
}
.wysb-breadcrumb a { color: var(--wysb-text-sub); }
.wysb-breadcrumb a:hover { color: var(--wysb-primary); }
.wysb-breadcrumb span.sep { margin: 0 6px; color: var(--wysb-text-light); }

/* ============ wysb 页面标题栏 (子页面顶部) ============ */
.wysb-page-hero {
  background: linear-gradient(120deg, #165DFF 0%, #4080FF 100%);
  color: #fff;
  padding: 40px 0 56px;
  margin-bottom: 32px;
}
.wysb-page-hero h1 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 700;
}
.wysb-page-hero p {
  margin: 0;
  opacity: 0.85;
  font-size: 14px;
}
@media (max-width: 640px) {
  .wysb-page-hero { padding: 28px 0 40px; }
  .wysb-page-hero h1 { font-size: 22px; }
}

/* ============ wysb 徽章 / HOT / NEW ============ */
.wysb-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: middle;
}
.wysb-badge-hot { background: var(--wysb-danger); color: #fff; }
.wysb-badge-new { background: #00B42A; color: #fff; }
.wysb-badge-primary { background: var(--wysb-primary); color: #fff; }

/* ============ wysb 手风琴 (FAQ) ============ */
.wysb-accordion {
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: var(--wysb-radius);
  overflow: hidden;
}
.wysb-accordion-item + .wysb-accordion-item { border-top: 1px solid var(--wysb-border); }
.wysb-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--wysb-text);
  transition: background .2s;
  user-select: none;
}
.wysb-accordion-head:hover { background: #FAFBFC; }
.wysb-accordion-head .wysb-icon {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
  color: var(--wysb-text-light);
  font-size: 18px;
  line-height: 1;
}
.wysb-accordion-item.open .wysb-accordion-head .wysb-icon { transform: rotate(45deg); color: var(--wysb-primary); }
.wysb-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.wysb-accordion-item.open .wysb-accordion-body { max-height: 600px; }
.wysb-accordion-body .wysb-accordion-inner {
  padding: 0 24px 20px;
  color: var(--wysb-text-sub);
  font-size: 14px;
  line-height: 1.8;
}
.wysb-accordion-body .wysb-accordion-inner p { margin: 0 0 8px; }

/* ============ wysb 时间轴 (流程) ============ */
.wysb-timeline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
  padding: 24px 0 8px;
}
.wysb-timeline::before {
  content: '';
  position: absolute;
  left: 20px; right: 20px;
  top: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--wysb-primary), #8FB8FF);
  z-index: 0;
  border-radius: 2px;
}
.wysb-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.wysb-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--wysb-primary);
  color: var(--wysb-primary);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 4px #fff;
}
.wysb-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wysb-text);
  margin-bottom: 6px;
}
.wysb-step-desc {
  font-size: 12px;
  color: var(--wysb-text-sub);
  padding: 0 4px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .wysb-timeline { flex-wrap: wrap; }
  .wysb-timeline::before { display: none; }
  .wysb-step { flex: 0 0 50%; margin-bottom: 20px; }
}
@media (max-width: 520px) {
  .wysb-step { flex: 0 0 100%; }
}

/* ============ wysb 表单 / 输入框 ============ */
.wysb-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--wysb-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.wysb-input:focus {
  border-color: var(--wysb-primary);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}
textarea.wysb-input { resize: vertical; min-height: 120px; }

/* ============ wysb 卡片面板 ============ */
.wysb-panel {
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: var(--wysb-radius);
  padding: 24px;
}

/* ============ 通用工具类 (补充 Tailwind 失效时的降级) ============ */
.wysb-text-primary { color: var(--wysb-primary); }
.wysb-text-danger { color: var(--wysb-danger); }
.wysb-text-center { text-align: center; }
.wysb-mt-2 { margin-top: 8px; }
.wysb-mt-4 { margin-top: 16px; }
.wysb-mt-6 { margin-top: 24px; }
.wysb-mb-2 { margin-bottom: 8px; }
.wysb-mb-4 { margin-bottom: 16px; }
.wysb-mb-6 { margin-bottom: 24px; }
.wysb-flex { display: flex; }
.wysb-flex-wrap { flex-wrap: wrap; }
.wysb-gap-2 { gap: 8px; }
.wysb-gap-3 { gap: 12px; }
.wysb-items-center { align-items: center; }
.wysb-justify-between { justify-content: space-between; }
.wysb-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .wysb-grid-2 { grid-template-columns: 1fr; } }
/* process/contact 页用:4列信息卡片,响应式 */
.wysb-4col-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:1024px){ .wysb-4col-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){  .wysb-4col-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){  .wysb-4col-grid{ grid-template-columns:1fr; } }
/* 5列分类快捷入口,响应式 */
.wysb-5col-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
@media (max-width:900px){  .wysb-5col-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){  .wysb-5col-grid{ grid-template-columns:repeat(2,1fr); } }
