/* aeoae shell-override — 最后加载，统一各业务页面里自带 style 块造成的风格分裂
   规则一律带 body 前缀提升优先级，用来压过页面级 !important */

:root{
  --aeo-red:#FE4740;
  --aeo-red-dark:#e13a34;
  --aeo-ink:#111;
  --aeo-muted:#6b6b6b;
  --aeo-line:#e6e6e6;
  --aeo-soft:#fafafa;
  --aeo-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

/* ---------- 页面底色 ---------- */
body{background:#fff !important;background-image:none !important}
body .wrapper,body .content-page,body .content{background:transparent !important;background-image:none !important}
body .checkout-container,body .xlo-product-area,body .buy-grid,body .search-page{background:#fff !important;background-image:none !important}
body .xlo-breadcrumb-placeholder{background:#fff !important;border-bottom:1px solid var(--aeo-line) !important}

/* ---------- 顶部导航 ---------- */
body .xnav{background:#fff !important;border-bottom:1px solid var(--aeo-line) !important;box-shadow:none !important;height:68px !important}
body .xnav.scrolled{background:#fff !important;box-shadow:none !important}
body .xnav-inner{max-width:1296px !important;height:68px !important;padding:0 16px !important}
body .xnav-logo-icon{height:34px !important;width:auto !important;max-width:220px !important}
body .xnav-btn{border-radius:0 !important}
body .xnav-btn:hover{background:#f5f5f5 !important}
body .xnav-mobile-menu{background:#fff !important;border-top:1px solid var(--aeo-line) !important;box-shadow:none !important}
body .xnav-dropdown{border-radius:0 !important;border:1px solid var(--aeo-line) !important;box-shadow:0 12px 32px rgba(0,0,0,.08) !important}

/* ---------- 卡片 / 面板：白底 + 1px 细线 + 直角 + 无阴影 ---------- */
body .card,
body .buy-product.card,
body .buy-product.card.card-body,
body .search-card,
body .uc-panel,
body .uc-stat-card,
body .uc-order-card,
body .uc-wallet-card,
body .uc-recharge-card,
body .uc-modal-content,
body .uc-ticket-card,
body .order-summary,
body .checkout-card,
body .checkout-item,
body .error-card,
body .error-message-box,
body .list-group-card,
body .cm-flow-card,
body .cm-module,
body .rb-card,
body .rp-contact-inner,
body .faq-contact{
  background:#fff !important;
  background-image:none !important;
  border:1px solid var(--aeo-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body .card-header,body .card-footer,body .card-body,
body .uc-panel-header,body .uc-modal-header,body .order-summary-header{
  background:#fff !important;
  background-image:none !important;
  border-color:var(--aeo-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* ---------- 主按钮：统一品牌红 ---------- */
/* custom.css 用 .btn-primary:not(.btn-danger):not([class*=btn-outline]) 的深蓝渐变压着，
   这条同权重且最后加载，用来把它顶掉 */
body .btn-primary:not(.btn-danger):not([class*="btn-outline"]),
body .btn-submit,
body .btn-primary.btn-block,
body .btn-danger,
body .btn-success,
body .btn-info,
body .auth-btn,
body #buy-form button#order-btn,
body .buy-shop .btn-danger#order-btn,
body .s-btn-primary,
body .btn-pay,
body .cm-form-submit,
body .faq-contact-btn,
body .rp-contact-btn,
body .uc-recharge-btn,
body .btn-submit-ticket,
body .uc-badge-pay,
body .xlo-signin-btn{
  background:var(--aeo-red) !important;
  background-image:none !important;
  border:1px solid var(--aeo-red) !important;
  color:#fff !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  transform:none !important;
  filter:none !important;
  font-weight:500 !important;
}
body .btn-primary:not(.btn-danger):not([class*="btn-outline"]):hover,
body .btn-primary:hover,
body .btn-submit:hover,
body .btn-danger:hover,
body .btn-success:hover,
body .btn-info:hover,
body .auth-btn:hover,
body #buy-form button#order-btn:hover,
body .buy-shop .btn-danger#order-btn:hover,
body .s-btn-primary:hover,
body .btn-pay:hover,
body .cm-form-submit:hover,
body .faq-contact-btn:hover,
body .rp-contact-btn:hover,
body .uc-recharge-btn:hover,
body .btn-submit-ticket:hover{
  background:var(--aeo-red-dark) !important;
  background-image:none !important;
  border-color:var(--aeo-red-dark) !important;
  color:#fff !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
  opacity:1 !important;
}

/* ---------- 次按钮：白底细线 ---------- */
body .s-btn-secondary,
body .btn-secondary,
body .btn-error-ghost,
body .btn-outline-primary,
body .btn-outline-danger,
body .btn-outline-secondary,
body .btn-light,
body .btn-default,
body .btn-white,
body .uc-view-btn,
body .uc-btn-detail,
body .uc-support-btn,
body .uc-copy-btn,
body .kami-copy-btn,
body .auth-code-btn{
  background:#fff !important;
  background-image:none !important;
  border:1px solid var(--aeo-line) !important;
  color:var(--aeo-ink) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
}
body .s-btn-secondary:hover,
body .btn-secondary:hover,
body .btn-error-ghost:hover,
body .btn-outline-primary:hover,
body .btn-outline-danger:hover,
body .btn-outline-secondary:hover,
body .uc-view-btn:hover,
body .uc-btn-detail:hover,
body .uc-support-btn:hover,
body .auth-code-btn:hover{
  border-color:var(--aeo-red) !important;
  color:var(--aeo-red) !important;
  background:#fff5f4 !important;
  background-image:none !important;
}

/* ---------- 输入框 ---------- */
body .form-control,
body .auth-input,
body .s-input,
body .uc-form-input,
body .tk-input,
body .tk-textarea,
body .xlo-search-input,
body .captcha-group input{
  background:#fff !important;
  background-image:none !important;
  border:1px solid #d9d9d9 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:var(--aeo-ink) !important;
  min-height:44px;
  font-size:14px;
}
body .form-control:focus,
body .auth-input:focus,
body .s-input:focus,
body .uc-form-input:focus,
body .tk-input:focus,
body .tk-textarea:focus{
  background:#fff !important;
  border-color:var(--aeo-red) !important;
  box-shadow:0 0 0 1px var(--aeo-red) !important;
  outline:none !important;
}
body .form-control::placeholder,
body .auth-input::placeholder,
body .s-input::placeholder{color:#a3a3a3 !important}

/* OTP 小格 */
body .s-otp-slot,
body .otp-slot{
  background:#fff !important;
  background-image:none !important;
  border:1px solid #d9d9d9 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body .s-otp-slot:focus,
body .otp-slot:focus{border-color:var(--aeo-red) !important;box-shadow:none !important;outline:none !important}

body .captcha-img-box,
body .auth-captcha-img{
  background:#fafafa !important;
  background-image:none !important;
  border:1px solid #d9d9d9 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body .bootstrap-touchspin.input-group .btn,
body .bootstrap-touchspin .input-group-text{border-radius:0 !important}
/* 数量步进：边框画在外层 input-group 上，内部透明，按钮不是红色 CTA */
body .bootstrap-touchspin.input-group{
  background:#fff !important;
  background-image:none !important;
  border:1px solid #d9d9d9 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body .bootstrap-touchspin .btn-primary:not(.btn-danger):not([class*="btn-outline"]),
body .bootstrap-touchspin .btn-primary{
  background:transparent !important;
  background-image:none !important;
  border:none !important;
  color:var(--aeo-ink) !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body .bootstrap-touchspin .btn-primary:not(.btn-danger):not([class*="btn-outline"]):hover,
body .bootstrap-touchspin .btn-primary:hover{
  background:#f5f5f5 !important;
  background-image:none !important;
  color:var(--aeo-red) !important;
}

/* ---------- 表单标签：等宽小字 ---------- */
body .auth-label,
body .s-label,
body .buy-title,
body .uc-form-label,
body .tk-label,
body .form-label,
body .col-form-label{
  font-family:var(--aeo-mono) !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:var(--aeo-muted) !important;
  font-weight:500 !important;
}

/* custom.css 用 html[lang] *:not(...) !important 把全站字体钉成 Inter/Montserrat，
   等宽小字必须用同等权重（3 类 + html/body）才能压回来 */
html body .aeo-head-ghost:not(.mdi):not([class*="icon"]),
html body .aeo-head-cta:not(.mdi):not([class*="icon"]),
html body .aeo-announce a:not(.mdi):not([class*="icon"]),
html body .aeo-footer-copy:not(.mdi):not([class*="icon"]),
html body .aeo-head-ghost span:not(.mdi):not([class*="icon"]),
html body .aeo-head-cta span:not(.mdi):not([class*="icon"]){
  font-family:chivoMono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace !important;
}
html body .auth-label:not(.mdi):not([class*="icon"]),
html body .s-label:not(.mdi):not([class*="icon"]),
html body .buy-title:not(.mdi):not([class*="icon"]),
html body .uc-form-label:not(.mdi):not([class*="icon"]),
html body .tk-label:not(.mdi):not([class*="icon"]),
html body .form-label:not(.mdi):not([class*="icon"]),
html body .col-form-label:not(.mdi):not([class*="icon"]),
html body .search-tab:not(.mdi):not([class*="icon"]),
html body .buy-section-tab:not(.mdi):not([class*="icon"]),
html body .uc-tab:not(.mdi):not([class*="icon"]),
html body .ticket-tab:not(.mdi):not([class*="icon"]),
html body .bill-table thead th:not(.mdi):not([class*="icon"]),
html body .table thead th:not(.mdi):not([class*="icon"]),
html body .uc-table thead th:not(.mdi):not([class*="icon"]){
  font-family:var(--aeo-mono) !important;
}

/* ---------- 标签页 ---------- */
body .search-tabs,
body .buy-section-tabs,
body .uc-tabs{
  background:#fff !important;
  background-image:none !important;
  border:1px solid var(--aeo-line) !important;
  border-radius:0 !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  box-shadow:none !important;
}
body .search-tabs{border:none !important;border-bottom:1px solid var(--aeo-line) !important}
body .search-tab,
body .buy-section-tab,
body .uc-tab,
body .ticket-tab{
  font-family:var(--aeo-mono) !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:var(--aeo-muted) !important;
  border-radius:0 !important;
}
body .search-tab.active,
body .buy-section-tab.active,
body .uc-tab.active,
body .ticket-tab.active{color:var(--aeo-ink) !important}
body .search-tab.active{border-bottom-color:var(--aeo-red) !important}
body .buy-section-tab.active::after{background:var(--aeo-red) !important;border-radius:0 !important}
body .buy-section-tab .bst-count{border-radius:0 !important;background:var(--aeo-soft) !important;color:var(--aeo-muted) !important}

/* ---------- 支付方式 ---------- */
body .pay-item,
body .payment-method-item,
body .pay-type .pay-item{
  background:#fff !important;
  background-image:none !important;
  border:1px solid var(--aeo-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
}
body .pay-item:hover,
body .payment-method-item:hover{background:#fafafa !important;background-image:none !important;transform:none !important}
body .pay-item.active,
body .payment-method-item.active{
  background:#fff5f4 !important;
  background-image:none !important;
  border-color:var(--aeo-red) !important;
  color:var(--aeo-red) !important;
  box-shadow:none !important;
}
body .pay-item.active .pay-name,
body .payment-method-item.active .payment-method-label{color:var(--aeo-red) !important}

/* ---------- 表格 ---------- */
body .bill-table,
body .table{
  background:#fff !important;
  border:1px solid var(--aeo-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body .bill-table thead th,
body .table thead th{
  font-family:var(--aeo-mono) !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:#8a8a8a !important;
  font-weight:500 !important;
  background:#fff !important;
  background-image:none !important;
  border-top:none !important;
  border-bottom:1px solid var(--aeo-line) !important;
}
body .bill-table td,
body .bill-table th,
body .table td,
body .table th{border-color:#f0f0f0 !important;vertical-align:middle}

/* ---------- 用户中心表格与统计块 ---------- */
body .uc-table{background:#fff !important;background-image:none !important}
body .uc-table thead tr{background:#fff !important}
body .uc-table thead th{
  background:#fff !important;
  background-image:none !important;
  border-top:none !important;
  border-bottom:1px solid var(--aeo-line) !important;
  font-family:var(--aeo-mono) !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  color:#8a8a8a !important;
  font-weight:500 !important;
}
body .uc-table tbody tr{border-bottom:1px solid #f0f0f0 !important}
body .uc-table tbody tr:hover,
body .uc-table tbody tr:hover > td{background:var(--aeo-soft) !important;background-image:none !important}
body .uc-stats-row .uc-stat-card .uc-stat-icon{
  background:#fff !important;
  background-image:none !important;
  border:1px solid var(--aeo-line) !important;
  border-radius:0 !important;
  color:var(--aeo-red) !important;
  box-shadow:none !important;
}

/* ---------- 徽标 / 提示 ---------- */
body .badge,
body .buy-badge-delivery,
body .buy-badge-manual,
body .buy-badge-warranty,
body .buy-badge-stock,
body .buy-badge-low,
body .buy-badge-oos,
body .buy-badge-limit,
body .cm-tag,
body .cm-reward-badge,
body .uc-badge,
body .xlo-badge,
body .search-badge{
  border-radius:0 !important;
  font-weight:500 !important;
  box-shadow:none !important;
}
body .alert,
body .auth-alert,
body .s-alert{border-radius:0 !important}

/* ---------- 弹窗 / 下拉 ---------- */
body .modal-content,
body .dropdown-menu{border-radius:0 !important;box-shadow:0 12px 32px rgba(0,0,0,.1) !important}
body .xlo-toast{
  background:#111 !important;
  background-image:none !important;
  border-radius:0 !important;
  box-shadow:0 12px 32px rgba(0,0,0,.18) !important;
}
body .xlo-toast-icon{border-radius:0 !important}
body .xlo-toast-wrap{top:104px !important}
body .modal-header,body .modal-footer{border-color:var(--aeo-line) !important;border-radius:0 !important}

/* ---------- 分页 ---------- */
body .pagination .page-link{border-radius:0 !important;border-color:var(--aeo-line) !important;color:var(--aeo-ink) !important}
body .pagination .page-item.active .page-link{background:var(--aeo-red) !important;border-color:var(--aeo-red) !important;color:#fff !important}

/* ---------- 链接强调色 ---------- */
body .auth-footer-link,
body .faq-contact a,
body .rp-contact a{color:var(--aeo-red) !important}

/* ---------- 错误页 ---------- */
body .error-icon-box{background:#fff5f4 !important;border-radius:0 !important;color:var(--aeo-red) !important}

/* ---------- 页脚保持红色 ---------- */
body .aeo-footer{margin-top:72px}
