/* Shared brand layer for public purchasing and customer account pages. */
body.awp-site,body.uc-body{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;letter-spacing:0;color:#222;background:#fff!important}
body.awp-site{--acg-primary:#171717;--acg-text-muted:#606060;min-height:100vh;display:flex;flex-direction:column}
body.awp-site #pjax-container{flex:1 0 auto;width:100%}
body.awp-site .panel{background:#fff;border:1px solid #e3e3df;border-radius:10px;box-shadow:none}
body.awp-site .panel-header{background:#fff;border-bottom:1px solid #e3e3df;color:#222}
body.awp-site .panel-header .icon,body.awp-site .price,body.awp-site .price .unit{color:#171717!important}
body.awp-site .form-control,body.awp-site .form-select{min-height:44px;border:1px solid #d8d8d3;border-radius:6px;background:#fff;color:#222;box-shadow:none;font-size:15px}
body.awp-site .form-control:focus,body.awp-site .form-select:focus{border-color:#171717;box-shadow:0 0 0 3px #1717171a}
body.awp-site .form-label{color:#444;font-size:14px;font-weight:500}
body.awp-site .badge-soft{background:#fff;color:#555;border:1px solid #e2e2de;border-radius:4px;box-shadow:none}
body.awp-site .badge-soft-danger{color:#a43131;background:#fff;border-color:#f1cece}
body.awp-site .input-group.qty-group{display:flex;flex-wrap:nowrap;background:#fff;border:1px solid #d8d8d3;box-shadow:none;border-radius:6px;overflow:hidden;width:156px;padding:0;gap:0}
body.awp-site .input-group.qty-group>button{background:#fff;color:#171717;border:0;box-shadow:none;min-width:44px;min-height:44px;border-radius:0}
body.awp-site .input-group.qty-group>input[type=number]{color:#171717;background:#fff;box-shadow:none;border:0;min-width:0;width:64px;flex:1 1 64px}
body.awp-site .cash-pay{background:#fff;border:1px solid #ffffff;box-shadow:none;border-radius:8px;padding:16px!important}
body.awp-site .cash-pay .form-label,body.awp-site .cash-pay .form-label i{color:#171717;background:transparent}
body.awp-site .cash-pay .pay-list .pay{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;min-height:48px;background:#fff;color:#222;border:1px solid #d7d7d2;box-shadow:none;border-radius:6px;font-weight:600;cursor:pointer}
body.awp-site .cash-pay .pay-list .pay[aria-disabled=true]{opacity:.55;cursor:wait}
body.awp-site .sku.is-primary,body.awp-site .optional-card{color:#171717;background:#edf5ff;border:1px solid #171717;box-shadow:none}
body.awp-site .awp-product-detail{max-width:1280px}
.awp-product-detail .panel-body{padding:28px}
.awp-product-breadcrumb{display:flex;gap:12px;font-size:13px;color:#666;margin:8px 0 20px}.awp-product-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.awp-product-title{font-size:clamp(23px,2.2vw,32px);line-height:1.35;font-weight:650;letter-spacing:-.6px;margin:0 0 16px}
.awp-product-detail .acg-cover{height:auto!important;align-self:flex-start;border:0;border-radius:8px;box-shadow:none;background:#fff;overflow:hidden}
.awp-product-detail .item-cover{position:static;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block;transform:none}
.awp-product-detail .abacus .price{font-size:32px;font-weight:650}.awp-product-detail .abacus .unit{font-size:18px;margin-right:3px}
.awp-product-detail .item-detail{font-size:15px;line-height:1.8}.awp-product-detail .item-detail h1,.awp-product-detail .item-detail h2{font-size:22px;line-height:1.5}.awp-product-detail .item-detail h3{font-size:18px;line-height:1.5}
.awp-product-detail .item-detail img{max-width:100%;height:auto}
.awp-coupon-option{border:1px solid #deded8;border-radius:6px;padding:12px 14px}.awp-coupon-option summary{cursor:pointer;font-size:14px;font-weight:500}.awp-coupon-option[open] summary{margin-bottom:12px}.awp-coupon-option small{display:block;color:#666;margin-top:8px}
:root[data-theme=light]{--md-primary:#171717;--md-primary-rgb:23,23,23;--uc-primary-deep:#171717;--glass-bg:#fff;--glass-bg-strong:#fff;--glass-bg-soft:#f2f6fc;--glass-border:#e1e5eb;--glass-border-soft:#e7e7e2;--glass-filter:none;--glass-filter-strong:none;--glass-shadow:none;--glass-shadow-lg:none;--glass-radius:10px;--glass-radius-sm:6px;--uc-ink:#222;--uc-ink-med:#666;--uc-focus:#171717;--uc-focus-rgb:23,23,23;--uc-field-bg:#fff}
:root[data-theme] body.uc-body .uc-brand__logo{width:56px;height:28px;object-fit:contain;border-radius:0;background:transparent;box-shadow:none}
:root[data-theme] body.uc-body .uc-card,:root[data-theme] body.uc-body .uc-nav,:root[data-theme] body.uc-body .uc-stat{box-shadow:none;border-radius:10px}.uc-body .uc-card__title{font-weight:600}
.uc-body .uc-cta,.uc-body .layui-btn{border-radius:6px;min-height:40px}.uc-body .uc-nav a{font-weight:500}
:root[data-theme=dark] body.uc-body{background:#151515!important;color:#eee}:root[data-theme=dark] .uc-brand__logo{filter:invert(1)}
@media(max-width:767px){.awp-product-detail .panel-body{padding:18px}.awp-product-detail .item-cover{max-height:320px}.awp-product-title{font-size:24px}.awp-product-detail .cash-pay .pay-list .pay{width:100%}.awp-product-detail .item-detail{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){body.awp-site *{scroll-behavior:auto!important}}

body.awp-site .cash-pay .pay-list .pay img{display:block;width:32px;height:32px;object-fit:contain;border-radius:0;padding:0;background:transparent;filter:none;box-shadow:none}
body.awp-site .cash-pay .pay-list .pay:hover{background:#fff;border-color:#171717;box-shadow:none;transform:none}

.awp-sort-row{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px;color:#555;font-size:14px}.awp-product-sort{min-height:44px;max-width:100%;padding:8px 36px 8px 12px;border:1px solid #d7d7d2;border-radius:6px;background:#fff;color:#171717;font:inherit}.awp-product-sort:focus-visible{outline:2px solid #171717;outline-offset:3px}
.awp-header .awp-nav-collapse.collapsing{transition:none!important}
body.awp-site .acg-thumb{aspect-ratio:4/3;height:auto}body.awp-site .acg-thumb img{object-fit:contain!important}

/* Public form controls share the same brand treatment as the navigation. */
body.awp-site .btn-primary{background:#171717;border-color:#171717;color:#fff;box-shadow:none;border-radius:6px;min-height:44px;font-weight:600}
body.awp-site .btn-primary:hover{background:#171717;border-color:#171717;box-shadow:none;transform:none}
body.awp-site .btn-primary:disabled{background:#555;border-color:#555;cursor:wait}
body.awp-site .btn:focus-visible{outline:2px solid #555;outline-offset:3px}
.awp-query-page{max-width:1100px;padding-top:56px!important;padding-bottom:64px!important}
.awp-query-intro{max-width:780px;margin:0 auto 32px}.awp-query-intro h1{font-size:clamp(28px,3vw,40px);font-weight:650;letter-spacing:-.7px;margin:10px 0 14px}.awp-query-intro>p{color:#666;line-height:1.7}.awp-eyebrow{font-size:13px;letter-spacing:1px}
.order-query-form{margin-top:28px}.order-query-form label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.awp-query-controls{display:flex;gap:12px}.awp-query-controls input{flex:1;min-width:0}.awp-query-controls button{flex:none;padding:10px 24px}.awp-query-hint{font-size:13px;color:#666;margin:12px 0 0;line-height:1.7}
.awp-query-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;border-top:1px solid #ddd;padding-top:28px;margin-top:40px}.awp-query-help h2{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 8px}.awp-query-help p,.awp-query-help a{font-size:14px;line-height:1.8;color:#555}.awp-query-help a{text-decoration:underline;text-underline-offset:4px}.awp-query-page .panel-header{padding:18px 24px}.awp-query-page .panel-title{font-size:18px}
.awp-product-description{max-width:960px;margin:0;color:#333;overflow-wrap:anywhere}.awp-product-description p,.awp-product-description li{font-size:15px;line-height:1.85;font-weight:400}.awp-product-description h2,.awp-product-description h3,.awp-product-description h4{font-size:18px!important;line-height:1.6!important;font-weight:600;margin:24px 0 10px}.awp-product-description p{margin:0 0 16px}.awp-product-description a{text-decoration:underline;text-underline-offset:4px}.awp-product-description img{display:block;max-width:100%;height:auto}.awp-product-description strong{font-weight:600}
@media(max-width:767px){.awp-query-page{padding:28px 20px 40px!important}.awp-query-controls{flex-direction:column}.awp-query-help{grid-template-columns:1fr;gap:20px}.awp-query-controls button{width:100%}}

body.awp-site .text-muted{color:#606060!important}
body.awp-site .cash-pay .pay-list .pay span{color:#222}
body.awp-site .wholesale-table td,body.awp-site .wholesale-table th{color:#444!important;background:#fff;border-color:#e1e1dc;box-shadow:none}
body.awp-site .wholesale-table .price,body.awp-site .wholesale-table span{color:#222!important}
body.awp-site .awp-product-description>:first-child{margin-top:0}
body.awp-site .item-detail .panel-header{box-shadow:none;background:#fff}
#awp-product-description{scroll-margin-top:90px}
@media(max-width:767px){body.awp-site .awp-query-controls .btn-search-query{width:100%;max-width:none}}

:root[data-theme] body.uc-body .uc-brand__logo{flex:0 0 56px;object-position:center}
:root[data-theme] body.uc-body .uc-stat{--stat-rgb:23,23,23}
:root[data-theme] body.uc-body .uc-nav{border-radius:10px}
:root[data-theme] body.uc-body .uc-quick,:root[data-theme] body.uc-body .uc-nav__item{box-shadow:none;border-radius:6px}
.awp-account-intro{margin:20px 0 30px}.awp-account-intro h1{font-size:30px;font-weight:650;line-height:1.4;margin:0 0 8px}.awp-account-intro p,.awp-account-note{color:#606060;font-size:14px;line-height:1.8}
.awp-account-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.awp-account-actions a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #d8d8d3;border-radius:6px;background:#fff;color:#222}.awp-account-actions a:first-child{background:#171717;color:#fff;border-color:#171717}.awp-account-note{margin:12px 0 28px}.awp-account-note a{text-decoration:underline;text-underline-offset:3px}
.awp-account-empty{text-align:center;padding:32px 16px;white-space:normal}.awp-account-empty strong{display:block;font-size:17px;color:#333}.awp-account-empty p{font-size:14px;color:#606060;line-height:1.8}.awp-account-empty a{display:inline-block;margin:8px;padding:10px 16px;border:1px solid #ddd;border-radius:6px;color:#333}
.uc-recent-buys .fixed-table-body{overflow-x:auto}.uc-recent-buys{min-width:0}.uc-recent-buys .uc-card__body{min-width:0;overflow-x:auto}
:root[data-theme=dark] .awp-account-intro p,:root[data-theme=dark] .awp-account-note{color:#bbb}
@media(max-width:600px){.awp-account-intro h1{font-size:26px}.awp-account-actions{display:grid;grid-template-columns:1fr 1fr}.awp-account-actions a{justify-content:center;padding:10px}.awp-account-empty{padding:24px 8px}}

/* Brand links retain recognizable action color across customer surfaces. */
.awp-product-breadcrumb a,.awp-query-help a,.awp-product-description a,.awp-account-note a{color:#171717}.awp-product-detail .panel-header .icon{color:#171717!important}
