/* Design revamp — local only. Brand: #5C0022 */
:root {
  --mall-brand: #5C0022;
  --mall-brand-soft: #fff5f7;
  --mall-card: #ffffff;
  --mall-line: #eee6e8;
  --mall-text: #1a1a1a;
  --mall-muted: #6b6b6b;
  --mall-radius: 14px;
  --mall-container: 1400px;
}

/* PC 内容区：比原 1140 宽，但不铺满（用户反馈 1680 过宽） */
@media (min-width: 1200px) {
  html body:not(.seller-panel):not(.aiz-seller-panel) .container,
  html body:not(.seller-panel):not(.aiz-seller-panel) .container-lg,
  html body:not(.seller-panel):not(.aiz-seller-panel) .container-xl {
    max-width: min(1400px, calc(100vw - 80px)) !important;
    width: 100% !important;
  }
  .mall-header-search-group {
    max-width: 640px !important;
  }
}
@media (min-width: 1600px) {
  html body:not(.seller-panel):not(.aiz-seller-panel) .container,
  html body:not(.seller-panel):not(.aiz-seller-panel) .container-lg,
  html body:not(.seller-panel):not(.aiz-seller-panel) .container-xl {
    max-width: min(1480px, calc(100vw - 120px)) !important;
  }
}

/* ===== PC Auth: 全宽左右分屏（无两侧留白） ===== */
.page-auth .aiz-main-wrapper {
  background: #f7f1f3 !important;
  max-width: none !important;
  padding: 0 !important;
}
.page-auth .aiz-main-wrapper > section.auth-split,
.page-auth section.auth-split {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: calc(100vh - 120px);
  background: transparent;
  overflow: hidden;
  align-items: stretch;
  box-sizing: border-box;
}
.page-auth footer,
.page-auth .aiz-footer {
  display: none !important;
}
.auth-split-visual {
  flex: 1 1 48% !important;
  width: 48% !important;
  max-width: none !important;
  min-width: 0;
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255, 180, 200, 0.18) 0%, transparent 55%),
    linear-gradient(155deg, #6e0a2e 0%, #5C0022 42%, #3a0015 100%);
}
.auth-split-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: none;
  background: transparent;
  border-radius: 0;
  color: #fff;
  box-sizing: border-box;
  overflow: visible;
}
.auth-split-circle::before {
  content: "";
  position: absolute;
  right: -18%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: 120%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.auth-split-circle .auth-split-inner {
  position: absolute;
  left: 10%;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.auth-split-circle h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.auth-split-form .form-control {
  height: 48px;
  border-radius: 8px;
}
.auth-split-visual .auth-split-logo,
.auth-split-visual img.altonalon-logo.auth-split-logo {
  width: auto !important;
  max-width: 240px !important;
  height: 44px !important;
  max-height: 44px !important;
  margin-bottom: 32px;
  filter: none !important;
}
.auth-split-wordmark {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff !important;
}
.auth-split-form {
  flex: 1 1 52% !important;
  width: 52%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(32px, 6vw, 96px);
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(92, 0, 34, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #faf6f7 0%, #f3ecee 100%);
}
.auth-split-form .auth-modern-card {
  width: 100%;
  max-width: 480px;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.auth-split-form .auth-modern-card h1 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--mall-text);
  margin-bottom: 8px;
}
.auth-split-form .btn-submit,
.page-auth .btn-submit {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  height: 50px;
  border-radius: 8px;
  font-weight: 700;
  width: 100%;
}
.auth-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--mall-brand);
  color: var(--mall-brand) !important;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  text-decoration: none !important;
}
/* ===== PC 酒红顶栏（设计稿） ===== */
@media (min-width: 992px) {
  body,
  .aiz-main-wrapper {
    background: #fff !important;
  }
  .mall-site-header {
    background: transparent !important;
    box-shadow: none !important;
  }
  .mall-logo-bar-maroon {
    background: #5C0022 !important;
    position: relative;
    z-index: 50; /* above .header-menu-strip so search dropdown is not covered */
  }
  .mall-logo-bar-maroon .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .mall-logo-bar-maroon .front-header-search {
    background: transparent !important;
    position: relative;
    z-index: 51;
  }
  .mall-logo-bar-maroon .typed-search-box {
    z-index: 60 !important;
  }
  .mall-header-search-group {
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
  }
  .mall-header-search-group .form-control {
    height: 42px;
    border: 0 !important;
    background: #fff !important;
    border-radius: 999px 0 0 999px;
    padding-left: 18px;
  }
  .mall-header-search-group .btn {
    height: 42px;
    border: 0 !important;
    border-radius: 0 999px 999px 0;
    background: #222 !important;
    color: #fff !important;
    min-width: 52px;
  }
  .mall-header-right { gap: 18px; }
  .mall-sellerhub-link {
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-decoration: none !important;
    white-space: nowrap;
  }
  .mall-sellerhub-link:hover { opacity: .9; }
  .mall-logo-bar-maroon .header-auth-links a,
  .mall-logo-bar-maroon .mall-auth-sep {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
  }
  .mall-auth-sep { opacity: .7; margin: 0 4px; }
  .header-menu-strip {
    border-top: 0 !important;
    border-bottom: 1px solid #eee !important;
    background: #fff !important;
    position: relative;
    z-index: 20; /* below search dropdown (logo bar z-index 50+) */
  }
  .header-menu-strip > .container > .d-flex {
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: 44px;
  }
  .header-cat-nav {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    flex: 1 1 auto;
    overflow: visible;
  }
  .header-cat-nav > .list-inline-item,
  .header-cat-nav > li {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    vertical-align: middle;
    flex: 0 0 auto;
  }
  .header-cat-item {
    position: static;
  }
  .header-cat-link,
  .header-flash-sale-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    padding: 10px 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    vertical-align: middle;
  }
  .header-cat-nav > li:first-child .header-cat-link {
    padding-left: 0 !important;
  }
  .header-cat-mega {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding-top: 8px;
    z-index: 40;
  }
  .header-cat-mega-inner {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    max-height: 420px;
    overflow: auto;
  }
  .header-cat-mega-col {
    min-width: 140px;
    max-width: 200px;
    flex: 0 0 auto;
  }
  .header-cat-l2 {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    text-decoration: none;
  }
  .header-cat-l2:hover { color: #5C0022; }
  .header-cat-l3 {
    display: block;
    font-size: 12px;
    color: #666;
    padding: 2px 0;
    text-decoration: none;
    line-height: 1.45;
  }
  .header-cat-l3:hover { color: #5C0022; }
  /* Keep mega open while moving into panel */
  .header-cat-item:hover .header-cat-mega,
  .header-cat-item:focus-within .header-cat-mega {
    display: block;
  }
  .header-flash-sale-link {
    color: #e10600 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }
  .header-flash-sale-link:hover {
    color: #b80000 !important;
  }
  .header-flash-bolt {
    color: #f5c518;
    margin-left: 2px;
    line-height: 1;
  }
  .header-menu-tools {
    flex: 0 0 auto !important;
    margin-left: 8px !important;
    white-space: nowrap;
    align-items: center !important;
  }
  .header-menu-tools .mall-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-left: 8px;
    padding: 8px 6px !important;
    text-decoration: none;
    line-height: 1.2;
  }
  .header-menu-tools .mall-tool-link i {
    font-size: 18px;
    line-height: 1;
    color: #5C0022;
  }
  .header-menu-tools a {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding: 8px 6px;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-menu-tools a:hover { color: #5C0022; }
  .header-sub-nav { display: none !important; }
}
.header-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-auth-links a { color: #333; font-weight: 600; font-size: 14px; }
.header-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  max-width: 180px;
}
.header-auth-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-auth-avatar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
}
.header-auth-avatar img,
.header-auth-avatar .avatar-letter,
.header-auth-user .avatar-letter,
.header-auth-user img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,.85);
}

@media (max-width: 991.98px) {
  /* 覆盖 PC 更高优先级选择器，避免 100vh + overflow 裁掉表单 */
  .page-auth .aiz-main-wrapper > section.auth-split,
  .page-auth section.auth-split {
    flex-direction: column !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  .page-auth .aiz-main-wrapper {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 78px !important; /* leave room for bottom nav */
    background: #f6f4f5 !important;
  }
  /* 登录/注册：保留底部菜单，隐藏站点头尾 */
  body.page-auth header.mall-site-header,
  body.page-auth .footer-widget,
  body.page-auth footer {
    display: none !important;
  }
  body.page-auth .aiz-mobile-bottom-nav,
  body.page-auth .mall-mobile-nav {
    display: block !important;
  }
  .auth-split-visual {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .auth-split-circle {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    padding: 28px 22px 26px;
  }
  .auth-split-circle::before { display: none; }
  .auth-split-circle .auth-split-inner {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: none;
    width: 100%;
  }
  .auth-split-circle h2 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
  }
  .auth-split-visual .auth-split-logo,
  .auth-split-visual img.altonalon-logo.auth-split-logo {
    height: 32px !important;
    max-height: 32px !important;
    margin-bottom: 12px;
  }
  .auth-stills { display: none !important; }
  .auth-split-form {
    width: 100%;
    flex: 1 1 auto !important;
    padding: 0 14px 28px;
    background: transparent !important;
    margin-top: -14px;
  }
  .auth-split-form .auth-modern-card {
    max-width: none;
    width: 100%;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 22px 18px 24px !important;
    box-shadow: 0 4px 24px rgba(40, 0, 16, 0.08) !important;
    border: 1px solid rgba(92, 0, 34, 0.06);
  }
  .auth-split-form .auth-modern-card h1 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .auth-split-form .auth-modern-card .subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 18px;
  }
  .page-auth .auth-split-form .form-control {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e6e0e2;
    background: #fafafa;
    font-size: 15px;
  }
  .page-auth .auth-split-form .form-control:focus {
    background: #fff;
    border-color: #5C0022;
    box-shadow: 0 0 0 3px rgba(92, 0, 34, 0.08);
  }
  .page-auth .auth-split-form .form-group {
    margin-bottom: 12px;
  }
  .page-auth .btn-submit {
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: #5C0022 !important;
    border-color: #5C0022 !important;
  }
  .page-auth .auth-options-row {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px !important;
  }
  .page-auth .auth-forgot-link {
    color: #5C0022 !important;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
  }
  .page-auth .mall-social-ref {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 8px 0 16px;
  }
  .page-auth .mall-soc {
    height: 44px;
    border-radius: 10px;
    font-size: 0;
    gap: 0;
    padding: 0;
  }
  .page-auth .mall-soc i {
    font-size: 20px;
    margin: 0;
  }
  .page-auth .mall-soc-gg {
    border: 1px solid #e5e5e5 !important;
  }
  .page-auth .auth-switch-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0ecee;
  }
  .page-auth .auth-switch-btn {
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
  }
  .page-auth .auth-or-divider {
    position: relative;
    margin: 4px 0 12px !important;
    font-size: 12px !important;
    color: #999 !important;
  }
  body.page-auth #global-customer-service-icon {
    right: 14px !important;
    bottom: 86px !important; /* above bottom nav */
  }
  body.page-auth .cd-top {
    display: none !important;
  }
}
/* PC keep full social labels */
@media (min-width: 992px) {
  .page-auth .btn-submit {
    background: #111 !important;
    border-color: #111 !important;
  }
}

