/* Dujiao-Next 蓝白商城皮肤：通过 nginx sub_filter 注入，不改源码 */
:root {
  --yq-blue: #1677ff;
  --yq-blue-deep: #0a4fd6;
  --yq-red: #f5222d;
  --yq-orange: #ff7a1a;
  --yq-ink: #1f2329;
  --yq-muted: #8a9099;
  --yq-line: #e8ebf0;
  --yq-page: #f4f6fa;
}

/* ---------- 顶部（全站） ---------- */
#app .market-header { color: var(--yq-ink); box-shadow: 0 2px 12px rgba(20, 40, 90, .08); }
#app .market-utility { background: #f7f8fa; border-bottom: 1px solid var(--yq-line); }
#app .market-utility-message,
#app .market-utility-actions { color: #6b7280; }
#app .market-utility-actions a:hover,
#app .market-utility-actions button:hover { color: var(--yq-blue); }

#app .market-mainbar { background: #fff; }
#app .market-mainbar-inner { min-height: 80px; }
#app .market-brand { color: var(--yq-ink); }
#app .market-brand img,
#app .market-brand-mark { border-radius: 12px; background: #eef4ff; }
#app .market-brand-mark { color: var(--yq-blue); }
#app .market-brand-copy strong { color: var(--yq-blue); letter-spacing: .04em; }
#app .market-brand-copy small { color: var(--yq-muted); }

#app .market-search {
  width: min(100%, 560px);
  height: 44px;
  border: 2px solid var(--yq-blue);
  border-radius: 10px;
  background: #fff;
}
#app .market-search button { background: var(--yq-blue); padding: 0 22px; }
#app .market-search button:hover { background: var(--yq-blue-deep); }
#app .market-search button span { display: inline; }

#app .market-action { color: #4b5563; }
#app .market-action:hover { color: var(--yq-blue); }
#app .market-account { border-color: #c9dcff; color: var(--yq-blue); border-radius: 999px; background: #f2f7ff; }
#app .market-account:hover { border-color: var(--yq-blue); color: var(--yq-blue); }
#app .market-menu-button { color: var(--yq-ink); }

/* 蓝色导航条 */
#app .market-category-nav {
  background: linear-gradient(90deg, #1677ff, #2f6bff 55%, #1d5cf0);
  border-bottom: 0;
}
#app .market-category-inner { min-height: 46px; gap: 0; }
#app .market-category-inner a { color: #fff; font-weight: 600; padding: 0 20px; }
#app .market-category-inner a:hover { background: rgba(255, 255, 255, .14); }
#app .market-category-inner a.is-active { background: var(--yq-red); }
#app .market-category-inner a.yq-nav-all {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  min-width: 170px;
  gap: 8px;
  margin-right: 8px;
  background: rgba(0, 0, 0, .16);
  letter-spacing: .06em;
}
#app .market-category-inner a.yq-nav-all svg { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  #app .market-search button span { display: none; }
}
@media (max-width: 700px) {
  #app .market-category-inner a { padding: 0 13px; }
  #app .market-category-inner a.yq-nav-all { min-width: 0; margin-right: 0; }
}

/* ---------- 全站：价格、商品列表页、页脚 ---------- */
#app [class*="theme-price"] { color: var(--yq-red); font-weight: 800; }

#app .products-page { background: var(--yq-page); padding-top: 0; }
#app .products-page > .container > div:first-child {
  margin: 0 0 28px;
  padding: 40px 24px 36px;
  border-radius: 0 0 20px 20px;
  background:
    radial-gradient(500px 200px at 85% 0%, rgba(38, 198, 218, .35), transparent 70%),
    linear-gradient(120deg, #0b1424, #0f2f45 60%, #0c3b47);
  color: #fff;
}
#app .products-page > .container > div:first-child h1 { color: #fff; font-size: 32px; margin-bottom: 6px; }
#app .products-page > .container > div:first-child p { color: rgba(255, 255, 255, .7); border: 0; padding: 0; font-size: 14px; }
#app .products-page .grid > .group {
  border-color: var(--yq-line);
  border-radius: 14px;
  box-shadow: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
