/* llcardpf — 专业蓝（通讯 / 号卡） */
:root {
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --brand-soft: #eff6ff;
  --accent: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(29, 78, 216, 0.10);
}

/* ---- Logo：禁止拉伸变形 ---- */
body.brand-llcardpf #logo,
body.brand-llcardpf #logo .logo-link {
  display: flex;
  align-items: center;
  min-height: 56px;
}
body.brand-llcardpf #logo .logo-img,
body.brand-llcardpf #logo img {
  display: block;
  width: auto !important;
  max-width: min(240px, 100%) !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: left center;
}
body.brand-llcardpf .site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
body.brand-llcardpf .site-header .header-row {
  display: flex;
  align-items: center;
}
body.brand-llcardpf .site-header .header-row > [class*="col-"] {
  display: flex;
  align-items: center;
  min-height: 56px;
}

/* 轮播图也不要被压扁 */
body.brand-llcardpf .swiper-viewport img,
body.brand-llcardpf .swiper-slide img {
  width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  margin: 0 auto;
}

body.brand-llcardpf {
  color: var(--ink);
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.7;
}

body.brand-llcardpf a { color: var(--brand); }
body.brand-llcardpf a:hover { color: var(--brand-dark); }

body.brand-llcardpf #top {
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 0;
}
body.brand-llcardpf #top a,
body.brand-llcardpf #top-links a { color: #e2e8f0; }

body.brand-llcardpf #menu,
body.brand-llcardpf .navbar {
  background: #fff !important;
  border-color: var(--line) !important;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
body.brand-llcardpf #menu .nav > li > a {
  color: var(--ink) !important;
  font-weight: 600;
}
body.brand-llcardpf #menu .nav > li > a:hover {
  color: var(--brand) !important;
  background: var(--brand-soft) !important;
}

body.brand-llcardpf .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
}
body.brand-llcardpf .btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
body.brand-llcardpf .btn-default {
  border-radius: 10px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

body.brand-llcardpf .product-thumb {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  margin-bottom: 22px;
}
body.brand-llcardpf .product-thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
body.brand-llcardpf .product-thumb .image img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  background: #f8fafc;
}
body.brand-llcardpf .product-thumb .caption {
  padding: 12px 14px 16px;
}
body.brand-llcardpf .product-thumb h4 {
  font-size: 14px;
  font-weight: 700;
  min-height: 40px;
  line-height: 1.4;
}
body.brand-llcardpf .product-thumb .price {
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
}
body.brand-llcardpf .widget-title {
  font-size: 22px;
  font-weight: 800;
  border: 0;
  margin: 28px 0 18px;
  position: relative;
  padding-left: 14px;
}
body.brand-llcardpf .widget-title:before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand);
}

body.brand-llcardpf .seo-hero {
  margin: 8px 0 28px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #2563eb 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 28px 26px;
  box-shadow: var(--shadow);
}
body.brand-llcardpf .seo-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
body.brand-llcardpf .seo-hero h1 {
  color: #fff;
  font-size: 26px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 800;
}
body.brand-llcardpf .seo-lead {
  color: rgba(255,255,255,.92);
  font-size: 15px;
  max-width: 920px;
  margin-bottom: 18px;
}
body.brand-llcardpf .seo-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
body.brand-llcardpf .seo-hero .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1300;
}
body.brand-llcardpf .seo-hero .btn-default {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

body.brand-llcardpf .seo-grid,
body.brand-llcardpf .seo-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .03);
}
body.brand-llcardpf .seo-grid h2,
body.brand-llcardpf .seo-section h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
body.brand-llcardpf .seo-card {
  background: var(--brand-soft);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  min-height: 150px;
}
body.brand-llcardpf .seo-card h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark);
}
body.brand-llcardpf .seo-list,
body.brand-llcardpf .seo-steps {
  padding-left: 20px;
  color: var(--muted);
}
body.brand-llcardpf .seo-list li,
body.brand-llcardpf .seo-steps li { margin-bottom: 10px; }
body.brand-llcardpf .seo-note {
  background: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 10px 14px;
  color: #92400e;
  border-radius: 0 8px 8px 0;
}
body.brand-llcardpf .seo-faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fbfdff;
}
body.brand-llcardpf .seo-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
  outline: none;
}
body.brand-llcardpf .seo-faq details[open] summary { margin-bottom: 8px; }
body.brand-llcardpf .seo-faq p { margin: 0; color: var(--muted); }

