/* 兴税办本地化补充样式（顶部状态条 / 价格加购区 / 自定义弹窗）— 文件名沿用 site07 的 xqb 前缀，仅内部类名/注释已本地化 */
.w1200 { width: 1200px; margin: 0 auto; }
.clear { clear: both; }

/* 顶部状态条 */
.xqb-topbar { background: #f26522; color: #fff; font-size: 12px; line-height: 32px; height: 32px; }
.xqb-topbar .w1200 { position: relative; }
.xqb-topbar-l { float: left; }
.xqb-topbar-r { float: right; }
.xqb-topbar a { color: #fff; text-decoration: none; }
.xqb-topbar a:hover { text-decoration: underline; }
.xqb-cart { font-weight: bold; }
.xqb-sep { margin: 0 8px; color: #ffd9c4; }
.xqb-login a { padding: 2px 10px; background: #d94f12; border-radius: 2px; }

/* 业务子页：价格 + 加入购物车 */
.xqb-pricebar { margin: 26px 0 10px; padding: 18px 22px; background: #fff7f2; border: 1px solid #f5c9b0; border-radius: 4px; overflow: hidden; }
.xqb-pricebar .xqb-p-left { float: left; line-height: 44px; }
.xqb-pricebar .xqb-plabel { font-size: 14px; color: #666; margin-right: 10px; }
.xqb-pricebar .xqb-pnum { font-size: 30px; font-weight: bold; color: #f26522; }
.xqb-pricebar .xqb-punit { font-size: 13px; color: #999; margin-left: 4px; }
.xqb-pricebar .xqb-p-tip { float: left; margin-left: 18px; line-height: 44px; color: #999; font-size: 12px; }
.xqb-pricebar .xqb-addcart { float: right; }
.xqb-btn-cart { display: inline-block; height: 44px; line-height: 44px; padding: 0 34px; background: #f26522; color: #fff; font-size: 16px; border: none; border-radius: 3px; cursor: pointer; }
.xqb-btn-cart:hover { background: #d94f12; }

/* 自定义弹窗（禁止 window.alert/confirm） */
.modal-mask { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); z-index: 9999; align-items: center; justify-content: center; }
.modal-box { position: relative; width: 380px; background: #fff; border-radius: 6px; padding: 26px 28px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.modal-box h3 { margin: 0 0 12px; font-size: 18px; color: #333; }
.modal-box p { color: #666; font-size: 14px; line-height: 1.8; margin: 0 0 18px; }
.modal-close { position: absolute; right: 12px; top: 10px; font-size: 20px; color: #999; cursor: pointer; background: none; border: none; }
.modal-actions { text-align: right; }
.modal-actions a, .modal-actions button { display: inline-block; margin-left: 10px; padding: 8px 22px; font-size: 14px; border-radius: 3px; cursor: pointer; text-decoration: none; }
.modal-actions .btn-primary { background: #f26522; color: #fff; border: 1px solid #f26522; }
.modal-actions .btn-plain { background: #fff; color: #666; border: 1px solid #ddd; }

/* 内页正文图片自适应（内页布局本身由 assets/Templates/web/css/style.css 提供） */
/* clear:both：框架的面包屑条为 float，未清除会把正文块挤成 0 宽 */
.common-inner-content { clear: both; box-sizing: border-box; padding: 0 16px; line-height: 2; color: #444; }
.common-inner-content img { max-width: 100%; height: auto; }
/* 原站该背景图已失效（404），此处屏蔽，避免多余请求 */
body { background-image: none; }

/* 内页左侧：服务热线（替代原站烧死号码的图片） */
.xqb-left-tel { width: 240px; margin-top: 14px; padding: 20px 0 22px; background: #f26522; border-radius: 4px; text-align: center; color: #fff; }
.xqb-left-tel .xqb-lt-label { font-size: 14px; color: #ffe4d6; }
.xqb-left-tel .xqb-lt-num { font-size: 26px; font-weight: bold; font-family: Arial, "Microsoft YaHei", sans-serif; line-height: 1.5; margin-top: 4px; }
.xqb-left-tel .xqb-lt-tip { font-size: 12px; color: #ffd9c4; margin-top: 2px; }
.xqb-left-tel .xqb-lt-btn { display: inline-block; margin-top: 14px; height: 34px; line-height: 34px; padding: 0 24px; background: #fff; color: #f26522; font-size: 14px; border-radius: 3px; text-decoration: none; }
.xqb-left-tel .xqb-lt-btn:hover { background: #fff7f2; }

/* 购物车 / 结算表格 */
.xqb-form-title { font-size: 18px; font-weight: bold; color: #333; border-bottom: 1px solid #eee; padding-bottom: 12px; margin: 6px 0 18px; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th { background: #f7f7f7; padding: 12px 10px; text-align: center; font-size: 14px; color: #666; border-bottom: 2px solid #eee; font-weight: normal; }
.cart-table td { padding: 14px 10px; border-bottom: 1px solid #eee; vertical-align: middle; text-align: center; font-size: 14px; color: #444; }
.cart-table td.xqb-td-name { text-align: left; }
.cart-table td img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; }
.xqb-price { color: #f26522; }
.xqb-qty { display: inline-flex; align-items: center; gap: 6px; }
.xqb-qty button { width: 26px; height: 26px; line-height: 24px; border: 1px solid #ddd; background: #fff; border-radius: 3px; cursor: pointer; color: #666; font-size: 14px; padding: 0; }
.xqb-qty button:hover { border-color: #f26522; color: #f26522; }
.xqb-del { color: #bbb; font-size: 18px; }
.xqb-del:hover { color: #f26522; }
.cart-total { text-align: right; padding: 20px 0 0; font-size: 15px; color: #666; }
.cart-total strong { color: #f26522; font-size: 26px; font-family: Arial, sans-serif; margin-left: 6px; }
.xqb-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 22px; }
.btn-plain2 { display: inline-block; height: 40px; line-height: 40px; padding: 0 26px; border: 1px solid #ddd; border-radius: 3px; color: #666; font-size: 14px; text-decoration: none; background: #fff; }
.btn-plain2:hover { border-color: #f26522; color: #f26522; }
.btn-checkout { display: inline-block; height: 40px; line-height: 40px; padding: 0 34px; background: #f26522; color: #fff; border: none; border-radius: 3px; font-size: 15px; font-weight: bold; cursor: pointer; text-decoration: none; }
.btn-checkout:hover { background: #d94f12; }

/* 结算订单明细 */
.order-list { border: 1px solid #eee; border-radius: 4px; padding: 6px 20px; background: #fff; }
.order-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed #eee; font-size: 14px; color: #444; }
.order-row.xqb-sum { border-bottom: none; font-size: 16px; font-weight: bold; }

/* 支付弹窗内容 */
.modal-box .m-title { line-height: 42px; background: #f26522; color: #fff; font-size: 16px; padding-left: 20px; position: relative; margin: -26px -28px 18px; border-radius: 6px 6px 0 0; }
.modal-box .m-close { position: absolute; right: 14px; top: 11px; width: 22px; height: 22px; line-height: 20px; text-align: center; color: #fff; cursor: pointer; font-size: 18px; background: none; border: none; }
.payment-method-tabs { display: flex; justify-content: center; gap: 16px; margin: 4px 0 16px; }
.payment-method-tab { padding: 8px 22px; border: 2px solid #eee; border-radius: 4px; cursor: pointer; font-size: 14px; background: #fff; color: #666; }
.payment-method-tab.active { border-color: #f26522; color: #f26522; background: #fff7f2; }
.payment-total { font-size: 14px; color: #666; margin-bottom: 14px; }
.payment-total strong { color: #f26522; font-size: 22px; font-family: Arial, sans-serif; }
.qr-display { width: 190px; height: 190px; margin: 0 auto 12px; background: #fafafa; border: 2px dashed #e0e0e0; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr-display .qr-icon { font-size: 40px; margin-bottom: 8px; }
.qr-display .qr-text { font-size: 16px; color: #f26522; font-weight: bold; }

/* 通用表单字段（登录 / 留言） */
.xqb-field { margin-bottom: 16px; }
.xqb-field label { display: block; font-size: 14px; color: #666; margin-bottom: 6px; }
.xqb-field input, .xqb-field textarea { width: 100%; box-sizing: border-box; border: 1px solid #ddd; border-radius: 3px; padding: 10px 12px; font-size: 14px; color: #333; font-family: inherit; }
.xqb-field input:focus, .xqb-field textarea:focus { border-color: #f26522; outline: none; }
.xqb-field textarea { line-height: 1.8; resize: vertical; }

/* 登录页 */
.xqb-login-wrap { width: 1200px; margin: 0 auto; padding: 40px 0 70px; }
.xqb-login-box { width: 400px; margin: 0 auto; background: #fff; border: 1px solid #eee; border-radius: 4px; padding: 30px 34px 26px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.xqb-login-tit { font-size: 20px; color: #333; font-weight: bold; text-align: center; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #eee; }
.xqb-btn-login { width: 100%; height: 42px; background: #f26522; color: #fff; border: none; border-radius: 3px; font-size: 16px; letter-spacing: 4px; cursor: pointer; }
.xqb-btn-login:hover { background: #d94f12; }
.xqb-login-tip { text-align: center; margin-top: 18px; font-size: 13px; color: #999; }

/* 商品套餐列表（全宽，无侧栏） */
.xqb-full-col { box-sizing: border-box; width: 1200px; background: #fff; border: 1px solid #eee; }
.products-grid { display: flex; flex-wrap: wrap; gap: 20px; padding: 6px 0 10px; }
.product-card { width: calc((100% - 40px) / 3); border: 1px solid #eee; border-radius: 4px; overflow: hidden; background: #fff; transition: box-shadow .2s; box-sizing: border-box; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.product-card .pc-img { height: 150px; background: #faf6f2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .pc-img img { max-height: 130px; width: auto; }
.product-card .product-info { padding: 16px 18px 18px; }
.product-card .category-tag { display: inline-block; font-size: 12px; color: #f26522; background: #fff2ea; border: 1px solid #f9d3bd; border-radius: 2px; padding: 2px 8px; }
.product-card h3 { font-size: 17px; color: #333; margin: 10px 0 6px; font-weight: bold; }
.product-card .product-desc { font-size: 13px; color: #888; line-height: 1.7; height: 44px; overflow: hidden; }
.product-card .product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #eee; }
.product-card .product-price { font-size: 22px; color: #f26522; font-weight: bold; font-family: Arial, sans-serif; }
.product-card .btn-add-cart { height: 34px; padding: 0 20px; background: #f26522; color: #fff; border: none; border-radius: 3px; font-size: 14px; cursor: pointer; }
.product-card .btn-add-cart:hover { background: #d94f12; }
