/* ==========================================================================
   xc-chrome.css — 页头 / 页脚 / Hero
   目的：把原来遍布全站的黑色底区块换成品牌浅色体系
         （--xc-paper #F4F8FA / --xc-primary-050 #F1F8FC / --xc-ink #102C40）
   本文件必须晚于 pages.css 加载（enqueue 时作为 pages.css 的依赖）。
   ========================================================================== */

/* ==========================================================================
   1. 顶部促销条 —— 由深色改成品牌浅底，强制单行不换行
   ========================================================================== */
.xc-topbar{
  background:var(--xc-primary-050);
  border-bottom:1px solid var(--xc-primary-100);
  font-size:13px;
  color:var(--xc-text-2);
}
.xc-topbar .container{ max-width:1620px; }
.xc-topbar__inner{
  display:flex;
  align-items:center;
  gap:18px;
  height:46px;
  flex-wrap:nowrap;          /* 关键：永不换行 */
  min-width:0;
}
.xc-topbar__item{
  display:inline-flex; align-items:center; gap:7px;
  color:var(--xc-ink); text-decoration:none;
  font-weight:600; white-space:nowrap;
  flex:0 0 auto;
}
.xc-topbar__item i{ font-size:15px; color:var(--xc-brand); }
.xc-topbar__item:hover{ color:var(--xc-brand); }

