/** Shopify CDN: Minification failed

Line 118:1 Expected "}" to go with "{"

**/


/* CSS from section stylesheet tags */
.before-after-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.before-after-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  cursor: default;
  display: block;
}

.before-after-container .after-img,
.before-after-container .before-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.before-img {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.after-img {
  position: relative;
  z-index: 1;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* 保证居中对齐分界线 */
  width: 30px;
  height: 100%;
  background-color: transparent;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: grab;
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #fff;
  pointer-events: none;
}

.slider-handle:active {
  cursor: grabbing;
}

.slider-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 40px;
  z-index: 4;
  pointer-events: auto;
  cursor: grab;
}

.slider-circle:active {
  cursor: grabbing;
}

.slider-circle svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 控制桌面与移动端显示 */
.only-desktop {
  display: block;
}
.only-mobile {
  display: none;
}

@media (max-width: 767px) {
  .only-desktop {
    display: none;
  }
  .only-mobile {
    display: block;
}