body.brand-llcardpf .site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 40px;
  padding-top: 36px;
}
body.brand-llcardpf .site-footer a {
  color: #cbd5e1;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.brand-llcardpf .site-footer a:hover {
  color: #fff;
}
body.brand-llcardpf .site-footer h5 {
  color: #fff;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: none;
  border: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.02em;
  position: static !important;
  background: none !important;
}
/* 干掉主题自带的 h5 底部横线 footer h5:before */
body.brand-llcardpf .site-footer h5:before,
body.brand-llcardpf .site-footer h5:after,
body.brand-llcardpf footer h5:before,
body.brand-llcardpf footer h5:after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}
body.brand-llcardpf .footer-about p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
}
body.brand-llcardpf .footer-domain {
  color: #64748b !important;
  font-size: 12px !important;
  margin-bottom: 0 !important;
}
body.brand-llcardpf .footer-links,
body.brand-llcardpf .footer-tips {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.brand-llcardpf .footer-links li,
body.brand-llcardpf .footer-tips li {
  margin: 0 0 8px;
  padding: 0;
  border: 0 !important;
  line-height: 1.5;
}
body.brand-llcardpf .footer-links a {
  display: inline-block;
  padding: 2px 0;
  color: #94a3b8 !important;
  font-size: 13px;
}
body.brand-llcardpf .footer-links a:hover {
  color: #fff !important;
}
body.brand-llcardpf .footer-tips li {
  position: relative;
  padding-left: 14px;
  color: #94a3b8;
  font-size: 13px;
}
body.brand-llcardpf .footer-tips li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
}
body.brand-llcardpf .footer-bottom {
  background: #020617;
  color: #64748b;
  margin: 28px 0 0;
  padding: 14px 16px;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid rgba(148,163,184,.12);
}
body.brand-llcardpf .footer-bottom p {
  margin: 0;
  color: #64748b;
}

/* 隐藏主题自带悬浮快捷栏 */
body.brand-llcardpf .fixed-shortcut-wrapper {
  display: none !important;
}
body.brand-llcardpf .header-m-toolbar {
  display: none;
}