/* ===== PC Seller create /shops/create：全宽分栏 + 双列表单 ===== */
.page-seller-create .aiz-main-wrapper {
  background: #f7f1f3 !important;
  max-width: none !important;
  padding: 0 !important;
}
.seller-split {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: calc(100vh - 120px);
  align-items: stretch;
}
.seller-split-visual {
  flex: 0 0 36%;
  max-width: 480px;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 55% at 15% 85%, rgba(255, 180, 200, 0.16) 0%, transparent 55%),
    linear-gradient(155deg, #6e0a2e 0%, #5C0022 45%, #3a0015 100%);
  display: flex;
  align-items: center;
  padding: 48px clamp(28px, 3vw, 48px);
  box-sizing: border-box;
}
.seller-split-inner {
  position: relative;
  z-index: 1;
  max-width: 360px;
}
.seller-split-inner h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.seller-split-inner > p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.88;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}
.seller-split-logo,
img.altonalon-logo.seller-split-logo {
  width: auto !important;
  max-width: 220px !important;
  height: 42px !important;
  max-height: 42px !important;
  margin-bottom: 28px;
}
.seller-split-perks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seller-split-perks li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}
.seller-split-perks li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.seller-split-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}
.seller-split-form {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px clamp(24px, 4vw, 64px) 56px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 60% 40% at 95% 0%, rgba(92, 0, 34, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #faf6f7 0%, #f3ecee 100%);
  overflow-y: auto;
}
.page-seller-create .seller-modern-card {
  width: 100%;
  max-width: 760px;
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0 !important;
}
.page-seller-create .seller-modern-card h1 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.page-seller-create .seller-modern-card .subtitle {
  color: #7a6a70;
  font-size: 14px;
  margin-bottom: 22px;
}
.seller-form-section {
  margin-bottom: 22px;
  padding: 20px 22px 8px;
  background: #fff;
  border: 1px solid #eee2e6;
  border-radius: 14px;
}
.seller-form-section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5C0022;
  margin: 0 0 14px;
}
.seller-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.page-seller-create .seller-modern-card .form-group {
  margin-bottom: 14px;
}
.page-seller-create .seller-modern-card label {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 5px;
  color: #444;
}
.page-seller-create .seller-modern-card .form-control,
.page-seller-create .seller-modern-card select {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e4d9dd;
  padding: 10px 14px;
}
.page-seller-create .seller-modern-card .form-control:focus,
.page-seller-create .seller-modern-card select:focus {
  border-color: #5C0022;
  box-shadow: 0 0 0 3px rgba(92, 0, 34, 0.1);
}
.page-seller-create .seller-modern-card .btn-submit-shop {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 8px auto 0;
  height: 50px;
  padding: 0 20px;
  border-radius: 10px;
  background: #111 !important;
  border: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
}
.page-seller-create .seller-modern-card .btn-submit-shop:hover {
  background: #000 !important;
}
.seller-form-section-captcha {
  padding-bottom: 16px;
}

@media (max-width: 991.98px) {
  .seller-split {
    flex-direction: column;
    min-height: auto;
  }
  .seller-split-visual {
    flex: none;
    max-width: none;
    min-width: 0;
    width: 100%;
    padding: 28px 22px 24px;
  }
  .seller-split-inner h2 { font-size: 22px; }
  .seller-split-inner > p { margin-bottom: 16px; font-size: 13px; }
  .seller-split-perks { display: none; }
  .seller-split-form {
    padding: 22px 16px 48px;
  }
  .page-seller-create .seller-modern-card {
    max-width: none;
  }
  .seller-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .seller-form-section {
    padding: 16px 14px 4px;
  }
  .page-seller-create .seller-modern-card .btn-submit-shop {
    max-width: none;
  }
}

/* ===== PC / APP homepage sections ===== */
.mall-home-product-grid > [class*="col-"] { min-width: 0; }
.home-below-fold-section .h5 span,
.home-deferred-section .h5 span,
#section_newest .h5 span {
  border-color: var(--mall-brand) !important;
  color: var(--mall-text);
  font-weight: 700;
}
/* 单图主 Banner：slick 未就绪时只显示第一张全宽，禁止多列竖条 */
.home-banner-area .home-hero-slider:not(.slick-initialized),
.home-banner-area .aiz-carousel[data-items="1"]:not(.slick-initialized) {
  display: block !important;
  width: 100% !important;
  overflow: hidden;
}
.home-banner-area .home-hero-slider:not(.slick-initialized) > *,
.home-banner-area .aiz-carousel[data-items="1"]:not(.slick-initialized) > * {
  display: none !important;
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
}
.home-banner-area .home-hero-slider:not(.slick-initialized) > *:first-child,
.home-banner-area .aiz-carousel[data-items="1"]:not(.slick-initialized) > *:first-child {
  display: block !important;
}
.home-banner-area {
  padding-top: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  background: #fff;
}
/* 左类目对齐：主 Banner + 下方特色商品总高 */
.home-banner-area .home-hero-row {
  align-items: stretch !important;
}
.home-banner-area .aiz-category-menu {
  height: 100%;
  min-height: 400px;
  max-height: 412px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home-banner-area .aiz-category-menu .categories {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.aiz-category-menu .categories {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.aiz-category-menu .category-nav-element > a {
  padding: 6px 12px !important;
  font-size: 13px;
  line-height: 1.3;
  min-height: 0;
}
.home-banner-area .aiz-category-menu .category-nav-element > a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.aiz-category-menu .cat-glyph-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5C0022;
  opacity: 0.85;
}
.aiz-category-menu .cat-glyph-icon .mall-cat-glyph {
  width: 18px !important;
  height: 18px !important;
  display: block;
}
.aiz-category-menu .category-nav-element > a:hover .cat-glyph-icon {
  opacity: 1;
}
/* Header category toggle: click-to-open (not hover) */
#category-menu-icon .category-menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  padding-left: 0.5rem;
}
#category-menu-icon.is-open .category-menu-toggle,
#category-menu-icon .category-menu-toggle:focus {
  background: #fff;
  border-color: #5C0022;
  box-shadow: 0 0 0 2px rgba(92, 0, 34, 0.15);
}
#hover-category-menu {
  display: none !important;
  pointer-events: none;
}
#hover-category-menu.active,
#hover-category-menu.is-open {
  display: block !important;
  pointer-events: auto;
}
#hover-category-menu .aiz-category-menu {
  pointer-events: auto;
}
/* Never open on CSS hover */
.category-menu-icon-box:hover + #hover-category-menu,
.logo-bar-area:hover #hover-category-menu:not(.active):not(.is-open) {
  display: none !important;
}
.home-banner-area .home-hero-slider {
  position: relative !important;
  height: 320px !important;
  max-height: 320px !important;
  overflow: hidden !important;
  margin: 0 !important;
  border-radius: 8px;
}
.home-banner-area .home-hero-slider .slick-list,
.home-banner-area .home-hero-slider .slick-track,
.home-banner-area .home-hero-slider .slick-slide,
.home-banner-area .home-hero-slider .carousel-box {
  height: 320px !important;
}
.home-banner-area .home-hero-slider .carousel-box,
.home-banner-area .home-hero-slider .carousel-box img,
.home-banner-area .aiz-carousel[data-items="1"] .carousel-box,
.home-banner-area .aiz-carousel[data-items="1"] .carousel-box img {
  width: 100% !important;
  max-width: 100% !important;
  height: 320px !important;
  object-fit: cover;
}
.home-banner-area .home-hero-slider .slick-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 12px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 3;
}
/* Banner 下特色商品横条：铺满宽度 */
.home-hero-featured {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow: hidden;
  padding-bottom: 2px;
  width: 100%;
}
.home-hero-featured-item {
  flex: 1 1 0;
  min-width: 0;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #eee;
}
.home-hero-featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 设计稿：品牌无限循环，无滚动条 */
.mall-home-brands {
  background: #fff;
  padding: 8px 0 28px;
}
.mall-brands-title {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.mall-brands-sub {
  color: #777;
  font-size: 14px;
  margin: 0 0 18px;
}
.mall-brands-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.mall-brands-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 8px 0;
  animation: mall-brands-marquee 42s linear infinite;
  will-change: transform;
}
.mall-brands-viewport:hover .mall-brands-track {
  animation-play-state: paused;
}
@keyframes mall-brands-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mall-home-brands .mall-brand-item {
  flex: 0 0 auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 56px;
  padding: 0 8px;
  text-decoration: none !important;
}
.mall-home-brands .mall-brand-item img {
  height: 40px !important;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .2s, filter .2s;
}
.mall-home-brands .mall-brand-item:hover img {
  filter: none;
  opacity: 1;
}
/* 兼容旧类名，彻底去掉横线滚动条 */
.mall-home-brands .hot-brands-scroll,
.mall-brands-viewport {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.mall-home-brands .hot-brands-scroll::-webkit-scrollbar,
.mall-brands-viewport::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}
.home-below-fold-section .mall-section-title,
.mall-ord-new .mall-section-title {
  border: 0;
}
.home-below-fold-section .bg-white.shadow-sm,
.home-deferred-section .bg-white.shadow-sm {
  box-shadow: none !important;
  background: transparent !important;
}

/* 仅多列轮播（data-items>=2）在 slick 未初始化时做网格兜底 */
.aiz-carousel[data-items]:not([data-items="1"]):not(.slick-initialized) {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
.aiz-carousel[data-items]:not([data-items="1"]):not(.slick-initialized) > * {
  display: block !important;
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .aiz-carousel[data-items]:not([data-items="1"]):not(.slick-initialized) > * { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (min-width: 1200px) {
  .aiz-carousel[data-items]:not([data-items="1"]):not(.slick-initialized) > * { flex: 0 0 16.666%; max-width: 16.666%; }
}

/* APP home hero */
@media (max-width: 991.98px) {
  .mall-mobile-hero {
    background: #fff;
    padding: 8px 12px 16px;
  }
  .mall-mobile-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--mall-brand);
  }
  .mall-mobile-hot-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .mall-mobile-hot-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
  }
  .mall-mobile-hot-price { color: var(--mall-brand); font-weight: 700; }
}

