/** Shopify CDN: Minification failed

Line 19:10 Unexpected "{"
Line 19:19 Expected ":"
Line 20:4 Unexpected "{"
Line 20:5 Expected identifier but found "%"
Line 20:63 Expected identifier but found whitespace
Line 20:65 Unexpected "{"
Line 20:74 Expected ":"
Line 20:104 Unexpected "{"
Line 20:105 Expected identifier but found "%"
Line 21:16 Expected identifier but found whitespace
... and 7 more hidden warnings

**/


/* CSS from section stylesheet tags */
#section-{{ section.id }}.before-after-wrapper {
    {% if section.settings.background_color %}background-color: {{ section.settings.background_color }};{% endif %}
    padding-top: {{ section.settings.padding_top | default: 1 }}rem !important;
    padding-bottom: {{ section.settings.padding_bottom | default: 3 }}rem !important;
  }
  .before-after-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .before-after-component {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    /* Border radius now controlled by inline style with Shopify setting */
  }
  .before-after-component img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
  }
  .before-layer, .after-layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    border-radius: inherit;
  }
  .after-layer {
    clip-path: inset(0 0 0 50%);
  }
  .before-after-component[data-orientation="vertical"] .after-layer {
    clip-path: inset(50% 0 0 0);
  }

  /* Button labels */
  .before-label-wrapper,
  .after-label-wrapper {
    position: absolute;
    pointer-events: auto;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .before-label-wrapper .ButtonGroup,
  .after-label-wrapper .ButtonGroup {
    justify-content: space-between;
  }

  .before-label-title,
  .after-label-title {
    margin: 0;
  }

  .before-label-wrapper {
    bottom: 20px;
    left: 20px;
    z-index: 0;
  }

  .after-label-wrapper {
    bottom: 20px;
    right: 20px;
    align-items: flex-end;
  }

  .before-after-component[data-orientation="vertical"] .before-label-wrapper {
    top: 20px;
    left: 20px;
    bottom: auto;
  }

  .before-after-component[data-orientation="vertical"] .after-label-wrapper {
    bottom: 20px;
    right: 20px;
    top: auto;
  }

  .slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: .125rem;
    background: #ffffff;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 4;
  }
  .before-after-component[data-orientation="vertical"] .slider-line {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    cursor: ns-resize;
  }
  .slider-handle {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 10;
  }
  .slider-handle svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  @media (max-width: 768px) {
    .before-label-wrapper {
      bottom: 10px;
      left: 10px;
    }

    .after-label-wrapper {
      bottom: 10px;
      right: 10px;
    }

    .before-after-component[data-orientation="vertical"] .before-label-wrapper {
      top: 10px;
      left: 10px;
      bottom: auto;
    }

    .before-after-component[data-orientation="vertical"] .after-label-wrapper {
      bottom: 10px;
      right: 10px;
      top: auto;
    }
  }

  /* Placeholder styles */
  .placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--border-radius-value, 0) !important;
  }

  .before-placeholder {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
  }

  .after-placeholder {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-color: #9c27b0;
  }

  .placeholder-content {
    text-align: center;
    color: #6c757d;
    z-index: 1;
  }

  .placeholder-content svg {
    margin-bottom: 15px;
    opacity: 0.6;
  }

  .placeholder-content p {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
  }

  .placeholder-content small {
    font-size: 12px;
    opacity: 0.8;
    color: #6c757d;
  }