.xc-topbar__promo{
  display:inline-flex; align-items:center; gap:10px;
  margin:0 auto;             /* 居中 */
  min-width:0;
  font-weight:500; color:var(--xc-text-2);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.xc-topbar__tag{
  flex:0 0 auto;
  display:inline-block; padding:3px 9px; border-radius:var(--xc-r-pill);
  background:var(--xc-brand); color:#fff;
  font-size:10px; font-weight:700; letter-spacing:.08em; line-height:1.4;
  text-transform:uppercase;
}
.xc-topbar__end{
  display:flex; align-items:center; gap:14px; flex:0 0 auto;
}
.xc-topbar__cta{
  display:inline-flex; align-items:center; height:30px;
  padding:0 16px; border-radius:var(--xc-r-pill);
  background:#fff; color:var(--xc-brand);
  border:1px solid var(--xc-primary-200);
  font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap;
  transition:background-color .2s, color .2s, border-color .2s;
}
.xc-topbar__cta:hover{ background:var(--xc-brand); color:#fff; border-color:var(--xc-brand); }

/* ==========================================================================
   2. 主头部 —— Logo / 搜索 / 功能图标 全部在一行
   ========================================================================== */
.xc-header{
  background:#fff;
  border-bottom:1px solid var(--xc-border);
}
.xc-header .container{ max-width:1620px; }
.xc-header__inner{
  display:flex;
  align-items:center;
  gap:24px;
  min-height:84px;
  flex-wrap:nowrap;          /* 关键：永不换行 */
}
.xc-header__brand{ flex:0 0 auto; display:flex; align-items:center; }
.xc-header__tools{
  flex:1 1 auto; min-width:0;
  display:flex; align-items:center; justify-content:flex-end;
  gap:12px; flex-wrap:nowrap;   /* 关键：永不换行 */
}
.xc-header__tools .xc-header-search{
  flex:1 1 300px; max-width:400px; min-width:180px;
}

/* 功能图标组：Wishlist → Track Order → My Account */
.xc-utils{
  display:flex; align-items:center; gap:4px;
  flex:0 0 auto; flex-wrap:nowrap;
}
.xc-util{
  display:inline-flex; align-items:center; gap:7px;
  height:42px; padding:0 12px; border-radius:var(--xc-r-md);
  color:var(--xc-text-1); text-decoration:none;
  font-size:13px; font-weight:600; line-height:1;
  white-space:nowrap; flex:0 0 auto;
  transition:background-color .2s, color .2s;
}
.xc-util i{ font-size:19px; line-height:1; color:var(--xc-ink); transition:color .2s; }
.xc-util:hover{ background:var(--xc-primary-050); color:var(--xc-brand); }
.xc-util:hover i{ color:var(--xc-brand); }
.xc-util:focus-visible{ outline:2px solid var(--xc-primary-500); outline-offset:2px; }

/* 购物车贴最右 */
.xc-header__tools .xc-header-cart{ flex:0 0 auto; }

/* ---- 响应式：仍然保持一行，靠收缩/隐藏文字来适配 ---- */
@media (max-width:1399px){
  .xc-header__inner{ gap:16px; min-height:78px; }
  .xc-header__tools .xc-header-search{ max-width:340px; flex-basis:240px; }
}
@media (max-width:1199px){
  .xc-util span{ display:none; }       /* 只剩图标，仍是一行 */
  .xc-util{ padding:0 9px; }
  .xc-header__tools{ gap:8px; }
}
@media (max-width:991px){
  .xc-topbar__item--help,
  .xc-topbar__item--support{ display:none; }  /* 促销条只留核心信息 */
  .xc-topbar__promo{ margin:0 auto; }
  .xc-header__inner{ min-height:68px; gap:12px; }
  .xc-header__tools .xc-header-search{ display:none; } /* 移动端搜索交给悬浮条 */
}
@media (max-width:575px){
  .xc-topbar__end{ display:none; }
  .xc-topbar__inner{ justify-content:center; height:40px; }
  .xc-topbar__promo{ font-size:12px; margin:0; }
  .xc-header__inner{ min-height:66px; }
}

/* ==========================================================================
   3. Hero —— 深黑底改为品牌浅色渐变
   覆盖 pages.css 中带 !important 的深色定义
   ========================================================================== */
.xc-hero{
  background:var(--xc-grad-hero) !important;
  background-image:
    radial-gradient(110% 130% at 82% 8%, rgba(8,121,184,.14) 0%, rgba(248,251,253,0) 62%),
    radial-gradient(85% 110% at 6% 96%, rgba(38,189,210,.16) 0%, rgba(234,244,250,0) 66%),
    linear-gradient(180deg,#F8FBFD 0%,#EAF4FA 100%) !important;
  border-bottom:1px solid var(--xc-primary-100);
}
/* 原来的深色底图在浅底上会脏，直接隐藏 */
.xc-hero__bg{ display:none !important; }
/* 去掉压暗遮罩 */
.xc-hero::after{ background:none !important; }
/* 网格线改成极淡的品牌色 */
.xc-hero::before{
  background-image:
    linear-gradient(rgba(8,121,184,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,121,184,.06) 1px, transparent 1px) !important;
}

.xc-hero__eyebrow{
  color:var(--xc-brand) !important;
  background:#fff;
  border:1px solid var(--xc-primary-200) !important;
  box-shadow:0 1px 2px rgba(16,44,64,.04);
}
.xc-hero__title{ color:var(--xc-ink) !important; }
.xc-hero__sub{
  background:linear-gradient(92deg,#0879B8 0%,#26BDD2 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}
.xc-hero__desc{ color:var(--xc-text-2) !important; }
.xc-hero__stats{ border-top:1px solid var(--xc-border) !important; }
.xc-hero__stats strong{ color:var(--xc-ink) !important; }
.xc-hero__stats span{ color:var(--xc-slate) !important; }

.xc-hero__chip{
  background:#fff;
  border:1px solid var(--xc-border);
  box-shadow:0 18px 40px -20px rgba(16,44,64,.28), 0 2px 6px rgba(16,44,64,.05);
}
.xc-hero__chip:hover{
  box-shadow:0 24px 48px -20px rgba(8,121,184,.34), 0 2px 8px rgba(16,44,64,.06);
  border-color:var(--xc-primary-200);
}

/* ==========================================================================
   4. 页脚 —— 深底 → 浅底，四栏栅格
   ========================================================================== */
.xc-footer{
  background:var(--xc-paper);
  border-top:1px solid var(--xc-border);
  color:var(--xc-text-2);
  font-size:14px;
}
.xc-footer .container{ max-width:1620px; }
.xc-footer__grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1.7fr;
  gap:48px;
  padding:64px 0 48px;
}
.xc-footer__brand .xc-header-logo{ padding:0; margin-bottom:18px; }
.xc-footer__brand .xc-header-logo__img{ height:38px; }
.xc-footer__about{
  margin:0 0 18px;
  line-height:1.7;
  color:var(--xc-slate);
  max-width:34ch;
}
.xc-footer__contact{
  display:flex; flex-direction:column; gap:8px;
  margin:0; padding:0; list-style:none;
}
.xc-footer__contact a{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--xc-ink); text-decoration:none; font-weight:600; font-size:14px;
}
.xc-footer__contact a:hover{ color:var(--xc-brand); }
.xc-footer__contact i{ font-size:15px; color:var(--xc-brand); }

.xc-footer__title{
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--xc-ink);
  margin:0 0 18px;
  line-height:1.4;
}
.xc-footer__links{
  display:flex; flex-direction:column; gap:11px;
  margin:0; padding:0; list-style:none;
}
.xc-footer__links a{
  color:var(--xc-slate);
  text-decoration:none;
  font-size:14px;
  line-height:1.5;
  transition:color .2s;
}
.xc-footer__links a:hover{ color:var(--xc-brand); }

/* 订阅表单 */
.xc-news{ margin:0 0 12px; }
.xc-news__row{
  display:flex; gap:8px;
  background:#fff;
  border:1px solid var(--xc-border-strong);
  border-radius:var(--xc-r-pill);
  padding:4px;
  transition:border-color .2s, box-shadow .2s;
}
.xc-news__row:focus-within{
  border-color:var(--xc-primary-400);
  box-shadow:0 0 0 3px var(--xc-primary-100);
}
.xc-news input[type="email"]{
  flex:1 1 auto; min-width:0;
  height:42px; border:0; outline:none; background:transparent;
  padding:0 14px; font-size:14px; color:var(--xc-text-1);
}
.xc-news input[type="email"]::placeholder{ color:var(--xc-text-3); }
.xc-news button{
  flex:0 0 auto; height:42px; padding:0 22px;
  border:0; border-radius:var(--xc-r-pill); cursor:pointer;
  background:var(--xc-brand); color:#fff;
  font-family:inherit; font-size:13px; font-weight:700; letter-spacing:.01em;
  transition:background-color .2s;
}
.xc-news button:hover{ background:var(--xc-primary-700); }
.xc-news__note{
  margin:10px 0 0;
  font-size:12px; line-height:1.6; color:var(--xc-text-3);
}
.xc-news__note a{ color:var(--xc-slate); text-decoration:underline; text-underline-offset:2px; }
.xc-news__note a:hover{ color:var(--xc-brand); }
.xc-news__msg{
  margin:0 0 10px;
  padding:9px 14px;
  border-radius:var(--xc-r-sm);
  font-size:13px; font-weight:600;
}
.xc-news__msg--ok{ background:var(--xc-success-bg); color:var(--xc-success); }
.xc-news__msg--err{ background:var(--xc-error-bg); color:var(--xc-error); }

/* 支付方式徽标（纯文字，不依赖任何图片，避免挂图） */
.xc-pay{
  display:flex; flex-wrap:wrap; align-items:center; gap:7px;
  margin:22px 0 0; padding:0; list-style:none;
}
.xc-pay li{
  display:inline-flex; align-items:center;
  height:26px; padding:0 10px;
  border:1px solid var(--xc-border-strong);
  border-radius:var(--xc-r-xs);
  background:#fff;
  font-size:10.5px; font-weight:700; letter-spacing:.04em;
  color:var(--xc-slate);
  text-transform:uppercase;
}

/* 底部版权条 */
.xc-footer__bottom{
  border-top:1px solid var(--xc-border);
  padding:22px 0;
}
.xc-footer__bottom-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
  font-size:13px; color:var(--xc-slate);
}
.xc-footer__legal{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin:0; padding:0; list-style:none;
}
.xc-footer__legal a{ color:var(--xc-slate); text-decoration:none; }
.xc-footer__legal a:hover{ color:var(--xc-brand); }

@media (max-width:1199px){
  /* Balanced 2x2: brand | COMPANY on the first row, SUPPORT | newsletter on the second.
     The brand block no longer spans the full width, which used to leave a large
     empty area to its right once the contact list was removed. */
  .xc-footer__grid{ grid-template-columns:1fr 1fr; gap:40px 48px; padding:52px 0 40px; align-items:start; }
  .xc-footer__about{ max-width:none; }
}
@media (max-width:575px){
  .xc-footer__grid{ grid-template-columns:1fr; gap:32px; padding:40px 0 32px; }
  .xc-footer__bottom-inner{ flex-direction:column; align-items:flex-start; gap:12px; }
}

/* ==========================================================================
   5. 全局：兜住旧方案里残留的深色文字问题
   ========================================================================== */
/* Porto 的 .footer 深色方案（白字）在浅底页脚上会失效，这里归零 */
.site-footer .footer{ background:transparent; color:var(--xc-text-2); }

/* ==========================================================================
   6. Hero 悬浮商品卡：宽度失控修复
   pages.css 后段把 .xc-hero__chip 的 width 改成 auto，卡片宽度被超长商品标题
   撑到 400px+，直接盖住标题和按钮。这里锁定尺寸并把标题裁到 2 行。
   ========================================================================== */
.xc-hero__chip{
  width:132px !important;
  max-width:132px !important;
  height:auto !important;
  padding:8px 8px 7px !important;
  gap:6px !important;
  border-radius:var(--xc-r-md) !important;
  overflow:hidden;
}
.xc-hero__chip img{
  width:100% !important;
  height:auto !important;
  max-height:116px !important;
  aspect-ratio:1 / 1;
  object-fit:contain;
  border-radius:var(--xc-r-sm);
  background:#fff;
}
.xc-hero__chip-label{
  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  width:100%;
  font-size:10px !important;
  line-height:1.32 !important;
  font-weight:600 !important;
  color:var(--xc-text-2) !important;
  text-align:center;
  white-space:normal !important;
}
/* 卡片在浅色区里别再溢到文字栏上 */
.xc-hero__media{ overflow:visible; }
.xc-hero__chip--1{ top:0;    left:2% !important;  }
.xc-hero__chip--2{ top:24% !important; right:0 !important; }
.xc-hero__chip--3{ bottom:12% !important; left:8% !important; }
.xc-hero__chip--4{ bottom:0 !important; right:14% !important; }

@media (max-width:1199px){
  .xc-hero__chip{ width:114px !important; max-width:114px !important; }
  .xc-hero__chip img{ max-height:100px !important; }
}
@media (max-width:991px){
  .xc-hero__chip{ width:100px !important; max-width:100px !important; }
  .xc-hero__chip img{ max-height:86px !important; }
  .xc-hero__chip-label{ font-size:9px !important; -webkit-line-clamp:1; }
}

/* 浅色 hero 上的次级按钮：原来是为深色底写的半透明白，现在会看不见 */
.xc-hero .xc-btn--ghost-light,
.xc-hero .xc-btn--ghost-light:visited{
  background:#fff !important;
  color:var(--xc-ink) !important;
  border:1px solid var(--xc-border-strong) !important;
  backdrop-filter:none !important;
  box-shadow:0 1px 2px rgba(16,44,64,.05) !important;
}
.xc-hero .xc-btn--ghost-light:hover{
  background:var(--xc-primary-050) !important;
  color:var(--xc-brand) !important;
  border-color:var(--xc-primary-200) !important;
}

/* ==========================================================================
   7. 分类瓦片：Porto 图标字体缺 porto-icon-apple 等字形（只剩空蓝圆），
      改为不依赖图标的文字卡片
   ========================================================================== */
.xc-cat-tile__icon{ display:none !important; }
.xc-cat-tiles__list{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(148px,1fr));
  gap:14px;
  list-style:none;
  margin:0; padding:0;
}
.xc-cat-tile{ margin:0 !important; }
.xc-cat-tile a{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  height:100%;
  padding:18px 18px 18px 20px !important;
  background:#fff;
  border:1px solid var(--xc-border);
  border-radius:var(--xc-r-lg);
  text-decoration:none;
  transition:border-color .22s, box-shadow .22s, transform .22s;
}
.xc-cat-tile a::before{
  content:"";
  position:absolute;
  left:0; top:16px; bottom:16px;
  width:3px; border-radius:0 3px 3px 0;
  background:var(--xc-brand);
  opacity:0;
  transition:opacity .22s;
}
.xc-cat-tile a:hover{
  border-color:var(--xc-primary-200);
  box-shadow:0 10px 24px -14px rgba(8,121,184,.34);
  transform:translateY(-2px);
}
.xc-cat-tile a:hover::before{ opacity:1; }
.xc-cat-tile__name{
  font-size:14px !important;
  font-weight:700 !important;
  color:var(--xc-ink) !important;
  line-height:1.35;
  text-align:left !important;
}
.xc-cat-tile__count{
  font-size:12px !important;
  font-weight:500 !important;
  color:var(--xc-slate) !important;
  text-align:left !important;
}

