/* Shared shell for native catalog, cart and checkout. */
:root {--color-primary:#2981ff;--kk-primary:#2981ff;--kk-text:#1c1d1f;}
html {font-size:100px!important;}
html,body {margin:0;min-width:0;background:#f5f7fa;}
body {font:14px/1.5 -apple-system,system-ui,"Segoe UI","Microsoft YaHei",sans-serif;}
.sixcart-page {width:100%;margin:0;min-height:100vh;background:#f5f7fa;}
.sixcart-page * {box-sizing:border-box;}
.sixcart-page > .el-container,.sixcart-page > .el-container > .el-container {display:block;width:100%;margin:0;padding:0;}
.sixcart-page .kk-permission-probe {display:none!important;}
.sixcart-page .kk-header {position:sticky;top:0;z-index:40;width:100%;height:66px;padding:0 max(24px,calc((100% - 1400px)/2));display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #eee;}
.sixcart-page .kk-brand {font-size:20px;font-weight:700;display:flex;align-items:center;color:#1c1d1f;text-decoration:none;white-space:nowrap;}
.sixcart-page .kk-brand img {max-width:160px;max-height:38px;object-fit:contain;}
.sixcart-page .kk-nav {display:flex;gap:28px;align-items:center;flex-shrink:0;font-size:14px;}
.sixcart-page .kk-nav a {color:#606266;text-decoration:none;line-height:40px;white-space:nowrap;}
.sixcart-page .kk-nav a:hover {color:#2981ff;}
.sixcart-page .el-main {width:100%;max-width:1260px;margin:0 auto;padding:30px!important;background:transparent;overflow:visible;}
.sixcart-page .main-card {width:100%;margin:0;padding:30px;border:0;border-radius:0;box-shadow:none;background:#fff;}
.sixcart-page .main-title {font-size:20px;font-weight:400;line-height:28px;margin-bottom:30px;}
.sixcart-page .el-button {border-radius:0;}
.sixcart-page .el-button--primary {background:#2981ff;border-color:#2981ff;}
.sixcart-page .el-button--primary.is-disabled {opacity:.5;}
.sixcart-page .el-input__inner {border-radius:0;font-size:14px;}
.sixcart-page .el-footer {width:100%!important;left:0;right:0;padding:0 30px!important;height:108px!important;min-height:108px;background:#fff;border-top:1px solid #e8e8e8;box-shadow:0 -4px 12px #00000008;}
.sixcart-page .footer-box {max-width:1200px;font-size:14px;}
.sixcart-page .goods-box {padding-bottom:110px;}
.sixcart-page .goods-table {font-size:14px;border-radius:0;}
.sixcart-page .goods-table th {font-size:14px;font-weight:400;height:48px;background:#edf0f5;}
@media(max-width:1023px){
 .sixcart-page .kk-header {height:56px;padding:0 15px;}
 .sixcart-page .kk-brand {font-size:16px;max-width:55%;white-space:normal;}
 .sixcart-page .kk-brand img {max-width:130px;max-height:32px;}
 .sixcart-page .kk-nav {gap:12px;font-size:12px;}
 .sixcart-page .kk-nav a:last-child {display:inline;}
 .sixcart-page .el-main {padding:15px!important;}
 .sixcart-page .main-card {padding:20px 15px;}
 .sixcart-page .main-title {font-size:18px;line-height:26px;margin-bottom:20px;}
 .sixcart-page .search-box {margin:0 0 20px;display:flex;flex-wrap:wrap;gap:10px;text-align:left;}
 .sixcart-page .search-box .el-input,.sixcart-page .search-box .el-select {max-width:100%;}
 .sixcart-page .el-footer {padding:10px 15px!important;height:auto!important;min-height:104px;}
 .sixcart-page .footer-box {min-height:84px;flex-wrap:wrap;gap:10px;}
 .sixcart-page .footer-left,.sixcart-page .footer-right {font-size:13px;flex-wrap:wrap;gap:8px;}
 .sixcart-page .table-content {max-width:100%;overflow-x:auto;}
 .sixcart-page .goods-table {min-width:700px;}
 .sixcart-page .shopping-goods {min-width:0;}
 .sixcart-page .total-price {font-size:24px;}
 .sixcart-page .footer-right .el-button {height:45px;min-width:120px;}
 .sixcart-page .goods-list-div {display:grid;grid-template-columns:1fr;gap:15px;}
 .sixcart-page .shopping-item {width:100%;margin:0;}
}
.sixcart-page .buy-btn {font-size:14px!important;line-height:20px;height:40px;min-width:100px;padding:9px 20px;}
@media(max-width:1023px){.sixcart-page .search-box .second-select{margin:0;}.sixcart-page .search-box .search-btn{margin-left:auto;}}

/* Guests retain the standalone shopping header, including login on phones. */
@media(max-width:760px) {
 .sixcart-page .kk-header {height:auto;min-height:56px;flex-wrap:wrap;gap:4px 16px;padding:8px 15px;}
 .sixcart-page .kk-nav {flex-wrap:wrap;gap:4px 14px;}
}

/* Monetary values stay readable as a unit, even when the desktop table narrows. */
.sixcart-page .goods-table .item-price,
.sixcart-page .goods-table .goodsInfo-price,
.sixcart-page .goods-table .item-total > span {white-space:nowrap;}
.sixcart-page .goods-table .item-total {min-width:112px;padding-right:12px;}
