.shop-main { min-height: 60vh; }
.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -6px; right: -10px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: #000; color: #fff;
  font-size: 10px; line-height: 16px;
  text-align: center; padding: 0 4px;
}

/* ========== Side FABs (客服 + 购物袋) ========== */
.side-fabs {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.side-fabs > * { pointer-events: auto; }

body.cs-open { overflow: hidden; }
.cs-fab {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .2s, background .2s;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}
.cs-fab:hover { background: #2a2a2a; transform: translateY(-2px); }
.cs-fab-label {
  font-size: 9px;
  letter-spacing: .08em;
  line-height: 1;
  margin-top: 1px;
  text-transform: uppercase;
}
.cs-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1310;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cs-mask[hidden] { display: none !important; }
.cs-mask.open { opacity: 1; pointer-events: auto; }
.cs-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100vw);
  background: #fff;
  z-index: 1410;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .3s ease;
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.cs-panel.open { transform: translateX(0); }
.cs-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 22px 14px;
  border-bottom: 1px solid #eee;
}
.cs-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}
.cs-panel-head h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .04em;
}
.cs-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.cs-panel-body {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 28px;
}
.cs-card {
  display: flex;
  gap: 14px;
  padding: 16px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.cs-card:last-child { border-bottom: 0; }
.cs-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #eaeaea;
  flex-shrink: 0;
}
.cs-avatar.is-empty {
  border: 1px dashed #ccc;
  background: #f3f3f3;
}
.cs-card-main { flex: 1; min-width: 0; }
.cs-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cs-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  line-height: 1.4;
}
.cs-card.is-boss {
  background: linear-gradient(90deg, #fafafa 0%, transparent 100%);
}
.cs-remark {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-meta-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
}
.cs-meta-row span {
  color: #999;
  min-width: 58px;
  flex-shrink: 0;
}
.cs-meta-row strong {
  font-weight: 500;
  word-break: break-all;
}
.cs-wa {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-top: 10px;
  padding: 0 12px;
  background: #25d366;
  color: #fff !important;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
}
.cs-wa:hover { background: #1ebe57; }

/* ========== Floating bag + drawer ========== */
body.bag-open { overflow: hidden; }
.bag-fab {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .2s, background .2s;
  flex-shrink: 0;
  border: 0;
  padding: 0;
}
.bag-fab:hover { background: #2a2a2a; transform: translateY(-2px); }
.bag-fab-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #fff;
  color: #111;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  font-weight: 500;
}
.bag-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.bag-mask.open { opacity: 1; pointer-events: auto; }
.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .3s ease;
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.bag-drawer.open { transform: translateX(0); }
.bag-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 22px 14px;
  border-bottom: 1px solid #eee;
}
.bag-eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}
.bag-drawer-head h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .06em;
}
.bag-close {
  width: 36px;
  height: 36px;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.bag-drawer-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}