/* ==========================================================================
   8. 内页顶部标题条（面包屑条）
   Porto 动态 CSS 里硬编码 .page-top{background-color:#171717}，
   是"全站到处一块黑"的第二个来源。改成品牌浅底。
   ========================================================================== */
.page-top{
  background-color:var(--xc-paper) !important;
  border-bottom:1px solid var(--xc-border) !important;
  box-shadow:none !important;
}
.page-top > .container{ padding-top:16px !important; padding-bottom:16px !important; }
.page-top .page-title{
  color:var(--xc-ink) !important;
  font-size:26px !important;
  font-weight:700 !important;
  letter-spacing:-.02em;
}
.page-top .breadcrumbs-wrap,
.page-top .yoast-breadcrumbs{ color:var(--xc-slate) !important; }
.page-top .breadcrumb li,
.page-top .breadcrumb li a,
.page-top .breadcrumbs-wrap a{ color:var(--xc-slate) !important; }
.page-top .breadcrumb li a:hover{ color:var(--xc-brand) !important; }
.page-top .breadcrumb li[aria-current],
.page-top .breadcrumb > li:last-child{ color:var(--xc-ink) !important; font-weight:600; }
.page-top .breadcrumb{ background:transparent !important; margin-bottom:0 !important; }
.page-top .delimiter,
.page-top .breadcrumb .delimiter{ color:var(--xc-primary-300) !important; }

/* 兜底：任何残留的深色 page-top 变体（page-header-8 等）统一走浅色 */
.page-top.page-header-1,
.page-top.page-header-2,
.page-top.page-header-3,
.page-top.page-header-4,
.page-top.page-header-5,
.page-top.page-header-6,
.page-top.page-header-7,
.page-top.page-header-8,
.page-top.page-header-9{
  background-color:var(--xc-paper) !important;
}

/* ==========================================================================
   9. 移动端横向溢出修复
   logo SVG 固有尺寸 409×87，40px 高时宽 188px；配合"不换行"的头部，
   logo + 三个图标 + 购物车 会把页面撑到 ~470px，390px 屏上整页横向溢出。
   ========================================================================== */
.xc-header__brand{ min-width:0; overflow:hidden; max-width:100%; }
.xc-header__brand .xc-header-logo{ min-width:0; max-width:100%; }
.xc-header__brand .xc-header-logo__img{ max-width:100%; }

