.media-with-products-section {
  background-color: rgb(var(--color-background));
}

.media-with-products{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  width: 100%;
}

.c-swiper-switch__item_prev {
  position: absolute;
  top: 50%;
  left: 4.51vw;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.c-swiper-switch__item_prev svg rect {
  fill: white;
}

.c-swiper-switch__item_prev.swiper-button-disabled svg rect {
  fill: none;
  stroke: #4D3F32;
}

.c-swiper-switch__item_next {
  position: absolute;
  top: 50%;
  right: 4.51vw;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.c-swiper-switch__item_next svg rect {
  fill: white;
}

.c-swiper-switch__item_next.swiper-button-disabled svg rect {
  fill: none;
  stroke: #4D3F32;
}

.media-with-products-section .swiper-pagination {
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1.5vw;
  bottom: unset;
}


.product-box {
  background-color: #fff;
  border-radius: 1.39vw;
  padding: 10px;
}

.product-imgbox img {
  border-radius: 1.39vw;
  overflow: hidden;
}

@keyframes slideshow-progress {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}
.media-with-products-section .button {
  word-break: break-word;
  white-space: normal;
  /* border-radius: 30px; */
}

.media-with-products-section .product-imgbox {
  margin-bottom: 10px;
}

.media-with-products-section .product-infobox {
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.media-with-products-section .product-buttton {
  padding-left: 15px;
  /* margin-top: 10px; */
  flex-shrink: 0;
}

.media-with-products-section .product-buttton .button {
  padding: 7px 24px;
}

.media-with-products-section .product-imgbox picture {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 199 / 213;
}
.media-with-products-section .carousel__track {
  aspect-ratio: var(--desktop-aspect-ratio);
  overflow-y: hidden;
}
.media-with-products-section .slideshow__item {
  width: 100%;
}
.media-with-products-section .slideshow__image {
  position: relative;
  width: var(--slideshow-image-width);
  height: var(--slideshow-image-height);
}
.media-with-products-section .slideshow__image--mobile,
.media-with-products-section .slideshow__image--ipad,
.media-with-products-section .slideshow__image--desktop {
  position: relative;
  z-index: 1;
}
.media-with-products-section .slideshow__image--mobile img,
.media-with-products-section .slideshow__image--mobile svg,
.media-with-products-section .slideshow__image--ipad img,
.media-with-products-section .slideshow__image--ipad svg,
.media-with-products-section .slideshow__image--desktop img,
.media-with-products-section .slideshow__image--desktop svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-with-products-section .slideshow__image--mobile {
  display: none;
}
.media-with-products-section .slideshow__image--ipad {
  display: none;
}
.media-with-products-section .slideshow__image--desktop {
  display: block;
  height: var(--desktop-height);
  min-height: 700px;
}


.media-with-products-section .slideshow__image-container {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  background-color: rgb(var(--color-image-background));
}
.media-with-products-section .slideshow__group {
  /* position: absolute;
  z-index: 3; */
}


.media-with-products-section .slideshow__image-mask {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(
    0,
    0,
    0,
    calc(var(--slideshow-image-mask-opacity) / 100)
  );
  transform: translate(-50%, -50%);
}
.media-with-products-section .slideshow__pager {
  position: absolute;
  inset-block-end: var(--pagination-inset-block-end);
  inset-inline-start: var(--pagination-inset-inline-start);
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  transform: translate(-50%, 0);
}
.media-with-products-section .slideshow__pager--dots {
  /* inset-block-end: 20px; */
}
.media-with-products-section .slideshow__pager--dot {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity, width, height, 0.3s;
}
.media-with-products-section .slideshow__pager--dot.is-active {
  width: 10px;
  height: 10px;
  opacity: 1;
}
.media-with-products-section .slideshow__pager--progresses {
  gap: 10px;
}
.media-with-products-section .slideshow__pager--progress {
  display: block;
  width: 120px;
  height: 6px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background-color: rgb(255 255 255 / 50%);
  border: 0;
}
.media-with-products-section .slideshow__pager--progress.is-active {
  opacity: 1;
}
.media-with-products-section .slideshow__pager--progress.is-active .media-with-products-section .slideshow__pager--progress-inner {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  animation: slideshow-progress var(--slideshow-speed, 0s) linear forwards;
}
.media-with-products-section .slideshow__pager--progress.is-active .media-with-products-section .slideshow__pager--progress-inner-static {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.media-with-products-section .slideshow__pager--arrows {
  /* inset-block-end: 0;
  inset-inline: auto 40px;
  width: fit-content;
  transform: translateY(50%); */
}
.media-with-products-section .slideshow__pager--arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  background-color: #fff;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
  border: 0;
  border-radius: 50%;
}
.media-with-products-section .slideshow__pager--arrow[name="previous"] {
  transform: rotate(90deg);
}
.media-with-products-section .slideshow__pager--arrow[name="next"] {
  transform: rotate(-90deg);
}
.media-with-products-section .slideshow__image-text-mask {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: block;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}
.media-with-products-section .slideshow__image-text-mask-deep {
  background: radial-gradient(
    77.64% 77.64% at 50% 50%,
    rgb(0 0 0 / 30%) 59.64%,
    rgb(0 0 0 / 0%) 100%
  );
  filter: blur(120px);
  border-radius: 50%;
}
.media-with-products-section .slideshow__image-text-mask-light {
  background: radial-gradient(
    77.64% 77.64% at 50% 50%,
    rgb(255 255 255 / 30%) 59.64%,
    rgb(255 255 255 / 0%) 100%
  );
  filter: blur(120px);
  border-radius: 50%;
}

.media-with-products-section {
  position: relative;
}

.media-with-products-section .list-style-type-disc::before{
  content: "•"; /* 使用字符代替圆点 */ 
  margin-right: 10px; /* 控制圆点与文本之间的距离 */
}

.media-with-products-section h2.title {
  /* position: relative;
  bottom: 22.91vw; */
}

.media-with-products-section h2.description {
  margin-top: auto;
  margin-bottom: 20px;
}

.media-with-products-section .block-button-group {
  /* position: relative;
  bottom: 4.69vw; */
}

.media-with-products-section .block-product-group {
  z-index: 3; 
  width: 20.83vw; 
  overflow: hidden;
}

.media-with-products-section .product-price-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.39vw;
}

.media-with-products-section .swiper-controls .swiper-button-prev {
  left: 18%;
}

.media-with-products-section .swiper-controls .swiper-button-next {
  right: 18%;
}

@media(max-width:1024px){
  .media-with-products-section .block-product-group { 
    width: 20vw; 
  }

  .media-with-products-section .carousel__track {
    aspect-ratio: var(--ipad-aspect-ratio);
  }

  .media-with-products-section .slideshow__image--mobile {
    display: none;
  }

  .media-with-products-section .slideshow__image--ipad {
    display: block;
    height: var(--ipad-height);
  }

  .media-with-products-section .slideshow__image--desktop {
    display: none;
  }

  .media-with-products{
    grid-template-columns: repeat(2,1fr);
  }

  .media-with-products-section h2.title {
    /* position: relative;
    bottom: 28.61vw; */
  }
  
  .media-with-products-section h2.description {
    /* position: relative;
    bottom: 24.12vw; */
  }
  
  .media-with-products-section .block-button-group {
    /* position: relative;
    bottom: 6.35vw; */
  }


  .media-with-products-section .swiper-controls .swiper-button-prev {
    left: 10%;
  }
  
  .media-with-products-section .swiper-controls .swiper-button-next {
    right: 10%;
  }
  
}

@media(max-width:768px){
  .media-with-products-section .block-product-group { 
    width: 48.93vw; 
  }
  

  .media-with-products-section .carousel__track {
    aspect-ratio: var(--mobile-aspect-ratio);
  }

  .media-with-products-section .slideshow__image--mobile {
    display: block;
    height: var(--mobile-height);
  }

  .media-with-products-section .slideshow__image--ipad {
    display: none;
  }

  .media-with-products-section .slideshow__image--desktop {
    display: none;
  }
  
  .media-with-products{
      grid-template-columns: repeat(1,1fr);
  }

  .media-with-products-section h2.title {
    /* position: relative;
    bottom: 55.2vw; */
  }
  
  .media-with-products-section h2.description {
    /* position: relative;
    bottom: 51.2vw; */
  }
  
  .media-with-products-section .block-button-group {
    /* position: relative;
    bottom: 13.33vw; */
  }

  .media-with-products-section .swiper-controls .swiper-button-prev {
    left: 10%;
  }
  
  .media-with-products-section .swiper-controls .swiper-button-next {
    right: 10%;
  }
}
























@keyframes slideshow-progress {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}
.slideshow .button {
  word-break: break-word;
  white-space: normal;
}
.slideshow .carousel__track {
  aspect-ratio: var(--desktop-aspect-ratio);
  overflow-y: hidden;
}
.slideshow__item {
  width: 100%;
}
.slideshow__image {
  position: relative;
  width: var(--slideshow-image-width);
  height: var(--slideshow-image-height);
}
.slideshow__image--mobile,
.slideshow__image--desktop {
  position: relative;
  z-index: 1;
}
.slideshow__image--mobile img,
.slideshow__image--mobile svg,
.slideshow__image--desktop img,
.slideshow__image--desktop svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow__image--mobile {
  display: none;
}
.slideshow__image--desktop {
  display: block;
  height: var(--desktop-height);
}
.slideshow__image-container {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  background-color: rgb(var(--color-image-background));
}
.slideshow__image-mask {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(
    0,
    0,
    0,
    calc(var(--slideshow-image-mask-opacity) / 100)
  );
  transform: translate(-50%, -50%);
}
.slideshow__group {
  position: relative;
  z-index: 3;
}
.slideshow__pager {
  position: absolute;
  /* inset-block-end: 0;
  inset-inline-start: 50%; */
  /* bottom: 108px;
  right: 48px; */
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  transform: translate(-50%, 0);
}
.slideshow__pager--dots {
  /* inset-block-end: 20px; */
  /* bottom: 108px;
  right: 48px; */
}
.slideshow__pager--dot {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity, width, height, 0.3s;
}
.slideshow__pager--dot.is-active {
  width: 10px;
  height: 10px;
  opacity: 1;
}
.slideshow__pager--progresses {
  gap: 10px;
}
.slideshow__pager--progress {
  display: block;
  width: 120px;
  height: 6px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background-color: rgb(255 255 255 / 50%);
  border: 0;
}
.slideshow__pager--progress.is-active {
  opacity: 1;
}
.slideshow__pager--progress.is-active .slideshow__pager--progress-inner {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  animation: slideshow-progress var(--slideshow-speed, 0s) linear forwards;
}
.slideshow__pager--progress.is-active .slideshow__pager--progress-inner-static {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.slideshow__pager--arrows {
  inset-block-end: 0;
  inset-inline: auto 40px;
  width: fit-content;
  transform: translateY(50%);
}
.slideshow__pager--arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  background-color: #fff;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
  border: 0;
  border-radius: 50%;
}
.slideshow__pager--arrow[name="previous"] {
  transform: rotate(90deg);
}
.slideshow__pager--arrow[name="next"] {
  transform: rotate(-90deg);
}
.slideshow__image-text-mask {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: block;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}
.slideshow__image-text-mask-deep {
  background: radial-gradient(
    77.64% 77.64% at 50% 50%,
    rgb(0 0 0 / 30%) 59.64%,
    rgb(0 0 0 / 0%) 100%
  );
  filter: blur(120px);
  border-radius: 50%;
}
.slideshow__image-text-mask-light {
  background: radial-gradient(
    77.64% 77.64% at 50% 50%,
    rgb(255 255 255 / 30%) 59.64%,
    rgb(255 255 255 / 0%) 100%
  );
  filter: blur(120px);
  border-radius: 50%;
}

.slideshow .subtitle {
  font-weight: 400;
  text-align: center;
}

.slideshow .title {
  font-weight: 400;
  text-align: center;
}

.slideshow .description {
  font-weight: 400;
  text-align: center;
}

.slideshow .banner-button {
  font-weight: 400;
  text-align: center;
}

@media (max-width: 959px) {
  .slideshow .carousel__track {
    aspect-ratio: var(--mobile-aspect-ratio);
  }
  .slideshow__image--mobile {
    display: block;
    height: var(--mobile-height);
  }

  .slideshow__image--desktop {
    display: none;
  }
  .slideshow__pager--progress {
    width: 60px;
  }

  .slideshow__pager--arrows {
    inset-inline: auto 20px;
  }

  .slideshow__pager--arrow {
    width: 32px;
    height: 32px;
  }

  .slideshow__pager--arrow svg {
    width: 10px;
    height: 10px;
  }
}