.bag-check-all {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  letter-spacing: .04em;
}
.bag-link {
  border: 0;
  background: none;
  color: #888;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .04em;
}
.bag-link:hover { color: #111; }
.bag-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.bag-empty {
  text-align: center;
  color: #999;
  padding: 60px 20px;
  font-size: 13px;
  letter-spacing: .06em;
}
.bag-item {
  display: flex;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid #f3f3f3;
  align-items: flex-start;
}
.bag-item.is-unavailable { opacity: .55; }
.table-shop tr.is-unavailable { opacity: .55; }
.bag-item-check { padding-top: 28px; }
.bag-item-cover {
  width: 72px;
  height: 90px;
  flex-shrink: 0;
  background: #f3f1ed;
  overflow: hidden;
}
.bag-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.bag-item-info { flex: 1; min-width: 0; }
.bag-item-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: .03em;
}
.bag-item-spec { color: #888; font-size: 11px; margin-top: 4px; }
.bag-item-price { font-size: 12px; letter-spacing: .08em; margin-top: 8px; }
.bag-item-ops {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
}
.bag-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  height: 30px;
}
.bag-qty button {
  width: 28px;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
}
.bag-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 12px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  line-height: 28px;
}
.bag-item-remove {
  border: 0;
  background: none;
  color: #999;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.bag-item-remove:hover { color: #111; }
.bag-drawer-foot {
  border-top: 1px solid #111;
  padding: 16px 22px 22px;
  background: #fff;
}
.bag-total-row.is-sub {
  margin-bottom: 4px;
  font-size: 12px;
  color: #888;
}
.bag-total-row.is-sub strong {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  letter-spacing: .06em;
}
.bag-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .08em;
}
.bag-total-row strong { font-size: 16px; letter-spacing: .1em; font-weight: 500; }
.bag-assist {
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 12px 14px;
  margin-top: 10px;
  background: #25D366;
  color: #fff;
  border: 2px solid #128C7E;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  box-shadow: 0 2px 0 #128C7E;
}
.bag-assist:hover {
  background: #1ebe57;
  border-color: #0e7a6d;
  color: #fff;
}
.bag-assist:active {
  transform: translateY(1px);
  box-shadow: none;
}
.bag-checkout {
  width: 100%;
  height: 48px;
  background: #111;
  color: #fff;
  border: 0;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.bag-checkout:hover { background: #2a2a2a; }
.bag-checkout.is-disabled,
.bag-checkout:disabled {
  background: #c8c8c8;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}
.bag-checkout.is-disabled:hover,
.bag-checkout:disabled:hover { background: #c8c8c8; color: #888; }
.bag-checkout-tip,
.checkout-disabled-tip {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #999;
  text-align: center;
}
.btn-dark.is-disabled,
.btn-dark:disabled {
  background: #c8c8c8;
  color: #888;
  cursor: not-allowed;
  border-color: #c8c8c8;
  pointer-events: none;
}
.btn-dark.is-disabled:hover,
.btn-dark:disabled:hover { background: #c8c8c8; color: #888; }
.bag-full-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #888;
}
.bag-full-link:hover { color: #111; }

.product-media-actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
  background: linear-gradient(transparent, rgba(0,0,0,.28));
}
.product-card:hover .product-media-actions { opacity: 1; transform: translateY(0); }
.product-add-btn {
  height: 36px;
  padding: 0 18px;
  background: #fff;
  color: #111;
  border: 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.product-add-btn:hover { background: #111; color: #fff; }

.product-media-actions { display: none !important; }

/* ========== 产品卡片排版（结构按截图，样式沿用站点） ========== */
.product-grid-sheet {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  max-width: 1320px;
}
.pcard {
  background: transparent;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.pcard-media {
  display: block;
  overflow: hidden;
  background: #ebe8e4;
  aspect-ratio: 3 / 4;
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-body {
  padding: 16px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pcard-sku {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink, #111);
  line-height: 1.2;
}
.pcard-price {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink, #111);
  white-space: nowrap;
}
.pcard-wh {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute, #757575);
  line-height: 1.3;
}
.pcard-stock {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 3px 8px;
  border: 1px solid transparent;
  line-height: 1.2;
  font-weight: 500;
}
.pcard-stock.is-in {
  background: #e8f7ee;
  border-color: #b7e4c7;
  color: #1b7a3d;
}
.pcard-stock.is-low {
  background: #fdecec;
  border-color: #f5c2c2;
  color: #c0392b;
}
.pcard-stock.is-out {
  background: #f0f0f0;
  border-color: #ddd;
  color: #999;
}
.pcard-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pcard-line {
  font-size: 12px;
  color: var(--mute, #757575);
  letter-spacing: .02em;
  line-height: 1.5;
  word-break: break-word;
}
.pcard .product-add-bar {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  position: relative;
}
.product-add-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-add-bar-btn {
  position: relative;
  width: 100%;
  height: 36px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.product-add-bar-btn:hover { background: #333; }
.product-add-bar-btn:active { background: #333; }
.product-add-minus {
  background: #fff;
  color: #111;
}
.product-add-minus:hover { background: #111; color: #fff; }
.product-add-bar-btn.is-disabled,
.product-add-bar-btn:disabled {
  background: #c8c8c8;
  border-color: #c8c8c8;
  color: #fff;
  cursor: not-allowed;
}
.product-add-minus:disabled,
.product-add-minus.is-disabled {
  background: #f5f5f5;
  border-color: #ddd;
  color: #bbb;
}
.product-add-bar-btn.is-disabled:hover,
.product-add-bar-btn:disabled:hover {
  background: #c8c8c8;
  color: #fff;
}
.product-add-minus:disabled:hover,
.product-add-minus.is-disabled:hover {
  background: #f5f5f5;
  color: #bbb;
}
.product-cart-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.product-cart-badge[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .product-grid-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .product-grid-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .pcard-body { padding-top: 12px; gap: 6px; }
  .pcard-line { font-size: 11px; }
}

/* pagination (ThinkPHP Bootstrap: ul.pagination > li > a/span) */
.pager {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.pager ul.pagination,
.pager ul.pager,
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pager ul.pagination > li,
.pager ul.pager > li,
ul.pagination > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pager ul.pagination > li > a,
.pager ul.pagination > li > span,
.pager ul.pager > li > a,
.pager ul.pager > li > span,
ul.pagination > li > a,
ul.pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #333;
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color .2s, color .2s, background .2s;
}
.pager ul.pagination > li > a:hover,
ul.pagination > li > a:hover {
  border-color: #111;
  color: #111;
}
.pager ul.pagination > li.active > span,
.pager ul.pagination > li.active > a,
ul.pagination > li.active > span,
ul.pagination > li.active > a {
  background: #111;
  border-color: #111;
  color: #fff;
  cursor: default;
}
.pager ul.pagination > li.disabled > span,
ul.pagination > li.disabled > span {
  color: #bbb;
  background: #fafafa;
  border-color: #eee;
  cursor: not-allowed;
}

.page-hero {
  padding: 48px 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 10px;
}
.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500; letter-spacing: .14em;
}

.shop-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 48px 80px; }
.shop-search-hint {
  margin: -16px 0 24px;
  font-size: 13px;
  color: #666;
  letter-spacing: .02em;
}
.shop-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center; margin-bottom: 32px;
  justify-content: space-between;
}
.shop-toolbar .filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.shop-toolbar input,
.shop-toolbar select {
  height: 40px; border: 1px solid #ddd; padding: 0 12px;
  min-width: 180px; background: #fff; outline: none;
}
.shop-toolbar input:focus,
.shop-toolbar select:focus { border-color: #000; }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 22px; background: #000; color: #fff;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid #000; cursor: pointer; transition: .2s;
}
.btn-dark:hover { background: #222; color: #fff; }
.btn-line-dark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 22px; background: #fff; color: #000;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid #000; cursor: pointer; transition: .2s;
}
.btn-line-dark:hover { background: #000; color: #fff; }
.chip {
  display: inline-flex; height: 32px; align-items: center;
  padding: 0 12px; border: 1px solid #ddd; font-size: 12px;
  letter-spacing: .04em; color: #555;
}
.chip.active { border-color: #000; color: #000; }

/* ========== Product detail (luxury) ========== */
.pd-page { background: #fff; }
.pd-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 48px 20px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pd-breadcrumb a:hover { color: #111; }
.pd-breadcrumb em {
  font-style: normal;
  color: #555;
  letter-spacing: .08em;
  text-transform: none;
  max-width: 40vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  column-gap: 48px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 48px;
}

.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  padding: 0;
}
.pd-gallery-item {
  margin: 0;
  width: 100%;
  background: #fff;
  line-height: 0;
}
.pd-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  transition: opacity .35s ease;
}
.pd-gallery-img.is-switching { opacity: .4; }

@keyframes pdRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.pd-panel {
  position: sticky;
  top: 88px;
  align-self: start;
  border-left: 0;
  background: #fff;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding-left: 8px;
}
.pd-panel-inner {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 8px 8px 64px 24px;
  animation: pdRise .75s ease both;
}
.pd-cat {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 18px;
}
.pd-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.pd-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: #8a8a8a;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #111;
}
.pd-price {
  font-size: 15px;
  letter-spacing: .18em;
  font-weight: 400;
}
.pd-stock {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #999;
}
.pd-stock.is-in { color: #1b7a3d; }
.pd-stock.is-low { color: #c0392b; }
.pd-stock.is-out { color: #999; }
.brand-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 28px;
  align-items: center;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: .15s;
}
.brand-chip:hover {
  border-color: #111;
  color: #111;
}
.brand-chip.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}
.pd-excerpt {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
  max-height: 7.6em;
  overflow: hidden;
}

.pd-sku { margin-bottom: 28px; }
.pd-sku-row { margin-bottom: 20px; }
.pd-sku-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.pd-sku-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-sku-opt {
  min-width: 72px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d8d8d8;
  background: transparent;
  color: #222;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .25s ease;
}
.pd-sku-opt:hover { border-color: #111; }
.pd-sku-opt.on {
  border-color: #111;
  background: #111;
  color: #fff;
}

.pd-buy {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 32px;
}
.pd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #111;
  height: 52px;
  flex-shrink: 0;
}
.pd-qty-btn {
  width: 40px;
  height: 100%;
  font-size: 18px;
  color: #111;
  transition: background .2s;
}
.pd-qty-btn:hover { background: #f5f5f5; }
.pd-qty input {
  width: 48px;
  height: 100%;
  border: 0;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  text-align: center;
  outline: none;
  font-size: 13px;
  letter-spacing: .08em;
  -moz-appearance: textfield;
}
.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-cta {
  flex: 1;
  height: 52px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, letter-spacing .25s;
}
.pd-cta:hover {
  background: #2a2a2a;
  letter-spacing: .28em;
}

.pd-facts {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-bottom: 22px;
}
.pd-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  letter-spacing: .06em;
}
.pd-facts span { color: #999; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.pd-facts strong { font-weight: 400; color: #333; text-align: right; }
.pd-note {
  font-size: 12px;
  line-height: 1.8;
  color: #8a8a8a;
  letter-spacing: .02em;
}

.pd-shipping {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding: 28px 48px 24px;
  background: #fff;
}
.pd-shipping-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-shipping-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pd-shipping-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-shipping-title .pd-story-label {
  margin: 0;
}
.pd-shipping-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: .04em;
  margin: 0;
}
.pd-shipping-region {
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: .04em;
  margin: 0;
}
.pd-shipping-legend {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}
.pd-shipping-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .pd-shipping-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pd-shipping-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pd-shipping-cell em {
  font-style: normal;
  color: #888;
  font-size: 12px;
}
.pd-shipping-cell em small {
  font-size: 10px;
  letter-spacing: .04em;
  margin-left: 3px;
  opacity: .8;
}
.pd-shipping-cell strong {
  font-weight: 500;
  letter-spacing: .02em;
  color: #111;
}
.pd-shipping-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid var(--line);
  max-height: 120px;
  overflow: auto;
}
.pd-shipping-note pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.55;
  color: #666;
}
.pd-shipping-extra {
  margin-top: 10px;
  font-size: 12px;
  color: #8a8a8a;
}

.pd-reviews {
  border-top: 1px solid var(--line);
  padding: 64px 48px 40px;
  background: #fff;
}
.pd-reviews-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pd-reviews .pd-story-label { margin-bottom: 12px; }
.pd-reviews h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: .05em;
  margin-bottom: 28px;
}
.pd-review-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pd-review-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.pd-review-item:last-child { border-bottom: 1px solid var(--line); }
.pd-review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.pd-review-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pd-review-stars {
  display: inline-flex;
  gap: 1px;
  font-size: 13px;
  line-height: 1;
  color: #d8d4ce;
}
.pd-review-stars i.on { color: #1a1a1a; font-style: normal; }
.pd-review-stars i { font-style: normal; }
.pd-review-time {
  margin-left: auto;
  font-size: 12px;
  color: #999;
}
.pd-review-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  font-weight: 300;
}
.pd-review-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pd-review-img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f5f3;
}
.pd-review-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-review-empty {
  margin: 0;
  padding: 28px 0 8px;
  color: #999;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.pd-story {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #faf9f7 0%, #fff 100%);
  margin-top: 24px;
  padding: 88px 48px;
}
.pd-story-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.pd-story-label {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}
.pd-story h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.pd-story p {
  font-size: 15px;
  line-height: 2;
  color: #555;
  font-weight: 300;
}

.pd-related { padding-bottom: 80px; }
.pd-related-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 40px;
}

@media (max-width: 980px) {
  .pd-hero {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
    padding: 0 24px 40px;
  }
  .pd-gallery {
    order: 1;
    gap: 12px;
  }
  .pd-panel {
    order: 2;
    position: static;
    min-height: 0;
    border-left: 0;
    border-top: 0;
    padding-left: 0;
  }
  .pd-panel-inner { padding: 8px 0 40px; max-width: none; }
  .pd-breadcrumb { padding: 20px 24px 16px; }
  .pd-story { margin-top: 8px; padding: 56px 24px; }
  .pd-reviews { padding: 40px 24px 28px; }
  .pd-review-time { margin-left: 0; width: 100%; }
  .pd-related-grid { padding: 0 24px 40px; }
}

/* articles */
.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-card {
  display: flex;
  gap: 20px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  color: inherit;
}
.article-card:last-of-type { border-bottom: 0; }
.article-cover {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  background: var(--soft);
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-cover-empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f2f2f2, #e8e8e8);
}
.article-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.article-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.article-summary { color: #666; font-size: 14px; line-height: 1.7; }
.article-meta { color: #999; font-size: 12px; margin-top: 10px; letter-spacing: .06em; }
.article-detail .article-lead {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin: 16px 0 24px;
}
.article-hero-cover {
  margin: 12px 0 24px;
  max-height: 420px;
  overflow: hidden;
  background: var(--soft);
}
.article-hero-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.article-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.article-content p { margin-bottom: 14px; }
.article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-related h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 500;
}
.article-related a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}
@media (max-width: 768px) {
  .article-card { flex-direction: column; }
  .article-cover { width: 100%; height: 160px; }
}

/* order list cards (taobao-like) */
.order-card-list { display: flex; flex-direction: column; gap: 18px; }
.order-card {
  border: 1px solid var(--line);
  background: #fff;
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.oc-no { letter-spacing: .06em; margin-right: 12px; font-weight: 500; }
.oc-time { color: #888; }
.oc-status { color: #555; letter-spacing: .04em; }
.order-card-body { padding: 6px 18px; }
.oc-goods {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  color: inherit;
}
.oc-goods:last-child { border-bottom: 0; }
.oc-goods img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--soft);
  flex-shrink: 0;
}
.oc-goods-info { flex: 1; min-width: 0; }
.oc-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: .04em;
}
.oc-spec { color: #888; font-size: 12px; margin-top: 6px; }
.oc-sku { color: #aaa; font-size: 11px; margin-top: 4px; }
.oc-price {
  text-align: right;
  font-size: 13px;
  flex-shrink: 0;
  min-width: 80px;
}
.oc-qty { color: #888; margin-top: 6px; }
.order-card-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
}
.oc-total { font-size: 13px; }
.oc-total strong { font-size: 16px; margin-left: 6px; letter-spacing: .04em; }
.oc-ship { color: #888; font-size: 12px; margin-left: 8px; }

/* order biz tip */
.order-biz-tip {
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  padding: 22px 24px;
  margin-bottom: 28px;
  line-height: 1.7;
  font-size: 14px;
  color: #333;
}
.order-biz-tip.is-success {
  border-color: #111;
  background: #fafafa;
}
.order-biz-tip .tip-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: .06em;
  margin-bottom: 10px;
  font-weight: 500;
}
.order-biz-tip strong {
  font-weight: 600;
  letter-spacing: .02em;
}
.order-biz-tip .tip-meta {
  margin-top: 12px;
  color: #666;
  font-size: 13px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.biz-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.biz-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #eaeaea;
  flex-shrink: 0;
}
.biz-avatar.is-empty {
  border: 1px dashed #ccc;
  background: #f0f0f0;
}
.biz-info { flex: 1; min-width: 0; }
.biz-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: .06em;
  margin-bottom: 8px;
  font-weight: 500;
}
.biz-info p { margin: 0; line-height: 1.7; }
.wa-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  background: #25d366;
  color: #fff !important;
  font-size: 12px;
  letter-spacing: .04em;
}
.wa-btn:hover { background: #1ebe57; color: #fff !important; }

/* cart / checkout / account */
.panel-box {
  max-width: 1000px; margin: 0 auto; padding: 40px 48px 80px;
}
.table-shop { width: 100%; border-collapse: collapse; }
.table-shop th {
  text-align: left; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #777; font-weight: 400;
  padding: 12px 8px; border-bottom: 1px solid #000;
}
.table-shop td {
  padding: 18px 8px; border-bottom: 1px solid var(--line);
  vertical-align: middle; font-size: 13px;
}
.cart-prod { display: flex; gap: 14px; align-items: center; }
.cart-prod img { width: 72px; height: 90px; object-fit: cover; background: var(--soft); }
.cart-prod .name { font-family: "Cormorant Garamond", serif; font-size: 18px; }
.cart-prod .sku { color: #888; font-size: 12px; margin-top: 4px; }
.cart-qty-input {
  width: 64px; height: 36px; border: 1px solid #ddd; text-align: center;
}
.cart-summary {
  margin-top: 28px; display: flex; justify-content: flex-end;
}
.summary-card {
  width: 320px; border: 1px solid var(--line); padding: 24px;
}
.summary-card .btn-dark { width: 100%; margin-top: 16px; }
.summary-card .cart-continue {
  width: 100%; margin-top: 10px;
  display: inline-flex; align-items: center; justify-content: center; height: 40px;
}

/* 手机购物袋卡片（默认隐藏，is-mobile 显示） */
.cart-m-list { display: none; flex-direction: column; gap: 0; }
.cart-m-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-m-item.is-unavailable { opacity: .55; }
.cart-m-cover {
  width: 88px;
  height: 110px;
  flex-shrink: 0;
  background: var(--soft);
  overflow: hidden;
}
.cart-m-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-m-body { flex: 1; min-width: 0; }
.cart-m-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.3;
  word-break: break-word;
}
.cart-m-meta {
  color: #888;
  font-size: 12px;
  margin-top: 4px;
  word-break: break-word;
}
.cart-m-warn {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: #a66;
  letter-spacing: .06em;
}
.cart-m-price {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .06em;
}
.cart-m-ops {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 10px;
}
.cart-m-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  height: 34px;
}
.cart-m-qty button {
  width: 34px;
  height: 100%;
  font-size: 16px;
}
.cart-m-qty input {
  width: 40px;
  height: 100%;
  border: 0;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  outline: none;
}
.cart-m-remove {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
}
.cart-m-sub {
  margin-top: 10px;
  font-size: 13px;
  text-align: right;
  letter-spacing: .04em;
}
.cart-m-empty .btn-dark {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .cart-table-desk { display: none !important; }
  .cart-m-list { display: flex !important; }
  .cart-page.panel-box { padding: 12px 16px 88px; }
  .cart-summary {
    justify-content: stretch;
    position: sticky;
    bottom: 0;
    z-index: 50;
    margin: 16px -16px 0;
    background: #fff;
  }
  body.is-mobile .cart-summary {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  .cart-m-summary,
  .summary-card {
    width: 100% !important;
    max-width: none !important;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  }
  .bag-drawer { width: 100vw; }
}
.summary-card .row {
  display: flex; justify-content: space-between; margin-bottom: 12px;
  gap: 12px;
}
.summary-card .total {
  border-top: 1px solid #000; padding-top: 14px; margin-top: 14px;
  font-size: 16px; letter-spacing: .06em;
}

.checkout-sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  letter-spacing: .08em;
  margin-bottom: 20px;
  font-weight: 500;
}
.checkout-summary {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.checkout-summary-title {
  margin-bottom: 16px;
  letter-spacing: .1em;
  font-size: 12px;
  text-transform: uppercase;
}
.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: min(52vh, 480px);
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.checkout-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checkout-item-cover {
  width: 64px;
  height: 80px;
  flex-shrink: 0;
  background: var(--soft);
  overflow: hidden;
}
.checkout-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.checkout-item-body { flex: 1; min-width: 0; }
.checkout-item-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  line-height: 1.35;
  word-break: break-word;
}
.checkout-item-meta {
  color: #888;
  font-size: 12px;
  margin-top: 4px;
  word-break: break-word;
}
.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
}
.checkout-tip {
  margin-top: 14px;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
.form-stack { max-width: 560px; }
.form-stack .fg { margin-bottom: 16px; }
.form-stack label {
  display: block; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #666; margin-bottom: 8px;
}
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%; height: 42px; border: 1px solid #ddd;
  padding: 0 12px; outline: none;
  background: #fff;
  border-radius: 0;
  appearance: auto;
}
.form-stack textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus { border-color: #000; }
.form-stack .fg-row {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}
.form-stack .fg-row-3 {
  grid-template-columns: 1.2fr 1.4fr 0.9fr;
}
.checkout-addr-tip {
  font-size: 12px;
  color: #888;
  margin: -4px 0 18px;
  line-height: 1.5;
  max-width: 560px;
}
@media (max-width: 640px) {
  .form-stack .fg-row-3 {
    grid-template-columns: 1fr;
  }
}

.auth-box {
  max-width: 420px; margin: 48px auto 80px; padding: 0 20px;
}
.auth-box h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px; text-align: center; letter-spacing: .12em;
  margin-bottom: 8px; font-weight: 500;
}
.auth-box .sub {
  text-align: center; color: #777; margin-bottom: 28px;
}
.auth-box .switch {
  text-align: center; margin-top: 18px; color: #666;
}
.auth-box .switch a { text-decoration: underline; }

.account-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 40px 48px 80px;
}
.account-nav a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--line);
  letter-spacing: .08em; font-size: 13px;
}
.account-nav a.active { font-weight: 500; }
.stat-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 28px;
}
.stat-mini .box {
  border: 1px solid var(--line); padding: 18px;
}
.stat-mini .box .n {
  font-family: "Cormorant Garamond", serif; font-size: 28px; margin-top: 6px;
}
.badge-s {
  display: inline-block; padding: 2px 8px; border: 1px solid #ddd;
  font-size: 11px; letter-spacing: .04em;
}
.empty-tip {
  text-align: center; color: #888; padding: 60px 20px;
}
.checkout-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 40px 48px 80px;
}

@media (max-width: 900px) {
  .detail-grid, .account-grid, .checkout-grid { grid-template-columns: 1fr; padding: 24px 20px 60px; }
  .shop-wrap, .panel-box, .page-hero { padding-left: 20px; padding-right: 20px; }
  .summary-card { width: 100%; }
}

/* ========== 加购飞入右侧悬浮购物车 ========== */
.cart-fly-ball {
  position: fixed;
  z-index: 6000;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  pointer-events: none;
  opacity: 1;
  transform: translate(0, 0) scale(1);
  transition: transform .72s cubic-bezier(.2,.75,.15,1), opacity .72s ease;
  will-change: transform, opacity;
  background-size: cover;
  background-position: center;
}
.cart-fly-ball.has-img {
  border: 2px solid #fff;
}
.cart-fly-ball.is-fly {
  /* transform / opacity 由 JS 写入终点 */
}
.cart-success-tip {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 6100;
  transform: translate(-50%, -50%) scale(.92);
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
  white-space: nowrap;
}
.cart-success-tip.is-in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cart-success-tip.is-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.96);
}
.cart-bump {
  animation: cartBump .45s ease;
}
@keyframes cartBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.18); }
  70% { transform: scale(.94); }
  100% { transform: scale(1); }
}
.bag-fab.cart-bump {
  animation: cartFabBump .45s ease;
}
@keyframes cartFabBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  70% { transform: scale(.94); }
  100% { transform: scale(1); }
}
.m-tabbar a.cart-bump,
.site-header .cart-link.cart-bump {
  animation: cartBump .45s ease;
}