@media (max-width:1199px){
  .xc-header__brand{ max-width:38vw; }
  .xc-header__brand .xc-header-logo__img{ height:36px; }
}
@media (max-width:991px){
  .xc-header__inner{ gap:8px; }
  .xc-header__brand{ max-width:42vw; }
  .xc-header__brand .xc-header-logo__img{ height:32px; }
  .xc-utils{ gap:0; }
  .xc-util{ padding:0 7px; }
  .xc-header__tools{ gap:6px; }
}
@media (max-width:575px){
  .xc-header__brand{ max-width:50vw; }
  .xc-header__brand .xc-header-logo__img{ height:28px; }
  .xc-util{ padding:0 5px; }
  .xc-util i{ font-size:18px; }
  .xc-header__tools .xc-header-cart{ width:38px; height:38px; font-size:18px; }
  /* 分类瓦片在窄屏固定两列，避免被 auto-fit 挤成 3 列溢出 */
  .xc-cat-tiles__list{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .xc-cat-tile a{ padding:14px 14px 14px 16px !important; }
  .xc-cat-tile__name{ font-size:13px !important; }
}
/* 促销条在窄屏允许省略号收缩 */
.xc-topbar__promo{ min-width:0; }
.xc-topbar__promo > span:last-child{ min-width:0; overflow:hidden; text-overflow:ellipsis; }


/* ==========================================================================
   10. 残留深色区块清理
   ========================================================================== */
/* 10.1 页脚外层 <footer> 自带 Porto 的 #0a1017 深底，浅色页脚只盖住内容区，
        任何 padding 外露都会漏出黑边 —— 直接透明。 */
.footer,
.footer-builder,
.site-footer .footer{
  background:transparent !important;
  border-top:0 !important;
}

/* 10.2 首页那条 192px 上下内边距的全宽深色段
        （Porto 动态 CSS 里 .vc_custom_1777967091113 硬写了 #202328 + 深色底图）
        改成品牌蓝渐变，保留白字对比度，不再是一块死黑。 */
.vc_custom_1777967091113{
  background:#0879B8 !important;
  background-image:
    radial-gradient(120% 160% at 85% 10%, rgba(38,189,210,.55) 0%, rgba(8,121,184,0) 60%),
    linear-gradient(135deg,#0a4d72 0%,#0879B8 58%,#0a76a3 100%) !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
}

/* ==========================================================================
   11. 首页「Sound Experience」品牌大色块
   demo 原本是照片底图，改色时被我抹成了纯蓝。这里恢复底图 + 品牌色叠加
   （不是黑压压的遮罩），同时把右侧产品卡从 141px 的窄条放宽到正常尺寸。
   ========================================================================== */
.vc_custom_1777967091113{
  padding-top:72px !important;
  padding-bottom:72px !important;
  border-radius:20px;
  background-image:
    linear-gradient(105deg, rgba(6,58,87,.94) 0%, rgba(8,121,184,.82) 44%, rgba(10,118,163,.52) 100%),
    url(https://xicart.com/shop/wp-content/uploads/shop56-demo/shop56-bg-3.jpg) !important;
  background-position:center, center !important;
  background-size:cover, cover !important;
  background-repeat:no-repeat, no-repeat !important;
}
@media (max-width:991px){
  .vc_custom_1777967091113{ padding-top:48px !important; padding-bottom:48px !important; border-radius:14px; }
}
/* 三栏重新分配：文案 25% / 中间留白 42% / 产品卡 33% */
.vc_custom_1777967091113 .col-xxl-3{ flex:0 0 25% !important; max-width:25% !important; }
.vc_custom_1777967091113 .col-xxl-7{ flex:0 0 42% !important; max-width:42% !important; }
.vc_custom_1777967091113 .col-xxl-2{ flex:0 0 33% !important; max-width:33% !important; }
@media (max-width:1199px){
  .vc_custom_1777967091113 .col-xxl-3,
  .vc_custom_1777967091113 .col-xxl-7{ flex:0 0 50% !important; max-width:50% !important; }
  .vc_custom_1777967091113 .col-xxl-2{ flex:0 0 50% !important; max-width:50% !important; }
}
/* 放大后的产品卡：图片按 1:1、按钮不再被挤成两行的大椭圆 */
.vc_custom_1777967091113 .xc-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  padding:12px;
}
.vc_custom_1777967091113 .xc-card__media img,
.vc_custom_1777967091113 .porto-tb-featured-image img{
  border-radius:12px;
  aspect-ratio:1 / 1;
  object-fit:contain;
}
.vc_custom_1777967091113 .vc_custom_1777453925317{ margin-top:14px; }
.vc_custom_1777967091113 .vc_custom_1777453925317 .vc_btn3{
  height:52px !important;
  min-height:52px !important;
  padding:0 22px !important;
  border-radius:999px !important;
  font-size:12.5px !important;
  font-weight:700 !important;
  letter-spacing:.04em !important;
  white-space:nowrap !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* ==========================================================================
   12. 首页「Exclusive PhoneCase」文案栏
   原来左侧文案总高 1261px，远高于右侧图片：标题 44px、描述 20px 粗体、
   三条规格行各 78px。整体压到与图片同高。
   ========================================================================== */
.vc_custom_1777462607125 .vc_custom_heading{
  font-size:13.5px !important;
  line-height:1.62 !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  margin-bottom:10px !important;
}
.vc_custom_1777462607125 .porto-u-main-heading h2{
  font-size:28px !important;
  line-height:1.18 !important;
  font-weight:700 !important;
  letter-spacing:-.02em !important;
  margin-bottom:6px !important;
}
.vc_custom_1777462607125 .porto-u-sub-heading{
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}
.vc_custom_1777462607125 h3.vc_custom_heading,
.vc_custom_1777462607125 .vc_custom_1777458123379{
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  margin-bottom:8px !important;
}
.vc_custom_1777462607125 .porto-container{
  margin-bottom:6px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.vc_custom_1777462607125 .porto-container .vc_custom_heading{
  font-size:13px !important;
  line-height:1.5 !important;
  margin-bottom:0 !important;
}
.vc_custom_1777462607125 .vc_btn3-container{ margin-top:16px !important; }
/* 行内两列垂直居中，视觉上文字块与图片齐平 */
.vc_row:has(> .vc_custom_1777462607125){ align-items:center; }

/* ==========================================================================
   13. 商品卡标题不再单行溢出
   长商品名在卡片里是 nowrap，把整页撑宽（1440 视口被撑到 1708）。
   改为最多两行、超出省略。
   ========================================================================== */
.xc-card,
.xc-card__body,
.xc-trend,
.porto-tb-item{
  min-width:0;
  overflow:hidden;
}
.xc-card__title,
.porto-tb-item .product-title{
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:break-word;
  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden !important;
  text-overflow:ellipsis;
  line-height:1.4 !important;
  min-width:0;
  max-width:100%;
}

/* ==========================================================================
   14. 隐藏「Shop By Brand」区块
   product_brand 分类法下没有任何词条，品牌轮播永远是空白，
   连带标题和「Shop All Products」按钮一起隐藏整行。
   ========================================================================== */
.vc_custom_1777465735998{ display:none !important; }

/* ==========================================================================
   15. 分类瓦片 v2 —— 方形产品图 + 分类名，不再显示「N items」
   图源：xicart_category_thumb_id()（分类 term 缩略图 > 分类下销量最高产品的
   特色图 > 最新产品特色图），全部取自本站媒体库，不会出现外链死图。
   无图时由 .xc-cat-tile__thumb--letter 兜底成品牌色块 + 首字母。
   本节追加在 7/9 之后，用于覆盖旧的图标卡片与计数样式。
   ========================================================================== */
.xc-cat-tiles__list{
  display:grid !important;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:16px;
  list-style:none;
  margin:0 auto;
  padding:0;
}
.xc-cat-tile{ margin:0 !important; min-width:0; }
.xc-cat-tiles__list .xc-cat-tile a{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  height:100%;
  padding:0 !important;
  background:transparent;
  border:0;
  border-radius:var(--xc-r-lg);
  text-decoration:none;
  transition:transform .24s ease;
}
/* 旧卡片左侧的蓝色竖条在新版式里没有意义 */
.xc-cat-tiles__list .xc-cat-tile a::before{ content:none !important; }
.xc-cat-tiles__list .xc-cat-tile a:hover{
  transform:translateY(-3px);
  box-shadow:none;
  border-color:transparent;
}
.xc-cat-tile__thumb{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:var(--xc-r-lg);
  overflow:hidden;
  background:#fff;
  border:1px solid var(--xc-border);
  box-shadow:0 1px 2px rgba(16,44,64,.05);
  transition:border-color .24s ease, box-shadow .24s ease;
}
.xc-cat-tile__img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  border-radius:calc(var(--xc-r-lg) - 1px);
  transition:transform .4s ease;
}
.xc-cat-tiles__list .xc-cat-tile a:hover .xc-cat-tile__thumb{
  border-color:var(--xc-primary-200);
  box-shadow:0 14px 28px -16px rgba(8,121,184,.42), 0 2px 6px rgba(16,44,64,.06);
}
.xc-cat-tiles__list .xc-cat-tile a:hover .xc-cat-tile__img{ transform:scale(1.035); }
.xc-cat-tile__name{
  display:block;
  font-size:13.5px !important;
  font-weight:700 !important;
  color:var(--xc-ink) !important;
  line-height:1.35;
  text-align:center !important;
  overflow-wrap:anywhere;
  transition:color .2s ease;
}
.xc-cat-tiles__list .xc-cat-tile a:hover .xc-cat-tile__name{ color:var(--xc-brand) !important; }
/* 无图兜底：品牌浅蓝块 + 首字母，永远不会是空盒子 */
.xc-cat-tile__thumb--letter{
  background:linear-gradient(145deg,#EAF3F9 0%,#D8EBF6 100%);
  border-color:var(--xc-primary-200);
}
.xc-cat-tile__initial{
  font-size:38px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.03em;
  color:var(--xc-brand);
}

@media (max-width:1199px){
  .xc-cat-tiles__list{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
}
@media (max-width:991px){
  .xc-cat-tiles__list{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
  .xc-cat-tile__name{ font-size:12.5px !important; }
  .xc-cat-tile__initial{ font-size:30px; }
}
@media (max-width:575px){
  .xc-cat-tiles__list{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px; }
  .xc-cat-tile__name{ font-size:12px !important; }
}

/* ==========================================================================
   16. 悬浮「全部产品」条 —— 3 级分类飞出层 + Home
   结构（functions.php）：
     .xc-product-bar__panel-inner
       a.xc-prod-home
       ul.xc-prod-tree
         li.xc-prod-node.xc-prod-node--l1.has-children
           a.xc-prod-node__link (+ .xc-prod-node__caret)
           ul.xc-prod-sub.xc-prod-sub--l2           <- 悬浮/聚焦时弹出的列
             li.xc-prod-node--l2.has-children
               ul.xc-prod-sub--l3                    <- 行内缩进展开
   桌面：hover/focus 弹出；≤991px：整棵树变成手风琴（同一个 .is-open 类）。
   固定定位、z-index、body padding 全部沿用 pages.css，不在此处改动。
   ========================================================================== */
.xc-product-bar__panel-inner{
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:1620px;
  margin:0 auto;
  padding:14px 20px 18px;
  position:relative;
}
/* 桌面下让飞出层可以超出 panel 的盒子，否则会被 max-height/overflow 裁掉 */
@media (min-width:992px){
  .xc-product-bar__panel{ overflow:visible; max-height:none; }
}

.xc-prod-home{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  height:38px;
  padding:0 15px;
  border-radius:var(--xc-r-pill);
  background:var(--xc-grad-brand);
  color:#fff !important;
  font-size:13px;
  font-weight:600;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:var(--xc-sh-brand);
  transition:filter .2s ease;
}
.xc-prod-home i{ font-size:15px; line-height:1; }
.xc-prod-home:hover{ filter:brightness(1.07); color:#fff !important; }

.xc-prod-tree,
.xc-prod-sub{
  list-style:none;
  margin:0;
  padding:0;
}
.xc-prod-tree{
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:6px;
  flex:1 1 auto;
  min-width:0;
}
.xc-prod-node{ position:relative; list-style:none; margin:0; padding:0; }

/* ---- 一级：胶囊按钮 ---- */
.xc-prod-node--l1 > .xc-prod-node__link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:38px;
  padding:0 14px;
  border-radius:var(--xc-r-pill);
  background:#fff;
  border:1px solid var(--xc-border);
  color:var(--xc-text-1);
  font-size:13px;
  font-weight:600;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}
.xc-prod-node--l1 > .xc-prod-node__link:hover,
.xc-prod-node--l1.is-open > .xc-prod-node__link,
.xc-prod-node--l1:focus-within > .xc-prod-node__link{
  background:var(--xc-primary-050);
  border-color:var(--xc-primary-200);
  color:var(--xc-brand);
}
.xc-prod-node__caret{
  font-size:11px;
  line-height:1;
  opacity:.65;
  transition:transform .2s ease;
}
.xc-prod-node--l1.is-open > .xc-prod-node__link .xc-prod-node__caret{ transform:rotate(180deg); }

/* ---- 二级：下拉列 ---- */
.xc-prod-node--l1 > .xc-prod-sub--l2{
  position:absolute;
  top:100%;
  left:0;
  z-index:30;
  min-width:240px;
  max-width:min(320px,calc(100vw - 40px));
  max-height:min(58vh,460px);
  overflow-y:auto;
  margin:8px 0 0;
  padding:10px;
  background:#fff;
  border:1px solid var(--xc-border);
  border-radius:var(--xc-r-lg);
  box-shadow:var(--xc-sh-3);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
}
/* 悬停热区桥接：胶囊和面板之间 8px 的空隙不会再误触发关闭 */
.xc-prod-node--l1::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;
}
.xc-prod-node.is-open > .xc-prod-sub--l2{
  opacity:1;
  visibility:visible;
  transform:none;
}
@media (min-width:992px){
  .xc-prod-node--l1:hover > .xc-prod-sub--l2{
    opacity:1;
    visibility:visible;
    transform:none;
  }
  /* 最右两列向右对齐，避免飞出层把页面撑宽 */
  .xc-prod-tree > .xc-prod-node:nth-last-child(-n+2) > .xc-prod-sub--l2{
    left:auto;
    right:0;
  }
}

.xc-prod-sub--l2 > .xc-prod-node > .xc-prod-node__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 10px;
  border-radius:var(--xc-r-sm);
  color:var(--xc-text-2);
  font-size:13px;
  font-weight:500;
  line-height:1.45;
  text-decoration:none;
  transition:background-color .15s ease, color .15s ease;
}
.xc-prod-sub--l2 > .xc-prod-node > .xc-prod-node__link:hover,
.xc-prod-sub--l2 > .xc-prod-node.is-open > .xc-prod-node__link{
  background:var(--xc-primary-050);
  color:var(--xc-brand);
}
.xc-prod-sub--l2 .xc-prod-node__caret{ font-size:10px; }

/* ---- 三级：缩进列表，避免第三层飞出层被父级裁切 ---- */
.xc-prod-sub--l3{
  display:none;
  margin:2px 0 6px 10px;
  padding:2px 0 2px 10px;
  border-left:2px solid var(--xc-primary-100);
}
.xc-prod-node.is-open > .xc-prod-sub--l3{ display:block; }
.xc-prod-sub--l3 > .xc-prod-node > .xc-prod-node__link{
  display:block;
  padding:4px 8px;
  border-radius:var(--xc-r-xs);
  color:var(--xc-text-3);
  font-size:12.5px;
  line-height:1.5;
  text-decoration:none;
}
.xc-prod-sub--l3 > .xc-prod-node > .xc-prod-node__link:hover{
  background:var(--xc-primary-050);
  color:var(--xc-brand);
}

/* ---- 移动端：手风琴 ---- */
@media (max-width:991px){
  .xc-product-bar__panel{ max-height:calc(100vh - 56px); overflow-y:auto; }
  .xc-product-bar__panel-inner{ display:block; padding:12px 16px 18px; }
  .xc-prod-home{ width:100%; justify-content:center; margin:0 0 8px; }
  .xc-prod-tree{ display:block; }
  .xc-prod-node--l1{ border-bottom:1px solid var(--xc-divider); }
  .xc-prod-node--l1::after{ content:none; }
  .xc-prod-node--l1 > .xc-prod-node__link{
    display:flex;
    justify-content:space-between;
    height:auto;
    padding:12px 6px;
    border:0;
    border-radius:0;
    background:transparent;
    font-size:14px;
  }
  .xc-prod-node--l1 > .xc-prod-sub--l2{
    position:static;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    min-width:0;
    max-width:none;
    max-height:none;
    overflow:visible;
    margin:0 0 10px;
    padding:0 0 4px 12px;
    border:0;
    border-left:2px solid var(--xc-primary-100);
    border-radius:0;
    box-shadow:none;
  }
  .xc-prod-node.is-open > .xc-prod-sub--l2{ display:block; }
  .xc-prod-sub--l2 > .xc-prod-node > .xc-prod-node__link{ padding:8px 8px; font-size:13.5px; }
}

/* ==========================================================================
   17. 回到顶部 —— Porto 的 #topcontrol（默认 49×48 深灰方块、贴在右下角）
   形态由 Porto 的 JS 控制（display / opacity 写在行内样式），
   这里只换皮 + 移位，不碰 display，避免它常显。
   ========================================================================== */
#topcontrol{
  width:48px !important;
  height:48px !important;
  right:28px !important;
  bottom:96px !important;
  background:#fff !important;
  border:1px solid var(--xc-border) !important;
  border-radius:14px !important;
  box-shadow:var(--xc-sh-3) !important;
  color:var(--xc-brand) !important;
  text-align:center;
  z-index:1111;
  transition:opacity .3s ease, transform .22s ease, background-color .2s ease,
             border-color .2s ease, box-shadow .2s ease !important;
}
#topcontrol i{
  font-size:15px !important;
  color:inherit !important;
  transition:color .2s ease;
}
#topcontrol:hover{
  background:var(--xc-brand) !important;
  border-color:var(--xc-brand) !important;
  color:#fff !important;
  box-shadow:0 16px 30px -12px rgba(8,121,184,.48) !important;
  transform:translateY(-2px);
}
#topcontrol:focus-visible{
  outline:2px solid var(--xc-primary-500);
  outline-offset:2px;
}
/* 隐藏状态下（Porto 把 opacity 写成行内样式）不要挡住底下的内容 */
#topcontrol[style*="opacity: 0"]{ pointer-events:none; }

