/* Keep lookup, history and purchase controls on one consistent content rail. */
.akxvv-order-group:has([data-history-tools]){overflow:hidden;border-radius:16px;box-shadow:none}
.akxvv-order-group:has([data-history-tools])>header{padding:18px 22px;background:#fff;gap:10px 14px}
.akxvv-order-group:has([data-history-tools])>header h3{font-size:18px;line-height:26px}
.akxvv-order-group:has([data-history-tools]) [data-refresh-purchases]{min-height:44px;padding:10px 14px;border-radius:10px}
.akxvv-order-group>.akxvv-history-tools{display:grid;grid-template-columns:1fr;gap:8px;margin:20px 22px 14px}
.akxvv-order-group>.akxvv-history-tools label{margin:0;font-size:13px;font-weight:600;line-height:20px;color:#546983}
.akxvv-order-group>.akxvv-history-tools input{box-sizing:border-box;width:100%;max-width:none;min-width:0;min-height:46px;margin:0;padding:11px 14px;border-color:#dce5f2;border-radius:10px}
.akxvv-order-group:has([data-history-tools])>[data-purchase-notice]{margin:0 22px 14px;padding:12px 14px;font-size:13px;line-height:21px;border-radius:10px}
.akxvv-order-group:has([data-history-tools])>.akxvv-orders{padding:0 22px 20px;gap:10px}
.akxvv-order-group:has([data-history-tools])>.akxvv-history-pagination{margin:0;padding:0 22px 20px}
.akxvv-order-lookup{box-shadow:none;background:#fff;border-radius:16px}
.akxvv-order-lookup-copy h2{font-size:22px;line-height:30px}
.akxvv-order-lookup-copy p{font-size:13px;line-height:22px;color:#64748b}
.item-page .item-info-panel .item-title-content{padding:20px;margin:0 0 18px;background:#f5f8fe;border-radius:12px;border:0;box-shadow:none}
.item-page .item-info-panel .item-name{font-size:clamp(20px,2vw,25px);line-height:1.5}
.item-page .item-info-panel .guarantee-row{margin:0 0 22px;background:#f8fafc;border-color:#e8eef5;box-shadow:none}
.item-page .item-info-panel .item-controls{margin:0;padding:0}
.item-page .item-controls .table,.item-page .item-controls .table>tbody{display:block;width:100%;margin:0}
.item-page .item-controls .table tr:not([hidden]){display:grid;grid-template-columns:1fr;gap:8px;margin:0 0 18px}
.item-page .item-controls .table td{display:block;width:auto;min-width:0;padding:0;border:0}
.item-page .item-controls .sku-cate-td{font-size:13px;line-height:20px;color:#546983}
.item-page .item-controls .sku-wrapper{gap:10px}
.item-page .item-controls .sku-item{box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 14px;margin:0;line-height:22px;white-space:normal}
.item-page .item-controls .sku-name{overflow-wrap:anywhere;font-size:14px;line-height:22px}
.item-page .item-controls .table tr.sku-quantity:not([hidden]){grid-template-columns:1fr;gap:8px;margin-bottom:22px}
.item-page .item-controls .table td.sku-quantity-wrapper{display:flex;align-items:center;gap:12px}
.item-page .item-controls .sku-stock{width:auto;min-width:0;padding:6px 10px;border:0;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:12px;line-height:20px;box-shadow:none}
.item-page .item-controls .sku-stock:before{content:"库存 ";font-weight:400}
.item-page .item-controls .quantity-input{box-sizing:border-box;width:96px;max-width:100%;min-height:44px;height:44px;margin:0;border-radius:10px}
.item-page .item-controls .shop-checkout-btn.ak-wallet-checkout:not(.d-hide){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.item-page .item-controls .ak-payment-choices{grid-column:1/-1;margin:0 0 4px;padding:0;min-width:0}
.item-page .item-controls .ak-payment-choices legend{margin-bottom:10px;color:#546983;font-weight:600}
.item-page .item-controls .ak-payment-cards{gap:12px}
.item-page .item-controls .ak-payment-card{min-height:76px;padding:12px 14px;border-radius:10px}
.item-page .item-controls .ak-payment-choice-footer{margin:4px 0 0;min-height:44px}
.item-page .item-controls .ak-payment-choice-footer button{min-height:44px;padding:8px 0 8px 12px}
.item-page .item-controls .checkout-btn{box-sizing:border-box;width:100%;min-width:0;min-height:48px;height:auto;padding:12px 14px;line-height:22px;white-space:normal;border-radius:10px;box-shadow:none}
.item-page .item-info-panel>.akxvv-policy{margin:18px 0 0;padding:12px 14px;border-radius:0 8px 8px 0;font-size:12px;line-height:21px;background:#f7f9fc}
#page-header .site-header-inner .search-container{box-sizing:border-box;min-width:0;height:52px;padding:3px;gap:8px;overflow:hidden;border-width:1px;border-radius:12px}
#page-header .site-header-inner .search-container .search-input{min-width:0;flex:1;padding-inline:12px}
#page-header .site-header-inner .search-container .search-btn{flex:none;height:44px;min-height:44px;margin:0;border-radius:8px!important}
#page-header .site-header-inner .search-container:focus-within{outline:2px solid #80b5fb;outline-offset:3px}
#page-header .site-header-inner .search-container :focus-visible{outline:2px solid #2162d6;outline-offset:-3px}
@media(max-width:600px){
 .akxvv-order-group:has([data-history-tools])>header{padding:16px}
 .akxvv-order-group>.akxvv-history-tools{margin:16px 16px 12px}
 .akxvv-order-group:has([data-history-tools])>[data-purchase-notice]{margin:0 16px 12px}
 .akxvv-order-group:has([data-history-tools])>.akxvv-orders{padding:0 16px 16px}
 .akxvv-order-group:has([data-history-tools])>.akxvv-history-pagination{padding:0 16px 16px}
 .item-page .item-info-panel .item-title-content{padding:16px}
 .item-page .item-controls .shop-checkout-btn.ak-wallet-checkout:not(.d-hide){grid-template-columns:1fr}
 .item-page .item-controls .ak-payment-cards{grid-template-columns:1fr}
}
