 .shplpd-root,
    .shplpd-root * {
      box-sizing: border-box;
    }

    .shplpd-root {
      --shplpd-blue: #0676bc;
      --shplpd-blue-dark: #05558f;
      --shplpd-border: #a9c9e0;
      --shplpd-text: #222;
      --shplpd-muted: #68727a;
      --shplpd-soft: #e8f0f6;
      --shplpd-visible-count: 7;
      width: 100%;
      max-width: none;
      margin: 32px auto;
      padding: 0;
      color: var(--shplpd-text);
      font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.5;
      background: #fff;
    }

    .shplpd-root a {
      color: inherit;
      text-decoration: none;
    }

    .shplpd-root img {
      display: block;
      max-width: 100%;
      border: 0;
      user-select: none;
      -webkit-user-drag: none;
    }

    .shplpd-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 328px;
      gap: 22px;
      align-items: stretch;
    }

    .shplpd-left-column {
      min-width: 0;
      display: grid;
      grid-template-rows: auto auto;
      gap: 24px;
    }

    .shplpd-top-panels {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
      margin-bottom: 0;
    }

    .shplpd-panel {
      position: relative;
      min-width: 0;
      border: 1px solid var(--shplpd-border);
      background: #fff;
      overflow: hidden;
    }

    .shplpd-panel-title {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 4;
      min-width: 170px;
      height: 50px;
      margin: 0;
      padding: 0 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      background: var(--shplpd-blue);
      font-size: 21px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .shplpd-category-panel {
      min-height: 270px;
      padding: 74px 22px 26px;
    }

    .shplpd-category-products {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      align-items: end;
    }

    .shplpd-product-card {
      min-width: 0;
      text-align: center;
    }

    .shplpd-product-card > a,
    .shplpd-carousel-card-link {
      display: block;
    }

    .shplpd-product-image-wrap {
      height: 124px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .shplpd-product-image {
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 112px;
      object-fit: contain;
      transition: transform 0.25s ease;
    }

    .shplpd-product-card a:hover .shplpd-product-image,
    .shplpd-carousel-card-link:hover .shplpd-product-image {
      transform: scale(1.035);
    }

    .shplpd-product-name {
      min-height: 30px;
      margin-top: 8px;
      color: #202020;
      font-size: 17px;
      line-height: 1.4;
      text-align: center;
      word-break: break-word;
    }

    /* ======================== 其他产品轮播 ======================== */
    .shplpd-other-panel {
      min-height: 278px;
      padding: 72px 0 28px;
    }

    .shplpd-carousel-counter {
      position: absolute;
      top: 18px;
      right: 28px;
      z-index: 5;
      color: #5f6266;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 20px;
      line-height: 1;
      letter-spacing: 0.02em;
    }

    .shplpd-carousel-shell {
      position: relative;
      width: 100%;
      min-width: 0;
      padding: 0 48px;
      overflow: visible;
      touch-action: pan-y;
    }

    .shplpd-carousel-viewport {
      position: relative;
      width: 100%;
      min-width: 0;
      overflow: hidden;
      touch-action: pan-y;
      cursor: grab;
    }

    .shplpd-carousel-viewport.is-dragging {
      cursor: grabbing;
    }

    .shplpd-carousel-track {
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
      width: 100%;
      margin: 0;
      padding: 0;
      transform: translate3d(0, 0, 0);
      transition: transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
      will-change: transform;
      list-style: none;
    }

    .shplpd-carousel-track.shplpd-no-transition {
      transition: none !important;
    }

    .shplpd-carousel-slide {
      display: block;
      position: relative;
      float: none;
      flex: 0 0 calc(100% / var(--shplpd-visible-count));
      width: calc(100% / var(--shplpd-visible-count));
      min-width: 0;
      margin: 0;
      padding: 0 12px;
      opacity: 1;
      visibility: visible;
      transform: none;
    }

    .shplpd-carousel-slide .shplpd-product-image-wrap {
      height: 112px;
    }

    .shplpd-carousel-slide .shplpd-product-image {
      max-height: 102px;
    }

    .shplpd-carousel-slide .shplpd-product-name {
      margin-top: 7px;
      font-size: 17px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .shplpd-carousel-arrow {
      appearance: none;
      -webkit-appearance: none;
      position: absolute;
      top: 50%;
      z-index: 30;
      width: 44px;
      height: 78px;
      margin: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      outline: 0;
      background: transparent;
      box-shadow: none;
      cursor: pointer;
      pointer-events: auto;
      transform: translateY(-50%);
      transition: opacity 0.2s ease, background-color 0.2s ease;
    }

    .shplpd-carousel-arrow:hover {
      background: rgba(0, 0, 0, 0.025);
    }

    .shplpd-carousel-arrow:focus-visible {
      outline: 2px solid var(--shplpd-blue);
      outline-offset: -2px;
    }

    .shplpd-carousel-arrow::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 15px;
      height: 15px;
      border-top: 3px solid #69727a;
      border-right: 3px solid #69727a;
    }

    .shplpd-carousel-arrow-prev {
      left: 0;
    }

    .shplpd-carousel-arrow-prev::before {
      transform: translate(-35%, -50%) rotate(-135deg);
    }

    .shplpd-carousel-arrow-next {
      right: 0;
    }

    .shplpd-carousel-arrow-next::before {
      transform: translate(-65%, -50%) rotate(45deg);
    }

    /* ======================== 健康产品区域 ======================== */
    .shplpd-health-panel {
      min-height: 100%;
      padding: 76px 24px 28px;
    }

    .shplpd-health-content {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 480px;
    }

    .shplpd-health-block {
      flex: 1 1 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 190px;
      text-align: center;
    }

    .shplpd-health-image-link,
    .shplpd-health-image-button {
      display: block;
      width: 100%;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: pointer;
    }

    .shplpd-health-image {
      width: 100%;
      max-width: 280px;
      max-height: 165px;
      margin: 0 auto;
      object-fit: contain;
    }

    .shplpd-health-divider {
      width: 100%;
      height: 1px;
      margin: 18px 0;
      background: #dce8f0;
    }

    .shplpd-root a.shplpd-more-button,
    .shplpd-root button.shplpd-more-button {
      appearance: none;
      -webkit-appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 128px;
      height: 42px;
      margin-top: 16px;
      padding: 0 18px;
      border: 0;
      border-radius: 5px;
      outline: 0;
      background: var(--shplpd-soft);
      color: var(--shplpd-blue);
      font-family: inherit;
      font-size: 17px;
      font-weight: 700;
      line-height: 1;
      text-decoration: none;
      cursor: pointer;
      box-shadow: none;
      transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
    }

    .shplpd-root a.shplpd-more-button:hover,
    .shplpd-root a.shplpd-more-button:focus-visible,
    .shplpd-root button.shplpd-more-button:hover,
    .shplpd-root button.shplpd-more-button:focus-visible {
      color: #fff;
      background: var(--shplpd-blue);
      transform: translateY(-1px);
      outline: none;
    }

    /* ======================== 二维码弹窗 ======================== */
    .shplpd-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 99999;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(0, 0, 0, 0.55);
    }

    .shplpd-modal.is-open {
      display: flex;
    }

    /*
     * PC 端不再强制 1000px 宽。
     * 1280px 屏幕下宽度约 768px，最高不超过 780px，
     * 可以让整张二维码宣传图尽量一次显示完整。
     */
    .shplpd-modal-dialog {
      position: relative;
      width: 60vw;
      min-width: 680px;
      max-width: 780px;
      max-height: calc(100vh - 32px);
      padding: 28px 24px 22px;
      overflow-y: auto;
      background: #fff;
      box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
      text-align: center;
    }

    .shplpd-modal-close {
      appearance: none;
      -webkit-appearance: none;
      position: absolute;
      top: 6px;
      right: 8px;
      width: 34px;
      height: 34px;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
      color: #555;
      font-size: 30px;
      line-height: 34px;
      cursor: pointer;
    }

    .shplpd-modal-title {
      margin: 0 0 14px;
      color: #222;
      font-size: 20px;
      font-weight: 600;
    }

    .shplpd-qr-image {
      display: block;
      width: auto;
      max-width: 100%;
      max-height: calc(100vh - 140px);
      height: auto;
      margin: 0 auto;
      object-fit: contain;
    }

    /* 1024px及以下：取消最小宽度，按屏幕宽度自适应 */
    @media (max-width: 1024px) {
      .shplpd-modal {
        padding: 16px;
      }

      .shplpd-modal-dialog {
        width: 90%;
        min-width: 0;
        max-width: 760px;
        max-height: calc(100vh - 32px);
        padding: 28px 20px 20px;
      }

      .shplpd-qr-image {
        max-height: calc(100vh - 132px);
      }
    }

    @media (max-width: 640px) {
      .shplpd-modal {
        padding: 10px;
      }

      .shplpd-modal-dialog {
        width: 90%;
        max-width: 90%;
        max-height: calc(100vh - 20px);
        padding: 26px 14px 16px;
      }

      .shplpd-modal-title {
        margin-bottom: 10px;
        font-size: 18px;
      }

      .shplpd-qr-image {
        max-height: calc(100vh - 112px);
      }
    }

    @media (max-width: 1240px) and (min-width: 961px) {
      .shplpd-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
      }

      .shplpd-category-products {
        gap: 10px;
      }

      .shplpd-carousel-slide {
        padding-right: 10px;
        padding-left: 10px;
      }
    }

    @media (max-width: 960px) {
      .shplpd-layout {
        grid-template-columns: 1fr;
      }

      .shplpd-health-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
        min-height: 230px;
      }

      .shplpd-health-divider {
        width: 1px;
        height: auto;
        margin: 0 26px;
      }
    }

    @media (max-width: 860px) {
      .shplpd-root {
        width: calc(100% - 28px);
        margin-top: 18px;
        margin-bottom: 18px;
        padding-right: 0;
        padding-left: 0;
      }

      .shplpd-top-panels {
        grid-template-columns: 1fr;
      }

      .shplpd-panel-title {
        min-width: 150px;
        height: 46px;
        font-size: 18px;
      }

      .shplpd-category-panel,
      .shplpd-health-panel {
        padding-top: 68px;
      }

      .shplpd-other-panel {
        padding-top: 66px;
      }

      .shplpd-carousel-counter {
        top: 16px;
        right: 18px;
        font-size: 18px;
      }
    }

    @media (max-width: 640px) {
      .shplpd-root {
        width: calc(100% - 20px);
        padding-right: 0;
        padding-left: 0;
      }

      .shplpd-category-panel {
        padding-right: 12px;
        padding-left: 12px;
      }

      .shplpd-category-products {
        gap: 8px;
      }

      .shplpd-product-image-wrap {
        height: 105px;
      }

      .shplpd-product-image {
        max-height: 96px;
      }

      .shplpd-product-name,
      .shplpd-carousel-slide .shplpd-product-name {
        font-size: 14px;
      }

      .shplpd-carousel-shell {
        padding-right: 38px;
        padding-left: 38px;
      }

      .shplpd-carousel-arrow {
        width: 36px;
      }

      .shplpd-carousel-slide {
        padding-right: 8px;
        padding-left: 8px;
      }

      .shplpd-health-content {
        display: flex;
        min-height: 0;
      }

      .shplpd-health-divider {
        width: 100%;
        height: 1px;
        margin: 18px 0;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .shplpd-root *,
      .shplpd-root *::before,
      .shplpd-root *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }