/* Manual support tools; no styles or loading code for the Qidian widget. */
.cart-service-tools {
  --service-bottom: 116px;
  position: fixed;
  right: 14px;
  bottom: calc(var(--service-bottom) + env(safe-area-inset-bottom));
  z-index: 950;
  color: #1f2937;
  font: 13px/1.6 "PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.cart-service-tools *, .cart-service-tools *::before, .cart-service-tools *::after { box-sizing: border-box; }
.cart-service-tools button, .cart-service-tools a { font: inherit; text-decoration: none; }
.cart-service-tools button { cursor: pointer; }
.cart-service-group { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 7px; border: 1px solid #e6eaed; border-radius: 15px; background: rgba(255,255,255,.98); box-shadow: 0 6px 24px rgba(19,24,44,.12); }
.cart-service-group { max-height: calc(100vh - var(--service-bottom) - 90px); overflow-y: auto; scrollbar-width: thin; }
.cart-service-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 64px; min-height: 58px; padding: 8px 4px; border: 0; border-radius: 9px; background: transparent; color: #5b6474; font-size: 11px !important; line-height: 1.5; transition: color .18s,background .18s; }
.cart-service-tools svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-service-button:hover, .cart-service-button:focus-visible, .cart-service-button[aria-expanded="true"] { background: #fff2eb; color: #d44c23; }
.cart-service-button.is-primary { color: #d44c23; background: #fff7f3; }
.cart-service-button.is-primary:hover { background: #ff6739; color: #fff; }
.cart-service-button:focus-visible, .cart-service-launcher:focus-visible { outline: 3px solid #ffb39b; outline-offset: 2px; }
.cart-service-item { position: relative; }
.cart-service-panel { position: fixed; right: 106px; bottom: calc(var(--service-bottom) + env(safe-area-inset-bottom)); width: 252px; max-height: calc(100vh - var(--service-bottom) - 100px); overflow-y: auto; padding: 20px; border: 1px solid #e6eaed; border-radius: 14px; background: #fff; box-shadow: 0 10px 32px rgba(19,24,44,.14); text-align: left; }
.cart-service-panel[hidden] { display: none !important; }
.cart-service-tools.has-panel .cart-service-panel:not([hidden]) { visibility: visible; }
.cart-service-panel::after { content: none; }
.cart-service-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid #edf0f4; }
.cart-service-panel-head strong { font-size: 15px; font-weight: 700; color: #1f2937; }
.cart-service-panel-head button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: #f4f6f9; color: #6b7280; font-size: 20px; }
.cart-service-panel-head button:hover { background: #fff2eb; color: #d44c23; }
.cart-service-qr { display: block; width: 180px; height: 180px; max-width: 100%; margin: 0 auto 14px; object-fit: contain; }
.cart-service-note { margin: 12px 0 0; color: #8b929e; font-size: 11px; line-height: 1.8; }
.cart-service-phone-panel { width: 280px; }
.cart-service-phone-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding-bottom: 18px; color: #d44c23; font-size: 24px !important; font-weight: 700 !important; line-height: 1.4; overflow-wrap: anywhere; }
.cart-service-phone-number small { color: #8b929e; font-size: 11px; font-weight: 400; }
.cart-service-extensions { margin: 0; }
.cart-service-extensions > div { padding: 13px 0; border-top: 1px dashed #edf0f4; }
.cart-service-extensions dt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; color: #374151; }
.cart-service-extensions dt b { padding: 2px 7px; border-radius: 5px; background: #fff5f1; color: #bd4d2b; font-size: 11px; font-weight: 600; }
.cart-service-extensions dd { margin: 4px 0 0; font-size: 12px; color: #8b929e; }
.cart-service-launcher { display: none; }
.cart-embedded .cart-service-tools, body.is-iframe .cart-service-tools { display: none !important; }
@media (max-width:900px) {
  .cart-service-tools { right: 10px; }
  .cart-service-button { width: 54px; min-height: 53px; font-size: 10px !important; }
}
@media (max-width:600px) {
  .cart-service-tools { right: 12px; bottom: calc(var(--service-bottom) + env(safe-area-inset-bottom)); }
  .cart-service-launcher { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 82px; height: 42px; padding: 10px 16px; border: 1px solid #e6eaed; border-radius: 24px; background: #fff; color: #d44c23; font-weight: 600; box-shadow: 0 4px 18px rgba(19,24,44,.12); }
  .cart-service-launcher svg { width: 20px; height: 20px; }
  .cart-service-group { display: none; position: absolute; right: 0; bottom: calc(100% + 12px); width: 222px; padding: 10px; }
  .cart-service-tools.is-open .cart-service-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .cart-service-button { width: 100%; min-height: 66px; font-size: 11px !important; }
  .cart-service-item { position: static; }
  .cart-service-panel { position: fixed; left: 16px; right: 16px; bottom: calc(var(--service-bottom) + 60px); width: auto; max-height: calc(100vh - var(--service-bottom) - 90px); overflow-y: auto; padding: 22px; }
  .cart-service-panel::after { display: none; }
  .cart-service-tools.has-panel .cart-service-group { visibility: hidden; }
}
@media (prefers-reduced-motion:reduce) {
  .cart-service-tools *, .cart-service-tools *::before, .cart-service-tools *::after { transition: none !important; }
}