#app .products-page .grid > .group:hover {
  transform: translateY(-3px);
  border-color: #c9dcff;
  box-shadow: 0 14px 30px -18px rgba(22, 119, 255, .45);
}
#app .products-page .grid > .group > div:first-child { background: linear-gradient(135deg, #eef4ff, #f7f9fc); }
#app .products-page .grid > .group > div:first-child > div.absolute { background: transparent; }
/* 商品中心：侧栏分类 */
#app .products-page aside { width: 236px; }
#app .products-page aside > div {
  top: 176px;
  padding: 18px 14px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px -24px rgba(20, 40, 90, .45);
}
#app .products-page aside label { display: none; }
#app .products-page aside > div > div:first-child { margin: 0 0 18px; }
#app .products-page aside > div > div:first-child > div { margin-top: 0; }
#app .products-page aside input {
  height: 40px;
  padding-left: 36px;
  border: 1px solid var(--yq-line);
  border-radius: 12px;
  background: #f7f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9099' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center / 16px;
  box-shadow: none;
}
#app .products-page aside input:focus { border-color: var(--yq-blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(22, 119, 255, .12); }
#app .products-page aside h2 {
  margin: 0 4px 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 15px;
}
#app .products-page aside ul { display: flex; flex-direction: column; gap: 2px; }
#app .products-page aside ul > li,
#app .products-page aside li > div > * { margin: 0; }
#app .products-page aside li > div { display: flex; flex-direction: column; gap: 2px; }
#app .products-page aside li > div > div { gap: 4px; }
#app .products-page aside li button:not(.rounded-full) {
  position: relative;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
#app .products-page aside li button:not(.rounded-full):hover { background: #f2f7ff; color: var(--yq-blue); }
#app .products-page aside li button.bg-primary:not(.rounded-full) {
  background: linear-gradient(90deg, #e8f1ff, #f4f8ff);
  color: var(--yq-blue);
  font-weight: 700;
}
#app .products-page aside li button.bg-primary:not(.rounded-full)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--yq-blue);
}
#app .products-page aside li button img { width: 22px; height: 22px; border-radius: 7px; }
#app .products-page aside li button.rounded-full {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--yq-muted);
  box-shadow: none;
  transform: none;
}
#app .products-page aside li button.rounded-full:hover { background: #f2f7ff; color: var(--yq-blue); }
#app .products-page aside li button.rounded-full.bg-primary { background: #eef4ff; color: var(--yq-blue); }
#app .products-page aside li button.rounded-full svg { width: 15px; height: 15px; }
#app .products-page aside ul.pl-4 {
  margin: 2px 0 6px 22px;
  padding-left: 8px;
  border-left: 1px dashed #dfe5ee;
}
#app .products-page aside ul.pl-4 button:not(.rounded-full) { min-height: 36px; font-size: 13px; }
#app .products-page aside ul.pl-4 button img { width: 18px; height: 18px; border-radius: 5px; }

/* 商品中心：紧凑卡片 */
#app .products-page main .grid { gap: 14px; }
@media (min-width: 1024px) { #app .products-page main .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { #app .products-page main .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
#app .products-page .grid > .group { background: #fff; }
#app .products-page .grid > .group > div:first-child { aspect-ratio: 1 / 1; }
#app .products-page .grid > .group > div:nth-child(2) { padding: 10px 12px 12px; }
#app .products-page .grid > .group > div:nth-child(2) > div:first-child { margin-bottom: 4px; font-size: 11px; letter-spacing: 0; text-transform: none; }
#app .products-page .grid > .group h3 {
  min-height: 2.8em;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  -webkit-line-clamp: 2;
}
#app .products-page .grid > .group:hover h3 { color: var(--yq-blue); }
#app .products-page .grid > .group h3 + div { gap: 4px; margin-bottom: 8px; }
#app .products-page .grid > .group h3 + div > div { padding: 0 6px; font-size: 10px; line-height: 18px; border-radius: 5px; }
#app .products-page .grid > .group p { display: none; }
#app .products-page .grid > .group .border-t { padding-top: 8px; border-color: #f0f2f5; }
#app .products-page .grid > .group .border-t span.text-xs { display: none; }
#app .products-page .grid > .group [class*="theme-price"] { font-family: inherit; font-size: 17px; }
#app .products-page .grid > .group .border-t > div:last-child > svg,
#app .products-page .grid > .group .border-t > div:last-child > span { display: none; }
#app .products-page .grid > .group .border-t button {
  width: 32px;
  height: 32px;
  border-color: #c9dcff;
  border-radius: 999px;
  background: #f2f7ff;
  color: var(--yq-blue);
  box-shadow: none;
}
#app .products-page .grid > .group:hover .border-t button { border-color: var(--yq-blue); background: var(--yq-blue); color: #fff; }

#app > div > footer {
  border-top: 0;
  background:
    radial-gradient(600px 220px at 90% 0%, rgba(22, 119, 255, .22), transparent 70%),
    linear-gradient(180deg, #0d1626, #0a111d);
  color: rgba(255, 255, 255, .6);
}
#app > div > footer h2,
#app > div > footer h3,
#app > div > footer h4,
#app > div > footer strong { color: #fff; }
#app > div > footer a { color: rgba(255, 255, 255, .65); }
#app > div > footer a:hover { color: #fff; }
#app > div > footer .border-t { border-color: rgba(255, 255, 255, .08); }
#app > div > footer [class*="bg-card"],
#app > div > footer [class*="bg-muted"],
#app > div > footer [class*="bg-gray-"] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
/* 主题对 .bg-gray-50 用了分层 !important，覆盖不掉，用内阴影盖住 */
#app > div > footer [class*="bg-gray-"] { box-shadow: inset 0 0 0 200px #182233; }
#app > div > footer a[class*="bg-gray-"]:hover { box-shadow: inset 0 0 0 200px #223049; color: #fff; }

/* ---------- 首页 ---------- */
body.yq-home-on #app .home-page { display: none !important; }

.yq-home { background: var(--yq-page); color: var(--yq-ink); padding-bottom: 56px; }
.yq-wrap { width: min(100% - 32px, 1360px); margin-inline: auto; }

@keyframes yq-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes yq-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -16px); } }
@keyframes yq-shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
.yq-rise { animation: yq-rise .5s ease both; }