/* ========== Toast 通知 ========== */
.toast-host {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: #111;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .02em;
}
.toast.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.toast.is-out {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
}
.toast-success { background: #1a1a1a; border-left: 3px solid #6fcf97; }
.toast-error { background: #1a1a1a; border-left: 3px solid #eb5757; }
.toast-info { background: #1a1a1a; border-left: 3px solid #9aa0a6; }
.toast-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}
.toast-success .toast-icon::before {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border-right: 1.5px solid #6fcf97;
  border-bottom: 1.5px solid #6fcf97;
  transform: rotate(45deg);
}
.toast-error .toast-icon::before,
.toast-error .toast-icon::after {
  content: "";
  position: absolute;
  left: 8px; top: 3px;
  width: 1.5px; height: 10px;
  background: #eb5757;
}
.toast-error .toast-icon::before { transform: rotate(45deg); }
.toast-error .toast-icon::after { transform: rotate(-45deg); }
.toast-info .toast-icon::before {
  content: "i";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  color: #9aa0a6;
  line-height: 18px;
  text-align: center;
}
.toast-text { flex: 1; padding-top: 1px; word-break: break-word; }
.toast-close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: -2px -4px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  line-height: 20px;
  cursor: pointer;
}
.toast-close:hover { color: #fff; }
body.is-mobile .toast-host {
  top: auto;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
body.is-mobile .toast {
  transform: translateY(10px) scale(.98);
}
body.is-mobile .toast.is-in {
  transform: translateY(0) scale(1);
}

/* ========== Social proof purchase popup ========== */
.social-proof-host {
  position: fixed;
  inset: 0;
  z-index: 1180;
  pointer-events: none;
}
.social-proof-card {
  position: absolute;
  top: 88px;
  max-width: min(340px, calc(100vw - 28px));
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  color: #222;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .01em;
  opacity: 0;
  pointer-events: auto;
  transition: opacity .28s ease, transform .28s ease;
}
.social-proof-card.is-left {
  left: 22px;
  transform: translateX(-18px);
}
.social-proof-card.is-right {
  right: 22px;
  transform: translateX(18px);
}
.social-proof-card.is-in {
  opacity: 1;
  transform: translateX(0);
}
.social-proof-card.is-out {
  opacity: 0;
}
.social-proof-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .22);
}
.social-proof-text {
  flex: 1 1 auto;
  min-width: 0;
}
.social-proof-close {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: -2px -4px 0 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 16px;
  line-height: 18px;
  cursor: pointer;
  padding: 0;
}
.social-proof-close:hover { color: #111; }
body.is-mobile .social-proof-card {
  max-width: calc(100vw - 24px);
  top: 72px;
  font-size: 11px;
}
body.is-mobile .social-proof-card.is-left {
  left: 12px;
}
body.is-mobile .social-proof-card.is-right {
  right: 12px;
}
