/** Shopify CDN: Minification failed

Line 19:10 Unexpected "{"
Line 19:19 Expected ":"
Line 20:14 Expected identifier but found whitespace
Line 20:16 Unexpected "{"
Line 20:25 Expected ":"
Line 20:51 Expected ":"
Line 21:17 Expected identifier but found whitespace
Line 21:19 Unexpected "{"
Line 21:28 Expected ":"
Line 21:57 Expected ":"

**/
.before-after-section {
  overflow: hidden;
}

.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

.before-after__title {
  text-align: center;
  margin-bottom: 2.4rem;
}

.before-after__container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: ew-resize;
  user-select: none;
}

.before-after__images {
  position: relative;
  width: 100%;
}

.before-after__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.before-after__image--before {
  filter: grayscale(100%);
}

.before-after__after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0s;
}

.before-after__image--after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

.before-after__slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(233, 30, 99, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.before-after__handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.before-after__handle-icon {
  width: 16px;
  height: 16px;
  color: rgba(233, 30, 99, 0.9);
}

.before-after__label {
  position: absolute;
  top: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  z-index: 5;
  pointer-events: none;
}

.before-after__label--before {
  left: 16px;
}

.before-after__label--after {
  right: 16px;
}

.before-after__container.is-dragging {
  cursor: grabbing;
}

.before-after__container.is-dragging .before-after__handle {
  transform: translate(-50%, -50%) scale(1.15);
}

@media screen and (max-width: 749px) {
  .before-after__handle {
    width: 40px;
    height: 40px;
  }
  
  .before-after__handle-icon {
    width: 14px;
    height: 14px;
  }
  
  .before-after__label {
    font-size: 1.1rem;
    padding: 6px 12px;
    top: 12px;
  }
  
  .before-after__label--before {
    left: 12px;
  }
  
  .before-after__label--after {
    right: 12px;
  }
}
