/**
 * ship2sea legacy — cart / checkout / login 等业务页改皮
 * 配合本页按需加载的 bootstrap；不进核心三页。
 */

[v-cloak] { display: none !important; }

body.page-cart,
body.page-checkout,
body.page-login,
body.page-forgotten,
body.page-account,
body.theme-ship2sea:not(.page-home):not(.page-category):not(.page-product) {
  background: var(--color-bg-sunken, #ebebeb);
  font-family: var(--font-sans);
  color: var(--color-text, #222);
}

/* Bootstrap 主色 → 进货橙 */
body.theme-ship2sea {
  --bs-primary: #ff4000;
  --bs-primary-rgb: 255, 64, 0;
  --bs-link-color: #ff4000;
  --bs-link-hover-color: #e63900;
}

/*
 * shell.css 有 .btn{height:44px;padding:0 24px}，会压过 Bootstrap，
 * 导致账号/结账等页按钮变成胶囊/圆形并裁切文字。业务页统一纠正。
 */
body.theme-ship2sea .btn,
body.theme-ship2sea a.btn,
body.theme-ship2sea button.btn {
  --bs-btn-border-radius: 4px;
  height: auto !important;
  min-height: 32px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  line-height: 1.25 !important;
  border-radius: 4px !important;
  box-sizing: border-box;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 600;
}

body.theme-ship2sea .btn-sm,
body.theme-ship2sea a.btn-sm,
body.theme-ship2sea button.btn-sm {
  min-height: 30px;
  padding: 5px 12px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body.theme-ship2sea .btn-primary {
  --bs-btn-bg: #ff4000;
  --bs-btn-border-color: #ff4000;
  --bs-btn-hover-bg: #e63900;
  --bs-btn-hover-border-color: #e63900;
  --bs-btn-active-bg: #cc3300;
  --bs-btn-active-border-color: #cc3300;
  font-weight: 700;
}

body.theme-ship2sea .btn-dark {
  --bs-btn-bg: #222;
  --bs-btn-border-color: #222;
  --bs-btn-hover-bg: #ff4000;
  --bs-btn-hover-border-color: #ff4000;
}

body.theme-ship2sea .btn-outline-dark:hover {
  background: #ff4000;
  border-color: #ff4000;
}

body.theme-ship2sea .bg-primary {
  background-color: #ff4000 !important;
}

body.theme-ship2sea a:not(.btn):not(.site-header a):not(.site-nav a):not(.site-footer a) {
  color: inherit;
}
body.theme-ship2sea .text-danger { color: #ff4000 !important; }

/* 面包屑 */
.theme-ship2sea .breadcrumb-wrap {
  background: transparent;
  padding: 16px 0 0;
  margin-bottom: 8px;
}
.theme-ship2sea .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-sm, 14px);
  color: var(--color-text-muted, #999);
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
}
.theme-ship2sea .breadcrumb a { color: var(--color-text-secondary, #666); }
.theme-ship2sea .breadcrumb a:hover { color: #ff4000; }

/* 步骤条 */
.steps-wrap {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin: 12px 0 8px;
}
.steps-wrap:before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  border-bottom: 3px solid #d7d7d7;
}
.steps-wrap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.steps-wrap .number-wrap {
  padding: 0 4px;
  margin-bottom: 0.5rem;
  background: var(--color-bg-sunken, #ebebeb);
}
.steps-wrap .number {
  border: 2px solid #ddd;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.steps-wrap .title { color: #848484; font-size: 14px; }
.steps-wrap > div.active .number {
  background: #ff4000;
  border-color: #ff4000;
  color: #fff;
}
.steps-wrap > div.active .title {
  color: #111;
  font-weight: 600;
}

/* 数量框 */
.quantity-wrap {
  width: 120px;
  display: flex;
}
.quantity-wrap .btn {
  border-color: #dee2e6;
  padding: 0.35rem 0.6rem;
}
.quantity-wrap input {
  padding: 0.5rem;
  text-align: center;
  background: transparent !important;
}

.wh-80,
.wh-70,
.wh-60,
.wh-50 {
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}
.wh-80 { width: 80px; height: 80px; }
.wh-50 { width: 50px; height: 50px; }
.wh-80 img,
.wh-70 img,
.wh-60 img,
.wh-50 img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Cart —— */
body.page-cart,
body.page-checkout {
  background: #f5f5f5;
}
@media (min-width: 992px) {
  body.page-cart .left-column { width: 70%; }
  body.page-cart .right-column { width: 30%; }
  body.page-checkout .left-column { width: 66.666%; }
  body.page-checkout .right-column { width: 33.333%; }
}

body.page-cart .card,
body.page-checkout .card,
body.page-login .card {
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
  box-shadow: none !important;
}

body.page-cart .cart-products-wrap .table thead {
  background: #f8f9fa;
}
body.page-cart .cart-products-wrap .table thead th {
  border-bottom: none;
  padding: 0.7rem 0.5rem;
  white-space: nowrap;
  font-size: 13px;
  color: #666;
}
body.page-cart .cart-products-wrap .table tbody td {
  vertical-align: middle;
  border-color: #f0f2f4;
}
body.page-cart .cart-products-wrap .table .name {
  font-weight: 600;
  color: #222;
}
body.page-cart .cart-products-wrap .table .name:hover { color: #ff4000; }
body.page-cart .cart-products-wrap .product-group-head td {
  padding: 12px 8px 6px;
  border-bottom: 0;
  background: #fafafa;
}
body.page-cart .cart-products-wrap .product-group__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.page-cart .cart-products-wrap .product-group__title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  text-decoration: none;
}
body.page-cart .cart-products-wrap .product-group__title:hover {
  color: #ff4000;
}
body.page-cart .cart-products-wrap tr.product-group__sku td {
  padding-top: 10px;
  padding-bottom: 10px;
}
body.page-cart .cart-products-wrap tr.product-group__sku .name {
  font-weight: 500;
  font-size: 13px;
  color: #444;
}
body.page-cart .cart-products-wrap .p-image .wh-80 {
  width: 72px;
  height: 72px;
  overflow: hidden;
  flex: 0 0 72px;
}
body.page-cart .cart-products-wrap .p-image .wh-80 img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}
body.page-cart .cart-infinite {
  padding: 12px 0 4px;
  text-align: center;
}
body.page-cart .cart-infinite__sentinel {
  height: 1px;
  width: 100%;
}
body.page-cart .cart-infinite__tip {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  min-height: 20px;
}
body.page-cart .cart-infinite__tip.is-end {
  color: #ccc;
}
body.page-cart .sub-total {
  font-weight: 700;
  color: #ff4000;
  font-size: 16px;
}

body.page-cart .total-wrap .list-group li {
  background: transparent;
  padding: 0.7rem 0;
  border-color: #eee;
}
body.page-cart .total-wrap .list-group li:not(.d-grid) {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.page-cart .total-wrap .total-price {
  color: #ff4000;
  font-size: 1.25rem;
  font-weight: 800;
}

body.page-cart .empty-cart-wrap {
  padding: 48px 20px 80px;
  background: #fff;
  border-radius: var(--radius-md, 4px);
  border: 1px solid var(--color-border, #e8e8e8);
  margin-top: 24px;
}
body.page-cart .empty-cart-icon { color: #ccc; }

/* —— Checkout —— */
body.page-checkout .left-column > .card > .card-body {
  padding: 20px 22px 8px !important;
}
body.page-checkout .checkout-black {
  margin-bottom: 16px;
  padding-bottom: 0;
}
body.page-checkout .checkout-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}
body.page-checkout .checkout-title h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
body.page-checkout .checkout-title .el-checkbox {
  margin: 0;
  height: auto;
  font-weight: 400;
  color: #666;
  font-size: 13px;
}

/* 地址：扁长横条，降低高度 */
body.page-checkout .addresses-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.page-checkout .addresses-grid.is-picking {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
body.page-checkout .addresses-grid .addresses-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-checkout .addresses-wrap .item {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 6px 12px;
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* hookwrapper 可能包一层：内部也横排 */
body.page-checkout .addresses-wrap .item > div:not(.address-bottom) {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
}
body.page-checkout .addresses-wrap .item:hover {
  border-color: #ccc;
}
body.page-checkout .addresses-wrap .item.active {
  border-color: #ff4000;
  box-shadow: inset 2px 0 0 #ff4000;
  background: #fffaf7;
}
body.page-checkout .addresses-wrap .name-wrap {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
body.page-checkout .addresses-wrap .name-wrap .name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}
body.page-checkout .addresses-wrap .name-wrap .phone {
  font-size: 12px;
  color: #666;
}
body.page-checkout .addresses-wrap .zipcode {
  display: none;
}
body.page-checkout .addresses-wrap .address-info {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-checkout .addresses-wrap .address-bottom {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  margin-left: auto;
}
body.page-checkout .addresses-wrap .address-bottom .btn,
body.page-checkout .addresses-wrap .address-bottom .btn-sm {
  padding: 0 8px !important;
  height: 22px !important;
  min-height: 22px !important;
  font-size: 12px !important;
  line-height: 20px !important;
  border-radius: 3px;
}
body.page-checkout .addresses-wrap .badge.bg-success {
  display: none;
}
body.page-checkout .addresses-actions .btn {
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
}

/* 支付：大图标为主；默认无边框，选中才边框+勾 */
.radio-tile-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.radio-tile-item {
  position: relative;
  box-sizing: border-box;
  width: auto;
  height: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}
.radio-tile-item img {
  display: block;
  max-height: 56px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.radio-tile-item.active img {
  border-color: #ff4000;
}
.radio-tile-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent #ff4000 transparent transparent;
  pointer-events: none;
}
.radio-tile-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  pointer-events: none;
}
.radio-tile-item .title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-ship-empty {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #ffd0b8;
  border-left: 3px solid #ff4000;
  border-radius: 6px;
  background: #fff6f1;
  color: #8a3b12;
  font-size: 14px;
  line-height: 1.45;
}

/* 配送：紧凑横条（含说明，不宜做纯图标） */
.radio-line-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.radio-line-wrap .radio-line-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-line-wrap .radio-line-item:not(:last-of-type) { margin-bottom: 0; }
.radio-line-wrap .radio-line-item:hover { border-color: #ccc; }
.radio-line-wrap .radio-line-item.active {
  border-color: #ff4000;
  background: #fffaf7;
}
.radio-line-wrap .radio-line-item .radio {
  position: relative;
  width: 14px;
  flex: 0 0 14px;
  height: 14px;
  border: 1px solid #d4d4d4;
  border-radius: 50%;
}
.radio-line-wrap .radio-line-item.active .radio {
  border-color: #ff4000;
}
.radio-line-wrap .radio-line-item.active .radio:before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ff4000;
  left: 2.5px;
  top: 2.5px;
  border-radius: 50%;
}
.radio-line-wrap .radio-line-item .left {
  margin-right: 8px;
  display: flex;
  align-items: center;
}
.radio-line-wrap .radio-line-item .left img {
  margin-left: 8px;
  max-height: 22px;
  width: auto;
}
.radio-line-wrap .radio-line-item .right .title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
}
.radio-line-wrap .radio-line-item .right .mt-2 {
  margin-top: 2px !important;
  font-size: 12px;
  color: #888;
  line-height: 1.35;
}

body.page-checkout .comment-wrap .form-control {
  min-height: 52px;
  max-height: 96px;
  resize: vertical;
  border-radius: 4px;
  border-color: #e5e5e5;
  font-size: 13px;
}
body.page-checkout .comment-wrap .form-control:focus {
  border-color: #ff4000;
  box-shadow: 0 0 0 0.15rem rgba(255, 64, 0, 0.12);
}

body.page-checkout .total-wrap {
  padding: 16px 18px !important;
}
body.page-checkout .total-wrap .card-header {
  background: transparent;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding: 0 0 10px !important;
}
body.page-checkout .total-wrap .card-body {
  padding: 0 !important;
}
body.page-checkout .total-wrap .products-wrap .product-group {
  padding: 8px 0 4px;
  border-bottom: 1px solid #f0f0f0;
}
body.page-checkout .total-wrap .products-wrap .product-group:last-child {
  border-bottom: 0;
}
body.page-checkout .total-wrap .products-wrap .product-group__head {
  margin-bottom: 6px;
}
body.page-checkout .total-wrap .products-wrap .product-group__title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
}
body.page-checkout .total-wrap .products-wrap .item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 8px 4px;
  border-bottom: 0;
}
body.page-checkout .total-wrap .products-wrap .item .image {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
body.page-checkout .total-wrap .products-wrap .item .image .img,
body.page-checkout .total-wrap .products-wrap .item .wh-50 {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  border-radius: 4px;
}
body.page-checkout .total-wrap .products-wrap .item .image .img img,
body.page-checkout .total-wrap .products-wrap .item .wh-50 img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
body.page-checkout .total-wrap .products-wrap .item .name {
  font-size: 12px;
  line-height: 1.35;
  color: #555;
}
body.page-checkout .total-wrap .products-wrap .item .price {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
}
body.page-checkout .total-wrap .totals {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}
body.page-checkout .total-wrap .totals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
  color: #555;
}
body.page-checkout .total-wrap .totals li:last-child {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}
body.page-checkout .total-wrap .totals li:last-child span:last-child {
  color: #ff4000;
  font-size: 18px;
}
body.page-checkout .total-wrap .card-header .rounded-circle {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
body.page-checkout .submit-checkout-wrap .btn {
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 15px !important;
}
body.page-checkout .row.mt-5 {
  margin-top: 1.25rem !important;
}
@media (min-width: 992px) {
  body.page-checkout .left-column { width: 68%; }
  body.page-checkout .right-column { width: 32%; }
}

/* —— Login —— */
body.page-login .hero-heading {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 8px;
}
body.page-login .login-wrap {
  display: flex;
  justify-content: center;
  gap: 0;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  body.page-login .login-wrap .card { width: 360px; }
}
body.page-login .login-item-header {
  background: #f5f5f5;
  border-bottom: none;
  padding: 1.1rem 1.5rem;
}
body.page-login .login-item-header h6 {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
body.page-login .vr-wrap { margin: 0 48px; }
body.page-login .forgotten-link {
  display: block;
  margin-top: -8px;
  color: #999 !important;
  font-size: 13px;
}
body.page-login .forgotten-link:hover { color: #ff4000 !important; }
body.page-login .el-button--primary,
body.page-login .el-input__inner:focus {
  border-color: #ff4000;
}
body.page-login .el-button--primary {
  background-color: #ff4000;
  border-color: #ff4000;
}

/* 卡片与版心间距 */
body.page-cart > .container,
body.page-checkout > .container,
body.page-login > .container,
#app-cart.container,
#page-login.container {
  padding-bottom: 48px;
}

.h-min-600 { min-height: 420px; }
.wh-60 { width: 60px; height: 60px; }
.wh-70 { width: 70px; height: 70px; }

/* —— iconfont（会员中心订单状态等） —— */
@font-face {
  font-family: 'iconfont';
  src: url('/fonts/iconfont/iconfont.woff') format('woff'),
       url('/fonts/iconfont/iconfont.ttf') format('truetype');
  font-display: swap;
}
.iconfont {
  font-family: 'iconfont';
  font-size: 1rem;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* —— Account —— */
body[class*='page-account'],
body.page-forgotten {
  background: #f5f5f5;
}

.account-sides-info {
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
  overflow: hidden;
  margin-bottom: 16px;
}
.account-sides-info .head {
  display: flex;
  align-items: center;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #eee;
}
.account-sides-info .portrait {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.account-sides-info .account-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.account-sides-info .account-email {
  color: #666;
  font-size: 13px;
}
.account-sides-info .account-links {
  border-radius: 0;
}
.account-sides-info .account-links > a {
  border: none;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  padding: 0.75rem 1rem;
  color: #222 !important;
  text-decoration: none !important;
}
.account-sides-info .account-links > a:last-of-type { border-bottom: none; }
.account-sides-info .account-links > a:hover {
  background: #fff5f0;
  color: #ff4000 !important;
}
.account-sides-info .account-links > a.active {
  background: #fff5f0;
  color: #ff4000 !important;
  border-left: 3px solid #ff4000;
}
.account-sides-info .account-links > a > span.icon {
  margin-right: 8px;
  line-height: 1;
}
.account-sides-info .account-links > a.active path,
.account-sides-info .account-links > a:hover path {
  fill: #ff4000;
}

body[class*='page-account'] .card {
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
  box-shadow: none !important;
  background: #fff;
}
body[class*='page-account'] .card-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
body[class*='page-account'] .card-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

body.page-account .account-card .card-items > a {
  width: 25%;
  color: #222;
  text-decoration: none !important;
}
body.page-account .account-card .card-items > a:hover { color: #ff4000; }
body.page-account .account-card .card-items i {
  font-size: 2rem;
  color: #ff4000;
}
body.page-account .account-card .order-wrap {
  background: #f8f8f8;
  padding: 1.25rem 1rem;
  border-radius: 4px;
}
body.page-account .account-card .order-wrap .icon i {
  font-size: 3.5rem;
  color: #bbb;
}

body.page-account-address .addresses-wrap .item {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
  height: auto;
  min-height: 140px;
}
body.page-account-address .addresses-wrap .item.active,
body.page-account-address .addresses-wrap .item:hover {
  border-color: #ff4000;
}
body.page-account-address .addresses-wrap .address-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
body.page-account-address .addresses-wrap .address-bottom .btn {
  width: auto !important;
  min-width: 64px;
}

body.page-account-wishlist .table td,
body.page-account-order-list .table td {
  vertical-align: middle;
}

/* PC 订单详情：订购商品列表（商品→SKU 分组） */
body.page-account-order-info .product-group {
  padding: 10px 0 4px;
  border-bottom: 1px solid #eee;
}
body.page-account-order-info .product-group:last-child {
  border-bottom: 0;
}
body.page-account-order-info .product-group__head {
  margin-bottom: 8px;
}
body.page-account-order-info .product-group__title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  text-decoration: none;
}
body.page-account-order-info .product-group__title:hover {
  color: #ff4000;
}
body.page-account-order-info .product-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 10px 4px;
  margin-bottom: 0;
  border-bottom: 0;
}
body.page-account-order-info .product-list:last-child {
  padding-bottom: 4px;
}
body.page-account-order-info .product-list:first-child {
  padding-top: 0;
}
body.page-account-order-info .product-list > .d-flex {
  display: flex !important;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
body.page-account-order-info .product-list .left,
body.page-account-order-info .product-list .wh-80 {
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 56px !important;
  margin-right: 0 !important;
  border-radius: 4px;
  overflow: hidden;
}
body.page-account-order-info .product-list .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-account-order-info .product-list .right {
  flex: 1;
  min-width: 0;
  color: #666;
}
body.page-account-order-info .product-list .right .name {
  margin-bottom: 6px;
  color: #222;
  line-height: 1.4;
}
body.page-account-order-info .product-list .right .price {
  font-size: 13px;
}

/* 查物流：固定蓝色，不跟品牌橙 */
body.page-account-order-info .btn-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  text-decoration: none !important;
  white-space: nowrap;
}
body.page-account-order-info .btn-track:hover,
body.page-account-order-info .btn-track:focus {
  color: #fff !important;
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

body.page-account-wishlist .m-acc-wish-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-account-wishlist .m-acc-wish-actions .btn {
  width: auto !important;
}
body.page-account-wishlist .m-acc-wish-actions .remove-wishlist {
  width: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
}

/* PC 订单列表：商品左图右文同行；操作按钮横排 */
body.page-account-order-list .order-wrap .table .sep-row {
  height: 16px;
}
body.page-account-order-list .order-wrap .table .sep-row td {
  border: 0;
}
body.page-account-order-list .order-wrap .table .head-tr {
  background: #f5f5f5;
}
body.page-account-order-list .order-wrap .table .head-tr td {
  border-bottom-color: #f5f5f5;
}
body.page-account-order-list .order-wrap .table tbody td {
  border: 1px solid #e5e5e5;
}
body.page-account-order-list .order-wrap .table .product-group {
  margin-bottom: 12px;
}
body.page-account-order-list .order-wrap .table .product-group:last-child {
  margin-bottom: 0;
}
body.page-account-order-list .order-wrap .table .product-group__head {
  margin-bottom: 8px;
}
body.page-account-order-list .order-wrap .table .product-group__title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
  text-decoration: none;
}
body.page-account-order-list .order-wrap .table .product-group__title:hover {
  color: #ff4000;
}
body.page-account-order-list .order-wrap .table .product-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
}
body.page-account-order-list .order-wrap .table .product-info:last-child {
  margin-bottom: 0;
}
body.page-account-order-list .order-wrap .table .product-info .img {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  margin-right: 0;
  overflow: hidden;
  border-radius: 4px;
}
body.page-account-order-list .order-wrap .table .product-info .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-account-order-list .order-wrap .table .product-info .name {
  flex: 1;
  min-width: 0;
  max-width: none;
}
body.page-account-order-list .order-wrap .table .product-info .name a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  color: #222;
}
body.page-account-order-list .order-wrap .table .product-info .name .quantity {
  margin-top: 4px;
}
body.page-account-order-list .order-wrap .table .order-actions {
  width: 110px;
  vertical-align: middle;
  text-align: right;
}
body.page-account-order-list .order-wrap .table .order-actions__btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 96px;
  margin-left: auto;
}
body.page-account-order-list .order-wrap .table .order-actions__btns .btn {
  width: 100% !important;
  margin: 0;
}

/* —— Search —— */
body.page-search {
  background: #f5f5f5;
}
body.page-search .site-main {
  padding-bottom: 48px;
}
.search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
}
.search-head__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.search-head__title em {
  font-style: normal;
  color: #ff4000;
}
.search-head__meta {
  color: #999;
  font-size: 14px;
  white-space: nowrap;
}
.search-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
  padding: 18px;
}
.search-grid .product-card {
  min-width: 0;
  max-width: 100%;
}
.search-pager {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.search-empty {
  text-align: center;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: var(--radius-md, 4px);
}
.search-empty h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.search-empty p {
  color: #999;
  margin: 0 0 20px;
}

/* forgotten 与 login 同皮 */
body.page-forgotten .card {
  border: 1px solid var(--color-border, #e8e8e8);
  box-shadow: none !important;
}

/* CMS 单页（关于我们等）：版心与首页同一 .container */
body.page-pages .site-page {
  padding: 20px 0 48px;
  display: block;
}

body.page-pages .site-page__card {
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: 8px;
  padding: 28px 32px 40px;
  box-sizing: border-box;
  width: 100%;
}

body.page-pages .site-page__title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

body.page-pages .site-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #888;
}

body.page-pages .site-page__body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

body.page-pages .site-page__body h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

body.page-pages .site-page__body h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  font-weight: 700;
}

body.page-pages .site-page__body p,
body.page-pages .site-page__body ul,
body.page-pages .site-page__body ol {
  margin: 0 0 12px;
}

body.page-pages .site-page__body ul,
body.page-pages .site-page__body ol {
  padding-left: 1.25em;
}

body.page-pages .site-page__body a {
  display: inline;
  color: var(--color-brand, #ff4000);
}

body.page-pages .site-page__relations {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border, #e8e8e8);
}

body.page-pages .site-page__relations-title {
  margin: 0 0 16px;
  font-size: 20px;
  text-align: center;
}

body.page-pages .site-page__relations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.page-pages .site-page__aside {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--color-border, #e8e8e8);
  border-radius: 8px;
  padding: 16px 20px;
}

body.page-pages .site-page__aside h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

body.page-pages .site-page__aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-pages .site-page__aside a {
  display: block;
  padding: 6px 0;
  color: #444;
}

@media (max-width: 1000px) {
  body.page-pages .site-page__relations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-pages .site-page__card {
    padding: 20px 16px 28px;
  }
}
