/* Transaction pages use the same blue controls, white cards and safe mobile widths. */
.commerce-app[data-gaosu-page=cart] #app,.commerce-app[data-gaosu-page=orders] #app{padding-top:0}
.gs-cart-page,.commerce-app[data-gaosu-page=orders] #app>.container{padding:20px 14px 26px;width:100%;min-width:0}
.gs-commerce-intro .page-title{font-size:22px;color:#354b67;margin:0 0 7px;font-weight:650}
.gs-commerce-intro .page-subtitle,.commerce-app[data-gaosu-page=orders] .page-subtitle{font-size:12px;color:#99a7ba;line-height:1.8;margin-bottom:20px}
.gs-commerce-empty{padding:38px 20px;border-radius:14px;background:#fff;text-align:center;grid-column:1/-1;min-width:0}
.gs-commerce-empty>img{display:block;width:67px;height:67px;margin:0 auto 17px}
.gs-commerce-empty h2{font-size:17px;color:#59708e;margin:0 0 12px;line-height:1.5}
.gs-commerce-empty p{font-size:12px;color:#a2afc1;margin:0 0 20px;line-height:1.8}
.gs-commerce-empty .button{font-size:13px;border-radius:9px;min-width:130px}
.commerce-app .gs-cart-page .cart-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;min-width:0}
.gs-cart-items{display:grid;gap:12px;min-width:0}
.gs-cart-item{display:grid;grid-template-columns:18px 84px minmax(0,1fr);gap:11px;background:#fff;padding:18px 14px;border-radius:13px;min-width:0;align-items:start}
.gs-cart-item>.cart-select{width:16px;height:16px;accent-color:#2c7bfa;margin:31px 0 0;cursor:pointer}
.gs-cart-picture{display:block;width:84px;height:84px;border-radius:9px;overflow:hidden;background:#f7f9fc}
.gs-cart-picture img{width:100%;height:100%;object-fit:cover;display:block}
.gs-cart-copy{min-width:0}
.gs-cart-name{font-size:14px;color:#3c526e;line-height:1.65;display:block;overflow-wrap:anywhere}
.gs-cart-copy>p{font-size:11px;color:#a0adc0;line-height:1.8;margin:6px 0 12px;overflow-wrap:anywhere}
.gs-cart-warning{font-size:10px;color:#b68578;display:block;margin-bottom:8px}
.gs-cart-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex-wrap:wrap}
.gs-cart-price-row>.price{font-size:18px;color:#ed786b;white-space:nowrap}
.gs-cart-price-row .quantity{border-color:#e8eef7;flex:none;height:29px}
.gs-cart-price-row .quantity button{width:26px;height:27px;background:#f4f8fe;color:#7d96b9;font-size:15px}
.gs-cart-price-row .quantity span{font-size:12px;min-width:25px;color:#607a9c}
.commerce-app .gs-cart-remove{display:block;margin-top:12px;margin-left:auto;padding:0;font-size:10px;color:#a9b5c7}
.gs-cart-item.is-unavailable .gs-cart-picture{opacity:.5}
.commerce-app .gs-cart-summary{background:#fff;border:0;border-radius:13px;padding:21px 18px;position:static;top:auto;min-width:0}
.gs-cart-summary h2{font-size:16px;font-weight:600;color:#506986;margin:0 0 17px}
.commerce-app .gs-cart-summary .summary-line{font-size:12px;color:#97a6bb;gap:12px;min-width:0}
.commerce-app .gs-cart-summary .summary-line.total{border-color:#edf2f8;font-size:14px;color:#5b7494}
.gs-cart-summary .summary-line.total .price{font-size:23px;color:#ed786b}
.gs-cart-summary .full-width{min-height:45px;border-radius:9px;font-size:14px;margin-top:12px}
.gs-cart-coupon-link{display:block;font-size:11px;text-align:center;line-height:1.8;color:#8ca8d1;margin-top:16px;overflow-wrap:anywhere}
.commerce-app[data-gaosu-page=orders] .filters{background:#f5f7fa!important;border:0;margin:0 0 17px!important;padding:0 0 9px!important;gap:8px;scrollbar-width:none;scroll-padding-inline:2px}
.commerce-app[data-gaosu-page=orders] .filters .chip{flex:none;min-height:34px;border:0;border-radius:7px;background:#fff;padding:9px 13px;font-size:11px;color:#91a3bb}
.commerce-app[data-gaosu-page=orders] .filters .chip.active{color:#2c7bfa;background:#e8f2ff;font-weight:500}
.commerce-app .gs-order-card{padding:18px 15px;margin:12px 0;border:0;border-radius:13px;min-width:0;background:#fff}
.gs-order-card .order-header{align-items:flex-start;gap:12px;min-width:0;margin-bottom:0;border-color:#edf2f8;padding-bottom:15px}
.gs-order-card .order-header>div{min-width:0;flex:1}
.gs-order-number{display:block;font-size:12px;color:#748ba9;overflow-wrap:anywhere;line-height:1.7}
.gs-order-card .order-header small{display:block;font-size:10px;color:#b0bbca;line-height:1.8;margin-top:4px}
.gs-order-card .status{flex:none;font-size:10px;background:#edf5ff;color:#6e98d1;white-space:nowrap;padding:4px 7px;border-radius:5px}
.commerce-app .gs-order-line{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:12px;padding:17px 0;min-width:0;border:0}
.commerce-app .gs-order-line>img{width:68px;height:68px;border-radius:9px;object-fit:cover}
.gs-order-line>.grow{min-width:0}
.commerce-app .gs-order-line h3{font-size:13px;line-height:1.7;font-weight:500;color:#465e7d;margin:0 0 6px;overflow-wrap:anywhere}
.gs-order-line p,.gs-order-line small{font-size:10px;color:#a4b1c3;line-height:1.8;margin:0;overflow-wrap:anywhere}
.gs-order-line>.price{font-size:14px;color:#8095b0;white-space:nowrap}
.gs-order-total{display:flex;justify-content:flex-end;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0;margin:4px 0 16px}
.gs-order-total>span{font-size:11px;color:#abb7c8}
.gs-order-total>b{display:flex;gap:7px;align-items:baseline;font-size:12px;font-weight:400;color:#8a9db5;min-width:0}
.gs-order-total .price{font-size:19px;color:#ed786b;white-space:nowrap}
.gs-order-card .order-footer{margin:0;gap:8px;flex-wrap:wrap;min-width:0}
.gs-order-card .order-footer .button{font-size:11px;padding:8px 12px;min-height:34px;border-radius:7px;white-space:normal;max-width:100%}
.commerce-app .modal-body .gs-order-card{padding:0;margin:0 0 17px}
.commerce-app .modal-body .gs-order-card [data-action=order-detail]{display:none}
.commerce-app .modal-body .spread{gap:9px;min-width:0;flex-wrap:wrap}
.commerce-app .modal-body .timeline-item{font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:#7a91b0;border-color:#dce9fc}
.commerce-app .modal-body .timeline-item:before{background:#8ab5f3}
.commerce-app .sheet-actions>.button[type=submit],.commerce-app .sheet-actions>.goods-sheet-confirm{background:#2c7bfa;border-radius:9px;min-height:46px;box-shadow:none;font-weight:500}
.commerce-app .modal:has(.gs-checkout-form){background:#f5f7fa}
.commerce-app .modal:has(.gs-checkout-form) .modal-header{background:#fff;border-color:#eaf0f8}
.commerce-app .modal:has(.gs-checkout-form) .modal-body{padding:17px 16px calc(20px + env(safe-area-inset-bottom));scroll-padding-bottom:95px}
.gs-checkout-form{width:100%;min-width:0;color:#607b9d}
.gs-checkout-form .filters{display:flex;gap:9px;margin:0 0 18px;flex-wrap:wrap}
.gs-checkout-form .filters .chip{font-size:12px;border:0;border-radius:7px;background:#fff;color:#96a7be;padding:9px 15px}
.gs-checkout-form .filters .chip.active{background:#e5efff;color:#4e8add}
.gs-checkout-form .spread{margin-bottom:11px;align-items:center}
.gs-checkout-form .spread h3,.gs-checkout-section h3{font-size:14px;color:#55708f}
.gs-checkout-form .text-button{font-size:11px;color:#86a8d7}
.gs-checkout-form .address-option{background:#fff;border:1px solid #e8eef8;padding:15px 14px;border-radius:9px;color:#607d9f;min-width:0;font-size:12px;line-height:1.8}
.gs-checkout-form .address-option:has(input:checked){border-color:#a9caff;background:#f0f6ff}
.gs-checkout-form .address-option input{accent-color:#2c7bfa;width:14px;height:14px;vertical-align:middle}
.gs-checkout-form .address-option b{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.gs-checkout-form .address-option small{font-size:11px;color:#9aadc5;line-height:1.9;margin-left:23px;overflow-wrap:anywhere}
.gs-checkout-form .list-row{display:grid;grid-template-columns:60px minmax(0,1fr) auto;min-width:0;gap:11px;background:#fff;border:0;padding:14px;border-radius:9px;margin:10px 0}
.gs-checkout-form .list-row img{width:60px;height:60px;border-radius:7px;object-fit:cover}
.gs-checkout-form .list-row h3{font-size:12px;line-height:1.7;color:#57708f;overflow-wrap:anywhere;margin:0 0 6px}
.gs-checkout-form .list-row .muted{font-size:10px;color:#a3b2c7;overflow-wrap:anywhere}
.gs-checkout-form .list-row .grow{min-width:0}
.gs-checkout-form .list-row .price{font-size:13px;color:#8097b5;white-space:nowrap}
.gs-checkout-form .field{font-size:12px;color:#8298b6;margin:18px 0}
.gs-checkout-form .field input,.gs-checkout-form .field select{height:44px;background:#fff;border:1px solid #e6edf8;color:#6c86a8;min-width:0;width:100%;max-width:100%;font-size:16px}
.gs-checkout-form .summary-line{font-size:12px;color:#98aac3;gap:10px;min-width:0}
.gs-checkout-form .summary-line>span:last-child{flex:none}
.gs-checkout-form .summary-line.total{border-color:#e6eef9;color:#617fa6;font-size:15px;padding-top:17px;margin-top:17px}
.gs-checkout-form .summary-line.total .price{color:#ed786b;font-size:24px}
.gs-checkout-form .notice-box{font-size:11px;line-height:1.9;background:#eaf3ff;color:#88a4cb;overflow-wrap:anywhere}
.gs-checkout-form .divider{margin:17px 0;background:#e8eef7}
.commerce-app .gs-checkout-form .sheet-actions{margin-inline:-16px;padding-inline:16px;background:#fff}
.commerce-app [data-form=address] .field input,.commerce-app [data-form=address] select{font-size:16px;background:#f8fafd;border-color:#e6edf7;min-width:0;max-width:100%;width:100%}
.commerce-app [data-form=address] .form-grid{min-width:0;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.commerce-app [data-form=address] .field{min-width:0;font-size:12px;color:#8299b8}
.commerce-app [data-form=pay] .notice-box,.commerce-app .modal-body .notice-box{overflow-wrap:anywhere;line-height:1.9}
.gs-coupon-cover{padding:23px 20px;border:1px solid #e4ecfb;border-radius:14px;background:linear-gradient(130deg,#e8f2ff,#f2f8ff);margin-bottom:17px}
.gs-coupon-cover>div{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.gs-coupon-cover .gs-icon{width:57px;height:57px}
.gs-coupon-cover>div>span{font-size:11px;color:#8ca6c9;background:#fff8;border-radius:18px;padding:5px 12px}
.gs-coupon-cover h1{font-size:23px;color:#4c698e;margin:0 0 10px;line-height:1.5}
.gs-coupon-cover p{font-size:12px;color:#91a7c4;line-height:1.8;margin:0 0 13px}
.gs-coupon-cover>a{font-size:12px;color:#73a0dc}
.gs-coupon-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding:0 0 10px;margin:0 0 4px;scroll-padding-inline:3px}
.gs-coupon-tabs::-webkit-scrollbar{display:none}
.gs-coupon-tabs>a{padding:9px 12px;background:#fff;border-radius:7px;color:#99abc1;font-size:11px;flex:none}
.gs-coupon-tabs>a[aria-current=page]{background:#e7f1ff;color:#4e8cde}
.gs-coupon-list{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
.gs-coupon-ticket{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:13px;align-items:center;background:#fff;border-radius:12px;padding:19px 15px;min-width:0}
.gs-coupon-value{display:flex;flex-direction:column;gap:8px;align-items:center;border-right:1px dashed #dce7f6;min-width:0;padding-right:12px;align-self:stretch;justify-content:center}
.gs-coupon-value>b{font-size:24px;color:#ec877d;font-weight:600;overflow-wrap:anywhere;line-height:1.4;text-align:center}
.gs-coupon-value>span{font-size:9px;color:#a8b5c8;line-height:1.7;text-align:center}
.gs-coupon-description{min-width:0}
.gs-coupon-description h2{font-size:14px;line-height:1.7;color:#5b7597;font-weight:500;margin:0 0 8px;overflow-wrap:anywhere}
.gs-coupon-description p{font-size:10px;line-height:1.9;color:#a3b4cb;margin:0 0 6px;overflow-wrap:anywhere}
.gs-coupon-description small{font-size:9px;line-height:1.8;color:#adbacd}
.gs-coupon-description .gs-coupon-blocked{color:#b29382;font-size:10px;margin-top:8px}
.gs-coupon-action{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.gs-coupon-action .button{font-size:11px;padding:8px 11px;border-radius:7px;white-space:nowrap;min-width:0}
.gs-coupon-action .gs-status{font-size:10px;max-width:72px;white-space:normal;text-align:center;line-height:1.7}
.gs-commerce-note{font-size:11px;color:#a8b6ca;line-height:1.9;margin:21px 4px;overflow-wrap:anywhere}
@media(max-width:380px){
 .gs-cart-page,.commerce-app[data-gaosu-page=orders] #app>.container{padding-inline:12px}
 .gs-cart-item{grid-template-columns:16px 65px minmax(0,1fr);gap:9px;padding:16px 11px}
 .gs-cart-picture{width:65px;height:65px}
 .gs-cart-name{font-size:12px}
 .gs-cart-price-row>.price{font-size:16px}
 .gs-cart-price-row .quantity{height:26px}
 .gs-cart-price-row .quantity button{width:23px;height:24px}
 .gs-cart-price-row .quantity span{min-width:21px}
 .gs-cart-copy>p{margin-bottom:9px;font-size:10px}
 .commerce-app .gs-order-card{padding:16px 12px}
 .commerce-app .gs-order-line{grid-template-columns:54px minmax(0,1fr) auto;gap:9px}
 .commerce-app .gs-order-line>img{width:54px;height:54px}
 .commerce-app .gs-order-line h3{font-size:12px}
 .gs-order-card .order-footer{gap:6px}
 .gs-order-card .order-footer .button{font-size:10px;padding:7px 10px}
 .gs-coupon-cover{padding:21px 17px}
 .gs-coupon-cover h1{font-size:21px}
 .gs-coupon-ticket{grid-template-columns:75px minmax(0,1fr);padding:17px 12px;gap:10px}
 .gs-coupon-value{grid-column:1;grid-row:1/3;padding-right:10px}
 .gs-coupon-description{grid-column:2;grid-row:1}
 .gs-coupon-action{grid-column:2;grid-row:2;justify-content:flex-start}
 .gs-coupon-value>b{font-size:21px}
 .gs-coupon-description h2{font-size:13px}
 .gs-checkout-form .list-row{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:11px}
 .gs-checkout-form .list-row img{width:48px;height:48px}
 .gs-checkout-form .list-row .price{font-size:12px}
 .commerce-app [data-form=address] .form-grid{grid-template-columns:minmax(0,1fr)}
}
