/* V3.1 shared header and cart / checkout */
header .head{gap:16px;min-height:76px}header .head .brand{order:-3;margin-right:24px}header .head .menubox{order:-2}header .head #search{max-width:620px;flex:1;min-width:100px;background:#f1f2f3;border:0;border-radius:6px;margin-right:12px}header .head #search input{background:transparent;padding:12px 16px;font-size:14px}header .head #search button{background:transparent!important;color:#202823!important;border:0!important;width:46px;padding:0;display:grid;place-items:center}header .head #search button svg{width:21px;height:21px}header .headtool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:62px;white-space:nowrap}header .headtool .toolicon{width:26px;height:26px;position:relative;display:grid;place-items:center}header .headtool .toolicon svg{width:22px;height:22px;margin:0}header .headtool .tool-label{font-size:12px;font-weight:500;line-height:1.2;color:#222;max-width:88px;overflow:hidden;text-overflow:ellipsis}header .headtool .badge{position:absolute;top:-4px;right:-8px;min-width:15px;height:15px;font-size:10px;background:#df2027;color:#fff;border-radius:20px;padding:0 3px;display:grid;place-items:center;box-shadow:0 0 0 1px white}header .authtool{border-right:1px solid #e5e7e5;padding-right:12px}
.cart31{--cartgreen:#1f9c5b;--cartred:#df442e;font-size:14px}.cart31 h1{font-size:24px;margin:0 0 14px}.cart31-grid{display:grid;grid-template-columns:24px minmax(0,1fr) 120px 118px 130px 110px;gap:12px;align-items:center;padding:14px 18px}.cart31-head,.cart31-shop,.cart31-bottom,.checkout31-block{background:white;border:1px solid #eceeeb;border-radius:4px}.cart31-head{margin-bottom:12px;color:#777;font-size:13px}.cart31-head>span:not(:nth-child(2)),.cart31-row>.cart31-center{text-align:center}.cart31-shop{margin-bottom:14px}.cart31-shophead{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #eee}.cart31-shophead a{font-weight:500}.cart31 input[type=checkbox]{width:17px;height:17px;accent-color:var(--cartgreen);margin:0;cursor:pointer}.cart31-row{min-height:110px;border-bottom:1px solid #eee}.cart31-item{display:flex;gap:12px;align-items:center;min-width:0}.cart31-item .pic{width:78px;height:78px;min-height:0;flex:none;aspect-ratio:1;border:1px solid #eee;overflow:hidden}.cart31-item .pic img{object-fit:contain;background:white}.cart31-item .photolabel{display:none}.cart31-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.cart31-item small{display:block;margin-top:5px;font-size:11px}.cart31-step{display:inline-flex;align-items:center;border:1px solid #ddd;height:32px}.cart31-step button{background:white!important;color:#555!important;border:0!important;border-radius:0!important;padding:0;width:29px;height:30px;font-size:17px}.cart31-step input{border:0;border-left:1px solid #ddd;border-right:1px solid #ddd;border-radius:0;width:40px;height:30px;text-align:center;padding:0;appearance:textfield}.cart31-step input::-webkit-inner-spin-button{appearance:none}.cart31-price{color:var(--cartred);white-space:nowrap}.cart31-actions{display:flex;flex-direction:column;gap:6px;font-size:12px}.cart31-actions button,.cart31-textbtn{background:transparent!important;color:#555!important;border:0!important;padding:0;text-align:left;font-weight:400}.cart31-actions a{color:#17854d}.cart31-extra{display:flex;align-items:center;gap:9px;padding:11px 18px;border-top:1px solid #f0f0f0;color:#666;font-size:13px}.cart31-extra svg{color:var(--cartgreen);flex:none}.cart31-extra button{color:#17854d!important}.cart31-bottom{position:sticky;bottom:0;z-index:7;box-shadow:0 -4px 14px #0000000b;margin-top:16px}.cart31-platform{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:12px 18px;border-bottom:1px solid #eee;font-size:13px}.cart31-bottomline{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px}.cart31-left,.cart31-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cart31-right strong{font-size:23px;color:var(--cartred);white-space:nowrap}.cart31-right>button{min-width:160px;border-radius:3px}.checkout31-block{padding:18px;margin-bottom:14px}.checkout31-block h2{font-size:18px;color:#166344}.checkout31-block label{display:grid;gap:6px}.checkout31-block .formgrid{gap:14px}.checkout31-shop{border-bottom:1px solid #eee;padding:12px 0}.checkout31-item{display:flex;align-items:center;gap:12px;margin:10px 0}.checkout31-item .pic{width:55px;height:55px;min-height:0;flex:none}.checkout31-item .photolabel{display:none}.checkout31-item .pic img{object-fit:contain}.checkout31-item span{flex:1}.checkout31-total{text-align:right}.checkout31-total strong{font-size:24px;color:#df442e}.checkout31-block input[type=radio]{accent-color:#1f9c5b}.checkout31-payment{display:flex;gap:18px;flex-wrap:wrap}.checkout31-payment label{display:flex;align-items:center;gap:6px}.checkout31-note{font-size:12px;color:#777}.cart31 [disabled]{opacity:.5;cursor:not-allowed}
@media(max-width:1000px){header .head .brand{margin-right:4px}header .head #search{order:0;flex-basis:auto}header .headtool{min-width:48px} .cart31-grid{grid-template-columns:20px minmax(0,1fr) 88px 104px 100px 90px;gap:8px;padding:12px}.cart31-item .pic{width:62px;height:62px}}@media(max-width:700px){header .head{gap:8px;flex-wrap:wrap}header .head #search{order:5;flex-basis:100%;max-width:none;margin:0}header .head .brand{margin-right:auto}header .headtool{min-width:44px}header .headtool .tool-label{font-size:10px}header .authtool{padding-right:0;border:0}.cart31-head{display:none}.cart31-row{grid-template-columns:20px minmax(0,1fr) 105px;gap:8px}.cart31-row>.cart31-item{grid-column:2/4}.cart31-row>.cart31-unit{grid-column:2;text-align:left}.cart31-row>.cart31-quantity{grid-column:3}.cart31-row>.cart31-total{grid-column:2;text-align:left}.cart31-row>.cart31-actions{grid-column:3}.cart31-bottomline{flex-wrap:wrap}.cart31-right{width:100%;justify-content:space-between}.cart31-right strong{font-size:19px}.cart31-right>button{min-width:110px}.cart31-platform{justify-content:space-between}.cart31-extra{flex-wrap:wrap}.checkout31-item{flex-wrap:wrap}}
/* V3.7 checkout, grouped by seller */
.checkout37 .back37{display:inline-block;color:#17854d;margin-bottom:12px}.checkout37 .address37{border-top:4px solid #1f9c5b}.checkout37 .wide37{grid-column:1/-1}.checkout37 .items37{padding:0}.line37{display:grid;grid-template-columns:minmax(0,1fr) 120px 100px 145px;gap:12px;align-items:center;padding:16px 20px}.line37>span,.line37>b:not(:first-child){text-align:right}.headings37{color:#777;border-bottom:1px solid #eee}.headings37 b{color:#333}.group37{border-bottom:12px solid #f3f4f2}.group37:last-child{border-bottom:0}.shop37{display:flex;align-items:center;gap:12px;padding:14px 20px}.shop37 button,.voucher37 button{color:#17854d!important;background:white!important;padding:5px 9px}.item37{display:flex;align-items:center;gap:12px;min-width:0}.item37 .pic{width:64px;height:64px;min-height:0;flex:none}.item37 .pic img{object-fit:contain}.item37 .photolabel{display:none}.item37 small{display:block}.voucher37{display:flex;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid #eee}.voucher37 button{margin-left:auto}.ship37{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#f6faf8;padding:16px 20px;border-top:1px solid #e8eeea}.ship37 p{margin:5px 0}.subtotal37{text-align:right;padding:16px 20px;background:#f6faf8}.subtotal37 strong,.totals37 strong{color:#df442e;font-size:23px;margin-left:12px}.totals37{display:grid;gap:10px;max-width:370px;margin:24px 0 18px auto}.totals37>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.place37{border-top:1px solid #eee;padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}.place37 button{min-width:180px}.cart31 button.cart31-textbtn{background:transparent!important;color:#17854d!important;border:0!important}.checkout37 .place37 a{color:#17854d}@media(max-width:700px){.line37{grid-template-columns:minmax(0,1fr) 65px 85px;gap:8px;padding:12px}.line37 .item37,.headings37>b{grid-column:1/-1}.line37>span,.line37>b:not(:first-child){text-align:left}.ship37{grid-template-columns:1fr}.place37{flex-wrap:wrap}.place37 button{width:100%}}
