/* ===== 全局重置与基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #f5f5f5; line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; border: 0; }
ul, ol { list-style: none; }
input, button, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; background: none; }

/* ===== 顶部服务栏 ===== */
.top-bar {
  background: #f7f7f7; border-bottom: 1px solid #eee; height: 36px; line-height: 36px;
  font-size: 12px; color: #999;
}
.top-bar-inner {
  width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.top-bar-services { display: flex; gap: 24px; }
.top-bar-services li { display: flex; align-items: center; gap: 4px; }
.top-bar-services li::before {
  content: ''; width: 14px; height: 14px; display: inline-block;
  background: #e4393c; border-radius: 50%; flex-shrink: 0;
}
.top-bar-phone { color: #e4393c; font-weight: 600; }

/* ===== 头部导航 ===== */
.site-header {
  background: #fff; padding: 20px 0; border-bottom: 3px solid #e4393c;
}
.header-inner {
  width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px;
}
.logo {
  font-size: 28px; font-weight: 700; color: #e4393c; letter-spacing: 2px; white-space: nowrap;
}
.logo span { color: #333; font-size: 18px; font-weight: 400; margin-left: 8px; }
.search-box { flex: 1; max-width: 560px; display: flex; }
.search-box input {
  flex: 1; height: 38px; border: 2px solid #e4393c; padding: 0 12px; font-size: 14px;
}
.search-box button {
  background: #e4393c; color: #fff; padding: 0 24px; height: 38px; font-size: 14px; font-weight: 600;
}
.header-cart {
  display: flex; align-items: center; gap: 6px; color: #e4393c; font-size: 14px; position: relative;
  border: 1px solid #e4393c; padding: 8px 20px; border-radius: 2px;
}
.header-cart .cart-badge {
  position: absolute; top: -8px; right: -8px; background: #e4393c; color: #fff;
  font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 9px; padding: 0 4px;
}

/* ===== 分类导航条 ===== */
.nav-bar { background: #fff; border-bottom: 1px solid #eee; }
.nav-inner {
  width: 1200px; margin: 0 auto; display: flex; height: 42px; align-items: center;
}
.nav-inner a {
  padding: 0 20px; height: 42px; line-height: 42px; font-size: 15px; color: #333;
}
.nav-inner a:hover, .nav-inner a.active { color: #e4393c; font-weight: 600; }
.nav-inner a:first-child { background: #e4393c; color: #fff; }

/* ===== 容器 ===== */
.container { width: 1200px; margin: 20px auto; }

/* ===== 面包屑 ===== */
.breadcrumb { font-size: 12px; color: #999; padding: 12px 0; }
.breadcrumb a:hover { color: #e4393c; }
.breadcrumb span { margin: 0 6px; }

/* ===== 轮播图 ===== */
.banner-section {
  width: 1200px; margin: 16px auto; display: flex; gap: 16px;
}
.banner-main {
  flex: 1; height: 340px; position: relative; overflow: hidden; border-radius: 4px;
}
.banner-main .slides { display: flex; height: 100%; transition: transform 0.5s ease; }
.banner-main .slides .slide {
  min-width: 100%; height: 100%; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 700;
}
.banner-main .slide-nav {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.banner-main .slide-nav span {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer;
}
.banner-main .slide-nav span.active { background: #fff; }
.banner-side {
  width: 240px; display: flex; flex-direction: column; gap: 8px;
}
.banner-side .side-card {
  flex: 1; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 600; padding: 16px;
}

/* ===== 热销排行榜 ===== */
.hot-ranking {
  background: #fff; border-radius: 4px; padding: 16px; margin-bottom: 20px;
}
.section-title {
  font-size: 20px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ''; width: 4px; height: 20px; background: #e4393c; border-radius: 2px;
}
.hot-list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.hot-item {
  min-width: 180px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; cursor: pointer;
  transition: box-shadow 0.2s;
}
.hot-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.hot-item .rank-num {
  position: absolute; top: 0; left: 0; background: #e4393c; color: #fff;
  padding: 2px 8px; font-size: 12px; font-weight: 600; z-index: 1;
}
.hot-item-img { width: 100%; height: 140px; object-fit: cover; background: #f9f9f9; }
.hot-item-name { padding: 8px 10px; font-size: 12px; height: 40px; overflow: hidden; }
.hot-item-price { padding: 0 10px 10px; color: #e4393c; font-size: 16px; font-weight: 700; }

/* ===== 楼层 ===== */
.floor {
  background: #fff; border-radius: 4px; margin-bottom: 20px; overflow: hidden;
}
.floor-header {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 20px;
  border-bottom: 2px solid #f0f0f0;
}
.floor-title { display: flex; align-items: center; gap: 12px; }
.floor-badge {
  background: #e4393c; color: #fff; font-size: 14px; font-weight: 700;
  padding: 4px 12px; border-radius: 2px;
}
.floor-name { font-size: 20px; font-weight: 700; }
.floor-tags { display: flex; gap: 16px; }
.floor-tags a { font-size: 13px; color: #666; }
.floor-tags a:hover { color: #e4393c; }
.floor-more { font-size: 13px; color: #999; }
.floor-more:hover { color: #e4393c; }
.floor-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #f0f0f0;
}
.floor-grid .product-card {
  background: #fff; padding: 12px; transition: box-shadow 0.2s; cursor: pointer;
}
.floor-grid .product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 1; }

/* ===== 商品卡片 ===== */
.product-card { display: flex; flex-direction: column; }
.product-card .card-img {
  width: 100%; height: 180px; object-fit: cover; background: #f9f9f9; margin-bottom: 8px;
}
.product-card .card-name {
  font-size: 13px; height: 38px; overflow: hidden; margin-bottom: 6px; color: #333;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card .card-price { color: #e4393c; font-size: 18px; font-weight: 700; }
.product-card .card-price small { font-size: 12px; font-weight: 400; }
.product-card .card-market-price {
  color: #999; font-size: 12px; text-decoration: line-through; margin-left: 6px; display: inline;
}
.product-card .card-sales { font-size: 12px; color: #999; margin-top: 4px; }
.product-card .buy-btn {
  display: inline-block; background: #e4393c; color: #fff; padding: 4px 14px;
  border-radius: 2px; font-size: 12px; margin-top: 8px; text-align: center;
}
.product-card .buy-btn:hover { background: #d6373a; }

/* ===== 商品详情页 ===== */
.detail-section { background: #fff; border-radius: 4px; padding: 20px; }
.detail-main { display: flex; gap: 24px; }
.detail-images { width: 420px; flex-shrink: 0; }
.detail-main-img {
  width: 420px; height: 420px; object-fit: cover; border: 1px solid #eee; margin-bottom: 8px;
}
.detail-thumbs { display: flex; gap: 8px; }
.detail-thumb {
  width: 60px; height: 60px; object-fit: cover; border: 2px solid transparent; cursor: pointer;
}
.detail-thumb.active { border-color: #e4393c; }
.detail-info { flex: 1; }
.detail-name { font-size: 20px; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.detail-intro { color: #666; font-size: 14px; margin-bottom: 16px; }
.detail-price-box {
  background: #f7f7f7; padding: 16px; border-radius: 4px; margin-bottom: 16px;
}
.detail-price-label { font-size: 13px; color: #999; }
.detail-price-val { font-size: 28px; color: #e4393c; font-weight: 700; }
.detail-market-price { font-size: 14px; color: #999; text-decoration: line-through; margin-left: 12px; }
.detail-meta {
  display: flex; gap: 32px; font-size: 13px; color: #999; margin-bottom: 16px; padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.detail-meta span strong { color: #333; }
.sku-row { margin-bottom: 16px; }
.sku-label { font-size: 13px; color: #999; margin-bottom: 8px; }
.sku-values { display: flex; flex-wrap: wrap; gap: 8px; }
.sku-value {
  border: 1px solid #ddd; padding: 6px 16px; border-radius: 2px; cursor: pointer; font-size: 13px;
  transition: all 0.15s;
}
.sku-value:hover { border-color: #e4393c; color: #e4393c; }
.sku-value.active { border-color: #e4393c; color: #e4393c; background: #fef0f0; }
.detail-quantity { display: flex; align-items: center; gap: 0; margin-bottom: 20px; }
.detail-quantity .qty-label { font-size: 13px; color: #999; margin-right: 16px; }
.qty-control { display: flex; align-items: center; border: 1px solid #ddd; }
.qty-control button {
  width: 32px; height: 32px; font-size: 16px; background: #f7f7f7;
}
.qty-control input {
  width: 50px; height: 32px; text-align: center; border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}
.detail-actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-favorite, .btn-cart-entry {
  border: 1px solid #e4393c; color: #e4393c; padding: 12px 28px; border-radius: 2px; font-size: 15px;
}
.btn-add-cart { background: #ff7d44; color: #fff; padding: 12px 36px; border-radius: 2px; font-size: 15px; }
.btn-buy-now { background: #e4393c; color: #fff; padding: 12px 36px; border-radius: 2px; font-size: 15px; }
.detail-tabs { margin-top: 24px; }
.tab-headers { display: flex; border-bottom: 2px solid #f0f0f0; }
.tab-header {
  padding: 12px 24px; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-header.active { color: #e4393c; border-bottom-color: #e4393c; font-weight: 600; }
.tab-content { padding: 20px; font-size: 14px; line-height: 1.8; }
.tab-content img { max-width: 100%; margin: 8px 0; }

/* ===== 评价 ===== */
.comment-item { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.comment-user { font-size: 13px; color: #666; margin-bottom: 4px; }
.comment-user .stars { color: #ff7d44; margin-left: 8px; }
.comment-text { font-size: 14px; margin-bottom: 8px; }

/* ===== 分类页 ===== */
.category-layout { display: flex; gap: 16px; min-height: 600px; }
.category-sidebar {
  width: 200px; background: #fff; border-radius: 4px; padding: 8px 0; flex-shrink: 0;
}
.category-sidebar .cat-item {
  padding: 12px 20px; font-size: 14px; cursor: pointer; border-left: 3px solid transparent;
}
.category-sidebar .cat-item:hover { background: #f9f9f9; }
.category-sidebar .cat-item.active { color: #e4393c; border-left-color: #e4393c; background: #fef0f0; font-weight: 600; }
.category-content { flex: 1; background: #fff; border-radius: 4px; padding: 16px; }
.category-sub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.sub-chip {
  padding: 6px 16px; border: 1px solid #ddd; border-radius: 16px; font-size: 13px; cursor: pointer;
}
.sub-chip.active { background: #e4393c; color: #fff; border-color: #e4393c; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ===== 商品列表（瀑布流） ===== */
.goods-list-layout { background: #fff; border-radius: 4px; padding: 16px; }
.list-search-bar { margin-bottom: 16px; }
.list-search-bar input {
  width: 300px; height: 34px; border: 2px solid #e4393c; padding: 0 12px;
}
.list-search-bar button { background: #e4393c; color: #fff; height: 34px; padding: 0 20px; }
.masonry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* ===== 购物车 ===== */
.cart-page { background: #fff; border-radius: 4px; padding: 20px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: #f7f7f7; padding: 12px; font-size: 13px; color: #666; font-weight: 600; text-align: left;
}
.cart-table td { padding: 16px 12px; border-bottom: 1px solid #f0f0f0; }
.cart-table .cart-cb { width: 40px; text-align: center; }
.cart-table .cart-info { display: flex; gap: 12px; align-items: center; }
.cart-table .cart-info img { width: 80px; height: 80px; object-fit: cover; border: 1px solid #eee; }
.cart-table .cart-info .cart-name { font-size: 13px; max-width: 300px; }
.cart-table .cart-info .cart-spec { font-size: 12px; color: #999; margin-top: 4px; }
.cart-table .cart-price-cell { color: #e4393c; font-weight: 600; width: 100px; }
.cart-table .cart-qty-cell { width: 120px; }
.cart-table .cart-subtotal { color: #e4393c; font-weight: 600; width: 100px; }
.cart-table .cart-action { width: 80px; }
.cart-table .cart-action button { color: #999; font-size: 13px; }
.cart-table .cart-action button:hover { color: #e4393c; }
.cart-footer {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; margin-top: 16px;
  border-top: 2px solid #f0f0f0; position: sticky; bottom: 0; background: #fff;
}
.cart-footer-left { display: flex; align-items: center; gap: 16px; }
.cart-footer-right { display: flex; align-items: center; gap: 20px; }
.cart-total-price { color: #e4393c; font-size: 24px; font-weight: 700; }
.cart-checkout-btn {
  background: #e4393c; color: #fff; padding: 12px 40px; border-radius: 2px; font-size: 16px; font-weight: 600;
}
.cart-checkout-btn:disabled { background: #ccc; cursor: not-allowed; }
.cart-empty { text-align: center; padding: 60px 0; color: #999; }
.cart-empty p { margin-bottom: 16px; font-size: 16px; }
.cart-empty a { color: #e4393c; font-size: 14px; border: 1px solid #e4393c; padding: 8px 24px; border-radius: 2px; }

/* ===== 结算页 ===== */
.checkout-page { background: #fff; border-radius: 4px; padding: 20px; }
.checkout-section { margin-bottom: 24px; }
.checkout-section h3 {
  font-size: 16px; margin-bottom: 12px; padding-left: 8px; border-left: 4px solid #e4393c;
}
.address-card {
  border: 2px solid #e4393c; border-radius: 4px; padding: 16px; display: flex; gap: 16px; align-items: center;
}
.address-card .addr-name { font-weight: 600; font-size: 15px; }
.address-card .addr-phone { color: #666; margin-left: 16px; }
.address-card .addr-detail { color: #666; margin-top: 4px; font-size: 13px; }
.address-empty {
  border: 2px dashed #ddd; border-radius: 4px; padding: 20px; text-align: center; color: #999; cursor: pointer;
}
.address-empty:hover { border-color: #e4393c; color: #e4393c; }
.checkout-items { width: 100%; border-collapse: collapse; }
.checkout-items th { background: #f7f7f7; padding: 10px; font-size: 13px; text-align: left; color: #666; }
.checkout-items td { padding: 12px 10px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.checkout-items img { width: 60px; height: 60px; object-fit: cover; }
.checkout-summary {
  background: #f7f7f7; padding: 20px; border-radius: 4px; text-align: right;
}
.checkout-summary .summary-row { margin-bottom: 8px; font-size: 14px; }
.checkout-summary .summary-row strong { color: #e4393c; font-size: 20px; }
.checkout-submit {
  background: #e4393c; color: #fff; padding: 14px 48px; border-radius: 2px; font-size: 16px; font-weight: 600;
  margin-top: 16px;
}

/* ===== 订单页 ===== */
.orders-page { background: #fff; border-radius: 4px; padding: 20px; }
.order-tabs {
  display: flex; border-bottom: 2px solid #f0f0f0; margin-bottom: 16px;
}
.order-tab {
  padding: 12px 24px; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.order-tab.active { color: #e4393c; border-bottom-color: #e4393c; font-weight: 600; }
.order-card {
  border: 1px solid #eee; border-radius: 4px; margin-bottom: 16px; overflow: hidden;
}
.order-card-header {
  background: #f7f7f7; padding: 10px 16px; display: flex; justify-content: space-between; font-size: 13px; color: #666;
}
.order-card-header .order-status { color: #e4393c; font-weight: 600; }
.order-card-body { padding: 16px; }
.order-item { display: flex; gap: 12px; margin-bottom: 12px; }
.order-item img { width: 70px; height: 70px; object-fit: cover; border: 1px solid #eee; }
.order-item .oi-info { flex: 1; font-size: 13px; }
.order-item .oi-spec { color: #999; font-size: 12px; margin-top: 4px; }
.order-item .oi-price { text-align: right; font-size: 13px; }
.order-item .oi-price .oi-price-val { color: #e4393c; font-weight: 600; }
.order-card-footer {
  padding: 12px 16px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; gap: 12px; align-items: center;
}
.order-total { font-size: 14px; margin-right: auto; }
.order-total strong { color: #e4393c; font-size: 18px; }
.order-btn {
  padding: 6px 20px; border: 1px solid #ddd; border-radius: 2px; font-size: 13px; cursor: pointer;
}
.order-btn.primary { background: #e4393c; color: #fff; border-color: #e4393c; }
.order-btn.primary:hover { background: #d6373a; }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 80px 0; color: #999; }
.empty-state p { margin-bottom: 16px; font-size: 16px; }
.empty-state a { color: #e4393c; font-size: 14px; border: 1px solid #e4393c; padding: 8px 24px; border-radius: 2px; display: inline-block; }

/* ===== 页脚 ===== */
.site-footer {
  background: #333; color: #999; padding: 30px 0; margin-top: 40px; text-align: center; font-size: 13px;
}
.footer-services {
  display: flex; justify-content: center; gap: 48px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #444;
}
.footer-services li { font-size: 14px; }
.footer-services li strong { color: #fff; display: block; font-size: 16px; }

/* 页脚联系我们 */
.footer-contact {
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #444;
  display: inline-block; text-align: left; min-width: 320px;
}
.footer-contact h3 {
  color: #fff; font-size: 16px; margin-bottom: 12px; font-weight: 600; text-align: center;
}
.footer-contact p {
  margin-bottom: 6px; font-size: 13px; color: #999; text-align: left;
}
.footer-contact a {
  color: #6bb3f0; text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}

/* ===== 通用工具 ===== */
.text-red { color: #e4393c; }
.text-gray { color: #999; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ===== 提示弹窗 ===== */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75); color: #fff; padding: 12px 24px; border-radius: 4px;
  font-size: 14px; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.toast.show { opacity: 1; }

/* ===== 模态框 ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
  display: none; justify-content: center; align-items: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 8px; padding: 24px; min-width: 360px; max-width: 480px;
}
.modal-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.modal-body { font-size: 14px; color: #666; margin-bottom: 20px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; }
.modal-btn { padding: 8px 24px; border: 1px solid #ddd; border-radius: 2px; font-size: 14px; }
.modal-btn.primary { background: #e4393c; color: #fff; border-color: #e4393c; }

/* ===== 有偿信息（付费查看文章列表） ===== */
.paid-page { background: #fff; border-radius: 4px; padding: 24px; }

/* 有偿信息说明栏 */
.paid-notice {
  background: #fff3e0; border: 1px solid #ffe0b2; border-radius: 4px; padding: 16px;
  margin-bottom: 24px; font-size: 13px; color: #e65100; line-height: 1.8;
}
.paid-notice strong { color: #e65100; }

/* 文章列表 */
.article-list { }
.article-item {
  border-bottom: 1px solid #f0f0f0; padding: 24px 0; display: flex; gap: 20px;
}
.article-item:last-child { border-bottom: none; }
.article-item:hover { background: #fafafa; }

/* 文章图标占位 */
.article-icon {
  width: 80px; height: 80px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 36px;
}

/* 文章内容区 */
.article-body { flex: 1; min-width: 0; }
.article-title {
  font-size: 17px; font-weight: 600; color: #333; margin-bottom: 8px; cursor: pointer;
  display: block; line-height: 1.4;
}
.article-title:hover { color: #e4393c; }
.article-meta {
  font-size: 12px; color: #999; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.article-meta .article-date::before { content: '📅'; margin-right: 4px; }
.article-meta .article-price-tag {
  background: #fff3e0; color: #ff6b00; padding: 2px 8px; border-radius: 2px; font-weight: 600;
}
.article-preview {
  font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 付费查看按钮 */
.article-actions { display: flex; align-items: center; gap: 12px; }
.btn-pay-view {
  background: #e4393c; color: #fff; padding: 8px 24px; border-radius: 2px;
  font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.btn-pay-view:hover { background: #d6373a; }
.btn-pay-view::before { content: '🔒'; font-size: 12px; }
.btn-pay-view.purchased { background: #4caf50; }
.btn-pay-view.purchased::before { content: '✓'; }
.article-price-info {
  font-size: 13px; color: #e4393c; font-weight: 600;
}

/* 文章详情弹窗 */
.article-detail-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000;
  display: none; justify-content: center; align-items: flex-start; padding: 40px 20px; overflow-y: auto;
}
.article-detail-overlay.show { display: flex; }
.article-detail-box {
  background: #fff; border-radius: 8px; max-width: 800px; width: 100%; padding: 32px;
  position: relative;
}
.article-detail-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; color: #999;
}
.article-detail-close:hover { background: #e4393c; color: #fff; }
.article-detail-title {
  font-size: 22px; font-weight: 700; margin-bottom: 12px; padding-right: 40px; line-height: 1.4;
}
.article-detail-meta {
  font-size: 13px; color: #999; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0; display: flex; gap: 16px;
}
.article-detail-content {
  font-size: 15px; line-height: 1.9; color: #333;
}
.article-detail-content h3 {
  font-size: 17px; font-weight: 600; margin: 20px 0 10px; color: #e4393c;
}
.article-detail-content p { margin-bottom: 12px; }

/* 付费确认弹窗 */
.pay-confirm-box {
  background: #fff; border-radius: 8px; padding: 32px; min-width: 400px; text-align: center; position: relative;
}
.pay-confirm-close {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; color: #999; line-height: 1;
}
.pay-confirm-close:hover { background: #e4393c; color: #fff; }
.pay-confirm-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fff3e0; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.pay-confirm-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.pay-confirm-price { font-size: 32px; color: #e4393c; font-weight: 700; margin: 12px 0; }
.pay-confirm-qr {
  margin: 16px auto; text-align: center; width: 200px;
}
.pay-confirm-qr img {
  width: 200px; height: 200px; border: 1px solid #eee; border-radius: 8px; display: block;
}
.pay-confirm-qr-label {
  margin-top: 8px; font-size: 14px; color: #333; font-weight: 600;
}
.pay-confirm-desc { font-size: 13px; color: #999; margin-bottom: 24px; line-height: 1.6; }
.pay-confirm-actions { display: flex; gap: 12px; justify-content: center; }
.pay-confirm-btn {
  padding: 10px 32px; border-radius: 2px; font-size: 15px; cursor: pointer;
}
.pay-confirm-btn.cancel { border: 1px solid #ddd; color: #666; background: #fff; }
.pay-confirm-btn.confirm { background: #e4393c; color: #fff; border: none; font-weight: 600; }
.pay-confirm-btn.confirm:hover { background: #d6373a; }

/* 支付等待状态 */
.pay-confirm-waiting {
  text-align: center; padding: 20px 0;
}
.pay-spinner {
  width: 40px; height: 40px; border: 4px solid #f0f0f0; border-top-color: #e4393c;
  border-radius: 50%; margin: 0 auto 12px; animation: pay-spin 0.8s linear infinite;
}
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay-waiting-text { font-size: 15px; color: #333; font-weight: 600; margin-bottom: 4px; }
.pay-waiting-sub { font-size: 13px; color: #999; }

/* 支付成功提示 */
.pay-confirm-success {
  text-align: center; padding: 20px 0;
}
.pay-success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #4caf50; color: #fff;
  font-size: 32px; line-height: 56px; margin: 0 auto 12px;
}
.pay-success-text { font-size: 18px; color: #4caf50; font-weight: 600; }

/* 支付验证链接 */
.pay-confirm-verify {
  margin: 16px 0 8px;
}
.pay-verify-link {
  font-size: 14px; color: #e4393c; text-decoration: underline; cursor: pointer;
}
.pay-verify-link:hover { color: #d6373a; }

/* 支付未检测到 */
.pay-confirm-fail {
  text-align: center; padding: 20px 0;
}
.pay-fail-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #ff9800; color: #fff;
  font-size: 32px; line-height: 56px; margin: 0 auto 12px;
}
.pay-fail-text { font-size: 18px; color: #ff9800; font-weight: 600; }
.pay-fail-sub { font-size: 13px; color: #999; margin-top: 4px; }

/* 有偿信息空状态 */
.paid-empty { text-align: center; padding: 60px 0; color: #999; }