/* 角标按钮上移后，避免和右下角其它固定元素（客服/聊天）重叠：更低层级兜底 */
@media (max-width:575px){
  #topcontrol{ width:44px !important; height:44px !important; right:16px !important; bottom:84px !important; border-radius:12px !important; }
}

/* ==========================================================================
   18. 页脚 —— 渐变底 + 角落品牌光晕；支付方式单行胶囊
   ========================================================================== */
.xc-footer{
  background-color:#F4F8FA;
  background-image:
    radial-gradient(120% 90% at 6% 0%, rgba(8,121,184,.10) 0%, rgba(8,121,184,0) 58%),
    radial-gradient(90% 120% at 100% 100%, rgba(38,189,210,.12) 0%, rgba(38,189,210,0) 62%),
    linear-gradient(180deg,#FFFFFF 0%,#F4F8FA 42%,#EAF3F9 100%);
  border-top:1px solid var(--xc-border-strong);
}

/* 支付方式：白底胶囊 + 紧凑内边距，强制单行不换行 */
.xc-pay{
  flex-wrap:nowrap !important;
  overflow:hidden;
  gap:8px;
  max-width:100%;
}
.xc-pay li{
  flex:0 0 auto;
  height:30px;
  padding:0 12px;
  border:1px solid var(--xc-border-strong);
  border-radius:var(--xc-r-pill);
  background:#fff;
  box-shadow:0 1px 2px rgba(16,44,64,.06);
  color:var(--xc-brand);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
@media (max-width:767px){
  .xc-pay{ gap:6px; }
  .xc-pay li{ height:27px; padding:0 9px; font-size:9.5px; }
}
@media (max-width:575px){
  .xc-pay{ gap:5px; }
  .xc-pay li{ height:24px; padding:0 7px; font-size:8.5px; letter-spacing:.01em; }
}
@media (max-width:359px){
  .xc-pay li{ padding:0 5px; font-size:8px; }
}

/* ==========================================================================
   19. 浅蓝 / 浅灰色带 → 深品牌蓝
   只改「整行装饰带」：顶部促销条、服务承诺条、Designed for Everyday
   Performance 特性面板。不碰卡片内部、不碰页脚（页脚见第 18 节）。
   渐变两端最深处 #0a4d72 与白字对比度 9.1:1，最浅处 #0879B8 为 4.8:1。
   ========================================================================== */
/* 19.1 顶部促销条（原 #F1F8FC 全宽浅蓝，整条改深蓝底 + 白字） */
.xc-topbar{
  background-color:#0879B8 !important;
  background-image:linear-gradient(135deg,#0a4d72 0%,#0879B8 60%,#0a76a3 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.16) !important;
  color:#fff !important;
}
.xc-topbar__item{ color:#fff !important; }
.xc-topbar__item i{ color:#9BD6F0 !important; }
.xc-topbar__item:hover{ color:#fff !important; opacity:.82; }
.xc-topbar__promo{ color:#fff !important; }
.xc-topbar__tag{
  background:#fff !important;
  color:var(--xc-primary-800) !important;
}
.xc-topbar__cta{
  background:transparent !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.5) !important;
}
.xc-topbar__cta:hover{
  background:#fff !important;
  color:var(--xc-primary-800) !important;
  border-color:#fff !important;
}

/* 19.2 服务承诺条（原 #F6F8FB 浅灰蓝长条） */
.xc-features__list{
  background-color:#0879B8 !important;
  background-image:
    radial-gradient(120% 160% at 92% 0%, rgba(38,189,210,.40) 0%, rgba(8,121,184,0) 62%),
    linear-gradient(135deg,#0a4d72 0%,#0879B8 60%,#0a76a3 100%) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:0 20px 36px -26px rgba(6,58,87,.55);
}
.xc-feature{ position:relative; }
.xc-feature__icon{
  background:rgba(255,255,255,.16) !important;
  color:#fff !important;
}
.xc-feature:hover .xc-feature__icon{
  background:#fff !important;
  color:var(--xc-brand) !important;
  transform:scale(1.06);
}
.xc-feature__body strong{ color:#fff !important; }
.xc-feature__body em{ color:rgba(255,255,255,.95) !important; }
@media (min-width:768px){
  .xc-feature + .xc-feature::before{
    content:"";
    position:absolute;
    left:-11px;
    top:50%;
    width:1px;
    height:36px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.2);
  }
}

/* 19.3 Designed for Everyday Performance 特性面板（原 #F6F6F6） */
.vc_custom_1777468649290{
  background-color:#0879B8 !important;
  background-image:
    radial-gradient(120% 140% at 88% 4%, rgba(38,189,210,.40) 0%, rgba(8,121,184,0) 64%),
    linear-gradient(135deg,#0a4d72 0%,#0879B8 60%,#0a76a3 100%) !important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 46px -30px rgba(6,58,87,.55);
}
.vc_custom_1777468649290 .porto-u-main-heading h2,
.vc_custom_1777468649290 .porto-u-heading h2{ color:#fff !important; }
.vc_custom_1777468649290 .porto-sicon-title{ color:#fff !important; }
.vc_custom_1777468649290 .porto-sicon-img,
.vc_custom_1777468649290 .porto-just-icon-wrapper{
  filter:brightness(0) invert(1);
  opacity:.92;
}
.vc_custom_1777468649290 .vc_column_container + .vc_column_container{
  border-left:1px solid rgba(255,255,255,.2);
}

/* 16b. 992–1279px：胶囊收紧，保证 Home + 7 个一级分类在同一行
   （否则 wrap 成两行时，二级飞出层会盖住第二行的胶囊） */
@media (min-width:992px) and (max-width:1279px){
  .xc-product-bar__panel-inner{ padding:12px 14px 16px; gap:8px; }
  .xc-prod-home{ height:34px; padding:0 12px; font-size:12.5px; }
  .xc-prod-home i{ font-size:14px; }
  .xc-prod-tree{ gap:5px; }
  .xc-prod-node--l1 > .xc-prod-node__link{ height:34px; padding:0 10px; gap:4px; font-size:12.5px; }
  .xc-prod-node__caret{ font-size:10px; }
}

/* 16c. 992–1279px 二级飞出层改为「贴着整行底部」定位
   这个宽度区间 8 个胶囊放不下一行（实测总宽 1066px > 可用 862px），
   会 wrap 成两行；若仍按单个胶囊定位，飞出层会盖住第二行。改为相对
   整棵 .xc-prod-tree 定位后，飞出层始终出现在两行胶囊的下方。 */
@media (min-width:992px) and (max-width:1279px){
  .xc-prod-tree{ position:relative; }
  .xc-prod-node--l1{ position:static; }
  .xc-prod-node--l1::after{ content:none; }
  .xc-prod-node--l1 > .xc-prod-sub--l2{
    left:0 !important;
    right:auto !important;
    top:100% !important;
    margin-top:0;
  }
}

/* ==========================================================================
   15. 官方品牌套件（PNG lockup 1120×360）
   页眉用彩色版，页脚用白色版 —— 白色版必须落在深色底上，否则不可见。
   ========================================================================== */
/* 品牌标识放大：PNG 已裁掉透明留白（798×253），此处按真实内容定高 */
.xc-header__inner{ min-height:98px; }
.xc-header-logo__img{
  height:66px !important;
  width:auto !important;
  max-width:100%;
  object-fit:contain;
  display:block;
  transition:opacity .18s ease;
}
.xc-header-logo:hover .xc-header-logo__img{ opacity:.82; }
.xc-header__brand{ max-width:none !important; }

@media (max-width:1399px){
  .xc-header__inner{ min-height:92px; }
  .xc-header-logo__img{ height:60px !important; }
}
@media (max-width:1199px){
  .xc-header__inner{ min-height:82px; }
  .xc-header-logo__img{ height:54px !important; }
}
@media (max-width:991px){
  .xc-header__inner{ min-height:68px; }
  .xc-header-logo__img{ height:44px !important; }
}
@media (max-width:575px){
  .xc-header__inner{ min-height:66px; }
  .xc-header-logo__img{ height:42px !important; }
}

/* 页脚白色标识：与深蓝底形成足够体量感 */
.xc-footer-logo .xc-header-logo__img{ height:66px !important; }
@media (max-width:991px){ .xc-footer-logo .xc-header-logo__img{ height:52px !important; } }
@media (max-width:575px){ .xc-footer-logo .xc-header-logo__img{ height:46px !important; } }

/* ==========================================================================
   16. 页脚改为品牌深蓝（白 logo 的可读前提），替换原来的浅色纯底
   ========================================================================== */
.xc-footer{
  background:linear-gradient(158deg,#0a4d72 0%,#0879B8 56%,#0a628c 100%);
  border-top:0;
  color:rgba(255,255,255,.78);
  position:relative;
  isolation:isolate;
}
.xc-footer::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(80% 70% at 92% 4%, rgba(38,189,210,.28) 0%, rgba(8,121,184,0) 62%),
    radial-gradient(70% 60% at 4% 96%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 60%);
  pointer-events:none;
}
.xc-footer__about{ color:rgba(255,255,255,.74) !important; }
.xc-footer__title{ color:#ffffff !important; }
.xc-footer__links a{ color:rgba(255,255,255,.76) !important; }
.xc-footer__links a:hover{ color:#ffffff !important; }
.xc-footer__contact a{ color:#ffffff !important; }
.xc-footer__contact i{ color:#7cc3e2 !important; }
.xc-footer__bottom{ border-top:1px solid rgba(255,255,255,.16) !important; }
.xc-footer__bottom-inner{ color:rgba(255,255,255,.66) !important; }
.xc-footer__legal a{ color:rgba(255,255,255,.66) !important; }
.xc-footer__legal a:hover{ color:#ffffff !important; }

/* 支付方式：白色胶囊，一行不换行 */
.xc-pay{ flex-wrap:nowrap !important; }
.xc-pay li{
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.30) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}
@media (max-width:575px){
  .xc-pay{ gap:5px !important; }
  .xc-pay li{ padding:0 7px !important; font-size:9.5px !important; height:24px !important; }
}

/* 订阅表单：深色底上的白框 */
.xc-news__row{
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.32) !important;
}
.xc-news input[type="email"]{ color:#ffffff !important; }
.xc-news input[type="email"]::placeholder{ color:rgba(255,255,255,.62) !important; }
.xc-news button{
  background:#ffffff !important;
  color:#0879B8 !important;
}
.xc-news button:hover{ background:#e3f1f8 !important; color:#0a4d72 !important; }
.xc-news__note{ color:rgba(255,255,255,.64) !important; }
.xc-news__note a{ color:rgba(255,255,255,.86) !important; }
.xc-news__msg--ok{ background:rgba(255,255,255,.16) !important; color:#ffffff !important; }
.xc-news__msg--err{ background:rgba(255,120,120,.22) !important; color:#ffe3e3 !important; }

/* ==========================================================================
   17. 统一栅格边距：页眉/分类条/页脚对齐正文容器
   正文区块（.xc-hero / .vc_row .container）在 1440 下左边界为 72px
   （max-width 1296 居中），而页眉页脚用的是 12px 内边距，视觉上明显错位。
   这里让顶栏、页眉、页脚共用同一套 1344 + 24 的内栅格（内容区 1296）。
   ========================================================================== */
.xc-topbar__inner,
.xc-header .container,
.xc-footer .porto-wrap-container{
  max-width:1344px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:24px !important;
  padding-right:24px !important;
}
@media (max-width:1199px){
  .xc-topbar__inner,
  .xc-header .container,
  .xc-footer .porto-wrap-container{ padding-left:20px !important; padding-right:20px !important; }
}
@media (max-width:991px){
  .xc-topbar__inner,
  .xc-header .container,
  .xc-footer .porto-wrap-container{ padding-left:16px !important; padding-right:16px !important; }
}
@media (max-width:575px){
  .xc-topbar__inner,
  .xc-header .container,
  .xc-footer .porto-wrap-container{ padding-left:14px !important; padding-right:14px !important; }
}

/* 顶部类别轨道：与统一栅格对齐；右侧加渐隐，避免文字被硬切显得像坏掉 */
.xc-product-bar__inner{
  max-width:1344px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:24px !important;
  padding-right:24px !important;
}
.xc-product-bar__chips{
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),rgba(0,0,0,0) 100%);
          mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),rgba(0,0,0,0) 100%);
}
@media (max-width:1199px){
  .xc-product-bar__inner{ padding-left:20px !important; padding-right:20px !important; }
}
@media (max-width:991px){
  .xc-product-bar__inner{ padding-left:16px !important; padding-right:16px !important; }
}
@media (max-width:575px){
  .xc-product-bar__inner{ padding-left:14px !important; padding-right:14px !important; }
}

/* ==========================================================================
 * Horizontal category menu (Porto-demo style) — the single catalog menu
 * ========================================================================== */
.xc-mainmenu{
  border-top:1px solid var(--xc-border);
  margin-top:4px;
}
.xc-mainmenu__list{
  display:flex; align-items:center; flex-wrap:wrap; gap:0;
  list-style:none; margin:0; padding:0;
}
.xc-mainmenu__list > li{ position:relative; }
.xc-mainmenu__list > li > a{
  display:inline-flex; align-items:center; gap:5px;
  padding:12px 9px; font-size:13px; font-weight:600;
  color:var(--xc-ink); text-decoration:none; white-space:nowrap;
  transition:color .2s ease;
}
.xc-mainmenu__list > li > a:hover{ color:var(--xc-brand); }
.xc-mainmenu__list > li > a .porto-icon-angle-down{ font-size:10px; opacity:.5; }

/* dropdown */
.xc-mainmenu__sub{
  position:absolute; top:100%; left:0; z-index:80;
  min-width:230px; display:none; margin:0; padding:8px;
  list-style:none; background:#fff; border:1px solid var(--xc-border);
  border-radius:12px; box-shadow:0 20px 38px -18px rgba(16,44,64,.30);
}
.xc-mainmenu__list > li.has-sub:hover > .xc-mainmenu__sub,
.xc-mainmenu__list > li.has-sub:focus-within > .xc-mainmenu__sub{ display:block; }
.xc-mainmenu__sub li{ position:relative; }
.xc-mainmenu__sub > li > a{
  display:block; padding:8px 10px; border-radius:8px;
  font-size:13.5px; font-weight:500; color:#3f4a5a; text-decoration:none;
  white-space:nowrap;
}
.xc-mainmenu__sub > li > a:hover{ background:var(--xc-bg-soft); color:var(--xc-brand); }

/* level-3 flyout opens to the right of its parent item */
.xc-mainmenu__sub--l3{ top:-8px; left:100%; }
.xc-mainmenu__sub li.has-sub:hover > .xc-mainmenu__sub--l3,
.xc-mainmenu__sub li.has-sub:focus-within > .xc-mainmenu__sub--l3{ display:block; }
.xc-mainmenu__sub--l3 li > a{ font-weight:400; }

@media (max-width:991px){
  .xc-mainmenu{ display:none; }
}
