.sl-switchable-products {
      --slsp-gap: 28px;
      --slsp-border: 0.4px solid rgba(51, 51, 51, 0.30);
      --slsp-radius: 5px;
      --slsp-tab-gap: 10px;
      --slsp-tab-pad: 12px 30px;
      --slsp-tab-bg: #F7F7F7;
      --slsp-tab-color: #333333;
      --slsp-tab-active-bg: #333333;
      --slsp-tab-active-color: #fff;
      --slsp-link-gap: 10px;
    }
    .sl-switchable-products .slsp-container{
      margin: 0 auto;
      box-sizing: border-box;
    }
    .sl-switchable-products .slsp-head,
    .sl-switchable-products .slsp-content{
      min-width: 0;
    }
    .sl-switchable-products .slsp-title{
      margin: 0 0 14px 0;
    }

    .sl-switchable-products .slsp-head-info-box {
      margin-bottom: 30px;
    }

    .sl-switchable-products .slsp-content-tab-box {
      display: flex;
      height:100%;
      min-height: 65px;
      margin-bottom: 30px;
      justify-content: flex-end;
      align-items: flex-end;
    }
    .sl-switchable-products .slsp-image-stage{
      position: relative;
      border: var(--slsp-border);
      border-radius: var(--slsp-radius);
      overflow: hidden;
      width: 100%;
      height: -webkit-fill-available;
      aspect-ratio: 852 / 470;
      background: #fafafa;
    }
    .sl-switchable-products .slsp-image-stage picture{
      height: 100%;
    }
    .sl-switchable-products .slsp-image{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      visibility: hidden;
      transition: opacity .28s ease;
    }

    .sl-switchable-products .slsp-image-info{
      position: absolute;
      bottom: 80px;
      right: 40px;
      color: #fff;
      display: flex;
      flex-direction: column;
      text-align: right;
      max-width: 45%;
      align-items: flex-end;
    }
    .sl-switchable-products .slsp-image-content{
      margin-top: 14px;
    }

    .sl-switchable-products .slsp-image-button{
      margin-top: 40px;
      width: fit-content;
      text-align: left;
    }
    .sl-switchable-products .slsp-image.is-active{
      opacity: 1;
      visibility: visible;
    }
    .sl-switchable-products .slsp-image--placeholder{
      display: flex;
      align-items: center;
      justify-content: center;
      background: repeating-linear-gradient(45deg,#f3f3f3,#f3f3f3 10px,#eee 10px,#eee 20px);
      color:#999;
    }

    .sl-switchable-products .slsp-tabs{
      display: flex;
      flex-wrap: wrap;
      gap: var(--slsp-tab-gap);
      margin-bottom: 0px;
      justify-content: flex-end;
    }
    .sl-switchable-products .slsp-tab{
      appearance: none;
      border: var(--slsp-border);
      background: var(--slsp-tab-bg);
      color: var(--slsp-tab-color);
      padding: var(--slsp-tab-pad);
      border-radius: 30px;
      cursor: pointer;
      line-height: 1;
      transition: background .2s ease, color .2s ease, border-color .2s ease;
    }
    .sl-switchable-products .slsp-tab.is-active{
      background: var(--slsp-tab-active-bg);
      color: var(--slsp-tab-active-color);
      border-color: transparent;
    }

    .sl-switchable-products .slsp-panel{
      display: none;
    }
    .sl-switchable-products .slsp-panel.is-active{ 
      display: flex;
      width: 100%;
      height: 100%;
      flex: 1;
    }

    .sl-switchable-products .slsp-links{
      display: flex;
      width: 100%;
      height: 100%;
    }
    .sl-switchable-products .slsp-link-item{
      margin: 0;
    }
    .sl-switchable-products .slsp-link{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border: var(--slsp-border);
      border-radius: var(--slsp-radius);
      text-decoration: none;
      color: inherit;
      transition: transform .16s ease, box-shadow .16s ease;
    }
    .sl-switchable-products .slsp-link:hover{
      transform: translateY(-1px);
      box-shadow: 0 4px 18px rgba(0,0,0,.06);
    }
    .sl-switchable-products .slsp-link-icon{ flex: 0 0 auto; }

    /* 布局：桌面左右两列，移动端上下两块 */
    .sl-switchable-products .slsp-container{
      display: flex;
      flex-direction: column;
    }
    @media (min-width: 860px){
      .sl-switchable-products .slsp-container{
      }
    }

    .sl-switchable-products .slsp-head{
      display: flex;
      flex-direction: row;
      width: 100%;
      gap: 10px;
      justify-content: space-between;
    }

    .sl-switchable-products .slsp-content{
      display: flex;
      flex-direction: row;
      width: 100%;
      gap: 10px;
      justify-content: space-between;
    }

    .sl-switchable-products .slsp-left{
      width: 60%;
    }

    .sl-switchable-products .slsp-right{
      width: auto;
      flex: 1;
    }



    .sl-switchable-products .product-box{
      display: flex;
      flex: 1;
      justify-content: center;
      align-items: center;
      width: 100%;
      background: rgb(var(--color-background));
      border-radius: 5px;
    }

    .sl-switchable-products .product-imgbox{
      max-width: 130px;
      max-height: 130px;
      aspect-ratio: 1 / 1;
      width: 9vw;
      height: 9vw;
    }
    .sl-switchable-products .product-imgbox img{
      height:100%;
    }
    .sl-switchable-products .block-product-group{
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }

    .sl-switchable-products .product-infobox{
      margin-top: 15px;
    }

    .sl-switchable-products .product-price-button{
      margin-top: 8px;
    }

    .sl-switchable-products .product{
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%;
      height: 100%;
    }

    .sl-switchable-products .slsp-mobile-tabs {
      display: none;
    }

    .sl-switchable-products .swiper {
      --color-button-background: 51, 51, 51;
      --color-button-text: 255, 255, 255;
      --color-button-border: 51, 51, 51;
      --color-button-secondary-background: 255, 255, 255;
      --color-button-secondary-text: 51, 51, 51;
      --color-button-secondary-border: 255, 255, 255;
    }

    @media (min-width: 959.01px) {
      .sl-switchable-products .swiper-controls .swiper-button {
        display: none;
      }

      .sl-switchable-products .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
      }

      .sl-switchable-products .swiper-wrapper > .swiper-slide:nth-child(n + 3) {
        display: none;
      }

      .sl-switchable-products product-slide {
        width: 100%;
        height: 100%;
      }

      .sl-switchable-products product-slide .swiper {
        width: 100%;
        height: 100%;
      }
    }

    @media (max-width: 959px) {
      .sl-switchable-products .slsp-head .slsp-right{
        display: none;
      }

      .sl-switchable-products .slsp-mobile-tabs {
        display: flex;
      }

      .sl-switchable-products .slsp-left{
        width: 100%;
      }

      .sl-switchable-products .slsp-head-info-box{
        padding-inline: 0px;
        text-align: center;
        margin-bottom: 40px;
      }

      
      .sl-switchable-products .slsp-content-tab-box{
        display: flex;
        width: 100%;
        justify-content: flex-start;
        margin-top: 20px;
      }

      .sl-switchable-products .block-product-group{
        flex-direction: row;
      }

      .sl-switchable-products .slsp-content{
        flex-direction: column;
      }

      .sl-switchable-products .slsp-content .slsp-right{
        padding-inline: 0px;
      }

      .sl-switchable-products .product-box{
        background: rgb(var(--color-background));
        flex: none;
      }

      .sl-switchable-products .product-imgbox{
        max-width: 300px;
        max-height: 300px;
        aspect-ratio: 1 / 1;
        width: 40vw;
        height: 40vw;
      }

      .sl-switchable-products .slsp-image-info{
        position: absolute;
        bottom: 40px;
        right: 20px;
        color: #fff;
        display: flex;
        flex-direction: column;
        text-align: right;
        max-width: 66%;
        align-items: flex-end;
      }

      .sl-switchable-products .slsp-image-stage{
        aspect-ratio: 750 / 550;
      }

      .sl-switchable-products .slsp-image-content{
        margin-top: 15px;
      }

      .sl-switchable-products .slsp-image-button{
        margin-top: 30px;
      }

      .sl-switchable-products .slsp-tabs{
        justify-content: flex-start;
      }

      .sl-switchable-products .product-infobox{
        margin-top: 15px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-inline: 20px;
      }

      .sl-switchable-products .swiper-slide {
        height: 100%;
      }

      .sl-switchable-products .swiper-slide img {
        aspect-ratio: 1 / 1;
      }
    }