@media (max-width: 991px) {
  body.brand-llcardpf {
    padding-bottom: 0;
  }

  /* 隐藏顶部杂项栏，头部更干净 */
  body.brand-llcardpf #top {
    display: none !important;
  }

  /* 单行头部：Logo + 工具按钮 */
  body.brand-llcardpf .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15,23,42,.04);
  }
  body.brand-llcardpf .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.brand-llcardpf .site-header .header-row {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    min-height: 56px;
  }
  body.brand-llcardpf .site-header .header-row > [class*="col-"] {
    min-height: 0;
    padding: 0;
    float: none !important;
  }
  body.brand-llcardpf .header-logo-col {
    flex: 1 1 auto;
    width: auto !important;
    max-width: calc(100% - 180px);
    min-width: 0;
  }
  body.brand-llcardpf #logo,
  body.brand-llcardpf #logo .logo-link {
    min-height: 0;
    justify-content: flex-start;
  }
  body.brand-llcardpf #logo .logo-img,
  body.brand-llcardpf #logo img {
    max-height: 36px !important;
    max-width: min(150px, 46vw) !important;
  }

  body.brand-llcardpf .header-m-toolbar {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 0 0 auto;
  }
  body.brand-llcardpf .m-tool-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-size: 16px;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  body.brand-llcardpf .m-tool-btn:active,
  body.brand-llcardpf .m-tool-btn:focus {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.brand-llcardpf .m-tool-btn.mobile-nav-icon {
    background: var(--brand) !important;
    color: #fff !important;
  }
  body.brand-llcardpf .m-tool-btn.mobile-nav-icon:active {
    background: var(--brand-dark) !important;
  }

  /* 去掉第二行搜索/菜单条 */
  body.brand-llcardpf #menu,
  body.brand-llcardpf .navbar {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.brand-llcardpf #menu .container {
    padding: 0 !important;
    width: 100% !important;
  }
  body.brand-llcardpf #menu .navbar-header {
    display: none !important;
  }

  /* 侧栏内搜索仍可用 */
  body.brand-llcardpf #menu .side-menu .side-inner {
    padding: 14px 12px;
  }
  body.brand-llcardpf #menu .side-menu #search {
    display: flex;
    margin-bottom: 12px;
  }
  body.brand-llcardpf #menu .side-menu #search .form-control {
    height: 42px;
    border-radius: 10px 0 0 10px;
    font-size: 15px;
  }
  body.brand-llcardpf #menu .side-menu #search .btn {
    height: 42px;
    border-radius: 0 10px 10px 0;
    min-width: 48px;
  }
  body.brand-llcardpf #menu .nav > li > a {
    padding: 12px 10px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    min-height: 44px;
  }

  /* 页脚手机排版 */
  body.brand-llcardpf .site-footer {
    margin-top: 28px !important;
    padding-top: 24px !important;
  }
  body.brand-llcardpf .site-footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  body.brand-llcardpf .footer-main {
    margin: 0 -8px;
  }
  body.brand-llcardpf .footer-col {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 22px;
  }
  body.brand-llcardpf .footer-about {
    margin-bottom: 8px;
  }
  body.brand-llcardpf .site-footer h5 {
    margin-bottom: 10px !important;
    font-size: 13px;
  }
  body.brand-llcardpf .footer-links a,
  body.brand-llcardpf .footer-tips li {
    font-size: 12px;
  }
  body.brand-llcardpf .footer-bottom {
    margin-top: 4px !important;
    padding: 14px 12px !important;
  }
  body.brand-llcardpf #common-home.container,
  body.brand-llcardpf .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.brand-llcardpf .seo-hero {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin: 6px 0 16px !important;
  }
  body.brand-llcardpf .seo-hero h1 {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  body.brand-llcardpf .seo-lead {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }
  body.brand-llcardpf .seo-cta-row {
    flex-direction: column;
    gap: 8px !important;
  }
  body.brand-llcardpf .seo-cta-row .btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 14px;
  }
  body.brand-llcardpf .seo-grid,
  body.brand-llcardpf .seo-section {
    padding: 14px 12px 6px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  body.brand-llcardpf .seo-grid h2,
  body.brand-llcardpf .seo-section h2 {
    font-size: 17px !important;
  }
  body.brand-llcardpf .seo-card {
    min-height: 0 !important;
    margin-bottom: 10px !important;
    padding: 12px !important;
  }
  body.brand-llcardpf .seo-card h3 {
    font-size: 15px !important;
  }
  body.brand-llcardpf .seo-faq details {
    padding: 10px 12px;
  }
  body.brand-llcardpf .seo-faq summary {
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  /* 商品双列 */
  body.brand-llcardpf .widget-title {
    font-size: 18px !important;
    margin: 18px 0 12px !important;
  }
  body.brand-llcardpf .product-layout {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  body.brand-llcardpf .product-thumb {
    margin-bottom: 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 6px rgba(15,23,42,.06) !important;
  }
  body.brand-llcardpf .product-thumb:hover {
    transform: none;
  }
  body.brand-llcardpf .product-thumb .caption {
    padding: 8px 8px 10px !important;
  }
  body.brand-llcardpf .product-thumb h4 {
    font-size: 12px !important;
    min-height: 34px !important;
    margin: 0 0 4px !important;
    line-height: 1.35 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  body.brand-llcardpf .product-thumb .price {
    font-size: 14px !important;
  }
  body.brand-llcardpf .product-thumb .button-group,
  body.brand-llcardpf .product-thumb .product-description {
    display: none !important;
  }
  body.brand-llcardpf .product-thumb .image a {
    display: block;
  }
  body.brand-llcardpf .product-thumb .image img {
    max-height: 140px;
    margin: 0 auto;
    object-fit: contain;
  }

  /* 轮播 */
  body.brand-llcardpf .swiper-viewport {
    margin-bottom: 12px !important;
    border-radius: 12px;
    overflow: hidden;
  }
  body.brand-llcardpf .swiper-viewport img,
  body.brand-llcardpf .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* 商品详情 */
  body.brand-llcardpf #product-product h1 {
    font-size: 18px;
    line-height: 1.4;
  }
  body.brand-llcardpf #product-product .product-price-wrapper h2,
  body.brand-llcardpf #product-product .price-new {
    font-size: 22px;
  }
  body.brand-llcardpf #product-product .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
  body.brand-llcardpf .breadcrumb {
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  body.brand-llcardpf .product-layout.col-xs-6 {
    width: 50%;
  }
  body.brand-llcardpf .seo-hero h1 {
    font-size: 16px !important;
  }
  body.brand-llcardpf #logo .logo-img,
  body.brand-llcardpf #logo img {
    max-height: 36px !important;
    max-width: min(140px, 48vw) !important;
  }
}