/* tk8688 主题换肤：粉红/价格红 -> 藏青蓝 + 香槟金（仅颜色，不动布局） */
:root {
  --primary: #1B2A4A !important;
  --primary-light: #2C4470 !important;
  --secondary: #C9A961 !important;
  --secondary-light: #E0C98A !important;
  --primary-rgb: 27, 42, 74 !important;
  --gradient-primary: linear-gradient(135deg, #1B2A4A, #2C4470) !important;
  --gradient-secondary: linear-gradient(135deg, #C9A961, #E0C98A) !important;
}
.nav-link.active, .nav-link:hover {
  background: rgba(27, 42, 74, .1) !important;
}
.purchase-card {
  box-shadow: 0 10px 40px rgba(27, 42, 74, 0.08), 
                0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
.purchase-card::before {
  background: radial-gradient(circle, rgba(27, 42, 74, 0.03) 0%, transparent 50%) !important;
}
.purchase-card:hover {
  box-shadow: 0 15px 50px rgba(27, 42, 74, 0.12), 
                0 5px 20px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(27, 42, 74, 0.2) !important;
}
.purchase-card .section-title::after {
  background: linear-gradient(90deg, #1B2A4A, #0F1D33) !important;
}
.login-url:hover, .pay-button:hover {
  background: #2C4470 !important;
}
.purchase-card .section-title i {
  color: #1B2A4A !important;
  background: linear-gradient(135deg, #1B2A4A, #0F1D33) !important;
  filter: drop-shadow(0 2px 4px rgba(27, 42, 74, 0.2)) !important;
}
.form-group input:hover {
  border-color: #2C4470 !important;
}
.form-group input:focus {
  border-color: #2C4470 !important;
  box-shadow: 0 0 0 2px rgba(27, 42, 74, .1) !important;
}
.pay-button:hover {
  border-color: #2C4470 !important;
}
.login-url {
  background: #F5F6F8 !important;
}
.product-list-price-mobile .price {
  color: #A67C2E !important;
}
.category-card-third-row .category-card-child-row {
  border-color: rgba(27, 42, 74, .18) !important;
}
.category-card-root-row .category-card.active {
  box-shadow: 0 5px 18px rgba(27, 42, 74, .18) !important;
}
.product-wrapper.scroll-highlight {
  box-shadow: 0 1px 8px rgba(27, 42, 74, 0.06) !important;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.01), rgba(255, 192, 203, 0.02)) !important;
}
.category-card-level {
  background: rgba(27, 42, 74, .08) !important;
}
.category-card-level {
  background: rgba(27, 42, 74, .08) !important;
}
.product-list-btn {
  background: rgb(27 42 74 / 70%) !important;
}
.product-list-btn:hover {
  background: rgba(27, 42, 74, 0.5) !important;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.3) !important;
}
.product-list-item:hover {
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.1) !important !important;
}
.product-list-price-mobile .price {
  color: #A67C2E !important;
}
.product-list-price .price {
  color: #A67C2E !important;
}
.service-nickname {
  background: linear-gradient(45deg, var(--primary) 30%, #C9A961 70%) !important;
}
.form-group label::before {
  background: linear-gradient(135deg, #1B2A4A, #0F1D33) !important;
}
select.form-control:focus {
  border-color: #1B2A4A !important !important;
  box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.1),
                0 6px 20px rgba(27, 42, 74, 0.1) !important !important;
}
.form-control:hover {
  border-color: rgba(27, 42, 74, 0.2) !important;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.08) !important;
}
.form-control:focus {
  border-color: #1B2A4A !important;
  box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.1),
                0 6px 20px rgba(27, 42, 74, 0.1) !important;
}
.lot_string {
  background: rgba(27, 42, 74, 0.05) !important;
}
.lot_string b {
  color: #1B2A4A !important;
}
.pay_list, .pay_type {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.02), rgba(255, 192, 203, 0.04)) !important;
}
.pay_list::before, .pay_type::before {
  color: #1B2A4A !important;
}
.cardType.badge-danger, .card_count.badge-danger {
  color: #A67C2E !important;
}
.product-list-price .price {
  color: #A67C2E !important;
}
.service-nickname {
  background: linear-gradient(45deg, var(--primary) 30%, #C9A961 70%) !important;
}
.seckill b, .seckill_status::before {
  background: linear-gradient(45deg, #1B2A4A, #3A557F) !important;
}
.seckill_status {
  background: linear-gradient(145deg, rgba(27, 42, 74, .05), rgba(27, 42, 74, .1)) !important;
}
.seckill_status:hover {
  border-color: rgba(27, 42, 74, .3) !important;
  box-shadow: 0 2px 8px rgba(27, 42, 74, .1) !important;
}
.price-item .price {
  color: #A67C2E !important;
}
.price-item .cardType.badge-danger, .price-item .card_count.badge-danger {
  color: #A67C2E !important;
}
.pay-button::before {
  background: linear-gradient(145deg, rgba(27, 42, 74, 0.1), rgba(255, 20, 147, 0.1)) !important;
}
.pay-button::after {
  background: radial-gradient(circle, rgba(27, 42, 74, 0.3) 0%, transparent 70%) !important;
}
.pay-button:hover {
  background: linear-gradient(145deg, #1B2A4A, #0F1D33) !important;
  border-color: #1B2A4A !important;
  box-shadow: 0 8px 25px rgba(27, 42, 74, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
}
.pay-button:active {
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.2) !important;
}
.login-url {
  background: linear-gradient(135deg, #1B2A4A, #0F1D33) !important;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.3) !important;
}
.login-url:hover {
  background: linear-gradient(135deg, #ff5ca8, #0F1D33) !important;
  box-shadow: 0 6px 25px rgba(27, 42, 74, 0.4) !important;
}
.need-login a {
  color: #1B2A4A !important;
}
.need-login a:hover {
  border-bottom-color: #1B2A4A !important;
}
.quantity-control:hover {
  border-color: rgba(27, 42, 74, 0.3) !important;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.1) !important;
}
.order-total span:last-child {
  color: #1B2A4A !important;
}
.product-card-small:hover {
  box-shadow: 0 10px 25px rgba(27, 42, 74, 0.15),
                0 5px 15px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(27, 42, 74, 0.3) !important;
}
.product-small-image::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(27, 42, 74, 0.1)) !important;
}
.product-card-small:hover .product-small-price-bottom .price {
  color: #0F1D33 !important;
}
.inline-detail-cover {
  background: rgba(27, 42, 74, .06) !important;
}
.inline-control:focus {
  box-shadow: 0 0 0 3px rgba(27, 42, 74, .12) !important;
}
.inline-purchase-total {
  background: rgba(27, 42, 74, .08) !important;
}
.inline-purchase-wholesale {
  background: rgba(27, 42, 74, .06) !important;
}
.inline-detail-stock {
  background: rgba(27, 42, 74, .1) !important;
}
.inline-seckill {
  background: rgba(27, 42, 74, .12) !important;
}
.inline-service-links a {
  background: rgba(27, 42, 74, .08) !important;
}
.inline-service-links a:hover {
  background: rgba(27, 42, 74, .15) !important;
}
.inline-widget-radio:has(input:checked) {
  background: rgba(27, 42, 74, .1) !important;
}
.category-card-level {
  background: rgba(27, 42, 74, .08) !important;
}
.category-card-root-row > .category-card .category-card-level {
  background: rgba(27, 42, 74, .12) !important;
}
.category-card-third-row .category-card-child-row {
  border-color: rgba(27, 42, 74, .2) !important;
}
.category-card-third-row .category-card-child-items .category-card {
  border-color: rgba(27, 42, 74, .28) !important;
}
.category-card-third-row .category-card-child-items .category-card-level {
  background: rgba(27, 42, 74, .1) !important;
}
.category-card-child-heading i {
  background: rgba(27, 42, 74, .12) !important;
}
.category-card-child-row-1 > .category-card-child-items .category-card {
  box-shadow: 0 4px 12px rgba(27, 42, 74, .08) !important;
}
.category-card-child-row-1 > .category-card-child-items .category-card:hover {
  box-shadow: 0 8px 18px rgba(27, 42, 74, .16) !important;
}
.category-card-child-row-1 > .category-card-child-items .category-card.active {
  box-shadow: 0 8px 18px rgba(27, 42, 74, .22) !important;
}
.category-card-child-row-1 > .category-card-child-items .category-card-icon {
  background: rgba(27, 42, 74, .1) !important;
}
.category-card-child-row-1 > .category-card-child-items .category-card-count {
  background: rgba(27, 42, 74, .09) !important;
}

/* 价格统一香槟金 */
.product-list-price, .product-list-price .price, .product-list-price-mobile .price,
.price, .order-total span:last-child, .lot_string b, .seckill b,
.product-card-small:hover .product-small-price-bottom .price, .inline-purchase-total,
.inline-detail-stock, .price_tips a, .service-nickname {
  color: #A67C2E !important;
}
/* 剁手/购买按钮：藏青蓝实色 + 香槟金描边，去掉粉色光效 */
.product-list-btn {
  background: #1B2A4A !important;
  color: #FFFFFF !important;
  border: 1px solid #C9A961 !important;
  box-shadow: none !important;
}
.product-list-btn:hover {
  background: #2C4470 !important;
  color: #FFFFFF !important;
  border-color: #C9A961 !important;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.28) !important;
}
.product-list-btn:active, .product-list-btn:focus {
  background: #16223B !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.3) !important;
}

/* 库存数字紫色 -> 藏青蓝 */
.product-list-stock, .product-list-stock-mobile {
  color: #1B2A4A !important;
}

/* 商家昵称：原站用 background-clip:text + text-fill-color:transparent 做渐变文字，
   之前的 background 简写把 background-clip 重置导致渐变铺满成色块、文字透明被盖住。
   这里去掉色块背景，恢复为藏青蓝纯色文字，不再遮挡。 */
.service-nickname, .commodity-detail-main .service-nickname {
  background: transparent !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #1B2A4A !important;
  color: #1B2A4A !important;
}

/* ===== 风格优化：藏青蓝主色 + 香槟金强调（参照用户提供的风格图） ===== */
/* 1) 顶部导航栏：深藏青蓝底 + 香槟金 logo/标题/图标，金色登录按钮 */
.nav-bar, .top-bar, header.nav-bar {
  background: #1B2A4A !important;
}
.nav-title, .nav-logo, .nav-link .link-icon,
.nav-link.active, .nav-link:hover {
  -webkit-text-fill-color: #C9A961 !important;
  color: #C9A961 !important;
}
.nav-link.login-btn, .login-btn {
  background: linear-gradient(135deg, #C9A961, #E0C98A) !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2) 主要操作按钮「立即购买 / 联系客服 / 商家主页 / 数量加减」：香槟金实底 + 深藏青字 */
.product-list-btn,
.service-qq, .merchant-link, .inline-service-links a,
.inline-quantity-btn {
  background: linear-gradient(135deg, #C9A961, #E0C98A) !important;
  color: #1B2A4A !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #1B2A4A !important;
}
.product-list-btn:hover,
.service-qq:hover, .merchant-link:hover, .inline-service-links a:hover,
.inline-quantity-btn:hover {
  background: linear-gradient(135deg, #D8B86F, #EAD5A0) !important;
  color: #16223B !important;
  -webkit-text-fill-color: #16223B !important;
}

/* 3) 搜索按钮、选中分类：保持深藏青蓝（风格图如此），文字改白 */
.action-btn.search-btn,
.category-item.active {
  background: #1B2A4A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #1B2A4A !important;
}
.category-item.active * { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }

/* 4) 购买信息标题小图标：香槟金 */
.purchase-card .section-title i {
  background: linear-gradient(135deg, #C9A961, #E0C98A) !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  filter: none !important;
}

/* 5) 金色竖向装饰条：分类标题 / 商品列表标题 / 商品卡片左侧（参照风格图） */
.sidebar-header, .sidebar-header i {
  color: #A67C2E !important;
}
.purchase-card .section-title::after {
  background: linear-gradient(90deg, #C9A961, #E0C98A) !important;
}
/* 商品卡片左侧金色点缀 */
.product-card-small::before {
  background: linear-gradient(180deg, #C9A961, #E0C98A) !important;
}
.product-card-small:hover::before {
  background: linear-gradient(180deg, #B9953F, #C9A961) !important;
}

/* ===== 微调：选中分类/搜索/数量加减 用极淡蓝底；两个客服按钮统一同色 ===== */
/* 淡蓝底 + 藏青字，只带一点点颜色，不再用深实色块 */
.action-btn.search-btn,
.category-item.active,
.category-item.active *,
.inline-quantity-btn {
  background: #EEF2F9 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  border: 1px solid #D8E0EE !important;
  box-shadow: none !important;
}
.action-btn.search-btn:hover,
.inline-quantity-btn:hover {
  background: #E4EBF7 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
}
/* 让选中分类和旁边普通项有轻微区分：加一条金色左边条 */
.category-item.active {
  border-left: 3px solid #C9A961 !important;
}
/* 联系客服 / 商家主页：两个按钮统一为同样的淡蓝底 + 藏青字 */
.inline-service-links a,
.inline-service-links a:first-child,
.inline-service-links a:nth-child(2),
.service-qq, .service-url, .merchant-link {
  background: #EEF2F9 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  border: 1px solid #D8E0EE !important;
  box-shadow: none !important;
}
.inline-service-links a:hover,
.service-qq:hover, .service-url:hover, .merchant-link:hover {
  background: #E4EBF7 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
}

/* 修正：去掉选中分类项上误加的边框线（含所有子元素的框），只保留左侧金条和淡底 */
.category-item.active,
.category-item.active * {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
/* 重新只加回左侧金色竖条 */
.category-item.active {
  border-left: 3px solid #C9A961 !important;
}

/* 导航栏底部浅灰线 -> 淡香槟金细线，与金色 logo/按钮呼应，不再突兀 */
.nav-bar {
  border-bottom: 1px solid rgba(201, 169, 97, .55) !important;
}


/* 数量加减按钮再调浅一点：更淡的蓝灰底 + 细边框，文字保持藏青 */
.inline-quantity-btn,
.inline-quantity .inline-quantity-btn {
  background: #F7F9FD !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  border: 1px solid #E1E7F1 !important;
  box-shadow: none !important;
}
.inline-quantity-btn:hover,
.inline-quantity .inline-quantity-btn:hover {
  background: #EDF2FA !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
}


/* 商品详情页数量加减按钮（.quantity-control button / .quantity-btn）也调浅 */
.quantity-control button,
.quantity-control .quantity-btn,
.quantity-btn {
  background: #F7F9FD !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  border: 1px solid #E1E7F1 !important;
  box-shadow: none !important;
}
.quantity-control button:hover,
.quantity-control .quantity-btn:hover,
.quantity-btn:hover {
  background: #EDF2FA !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
}


/* 顶栏 logo 容器：白色圆形细框，替代旧图标被裁掉的淡金虚线 */
.logo-wrapper {
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, .18) !important;
}

/* 立即购买：点击/聚焦后保持香槟金，不再变成深藏青 */
.product-list-btn:active,
.product-list-btn:focus {
  background: linear-gradient(135deg, #D8B86F, #EAD5A0) !important;
  color: #16223B !important;
  -webkit-text-fill-color: #16223B !important;
  border: none !important;
  box-shadow: none !important;
}


/* 图标字体精简版：仅含本站使用的图标，130KB -> 5KB，显著加快首访 */
@font-face{font-family:bootstrap-icons;font-style:normal;font-weight:400;font-display:swap;src:url("/livechat/fonts/bootstrap-icons-subset.woff2") format("woff2")}


/* 详情页占位图：从首帧隐藏大图框，避免先出现空白框架；只有检测到真实商品图才显示 */
#commodityImage[src="/favicon.ico"]{opacity:0}
.service-avatar[src=""]{opacity:0}
.commodity-image{display:none!important;background:#f7f9fd}
html.lc-real-cover .commodity-image{display:block!important}

/* 国家/地区图作为商品封面时：不占大图位置，改成标题前的小图标 */
body.lc-flag-cover .commodity-image{display:none!important}
body.lc-flag-cover .commodity-title{display:flex;align-items:center;gap:8px}
body.lc-flag-cover .commodity-title::before{content:"";width:18px;height:18px;flex:0 0 18px;border-radius:3px;background-image:var(--lc-flag-src);background-size:cover;background-position:center;box-shadow:0 0 0 1px rgba(27,42,74,.12)}

/* 颜色再淡化：顶栏文字/图标、登录按钮、立即购买统一改浅香槟金 */
.nav-title, .nav-logo, .nav-link, .nav-link .link-icon,
.nav-link.active, .nav-link:hover, .nav-link span {
  -webkit-text-fill-color: #E4D3A8 !important;
  color: #E4D3A8 !important;
}
.nav-link.login-btn, .login-btn {
  background: linear-gradient(135deg, #EADDBB, #F6EEDC) !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
}
.product-list-btn {
  background: linear-gradient(135deg, #E8D7AC, #F4E9D2) !important;
  border: 1px solid #DCCBA1 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  box-shadow: none !important;
}
.product-list-btn:hover,
.product-list-btn:active,
.product-list-btn:focus {
  background: linear-gradient(135deg, #F1E3C2, #FAF3E4) !important;
  border-color: #D8C694 !important;
  color: #1B2A4A !important;
  -webkit-text-fill-color: #1B2A4A !important;
  box-shadow: none !important;
}