/* 横幅 */
.yq-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 120px;
  text-align: center;
  background: linear-gradient(120deg, #060a14 0%, #0b1f30 45%, #0b3442 100%);
  color: #fff;
}
.yq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.yq-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: yq-float 12s ease-in-out infinite; }
.yq-orb.o1 { width: 380px; height: 380px; left: -80px; top: 40px; background: #1677ff; }
.yq-orb.o2 { width: 320px; height: 320px; right: -60px; top: -60px; background: #13c2c2; animation-delay: -4s; }
.yq-orb.o3 { width: 260px; height: 260px; left: 45%; bottom: -140px; background: #722ed1; opacity: .35; animation-delay: -8s; }
.yq-hero-inner { position: relative; z-index: 1; }
.yq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #ffd591;
  font-size: 12px;
  letter-spacing: .08em;
}
.yq-eyebrow svg { width: 14px; height: 14px; }
.yq-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: .05em;
  color: #fff;
}
.yq-hero h1 span {
  background: linear-gradient(90deg, #95f2c6, #fff59d 55%, #ffc069);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.yq-hero p {
  max-width: 720px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.8;
}
.yq-feats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.yq-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  text-align: left;
  transition: border-color .2s, background .2s;
}
.yq-feat:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.yq-feat i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffa940, #ff5f3a);
  box-shadow: 0 8px 18px -8px rgba(255, 95, 58, .9);
}
.yq-feat i svg { width: 18px; height: 18px; color: #fff; }
.yq-feat b { display: block; font-size: 14px; }
.yq-feat small { color: rgba(255, 255, 255, .6); font-size: 12px; }
.yq-cta { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.yq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.yq-btn svg { width: 18px; height: 18px; }
.yq-btn:hover { transform: translateY(-2px); }
.yq-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.yq-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.yq-btn-hot {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #ff8a1f, #ff4d1f);
  box-shadow: 0 12px 26px -10px rgba(255, 106, 31, .9);
}
.yq-btn-hot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: yq-shine 3s linear infinite;
}
.yq-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
  margin: 36px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
}
.yq-stats div { display: flex; flex-direction: column; gap: 4px; }
.yq-stats div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.yq-stats b { font-size: 24px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.yq-stats span { color: rgba(255, 255, 255, .55); font-size: 12px; }

/* 分类条 */
.yq-cats {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding: 18px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px -22px rgba(20, 40, 90, .3);
}
.yq-cats-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.yq-cats-row::-webkit-scrollbar { display: none; }
.yq-cat {
  flex: 1 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 14px;
  color: var(--yq-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.yq-cat:hover { background: #f2f7ff; color: var(--yq-blue); transform: translateY(-2px); }
.yq-cat small { color: var(--yq-muted); font-size: 11px; font-weight: 400; }
.yq-cat img,
.yq-cat span.yq-cat-ph {
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border-radius: 16px;
  object-fit: cover;
  background: #eef4ff;
  box-shadow: 0 8px 16px -8px rgba(20, 40, 90, .35);
}
.yq-cat span.yq-cat-ph { display: grid; place-items: center; color: var(--yq-blue); font-weight: 800; font-size: 20px; }

/* 分区 */
.yq-section {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px -26px rgba(20, 40, 90, .35);
}
.yq-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.yq-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}
.yq-section-head h2 img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.yq-section-head h2 em {
  padding: 1px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--yq-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.yq-more {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--yq-muted);
  font-size: 13px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.yq-more:hover { background: #f2f7ff; color: var(--yq-blue); }

.yq-chips { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.yq-chips::-webkit-scrollbar { display: none; }
.yq-chip {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--yq-line);
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.yq-chip:hover { border-color: #c9dcff; color: var(--yq-blue); }
.yq-chip.is-on { border-color: var(--yq-blue); background: var(--yq-blue); color: #fff; }

/* 商品卡片 */
.yq-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.yq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--yq-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: var(--yq-ink);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.yq-card:hover { transform: translateY(-4px); border-color: #b7d0ff; box-shadow: 0 18px 34px -20px rgba(22, 119, 255, .55); }
.yq-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, #eef4ff, #f7f9fc); }
.yq-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yq-card:hover .yq-card-img img { transform: scale(1.06); }
.yq-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ff4d6d, #ff2d55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.yq-auto {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: rgba(10, 20, 40, .62);
  backdrop-filter: blur(6px);
  color: #ffd666;
  font-size: 11px;
  font-weight: 600;
  transition: opacity .2s;
}
.yq-auto svg { width: 12px; height: 12px; }
.yq-buy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 9px 0;
  background: linear-gradient(90deg, #1677ff, #2f6bff);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transform: translateY(100%);
  transition: transform .22s ease;
}
.yq-card:hover .yq-buy { transform: none; }
.yq-card:hover .yq-auto { opacity: 0; }
.yq-soldout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .62);
  color: #6b7280;
  font-weight: 800;
  letter-spacing: .2em;
}
.yq-card-body { display: flex; flex-direction: column; gap: 10px; padding: 11px 12px 12px; flex: 1; }
.yq-card-title {
  display: -webkit-box;
  min-height: 2.9em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 1.45;
}
.yq-card:hover .yq-card-title { color: var(--yq-blue); }
.yq-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.yq-price { color: var(--yq-red); font-weight: 800; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.yq-price small { font-size: 12px; margin-right: 1px; }
.yq-price em { margin-left: 2px; font-size: 11px; font-style: normal; font-weight: 500; color: var(--yq-muted); }
.yq-stock { padding: 2px 6px; border-radius: 5px; background: #ecfdf3; color: #16a34a; font-size: 11px; white-space: nowrap; }
.yq-stock.is-low { background: #fff4e5; color: #d97706; }
.yq-stock.is-out { background: #f3f4f6; color: #9ca3af; }

.yq-empty { padding: 40px 0; color: var(--yq-muted); text-align: center; }

/* 购物流程 */
.yq-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, #eef4ff, #f5f0ff);
}
.yq-step { display: flex; align-items: center; gap: 14px; }
.yq-step i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--yq-blue);
  box-shadow: 0 8px 18px -10px rgba(22, 119, 255, .6);
}
.yq-step i svg { width: 22px; height: 22px; }
.yq-step b { display: block; font-size: 15px; }
.yq-step b span { margin-right: 6px; color: var(--yq-blue); font-size: 12px; font-weight: 800; }
.yq-step small { color: var(--yq-muted); font-size: 12px; }

/* 加载骨架 */
.yq-hero-skel { padding: 80px 0 140px; }
.yq-skel-line, .yq-skel-card i, .yq-skel-card b {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(160, 175, 200, .18), rgba(160, 175, 200, .32), rgba(160, 175, 200, .18));
  background-size: 200% 100%;
  animation: yq-shine 1.4s linear infinite;
}
.yq-skel-line { height: 18px; margin: 14px auto; }
.yq-skel-line.w40 { width: 40%; height: 40px; }
.yq-skel-line.w60 { width: 60%; }
.yq-skel-line.w100 { width: 100%; height: 80px; margin: 0; }
.yq-skel-card i { aspect-ratio: 1 / 1; border-radius: 12px; }
.yq-skel-card b { height: 12px; margin-top: 10px; }
.yq-skel-card b.short { width: 50%; }

/* 悬浮客服 */
.yq-float {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb020, #ff7a1a);
  box-shadow: 0 10px 24px -8px rgba(255, 122, 26, .8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s;
}
.yq-float:hover { transform: scale(1.06); }
.yq-float svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .yq-orb, .yq-btn-hot::after, .yq-rise, .yq-skel-line, .yq-skel-card i, .yq-skel-card b { animation: none; }
}

@media (max-width: 1280px) { .yq-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .yq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .yq-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .yq-hero { padding: 40px 0 96px; }
  .yq-hero p { font-size: 13px; }
  .yq-orb { filter: blur(40px); }
  .yq-orb.o1 { width: 220px; height: 220px; }
  .yq-orb.o2 { width: 200px; height: 200px; }
  .yq-feats { flex-wrap: nowrap; gap: 8px; }
  .yq-feat { flex: 1 1 0; flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; }
  .yq-feat b { font-size: 13px; }
  .yq-feat small { display: none; }
  .yq-btn { height: 42px; padding: 0 20px; font-size: 14px; }
  .yq-stats { margin-top: 26px; padding-top: 16px; }
  .yq-stats b { font-size: 18px; }
  .yq-stats span { font-size: 11px; }
  .yq-cats { margin-top: -60px; }
  .yq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .yq-section { padding: 14px; margin-top: 16px; }
  .yq-section-head h2 { font-size: 17px; }
  .yq-cat { flex: 0 0 84px; font-size: 12px; }
  .yq-cat img, .yq-cat span.yq-cat-ph { width: 46px; height: 46px; }
  .yq-buy { display: none; }
  .yq-card-body { padding: 10px; }
  .yq-card-foot { flex-wrap: wrap; gap: 6px 4px; }
  .yq-price { font-size: 17px; white-space: nowrap; }
  .yq-steps { gap: 14px; padding: 16px; }
  .yq-step { flex-direction: column; text-align: center; gap: 8px; }
  .yq-step b span { display: none; }
  .yq-float { right: 12px; bottom: 76px; width: 48px; height: 48px; }
  .yq-float span { display: none; }
  #app .products-page > .container > div:first-child { padding: 28px 16px; margin-inline: -16px; border-radius: 0; }
  #app .products-page > .container > div:first-child h1 { font-size: 24px; }
}

/* 卡速售商品：注意事项弹窗 + 纯文本描述换行 */
#app .yq-desc { white-space: pre-line; word-break: break-all; font-size: 14px; line-height: 1.75; color: #475569; }
.yq-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); animation: yq-fade .18s ease-out; }
.yq-modal-card { width: 100%; max-width: 480px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .25); overflow: hidden; }
.yq-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #eef2f7; }
.yq-modal-head b { font-size: 16px; color: #0f172a; padding-left: 10px; border-left: 3px solid #1677ff; line-height: 1.1; }
.yq-modal-x { width: 30px; height: 30px; border-radius: 8px; font-size: 20px; line-height: 1; color: #94a3b8; background: none; border: 0; cursor: pointer; }
.yq-modal-x:hover { background: #f1f5f9; color: #334155; }
.yq-modal-body { padding: 18px 20px; max-height: 60vh; overflow: auto; white-space: pre-line; word-break: break-all; font-size: 14px; line-height: 1.8; color: #334155; }
.yq-modal-body a { color: #1677ff; text-decoration: underline; }
.yq-modal-foot { padding: 0 20px 18px; display: flex; justify-content: flex-end; }
.yq-modal-ok { min-width: 120px; height: 40px; border-radius: 10px; border: 0; background: linear-gradient(135deg, #1677ff, #3b82f6); color: #fff; font-weight: 600; cursor: pointer; }
.yq-modal-ok:hover { filter: brightness(1.06); }
@keyframes yq-fade { from { opacity: 0; } to { opacity: 1; } }

/* 商品详情主图：原 4:3 裁切会切掉方图，改为 1:1 完整显示 */
#app main img[class*="aspect-[4/3]"].object-cover { aspect-ratio: 1 / 1 !important; object-fit: contain !important; background: #fff; max-width: 440px; margin-inline: auto; display: block; }

/* 手机端：顶部不再整块吸顶（原先占去约 1/4 屏），去掉为旧固定头预留的大块空白 */
@media (max-width: 767px) {
  #app .market-header { position: relative; }
  #app .market-utility { display: none; }
  #app .market-brand-copy small { display: none; }
  #app main > [class*="pt-2"]:not(.home-page):not(.products-page) { padding-top: 16px; }
  #app main > [class*="pt-2"] nav.mb-8 { margin-bottom: 16px; }
}

/* 虚拟三级分类：首页二级标签行 + 商品中心左侧栏品牌小标题 */
.yq-subchips[hidden] { display: none; }
.yq-subchips { margin-top: -6px; padding-left: 14px; border-left: 2px solid #dbeafe; }
.yq-chip.yq-sub { height: 30px; padding: 0 12px; font-size: 12.5px; background: #f8fafc; }
.yq-chip.yq-sub.is-on { background: #e8f1ff; color: var(--yq-blue); border-color: #bcd6ff; }
#app .products-page aside li.yq-bfirst::before {
  content: attr(data-yq-brand);
  display: flex; align-items: center; gap: 6px;
  padding: 10px 6px 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #64748b;
}
#app .products-page aside li.yq-bfirst::before { background: radial-gradient(circle, #1677ff 0 3px, transparent 3.5px) left center / 10px 10px no-repeat; padding-left: 16px; }
#app .products-page aside li.yq-bsub > button { margin-left: 8px; }