/* APP category */
.mall-cat-page .mall-cat-card {
  background: #fff;
  border-radius: var(--mall-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  height: 100%;
}
.mall-cat-page .mall-cat-card h6,
.mall-cat-page .mall-cat-card .fs-16 { color: var(--mall-text); }
@media (max-width: 991.98px) {
  .mall-cat-page .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
  .mall-cat-page .mall-cat-card .p-lg-4 { padding: 10px !important; }
}

/* ===== Product detail ===== */
.product-gallery-stage {
  position: relative;
}
.product-report-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  background: #fff;
  color: #222 !important;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.product-report-btn:hover { background: var(--mall-brand); color: #fff !important; }
.product-details-revamp .fs-20 { font-size: 22px !important; line-height: 1.4; }
.mall-home-product-grid .text-primary { color: #111 !important; }
@media (max-width: 991.98px) {
  .product-details-revamp .bg-white.shadow-sm { box-shadow: none !important; }
  .product-gallery-stage { border-radius: 12px; overflow: hidden; }
}

/* ===== User panel PC + APP ===== */
.aiz-user-panel .card {
  border: 0;
  border-radius: var(--mall-radius);
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.aiz-user-sidenav-wrap .bg-primary { background: var(--mall-brand) !important; }
.mall-stat-card {
  background: var(--mall-brand);
  color: #fff;
  border-radius: var(--mall-radius);
  padding: 20px 18px 16px;
  min-height: 120px;
  margin-bottom: 16px;
}
.mall-stat-card .h3 { color: #fff; }
.mall-profile-card .card-header,
.mall-pay-card .card-header {
  background: var(--mall-brand-soft);
  border-bottom: 1px solid var(--mall-line);
  font-weight: 700;
}
.mall-address-card {
  border: 1px solid var(--mall-line) !important;
  border-radius: 12px !important;
  background: #fff;
  min-height: 168px;
}
.mall-address-add {
  border: 1px dashed #d7c4c9 !important;
  background: var(--mall-brand-soft) !important;
  color: var(--mall-brand);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mall-wallet-grid .mall-wallet-tile {
  background: #fff;
  border-radius: var(--mall-radius);
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
  padding: 22px 12px;
  text-align: center;
  height: 100%;
}
.mall-wallet-balance {
  background: var(--mall-brand) !important;
  color: #fff;
}
#new-address-modal .modal-content,
#edit-address-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}
#new-address-modal .modal-header,
#edit-address-modal .modal-header {
  background: var(--mall-brand-soft);
  border-bottom: 1px solid var(--mall-line);
}
#new-address-modal .modal-body .p-3,
#edit-address-modal .p-3 {
  background: #fff;
}

.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.auth-switch-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.auth-switch-btn {
  color: var(--mall-brand) !important;
  font-weight: 700;
}
.mall-home-product-grid .aiz-card-box {
  border-radius: 12px;
  overflow: hidden;
  border-color: var(--mall-line) !important;
}
.mall-home-product-grid .text-primary { color: #111 !important; }
.mall-profile-card .form-control,
.mall-pay-card .form-control,
.mall-address-form .form-control {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e4d6da;
}
.mall-profile-card .btn-primary,
.mall-pay-card .btn-primary,
.mall-address-form .btn-primary,
#product-report-modal .btn-primary {
  background: var(--mall-brand) !important;
  border-color: var(--mall-brand) !important;
}
.mall-app-orders {
  display: none;
}
.mall-app-order-item {
  flex: 1;
  text-align: center;
  color: var(--mall-text);
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
}
.mall-app-order-item i {
  display: block;
  font-size: 22px;
  color: var(--mall-brand);
  margin-bottom: 4px;
}

@media (max-width: 991.98px) {
  .aiz-user-panel { width: 100%; padding: 0 4px; }
  .mall-stat-card { min-height: 96px; }
  .aiz-user-sidenav-wrap {
    margin-bottom: 12px;
    width: 100% !important;
    max-width: none !important;
  }
  .mall-user-panel-wrap .d-flex.align-items-start {
    flex-direction: column;
  }
  .mall-cat-children { display: none !important; }
  .mall-cat-page .mall-cat-card .p-3.p-lg-4 { padding: 8px !important; }
  .mall-app-orders {
    display: flex;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
    padding: 14px 6px 12px;
    margin-bottom: 16px;
  }
  .mall-stat-card { background: #fff; color: var(--mall-text); border: 1px solid var(--mall-line); }
  .mall-stat-card .h3 { color: var(--mall-brand); }
}

.header-auth-avatar { gap: 10px; }
.header-auth-name { color: #333 !important; font-weight: 600; }
.mall-sidenav-head { background: #fff; color: #222; }
.mall-sidenav-head .opacity-60 { color: #666; }

.mall-hello-bar {
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.mall-hello-bar h2 { font-weight: 800; }
.mall-seller-btn {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--mall-brand);
  color: var(--mall-brand) !important;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  white-space: nowrap;
}
.mall-seller-btn-muted {
  border-color: #ccc;
  color: #888 !important;
  font-size: 13px;
}
.mall-hub-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  color: #222 !important;
  text-decoration: none !important;
  height: 100%;
}
.mall-hub-card i { font-size: 28px; }
.mall-hub-card em { margin-left: auto; font-style: normal; font-weight: 700; color: #111; }
.mall-hub-cart i { color: #ec4899; }
.mall-hub-wish i { color: #ef4444; }
.mall-hub-compare i { color: #eab308; }
.mall-hub-bal i { color: #16a34a; }
.mall-dash-address {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  margin-top: 8px;
}
.mall-dash-address-head h5 { font-weight: 800; }
.mall-address-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 18px;
  border: 1.5px solid #111;
  border-radius: 6px;
  background: #fff;
  color: #111 !important;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}
.mall-gender-row { display: flex; flex-wrap: wrap; gap: 18px; }
.mall-gender-row input { margin-right: 6px; }
.mall-card-form-title { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.mall-card-no-wrap { position: relative; max-width: 520px; }
.mall-card-no-wrap .mall-card-brand {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 800; color: #1a1f71; letter-spacing: .04em;
}
.mall-pay-billing-h { font-weight: 700; margin: 8px 0 12px; }
.mall-card-form-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; max-width: 520px;
}
.mall-paypal-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; gap: 12px; flex-wrap: wrap;
}
.mall-btn-paypal-confirm {
  background: #ffc439 !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  height: 44px;
  padding: 0 18px;
}
.mall-address-modal .form-control,
.mall-address-modal .bootstrap-select > .dropdown-toggle {
  max-width: 100%;
  height: 44px;
  border-radius: 6px;
}
.mall-address-modal label { font-weight: 600; color: #555; font-size: 13px; }

.mall-add-photo { display: inline-flex !important; flex-direction: column; cursor: pointer; width: 140px; border: 0 !important; background: transparent !important; min-height: 0 !important; overflow: visible !important; }
.mall-add-photo-tile {
  width: 140px;
  height: 140px;
  border: 1.5px dashed #e5a0a8;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c45;
  background: #fff;
}
.mall-add-photo-tile span {
  width: 48px;
  height: 48px;
  border: 1.5px dashed #e5a0a8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.mall-add-photo-tile em { font-style: normal; font-weight: 600; font-size: 13px; margin-top: 6px; }

/* 客服浮钮 × 返回顶部：同轴、客服在上；PC 再往左离右缘 */
.cd-top {
  right: 136px !important;
  bottom: 24px !important;
  width: 44px !important;
  height: 44px !important;
  z-index: 1035 !important;
}
#global-customer-service-icon {
  right: 140px !important;
  bottom: 80px !important; /* 24 + 44 + 12 */
  z-index: 1040 !important;
}
#global-customer-service-icon img,
#global-customer-service-icon svg {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 1199.98px) {
  .cd-top {
    right: 16px !important;
    bottom: 78px !important; /* 避开底部栏 */
  }
  #global-customer-service-icon {
    right: 16px !important;
    bottom: 134px !important; /* 与返回顶同轴、在上 */
  }
  /* APP 首页：底栏上边距更干净 */
  body .aiz-main-wrapper { padding-bottom: 76px !important; }
  .mall-app-home .aiz-p-hov-icon { display: none !important; }
}

.mall-btn-cart {
  background: #fff !important;
  border: 1px solid #222 !important;
  color: #111 !important;
  min-width: 140px;
  height: 44px;
  border-radius: 6px;
}
.mall-btn-buy {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  min-width: 140px;
  height: 44px;
  border-radius: 6px;
}
.mall-pd-buyrow { display: flex; gap: 10px; flex-wrap: nowrap; align-items: stretch; }
.mall-pd-buyrow .mall-btn-cart,
.mall-pd-buyrow .mall-btn-buy {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
.mall-pd-buyrow .mall-btn-cart {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px solid #111 !important;
}
.mall-pd-buyrow .mall-btn-buy {
  background: #111 !important;
  color: #fff !important;
  border: 1.5px solid #111 !important;
}
.mall-pd-seller-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  margin-top: 14px;
}
.mall-pd-seller-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mall-pd-seller-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none !important;
  color: inherit;
  flex: 1;
}
.mall-pd-seller-avatar { flex: 0 0 auto; }
.mall-pd-seller-name {
  font-weight: 700;
  font-size: 14px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mall-pd-visit-store {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #222 !important;
  text-decoration: none !important;
  background: #f7f7f7;
}
.mall-pd-seller-card .mall-seller-cta { justify-content: flex-start; }
.mall-pd-hot-sidebar .list-group-item:first-child { padding-top: 0 !important; }
.product-details-revamp .product-report-btn { display: none !important; }
.mall-pd-actions button { margin-right: 8px; }
.seller-date-mini { gap: 6px; }

/* ===== /categories — clean professional tiles ===== */
.mall-cat-page {
  padding: 12px 0 88px;
  width: 100%;
  background: #f6f4f5;
}
.mall-cat-page-title h1 {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 4px 0 4px;
  letter-spacing: -0.02em;
}
.mall-cat-page-sub {
  margin: 0 0 16px;
  font-size: 12px;
  color: #888;
  letter-spacing: .02em;
}
@media (min-width: 992px) {
  .mall-cat-page-title h1 { font-size: 28px; margin: 0 0 6px; }
  .mall-cat-page-sub { font-size: 13px; margin-bottom: 22px; }
}
.mall-cat-section {
  margin-bottom: 12px;
  background: #fff;
  border-radius: 0;
  padding: 16px 14px 14px;
  box-shadow: none;
  border-bottom: 1px solid #eee;
}
.mall-cat-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mall-cat-section-head h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: #111;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mall-cat-section-head a {
  color: #5C0022;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-decoration: none !important;
  flex: 0 0 auto;
  text-transform: uppercase;
  opacity: .9;
}
.mall-cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
  overflow: visible;
  padding: 0;
}
.mall-cat-tile {
  width: auto;
  flex: none;
  text-align: center;
  color: #333 !important;
  text-decoration: none !important;
  position: relative;
}
.mall-cat-tile::after { display: none !important; content: none !important; }
.mall-cat-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 9px;
  position: relative;
  border-radius: 50%;
  background: #f7f3f1;
  border: 1px solid #e8dfE2;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.mall-cat-tile:hover .mall-cat-tile-media,
.mall-cat-tile:focus .mall-cat-tile-media {
  border-color: #5C0022;
  background: #fff;
  transform: translateY(-1px);
}
.mall-cat-tile-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  background: #f5f2f3 !important;
  display: block;
  margin: 0;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
.mall-cat-tile-fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #5C0022;
}
.mall-cat-tile-fa i {
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}
.mall-cat-tile-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #5C0022;
}
.mall-cat-glyph {
  width: 44px;
  height: 44px;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mall-cat-tile-letter {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #5C0022;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mall-cat-tile-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  color: #333;
  max-height: 2.6em;
  overflow: hidden;
  word-break: break-word;
}
@media (min-width: 992px) {
  .mall-cat-page {
    background: #fff;
    padding: 1.5rem 0 2rem;
  }
  .mall-cat-section {
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 28px;
  }
  .mall-cat-section:last-child { border-bottom: 0; }
  .mall-cat-section-head h3 { font-size: 22px; }
  .mall-cat-section-head a { font-size: 12px; }
  .mall-cat-tiles {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 22px 16px;
    padding: 4px 0 12px;
  }
  .mall-cat-tile-media {
    width: 84px;
    height: 84px;
    border-radius: 50%;
  }
  .mall-cat-tile-img { border-radius: 50% !important; }
  .mall-cat-tile-fa i { font-size: 36px; }
  .mall-cat-glyph { width: 46px; height: 46px; }
  .mall-cat-tile-letter { font-size: 26px; border-radius: 50%; }
  .mall-cat-tile-name { font-size: 12px; color: #333; }
}

/* ===== Seller panel: force circular avatars (letter + photo) ===== */
.aiz-topbar .avatar,
.aiz-topbar .avatar img,
.aiz-topbar .avatar-letter,
.aiz-sidebar-wrap .avatar,
.aiz-sidebar-wrap .avatar img,
.aiz-sidebar-wrap .avatar-letter,
body.seller-panel .avatar,
body.seller-panel .avatar img,
body.seller-panel .avatar-letter,
.avatar-letter {
  border-radius: 50% !important;
}
.aiz-topbar .avatar,
.aiz-sidebar-wrap .avatar {
  overflow: hidden !important;
  flex-shrink: 0;
}
.aiz-topbar .avatar .avatar-letter,
.aiz-sidebar-wrap .avatar .avatar-letter {
  width: 100% !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.mall-app-center { background: #fff; padding: 8px 4px 24px; }
.mall-app-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mall-app-center-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111 !important;
  font-weight: 700;
  font-size: 18px;
}
.mall-app-center-h {
  font-size: 16px;
  font-weight: 800;
  color: #1a2744;
  margin: 18px 0 8px;
}
.mall-app-center-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid #f2f2f2;
  color: #222 !important;
  text-decoration: none !important;
  font-weight: 600;
}
.mall-app-center-row i { font-size: 20px; color: #444; width: 24px; }
.mall-app-center-row:after {
  content: "›";
  margin-left: auto;
  font-size: 22px;
  color: #bbb;
}

@media (max-width: 991.98px) {
  .mall-user-panel-wrap:has(.mall-app-center) .aiz-user-sidenav-wrap { display: none !important; }
}

/* 图片入口：所有图片上传改虚线 +Add Photo */
.input-group[data-toggle="aizuploader"][data-type="image"] {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-height: 140px;
  border: 1.5px dashed #e5a0a8 !important;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.input-group[data-toggle="aizuploader"][data-type="image"] .input-group-prepend,
.input-group[data-toggle="aizuploader"][data-type="image"] .input-group-text {
  display: none !important;
}
.input-group[data-toggle="aizuploader"][data-type="image"] .form-control.file-amount {
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  color: #c45;
  font-weight: 600;
  height: auto !important;
  box-shadow: none !important;
}

.mall-profile-form label { font-weight: 600; color: #444; }
.mall-profile-form .form-control,
.mall-card-form .form-control,
.mall-address-form .form-control {
  max-width: 520px;
  height: 44px;
  border-radius: 6px;
}
.mall-address-form textarea.form-control { height: auto; min-height: 72px; }
.mall-address-form .row > [class*="col-md-2"],
.mall-address-form .row > [class*="col-md-10"] {
  flex: 0 0 100%;
  max-width: 100%;
}
.mall-address-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.mall-btn-save {
  background: #111 !important;
  color: #fff !important;
  border: 0;
  border-radius: 4px;
  min-width: 88px;
  height: 40px;
  font-weight: 700;
}

.mall-pay-existing-label {
  background: #f4f4f4;
  padding: 8px 12px;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}
.mall-pay-saved {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 16px;
  border-bottom: 1px solid #eee;
}
.mall-pay-methods { display: flex; gap: 24px; padding: 12px 4px; }
.mall-pay-radio { font-weight: 600; }
.mall-card-form { max-width: 420px; }

.mall-paypal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.mall-paypal-box {
  background: #fff;
  padding: 28px 24px;
  border-radius: 12px;
  max-width: 420px;
  text-align: center;
}

.mall-address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--mall-line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  min-height: auto;
}
.mall-address-radio { display: flex; gap: 10px; flex: 1; margin: 0; }
.mall-address-edit { margin-left: auto; }
.mall-address-default { font-size: 12px; color: var(--mall-brand); }

.home-deferred-section { min-height: 56px; }
.mall-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}
.mall-people-cats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent !important;
}
.mall-people-cat {
  display: block;
  position: relative;
  overflow: hidden !important;
  border-radius: 12px !important;
  color: #fff !important;
  text-decoration: none !important;
  background: #111 !important;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: none !important;
  border: 0 !important;
}
.mall-people-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.mall-people-cat img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit !important;
  background: #111 !important;
}
.mall-people-cat span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: #fff !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}

.product-details-revamp .aiz-megabox-elem {
  border: 1px solid #ccc;
  min-width: 64px;
  height: 36px;
  padding: 0 10px !important;
  border-radius: 4px !important;
}
.product-details-revamp input:checked + .aiz-megabox-elem {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.product-details-revamp .aiz-megabox-elem .size-30px {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
}

@media (max-width: 991.98px) {
  .mall-people-cats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mall-people-cat { aspect-ratio: 3 / 4; }
  .mall-people-cat span { font-size: 16px; left: 12px; bottom: 12px; }
  .mall-app-center .mall-hub-card { padding: 12px 10px; font-size: 13px; }
  .mall-app-center .mall-hub-card i { font-size: 20px; }
}

.mall-l3-cats { flex-wrap: wrap; overflow: visible; }
.mall-l3-cats .mall-cat-tile { flex: 0 0 86px; }

.mall-policy-page {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
  font-size: 15px;
  color: #222;
}
.mall-policy-page h1, .mall-policy-page h2, .mall-policy-page h3 { font-weight: 800; color: #111; }
.mall-policy-page a { color: var(--mall-brand); }

.input-group[data-toggle="aizuploader"][data-type="image"] .form-control.file-amount {
  font-size: 0 !important;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-group[data-toggle="aizuploader"][data-type="image"]:has(.selected-files[value=""]),
.input-group[data-toggle="aizuploader"][data-type="image"]:has(.selected-files:not([value])) {
  cursor: pointer;
}
.input-group[data-toggle="aizuploader"][data-type="image"]:has(.selected-files[value=""]) .form-control.file-amount::before,
.input-group[data-toggle="aizuploader"][data-type="image"]:has(.selected-files:not([value])) .form-control.file-amount::before {
  content: "+\A Add Photo";
  white-space: pre-line;
  font-size: 13px;
  font-weight: 600;
  color: #c45;
  line-height: 1.4;
  text-align: center;
}
.input-group[data-toggle="aizuploader"][data-type="image"]:not(:has(.selected-files[value=""])) .form-control.file-amount {
  font-size: 12px !important;
}

.mall-app-center .mall-seller-btn {
  background: #5C0022 !important;
  color: #fff !important;
  border-color: #5C0022 !important;
  padding: 6px 14px;
  font-size: 13px;
}
.mall-app-center-user:after { content: " ›"; font-weight: 400; color: #999; }

.mall-hub-card i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdeeee;
  font-size: 20px;
}

.mall-l3-list {
  background: #f7f6f5;
  border-radius: 8px;
  padding: 8px 0;
}
.mall-l3-head {
  padding: 10px 16px;
  color: #888;
  font-size: 14px;
}
.mall-l3-l1 {
  display: block;
  padding: 12px 16px;
  color: #8b1548 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.mall-l3-l2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 28px;
  color: #8b1548 !important;
  font-weight: 700;
  text-decoration: none !important;
  border-top: 1px solid #eee;
}
.mall-l3-l3 {
  display: block;
  padding: 14px 16px 14px 40px;
  color: #222 !important;
  border-top: 1px solid #eee;
  text-decoration: none !important;
}

.mall-protect { max-width: 780px; margin: 0 auto; color: #222; }
.mall-protect-back { display: inline-block; margin-bottom: 18px; color: #888 !important; font-size: 13px; text-decoration: none !important; }
.mall-protect-back:hover { color: #5C0022 !important; }
.mall-protect h1 { font-size: 36px; font-weight: 800; color: #1a2744; margin-bottom: 20px; letter-spacing: -.02em; }
.mall-protect h2 { font-size: 22px; font-weight: 800; margin: 28px 0 12px; color: #1a2744; }
.mall-protect h2.mall-protect-lead { margin-top: 0; margin-bottom: 14px; font-size: 22px; }
.mall-protect h3 { font-size: 18px; font-weight: 800; margin: 20px 0 10px; color: #222; }
.mall-protect p { line-height: 1.75; margin-bottom: 14px; color: #333; font-size: 15px; }
.mall-protect ul { padding-left: 1.2em; margin: 0 0 16px; }
.mall-protect li { margin-bottom: 8px; line-height: 1.6; color: #333; }
.mall-protect-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  margin: 32px 0 36px;
  padding: 8px 0 28px;
  border-bottom: 1px solid #f0f0f0;
}
.mall-protect-cols > div { display: flex; flex-direction: column; align-items: center; }
.mall-protect-cols strong { display: block; margin: 14px 0 6px; font-size: 15px; color: #1a2744; }
.mall-protect-cols span { display: block; font-size: 13px; color: #555; line-height: 1.45; min-height: 0; }
.mall-protect-ico {
  width: 96px; height: 96px; margin: 0 auto;
  border-radius: 50%; background: #eef1fb; color: #3b5bdb;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  box-shadow: inset 0 0 0 1px rgba(59,91,219,.08);
}
.mall-policy-body { max-width: 780px; margin: 0 auto; }
.mall-policy-body h1, .mall-policy-body h2, .mall-policy-body h3 { font-weight: 800; color: #1a2744; }
.mall-policy-body p, .mall-policy-body li { line-height: 1.75; color: #333; }
.mall-policy-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
@media (max-width: 767.98px) {
  .mall-protect-cols { grid-template-columns: 1fr; gap: 28px; }
  .mall-protect h1 { font-size: 28px; }
  .mall-protect-ico { width: 88px; height: 88px; font-size: 36px; }
}

.mall-social-ref { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px; }
.mall-soc {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; border-radius: 4px; font-weight: 600; font-size: 13px;
  text-decoration: none !important; border: 1px solid #ddd; background: #fff; color: #222 !important;
}
.mall-soc-fb { background: #1877f2 !important; color: #fff !important; border-color: #1877f2; }
.mall-soc-ap { background: #111 !important; color: #fff !important; border-color: #111; }
.mall-soc:disabled { opacity: .85; cursor: default; }

/* ===== 页面 / 图片加载指示 ===== */
.mall-page-loader {
  position: fixed; inset: 0; z-index: 200000; background: rgba(255,255,255,.92);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  transition: opacity .2s;
  pointer-events: all;
}
.mall-page-loader:not(.is-done) { display: flex; }
.mall-page-loader.is-done { display: none !important; opacity: 0; pointer-events: none; }
.mall-page-loader span {
  width: 40px; height: 40px; border: 3px solid #f3e6dc;
  border-top-color: #5C0022; border-radius: 50%; animation: mallspin .7s linear infinite;
}
.mall-page-loader .mall-loader-text {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: .02em;
}
.mall-top-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200001;
  pointer-events: none; opacity: 0; background: transparent;
}
.mall-top-progress.is-active { opacity: 1; }
.mall-top-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #5C0022, #a30d45);
  box-shadow: 0 0 8px rgba(92,0,34,.35);
  transition: width .2s ease;
  border-radius: 0 2px 2px 0;
}
.mall-top-progress.is-done i { transition: width .15s ease; }

/* 图片加载：骨架 shimmer + 父级小转圈 */
img.lazyload,
img.lazyloading,
img.mall-img-pending {
  content-visibility: auto;
  background: linear-gradient(90deg, #f1f1f1 0%, #e8e8e8 40%, #f1f1f1 80%);
  background-size: 200% 100%;
  animation: mallImgShimmer 1.1s ease infinite;
}
img.lazyloaded,
img.mall-img-ready {
  animation: none;
  background: transparent;
}
@keyframes mallImgShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes mallspin { to { transform: rotate(360deg); } }

/* 商品图等容器：加载中显示中心转圈 */
.aiz-card-box:has(> a > img.lazyloading),
.aiz-card-box:has(> a > img.mall-img-pending),
.carousel-box:has(> img.lazyloading),
.carousel-box:has(> img.mall-img-pending),
.mall-app-hero-card:has(> img.lazyloading),
.product-gallery-stage:has(img.lazyloading),
a:has(> img.mall-img-pending):not(.mall-app-quick-item) {
  position: relative;
}
.aiz-card-box:has(> a > img.lazyloading)::after,
.aiz-card-box:has(> a > img.mall-img-pending)::after,
.carousel-box:has(> img.lazyloading)::after,
.carousel-box:has(> img.mall-img-pending)::after,
.product-gallery-stage:has(img.lazyloading)::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid rgba(92,0,34,.15);
  border-top-color: #5C0022;
  border-radius: 50%;
  animation: mallspin .7s linear infinite;
  z-index: 2;
  pointer-events: none;
}
/* 类目小图 / 热卖主图：不要叠加载圈 */
.mall-app-quick-item::after,
.hot-category-item::after,
.mall-cat-tile::after,
.mall-app-hero-card::after,
.mall-app-hero-img::after {
  display: none !important;
  content: none !important;
}
html.mall-is-loading { cursor: progress; }
.mall-home-stack { display: flex; flex-direction: column; }
.mall-ord-people { order: 1; }
.mall-ord-ban1 { order: 2; }
.mall-ord-new { order: 3; }
.mall-ord-feat { order: 4; }
.mall-ord-best { order: 5; }
@media (max-width: 991.98px) {
  /* APP 首页也展示人物类目（设计稿 app首页） */
  .mall-ord-people { display: block !important; order: 1; }
  .mall-ord-feat { order: 2; }
  .mall-ord-best { order: 3; }
  .mall-ord-ban1 { order: 4; }
  .mall-ord-new { order: 5; }
  .mall-people-cats-row { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .mall-people-cat span { font-size: 15px; }
}

.mall-pd-price-now {
  font-size: 32px;
  font-weight: 800;
  color: #e11d48 !important;
  line-height: 1.2;
}
.mall-pd-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee; font-size: 13px; }
.mall-pd-meta-h { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.mall-pd-meta span { color: #888; display: inline-block; min-width: 48px; margin-right: 8px; }
.mall-nav-flash { color: #e11d48 !important; opacity: 1 !important; }
.mall-pd-total-row #chosen_price { color: #5C0022 !important; font-size: 18px !important; }
.mall-pd-extra-links { display: none !important; }
.mall-pd-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 4px 4px;
  border-top: 1px solid #f0f0f0;
  margin-top: 14px;
  flex-wrap: wrap;
}
.mall-pd-actions button {
  background: none; border: 0; color: #555; font-weight: 600; font-size: 13px;
  cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 4px;
}
.mall-pd-actions button i { font-size: 18px; }
.mall-pd-actions button:hover { color: #5C0022; }
.mall-pd-actions .mall-pd-report-link {
  margin-left: auto;
  color: #999;
  font-size: 12px;
}
.mall-seller-cta { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.mall-seller-perks {
  display: flex; justify-content: space-around; text-align: center;
  padding: 12px 8px 4px; font-size: 11px; color: #666;
}
.mall-seller-perks i { display: block; font-size: 20px; color: #5C0022; margin-bottom: 4px; }
.mall-cat-section-head a { text-transform: uppercase; letter-spacing: .06em; }
@keyframes mallspin { to { transform: rotate(360deg); } }

html { scroll-behavior: smooth; }
img.lazyload, img.lazyloaded { background: #f3f3f3; }

.auth-stills { display: flex; gap: 12px; margin-top: 36px; align-items: flex-end; }
.auth-still {
  display: block; border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  background-size: cover; background-position: center;
  border: 2px solid rgba(255,255,255,.25);
}
.mall-soc-gg { background: #fff !important; color: #222 !important; }
.auth-still-shoe {
  width: 96px; height: 96px; transform: rotate(-10deg);
  background:
    radial-gradient(circle at 30% 40%, #f4d7c8 0 18%, transparent 19%),
    linear-gradient(135deg, #2b2b2b 0 42%, #c45c26 42% 70%, #eee 70%);
}
.auth-still-bag {
  width: 118px; height: 82px; transform: rotate(8deg);
  background:
    linear-gradient(180deg, #111 0 28%, #d4af37 28% 34%, #111 34% 100%);
}
.auth-still-head {
  width: 92px; height: 92px; transform: rotate(14deg);
  background:
    radial-gradient(circle at 50% 38%, #222 0 22%, transparent 23%),
    linear-gradient(160deg, #1a1a1a 0 55%, #888 55% 62%, #111 62%);
}

/* 详情页数量：干净 - 1 +，杜绝右侧多余空框 */
.mall-pd-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
}
.mall-pd-qty-label { color: #999; font-size: 14px; min-width: 42px; }
.mall-pd-qty {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  margin: 0 !important;
  flex-wrap: nowrap;
}
.mall-pd-qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.mall-pd-qty-btn:disabled { opacity: .45; cursor: default; }
.mall-pd-qty-btn i { font-size: 14px; }
.mall-pd-qty-input {
  width: 36px !important;
  min-width: 36px;
  max-width: 48px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield;
  appearance: textfield;
}
.mall-pd-qty-input::-webkit-outer-spin-button,
.mall-pd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-details-revamp .mall-pd-qty.aiz-plus-minus .col,
.product-details-revamp .product-quantity .avialable-amount { display: none !important; }
.mall-pd-total-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 12px;
}
.mall-pd-total-row #chosen_price { color: #5C0022 !important; font-size: 18px !important; }

.paypal-trust-block { margin-top: 14px; }
.paypal-trust-block .paypal-logo,
.paypal-trust-block > p { display: none !important; }
.btn-paypal-checkout {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #ffc439 !important;
  color: #111 !important;
  font-weight: 700 !important;
  height: 48px;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 15px;
  cursor: pointer;
}
.btn-paypal-checkout .paypal-wordmark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  color: #003087;
  margin: 0 4px;
  letter-spacing: -.02em;
}
.btn-paypal-checkout img { display: none; }

.mall-alt-protect {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 12px; padding: 14px 16px;
  background: #f5f5f5; color: #333; border-radius: 8px;
}
.mall-alt-protect-ico {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #5C0022;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mall-alt-protect-ico i { font-size: 18px; line-height: 1; }
.mall-alt-protect strong { color: #5C0022; font-size: 14px; display: block; }
.mall-alt-protect p { margin: 4px 0 0; font-size: 12px; color: #666; line-height: 1.45; }
.mall-alt-protect a { color: #5C0022; text-decoration: underline; }

/* 报告弹窗 */
.mall-report-modal .modal-title { font-size: 18px; color: #111; }
.mall-report-label { display: block; font-size: 13px; color: #888; margin-bottom: 8px; }
.mall-report-select-wrap { position: relative; }
.mall-report-select {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #111;
  text-align: left;
  cursor: pointer;
}
.mall-report-select em { font-style: normal; color: #5C0022; font-weight: 700; }
.mall-report-menu {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px 0;
  position: absolute;
  left: 0; right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  max-height: 260px;
  overflow: auto;
}
.mall-report-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  color: #888;
  cursor: pointer;
}
.mall-report-menu li em { font-style: normal; color: #5C0022; font-weight: 700; }
.mall-report-menu li i { opacity: 0; color: #5C0022; }
.mall-report-menu li.is-selected { color: #5C0022; font-weight: 600; }
.mall-report-menu li.is-selected i { opacity: 1; }
.mall-report-menu li:hover { background: #faf7f8; }
.mall-report-detail { border-radius: 8px; border-color: #ddd; }
@media (max-width: 575.98px) {
  .mall-report-modal .modal-dialog { margin: .5rem; }
}

.mall-anywhere {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 85% 40%, rgba(92, 0, 34, 0.08), transparent 60%),
    linear-gradient(165deg, #faf7f8 0%, #f0e8eb 45%, #e8eef6 100%);
  padding: 64px 0 72px;
}
.mall-anywhere-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 280px;
}
.mall-anywhere-copy { flex: 1 1 auto; max-width: 480px; position: relative; z-index: 1; }
.mall-anywhere-eyebrow {
  display: inline-block;
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mall-brand) !important;
}
.mall-anywhere h3 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #1a0a10;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.mall-anywhere-copy > p {
  color: #5a4a50;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.mall-anywhere-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.mall-anywhere-points li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 13.5px;
  color: #444;
  font-weight: 500;
}
.mall-anywhere-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mall-brand);
  box-shadow: 0 0 0 3px rgba(92, 0, 34, 0.12);
}
.mall-anywhere-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mall-anywhere-store {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px 8px 14px !important;
  background: #111 !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  border-radius: 8px !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mall-anywhere-store:hover {
  transform: translateY(-2px);
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.mall-anywhere-store svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
.mall-anywhere-store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.mall-anywhere-store small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .9;
}
.mall-anywhere-store strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.mall-anywhere-phones {
  position: relative;
  width: 400px;
  height: 300px;
  flex: 0 0 400px;
}
.mall-anywhere-phones::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 0, 34, 0.16), transparent 70%);
  z-index: 0;
  animation: mall-phone-glow 4s ease-in-out infinite alternate;
}
@keyframes mall-phone-glow {
  from { opacity: .55; transform: translate(-50%, -46%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -46%) scale(1.08); }
}
.mall-phone {
  position: absolute;
  width: 124px;
  height: 248px;
  border-radius: 24px;
  background: linear-gradient(160deg, #2a2a2e, #111);
  border: 2px solid #1a1a1c;
  box-shadow: 0 18px 40px rgba(26, 10, 16, 0.22), inset 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
  z-index: 1;
}
.mall-phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: #333;
  z-index: 3;
}
.mall-phone-screen {
  position: absolute;
  inset: 14px 7px 10px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  box-sizing: border-box;
  text-align: center;
}
/* Center: brand */
.mall-phone-screen-brand {
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(165deg, #6e0a2e 0%, #5C0022 48%, #3a0015 100%);
  color: #fff;
}
.mps-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 4px;
}
.mps-brand-mark img,
.mps-brand-logo,
.mall-phone-screen-brand img.altonalon-logo {
  width: auto !important;
  max-width: 92px !important;
  height: 26px !important;
  max-height: 26px !important;
  filter: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.mps-brand-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
  line-height: 1.3;
}
.mps-brand-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin-top: 4px;
}
/* Side phones: store screens */
.mall-phone-screen-store {
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  color: #fff;
  gap: 8px;
}
.mall-phone-screen-apple {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, #1c1c1e 0%, #0b0b0d 100%);
}
.mall-phone-screen-play {
  background:
    radial-gradient(circle at 50% 30%, rgba(0,217,255,.1), transparent 55%),
    linear-gradient(180deg, #1a1f24 0%, #0b0d10 100%);
}
.mps-store-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.mps-store-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}
.mps-store-badge-play {
  background: #fff;
  border-color: rgba(255,255,255,.5);
}
.mps-store-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.2;
}
.mps-store-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.mall-phone-1 {
  left: 8px;
  bottom: 10px;
  transform: rotate(-10deg);
  z-index: 1;
  animation: mall-phone-float-a 5.5s ease-in-out infinite;
}
.mall-phone-2 {
  left: 136px;
  bottom: 22px;
  z-index: 3;
  width: 136px;
  height: 268px;
  animation: mall-phone-float-b 4.8s ease-in-out infinite;
}
.mall-phone-3 {
  left: 268px;
  bottom: 10px;
  transform: rotate(10deg);
  z-index: 1;
  animation: mall-phone-float-c 6s ease-in-out infinite;
}
@keyframes mall-phone-float-a {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-8px); }
}
@keyframes mall-phone-float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes mall-phone-float-c {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-6px); }
}
@media (max-width: 991.98px) {
  .mall-anywhere-phones { display: none; }
  .mall-anywhere h3 { font-size: 26px; }
  .mall-anywhere { padding: 40px 0; }
}

#section_newest .border-primary,
#section_featured .border-primary,
#section_best_selling .border-primary {
  border: 0 !important;
  font-size: 24px;
  font-weight: 800;
  padding-bottom: 0 !important;
}
.home-below-fold-section .border-bottom,
.home-deferred-section .border-bottom {
  border: 0 !important;
}
.home-below-fold-section .bg-white.shadow-sm,
.home-deferred-section .bg-white.shadow-sm {
  box-shadow: none !important;
  border-radius: 0 !important;
}

.seller-empty { text-align: center; padding: 40px 12px; color: #999; }
.seller-empty i { font-size: 52px; display: block; margin-bottom: 8px; }
.seller-dash-tables thead th { background: #f3e6dc; font-weight: 700; font-size: 12px; }

/* 卖家后台：保留酒红，排版更疏，移动端卡片化 */
body.seller-panel .aiz-main-content,
.aiz-seller-panel .aiz-main-wrapper {
  padding-top: 16px;
}
@media (max-width: 767.98px) {
  .aiz-content-wrapper { padding: 10px 8px 24px !important; }
  .card { border-radius: 12px; }
  .aiz-titlebar { margin-bottom: 12px !important; }
  /* 设计稿：购买按钮在内容流中，不吸底挡导航 */
  .mall-pd-buyrow {
    position: static;
    box-shadow: none;
    padding: 0;
    margin-top: 12px;
  }
  .mall-pd-buyrow .mall-btn-cart,
  .mall-pd-buyrow .mall-btn-buy { flex: 1; min-width: 0; width: auto; }
  .btn-paypal-checkout { width: 100%; }
  .mall-pd-price-now { font-size: 30px; color: #e11d48 !important; }
  .product-gallery-stage { position: relative; border-radius: 0; overflow: hidden; }
  .product-details-revamp > .container { padding-left: 0; padding-right: 0; }
  .product-details-revamp .bg-white.shadow-sm.rounded.p-3 {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 12px 16px !important;
  }
  .product-details-revamp .product-gallery .carousel-box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .product-details-revamp h1.fs-20 { font-size: 16px !important; line-height: 1.4; margin-top: 10px; }
  .mall-pd-meta { display: none; }
  .mall-pd-related { margin-top: 10px; border-radius: 0 !important; box-shadow: none !important; }
  .mall-pd-related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mall-pd-related-card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
  }
  .mall-pd-related-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f3f3;
    display: block;
  }
  .mall-pd-related-price {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 800;
    color: #e11d48;
  }
  .mall-pd-related-name {
    font-size: 12px;
    color: #333;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
    margin-top: 2px;
  }
  .mall-pd-hot-sidebar {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .mall-pd-hot-sidebar .fs-17.text-primary { color: #e11d48 !important; }
  .mall-wallet-grid .col-md-3 { flex: 0 0 100%; max-width: 100%; }
}

/* ===== APP 首页（手机端设计稿照搬） ===== */
.mall-app-home {
  background: #5C0022;
  padding: 0 0 24px;
}
.mall-app-home-body {
  background: #f6f6f6;
  padding: 14px 12px 8px;
  border-radius: 0;
}
.mall-app-hero-band {
  background: #5C0022;
  padding: 2px 12px 16px;
  margin: 0;
}
.mall-app-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 10px;
  color: #fff;
}
.mall-app-hero-head span {
  font-size: 16px;
  font-weight: 800;
}
.mall-app-hero-head a {
  color: rgba(255,255,255,.88) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}
.mall-app-hot-carousel { margin: 0; }
.mall-app-hot-carousel .carousel-box { padding: 0 2px; }
.mall-app-hot-carousel .slick-dots {
  bottom: -6px;
  position: relative;
  margin: 10px 0 0;
}
.mall-app-hot-carousel .slick-dots li button:before {
  color: #fff;
  opacity: .45;
  font-size: 9px;
}
.mall-app-hot-carousel .slick-dots li.slick-active button:before {
  color: #fff;
  opacity: 1;
}
.mall-app-hot-carousel .slick-prev,
.mall-app-hot-carousel .slick-next {
  /* 相对商品图区域垂直居中（图高 220px），不要按整卡+圆点的 50% */
  top: 110px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  width: 30px;
  height: 30px;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.mall-app-hot-carousel .slick-prev { left: 6px; }
.mall-app-hot-carousel .slick-next { right: 6px; }
.mall-app-hot-carousel .slick-prev:before,
.mall-app-hot-carousel .slick-next:before {
  color: #5C0022;
  opacity: .85;
  font-size: 20px;
  line-height: 1;
  position: static;
  display: block;
  margin: 0;
  width: auto;
  height: auto;
}
.mall-app-hero-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  text-decoration: none !important;
  color: inherit;
}
.mall-app-hero-img {
  width: 100%;
  height: 220px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.mall-app-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 0 !important;
}
.mall-app-hero-info {
  padding: 10px 14px 14px;
  border-top: 1px solid #f2f2f2;
}
.mall-app-hero-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
  margin-bottom: 6px;
}
.mall-app-hero-price {
  font-size: 20px;
  font-weight: 800;
  color: #5C0022;
}
.mall-app-below-slot { min-height: 120px; margin-top: 8px; }
.mall-app-below-skel {
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f3f3f3 25%, #ececec 37%, #f3f3f3 63%);
  background-size: 400% 100%;
  animation: mall-skel 1.1s ease infinite;
}
@keyframes mall-skel {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
.mall-app-quick { margin-bottom: 18px; }
.mall-app-trends-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}
.mall-app-trends-title span:after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: #5C0022;
  border-radius: 2px;
}
/* 热门类目：横滑实景方图（设计稿 Boots / Flats） */
.mall-app-quick-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.mall-app-quick-scroll::-webkit-scrollbar { display: none; }
.mall-app-quick-scroll .mall-cat-tile--photo,
.mall-app-quick-scroll .mall-cat-tile--icon {
  flex: 0 0 auto;
  width: 92px;
  text-align: center;
}
.mall-app-quick-scroll .mall-cat-tile--icon .mall-cat-tile-media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #ececec;
  margin: 0 auto 6px;
}
.mall-app-quick-scroll .mall-cat-tile--icon .mall-cat-tile-media--icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mall-app-quick-scroll .mall-cat-tile--icon .mall-cat-tile-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: #222;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 2.5em;
}
.mall-cat-tile--photo .mall-cat-tile-photo {
  position: relative;
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e4e2;
}
.mall-cat-tile--photo .mall-cat-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}
.mall-cat-tile--photo .mall-cat-tile-photo-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.mall-cat-tile--photo .mall-cat-tile-photo-name {
  position: absolute;
  left: 7px;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 2.4em;
}
.mall-app-quick-grid {
  display: none;
}
.mall-app-section { margin-bottom: 18px; }
.mall-app-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.mall-app-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.25;
}
.mall-app-section-head .mall-app-section-title { margin: 0; }
/* 系列推荐：白底卡片分区，避免「直接堆」 */
.mall-app-series-panel {
  background: #fff;
  border-radius: 14px;
  padding: 12px 10px 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.mall-app-series-panel:last-child { margin-bottom: 0; }
.mall-app-series-head {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 0 2px;
}
.mall-app-series-title {
  font-size: 13px;
  font-weight: 800;
  color: #5C0022;
  margin: 0;
  letter-spacing: .02em;
}
.mall-app-series-block { margin-bottom: 14px; }
.mall-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.mall-app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: none;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  height: 100%;
}
.mall-app-series-panel .mall-app-card {
  border-color: #f0eaea;
  background: #fafafa;
}
.mall-app-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2f2f2;
  overflow: hidden;
}
.mall-app-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f2f2f2;
}
.mall-app-save {
  position: absolute;
  left: 6px; top: 6px;
  background: #facc15;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 1;
}
.mall-app-card-body {
  padding: 8px 9px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mall-app-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 6px;
  word-break: break-word;
}
.mall-app-card-price {
  font-size: 15px;
  font-weight: 800;
  color: #5C0022;
  margin-bottom: 4px;
  margin-top: auto;
}
.mall-app-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  color: #888;
  min-height: 16px;
}
.mall-app-card-meta .rating { transform: scale(.85); transform-origin: left center; }
.mall-app-gender-rec { margin-bottom: 8px; }

/* Series tabs — Luggage / Clothing / Accessories / Party Supplies */
.mall-app-series-tabs-wrap { margin-bottom: 18px; }
.mall-app-series-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin: 0 0 12px;
  border-bottom: 1px solid #ececec;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mall-app-series-tabs::-webkit-scrollbar { display: none; }
.mall-app-series-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 12px 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  position: relative;
  white-space: nowrap;
  line-height: 1.2;
}
.mall-app-series-tab.is-active {
  color: #111;
}
.mall-app-series-tab.is-active:after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}
.mall-app-series-pane { display: none; }
.mall-app-series-pane.is-active { display: block; }
.mall-app-series-more {
  display: block;
  text-align: right;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  text-decoration: none !important;
}
.mall-app-promo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.mall-app-promo-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f3f3f3;
}
.mall-app-promo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
}

.mall-app-flash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.mall-app-flash-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mall-app-flash-countdown {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
}
.mall-app-flash-countdown .countdown-digit,
.mall-app-flash-countdown .cd-item,
.mall-app-flash-countdown span {
  background: #2b1630;
  color: #fff;
  border-radius: 4px;
  padding: 3px 5px;
  min-width: 22px;
  text-align: center;
  line-height: 1.2;
}
.mall-app-more { font-size: 12px; color: #888; text-decoration: none !important; }
.mall-app-more-arrows {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-decoration: none !important;
  line-height: 1;
  padding: 0 2px;
}
.mall-app-flash-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mall-app-flash-scroll::-webkit-scrollbar { display: none; }
.mall-app-flash-scroll .mall-app-card {
  flex: 0 0 148px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
}
.mall-app-flash-scroll .mall-app-card-img { aspect-ratio: 1 / 1; }
.mall-app-flash-scroll .mall-app-card-img img { height: 100%; }
.mall-app-save {
  background: #facc15 !important;
  color: #111 !important;
  border-radius: 999px !important;
  padding: 3px 8px !important;
  font-size: 10px !important;
}

/* Party Supplies banner */
.mall-app-party-banner {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 168px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(105deg, #5C0022 0%, #5C0022 46%, rgba(92,0,34,.35) 62%, transparent 78%),
    radial-gradient(circle at 78% 45%, #f7c9d4 0%, #e8a0b0 40%, #c45a78 100%);
  text-decoration: none !important;
  color: #fff;
  box-shadow: 0 2px 10px rgba(92,0,34,.12);
}
.mall-app-party-copy { max-width: 62%; }
.mall-app-party-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .85;
  margin-bottom: 6px;
}
.mall-app-party-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 4px;
}
.mall-app-party-sub {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.mall-app-party-desc {
  font-size: 11px;
  line-height: 1.35;
  opacity: .9;
}
.mall-app-party-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.mall-app-hotshop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  color: inherit;
  margin-bottom: 10px;
}
.mall-app-sellers-wrap {
  position: relative;
  width: 100%;
}
.mall-app-sellers-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  box-sizing: border-box;
}
.mall-app-sellers-track::-webkit-scrollbar { display: none; }
.mall-app-seller-slide {
  flex: 0 0 calc((100% - 12px) / 3);
  width: calc((100% - 12px) / 3);
  scroll-snap-align: start;
  min-width: 0;
  box-sizing: border-box;
}
.mall-app-shop-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 12px 12px;
  border: 1px solid #eee;
  box-shadow: none;
}
.mall-app-shop-card--compact {
  height: 100%;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mall-app-shop-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.mall-app-shop-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #6d28d9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex: 0 0 auto;
  text-decoration: none !important;
}
.mall-app-shop-card--compact .mall-app-shop-avatar {
  width: 44px;
  height: 44px;
  font-size: 17px;
  margin: 0 auto 8px;
}
.mall-app-shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mall-app-shop-meta { flex: 1; min-width: 0; }
.mall-app-shop-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.mall-app-shop-card--compact .mall-app-shop-name {
  width: 100%;
  font-size: 12px;
  margin-bottom: 6px;
}
.mall-app-shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mall-app-shop-card--compact .mall-app-shop-badges {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  margin-bottom: 8px;
}
.mall-app-shop-badges span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #555;
  background: #fff;
  line-height: 1.2;
}
.mall-app-shop-card--compact .mall-app-shop-badges span {
  justify-content: center;
  padding: 2px 4px;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mall-app-shop-badges i { font-size: 12px; color: #666; }
.mall-app-shop-card--compact .mall-app-shop-badges i { font-size: 10px; }
.mall-app-shop-products-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mall-app-shop-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(92, 0, 34, 0.35);
  color: #fff;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  cursor: pointer;
}
/* 箭头叠在卡片两侧，不再单独占空白 */
.mall-app-shop-nav.mall-app-sellers-prev,
.mall-app-shop-nav.mall-app-sellers-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(92, 0, 34, 0.32);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.mall-app-shop-nav.mall-app-sellers-prev { left: 2px; }
.mall-app-shop-nav.mall-app-sellers-next { right: 2px; }
.mall-app-shop-nav.mall-app-sellers-prev i,
.mall-app-shop-nav.mall-app-sellers-next i {
  font-size: 20px;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.mall-app-shop-products {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.mall-app-shop-card--compact .mall-app-shop-products {
  width: 100%;
  gap: 4px;
  overflow: hidden;
  margin-top: auto;
  justify-content: center;
}
.mall-app-shop-products::-webkit-scrollbar { display: none; }
.mall-app-shop-products a {
  flex: 0 0 72px;
  width: 72px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #eee;
}
.mall-app-shop-card--compact .mall-app-shop-products a {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  border-radius: 6px;
}
.mall-app-shop-products img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}
.mall-app-shop-card--compact .mall-app-shop-products img {
  height: 42px;
}
.mall-app-loadmore {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 10px;
  color: #5C0022;
  font-weight: 700;
  text-decoration: none !important;
}
@media (min-width: 992px) {
  .mall-app-home { display: none !important; }
}

/* ===== 商品详情页（设计稿对照） ===== */
.product-details-revamp .mall-alt-protect {
  background: linear-gradient(90deg, #f3e8ff 0%, #faf5ff 100%);
  border: 1px solid #e9d5ff;
}
.product-details-revamp .mall-alt-protect-ico { background: #6b21a8; }
.product-details-revamp .mall-alt-protect strong { color: #5b21b6; }
.product-details-revamp .mall-alt-protect a { color: #5b21b6; }
.mall-pd-related-grid { display: none; }

/* ===== 客服窗：去掉标题上的白色品牌图/失效图（两团白斑） ===== */
.sb-chat .sb-scroll-area .sb-header .sb-brand,
.sb-chat .sb-header .sb-brand,
.sb-chat .sb-brand {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.sb-chat .sb-scroll-area .sb-header .sb-brand img,
.sb-chat .sb-brand img {
  display: none !important;
}
.sb-chat .sb-scroll-area .sb-header .sb-title,
.sb-chat .sb-scroll-area .sb-header .sb-text {
  position: relative;
  z-index: 2;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
/* 失效头像白底块也不要盖住标题区 */
.sb-chat .sb-scroll-area .sb-header .sb-profiles > div > img[src=""],
.sb-chat .sb-scroll-area .sb-header .sb-profiles > div > img:not([src]),
.sb-chat .sb-scroll-area .sb-header .sb-profiles > div > img[src*="placeholder"],
.sb-chat .sb-scroll-area .sb-header .sb-profiles > div > img[src*="noonshop"] {
  display: none !important;
}
.sb-chat .sb-scroll-area .sb-header .sb-profiles > div > img {
  object-fit: cover;
  background: transparent !important;
}

/* —— Footer app badges + shop-in (Poshmark-style) —— */
.footer-widget {
  background: #111 !important;
}
.mall-footer-link-cols {
  width: 100%;
}
@media (min-width: 992px) {
  .mall-footer-link-cols {
    justify-content: flex-end !important;
  }
}
.mall-footer-apps {
  width: 100%;
  max-width: 320px;
  margin-top: 8px;
}
.mall-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.mall-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px 6px 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.05;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.mall-store-badge:hover,
.mall-store-badge:focus {
  background: #0a0a0a;
  border-color: #fff;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}
.mall-store-badge__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
.mall-store-badge__icon--play {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
.mall-store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.mall-store-badge__top {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  white-space: nowrap;
}
.mall-store-badge__bottom {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mall-shop-in {
  margin-top: 18px;
}
.mall-shop-in__box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  color: #f5f0e6;
}
.mall-shop-in__flag {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  margin-right: 10px;
}
.mall-shop-in__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5f0e6;
  font-size: 14px;
  font-weight: 500;
  line-height: 44px;
  cursor: pointer;
  outline: none;
}
.mall-shop-in__select option {
  color: #111;
  background: #fff;
}
.mall-shop-in__caret {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #f5f0e6;
  pointer-events: none;
}
.mall-shop-in__box:focus-within {
  border-color: #fff;
}
/* hide legacy light locale bar if present in caches */
.footer-locale-bar {
  display: none !important;
}
@media (max-width: 767.98px) {
  .mall-footer-apps {
    max-width: 100%;
  }
  .mall-store-badges {
    justify-content: center;
  }
  .mall-shop-in {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Customer service / chat UX ===== */
.mall-cs-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #5C0022;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.mall-cs-cta:hover { background: #3d0016; color: #fff !important; }
.mall-cs-cta--inline { width: auto; padding: 0 16px; margin-top: 8px; display: inline-flex; }
.mall-cs-cta i { font-size: 18px; }

.mall-cs-modal .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
.mall-cs-modal-card { box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.mall-cs-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px 18px 10px; border-bottom: 1px solid #f0f0f0;
}
.mall-cs-modal-title { font-weight: 800; font-size: 17px; color: #111; }
.mall-cs-modal-sub { font-size: 13px; color: #777; margin-top: 2px; }
.mall-cs-modal-body { padding: 14px 18px; }
.mall-cs-modal-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px 16px; border-top: 1px solid #f0f0f0;
}
.mall-cs-textarea {
  border-radius: 12px !important; border: 1px solid #e5e5e5 !important;
  min-height: 110px; resize: vertical;
}
.mall-cs-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mall-cs-chip {
  border: 1px solid #e6e6e6; background: #fafafa; color: #333;
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.mall-cs-chip:hover { border-color: #5C0022; color: #5C0022; }
.mall-cs-send {
  background: #5C0022 !important; border-color: #5C0022 !important; color: #fff !important;
  font-weight: 700; border-radius: 10px; min-width: 110px;
}
.mall-cs-product-chip {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #eee; border-radius: 12px; padding: 10px;
  text-decoration: none !important; color: inherit; background: #fafafa; margin-bottom: 12px;
}
.mall-cs-product-chip img {
  width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #eee; flex: 0 0 auto;
}
.mall-cs-product-chip strong { display: block; font-size: 13px; line-height: 1.3; color: #111; }
.mall-cs-product-chip small { color: #888; font-size: 11px; }

.mall-inbox { background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden; }
.mall-inbox-item {
  display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f2f2f2;
  text-decoration: none !important; color: inherit;
}
.mall-inbox-item:hover { background: #faf7f8; }
.mall-inbox-item.is-unread { background: #fff8f5; }
.mall-inbox-avatar { flex: 0 0 auto; }
.mall-inbox-body { flex: 1; min-width: 0; }
.mall-inbox-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #888; }
.mall-inbox-row strong { color: #111; font-size: 14px; }
.mall-inbox-title { font-size: 13px; color: #333; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mall-inbox-preview { font-size: 12px; color: #888; margin-top: 2px; }
.mall-inbox-empty { text-align: center; padding: 48px 16px; color: #777; }
.mall-inbox-empty i { font-size: 42px; color: #5C0022; opacity: .55; display: block; margin-bottom: 8px; }

.mall-chat-shell {
  background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 62vh;
}
.mall-chat-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
}
.mall-chat-back { display: inline-block; font-size: 12px; color: #5C0022; text-decoration: none !important; margin-bottom: 2px; }
.mall-chat-title { font-size: 18px; font-weight: 800; margin: 0; color: #111; }
.mall-chat-sub { font-size: 12px; color: #888; }
.mall-chat-topic { margin: 10px 12px 0; }
.mall-chat-stream {
  flex: 1; overflow-y: auto; padding: 14px 12px 8px;
  background: linear-gradient(180deg, #f7f5f6 0%, #fafafa 100%);
  min-height: 320px; max-height: 52vh;
}
.mall-chat-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-end; }
.mall-chat-row.is-mine { flex-direction: row-reverse; }
.mall-chat-avatar { flex: 0 0 auto; }
.mall-chat-bubble-wrap { max-width: min(78%, 420px); }
.mall-chat-who { font-size: 11px; color: #999; margin-bottom: 3px; }
.mall-chat-row.is-mine .mall-chat-who { text-align: right; }
.mall-chat-bubble {
  background: #fff; border: 1px solid #eee; border-radius: 14px 14px 14px 4px;
  padding: 10px 12px; font-size: 14px; line-height: 1.45; color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,.03); word-break: break-word;
}
.mall-chat-row.is-mine .mall-chat-bubble {
  background: #5C0022; color: #fff; border-color: #5C0022; border-radius: 14px 14px 4px 14px;
}
.mall-chat-row.is-mine .mall-chat-bubble a { color: #ffd9e4 !important; }
.mall-chat-time { font-size: 11px; color: #aaa; margin-top: 4px; }
.mall-chat-row.is-mine .mall-chat-time { text-align: right; }
.mall-chat-composer { border-top: 1px solid #eee; padding: 10px 12px 12px; background: #fff; }
.mall-chat-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mall-chat-picker { max-height: 180px; overflow: auto; margin-bottom: 8px; }
.mall-chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.mall-chat-input-row textarea {
  flex: 1; border-radius: 12px !important; border: 1px solid #e5e5e5 !important;
  min-height: 46px; resize: none;
}
.mall-msg-product {
  display: flex; gap: 8px; align-items: center; text-decoration: none !important;
  background: rgba(255,255,255,.12); border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px; padding: 8px; margin: 6px 0; color: inherit;
}
.mall-chat-row.is-other .mall-msg-product { background: #f7f7f7; }
.mall-msg-product img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.mall-msg-product strong { display: block; font-size: 12px; }
.mall-msg-product small { font-size: 11px; opacity: .75; }
@media (max-width: 767.98px) {
  .mall-chat-shell { min-height: 70vh; border-radius: 0; border-left: 0; border-right: 0; }
  .mall-chat-stream { max-height: none; }
}

/* —— Maison Luxe style CS overlay —— */
body.mall-lx-open { overflow: hidden; }
.mall-lx {
  position: fixed; inset: 0; z-index: 10050;
  display: none; align-items: center; justify-content: center;
}
.mall-lx.is-open { display: flex; }
.mall-lx[hidden] { display: none !important; }
.mall-lx-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 22, 28, .45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mall-lx-panel {
  position: relative; z-index: 1;
  width: min(420px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 48px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: mallLxIn .22s ease-out;
}
@keyframes mallLxIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.mall-lx-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 12px; border-bottom: 1px solid #f0f0f0; flex: 0 0 auto;
}
.mall-lx-brand { font-size: 17px; font-weight: 800; color: #111; line-height: 1.2; }
.mall-lx-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #6b7280; margin-top: 3px;
}
.mall-lx-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}
.mall-lx-close {
  width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 28px; line-height: 1; color: #666; cursor: pointer; border-radius: 10px;
}
.mall-lx-close:hover { background: #f3f4f6; color: #111; }
.mall-lx-product {
  flex: 0 0 auto; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; background: #fafafa;
}
.mall-lx-product-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none !important; color: inherit;
}
.mall-lx-product-thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: 10px;
  background: #e5e7eb; flex: 0 0 auto;
}
.mall-lx-product-meta { min-width: 0; }
.mall-lx-product-meta strong {
  display: block; font-size: 13px; font-weight: 700; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mall-lx-product-meta span {
  display: block; margin-top: 4px; font-size: 14px; font-weight: 800; color: #111;
}
.mall-lx-messages {
  flex: 1 1 auto; overflow-y: auto; padding: 16px 14px;
  background: #fff; -webkit-overflow-scrolling: touch;
}
.mall-lx-loading, .mall-lx-error {
  text-align: center; color: #888; font-size: 13px; padding: 28px 12px;
}
.mall-lx-error { color: #b91c1c; }
.mall-lx-row { display: flex; flex-direction: column; margin-bottom: 12px; max-width: 86%; }
.mall-lx-row.is-mine { margin-left: auto; align-items: flex-end; }
.mall-lx-row.is-other { margin-right: auto; align-items: flex-start; }
.mall-lx-bubble {
  padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45;
  word-break: break-word;
}
.mall-lx-row.is-mine .mall-lx-bubble {
  background: #2f6bff; color: #fff;
  border-bottom-right-radius: 6px;
}
.mall-lx-row.is-other .mall-lx-bubble {
  background: #f1f2f4; color: #111;
  border-bottom-left-radius: 6px;
}
.mall-lx-row.is-mine .mall-lx-bubble a { color: #e8efff !important; text-decoration: underline; }
.mall-lx-row.is-other .mall-lx-bubble a { color: #2f6bff !important; }
.mall-lx-time { font-size: 11px; color: #9ca3af; margin-top: 4px; padding: 0 4px; }
.mall-lx-foot {
  flex: 0 0 auto; border-top: 1px solid #eee; padding: 10px 12px 12px; background: #fff;
}
.mall-lx-composer { display: flex; gap: 8px; align-items: flex-end; }
.mall-lx-composer textarea {
  flex: 1; min-height: 42px; max-height: 96px; resize: none;
  border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 10px 12px; font-size: 14px; line-height: 1.35;
  outline: none; background: #f9fafb;
}
.mall-lx-composer textarea:focus {
  border-color: #2f6bff; background: #fff;
  box-shadow: 0 0 0 3px rgba(47,107,255,.12);
}
.mall-lx-send {
  flex: 0 0 auto; min-width: 72px; height: 42px;
  border: 0; border-radius: 12px; background: #2f6bff; color: #fff;
  font-weight: 700; font-size: 14px; cursor: pointer; padding: 0 14px;
}
.mall-lx-send:hover { background: #1f56e0; }
.mall-lx-send:disabled { opacity: .55; cursor: wait; }
@media (max-width: 767.98px) {
  .mall-lx { align-items: stretch; justify-content: stretch; }
  .mall-lx-panel {
    width: 100%; height: 100%; max-height: none;
    border-radius: 0; animation: none;
  }
  .mall-lx-backdrop { display: none; }
}

/* Embedded desk chat (seller / admin panel) */
.mall-lx-desk {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: min(72vh, 720px);
  min-height: 480px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.mall-lx-desk .mall-lx-messages { flex: 1 1 auto; }
.mall-lx-desk .mall-lx-foot .alert { border-radius: 10px; }
.mall-lx-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 14px 10px; flex: 0 0 auto;
}
.mall-lx-quick button {
  border: 1px solid #e5e7eb; background: #fff; color: #374151;
  border-radius: 999px; font-size: 12px; padding: 5px 10px; cursor: pointer;
}
.mall-lx-quick button:hover { border-color: #2f6bff; color: #2f6bff; }
.mall-lx-row.is-pending .mall-lx-bubble { opacity: .72; }

