body:has(.panda-difference) { overflow-x: clip; }
.panda-difference {
  --panda-diff-bg: #050505;
  --panda-diff-width: 1620px;
  --panda-diff-padding-top: 35px;
  --panda-diff-padding-bottom: 100px;
  --panda-diff-heading-gap: 38px;
  --panda-diff-cards-gap: 15px;
  --panda-diff-paint-opacity: 1;
  --panda-diff-title-gap: 0px;
  --panda-diff-top-x: 0px;
  --panda-diff-bottom-x: 0px;
  --panda-diff-silver-start: #fff;
  --panda-diff-silver-middle: #bdc2c9;
  --panda-diff-silver-end: #f1f2f5;
  --panda-diff-orange-start: #ffe600;
  --panda-diff-orange-middle: #ff9000;
  --panda-diff-orange-end: #f83a00;
  --panda-diff-card-height: 380px;
  --panda-diff-card-radius: 19px;
  --panda-diff-card-border: 4px;
  --panda-diff-border-color: #ff6800;
  --panda-diff-handle-width: 4px;
  --panda-diff-handle-size: 44px;
  --panda-diff-handle-color: #ff7900;
  --panda-diff-label-size: 30px;
  --panda-diff-before-bg: #17202b;
  --panda-diff-after-bg: #293847;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: var(--panda-diff-padding-top) 0 var(--panda-diff-padding-bottom);
  color: #fff;
  background: var(--panda-diff-bg);
}
.panda-difference::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--panda-diff-paint-opacity);
  background: url("../images/difference-paint-bg.webp") center center / cover no-repeat;
  pointer-events: none;
}
.panda-difference__wrap {
  width: min(calc(100% - 48px), var(--panda-diff-width));
  max-width: var(--panda-content-width);
  margin-inline: auto;
}
.panda-difference__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--panda-diff-title-gap);
  width: 100%;
  margin: 0;
  padding: 0 .1em .08em;
  font-family: var(--panda-heading-font);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.012em;
  text-align: center;
  text-transform: uppercase;
}
.panda-difference__title-top,
.panda-difference__title-bottom {
  display: inline-block;
  max-width: 100%;
  font-family: var(--panda-heading-font);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.panda-difference__title-top {
  transform: translateX(var(--panda-diff-top-x));
  background-image: linear-gradient(180deg, var(--panda-diff-silver-start), var(--panda-diff-silver-middle) 65%, var(--panda-diff-silver-end));
}
.panda-difference__title-bottom {
  transform: translateX(var(--panda-diff-bottom-x));
  background-image: linear-gradient(180deg, var(--panda-diff-orange-start), var(--panda-diff-orange-middle) 40%, var(--panda-diff-orange-end));
}
.panda-difference__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--panda-diff-cards-gap);
  margin-top: var(--panda-diff-heading-gap);
}
.panda-difference__compare {
  --panda-diff-position: 50%;
  position: relative;
  width: 100%;
  height: var(--panda-diff-card-height);
  overflow: hidden;
  border: var(--panda-diff-card-border) solid var(--panda-diff-border-color);
  border-radius: var(--panda-diff-card-radius);
  background: var(--panda-diff-after-bg);
  box-shadow: 0 0 22px rgba(255, 91, 0, .21);
  touch-action: pan-y;
}
.panda-difference[data-intro="yes"] .panda-difference__compare { --panda-diff-position: 100%; }
body.elementor-editor-active .panda-difference[data-intro="yes"] .panda-difference__compare { --panda-diff-position: 50%; }
.panda-difference__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.panda-difference__layer--after { z-index: 0; background: var(--panda-diff-after-bg); }
.panda-difference__layer--before {
  z-index: 1;
  background: var(--panda-diff-before-bg);
  clip-path: inset(0 calc(100% - var(--panda-diff-position)) 0 0);
}
.panda-difference__compare.is-intro-animating .panda-difference__layer--before { transition: clip-path 1100ms cubic-bezier(.18,.68,.28,1); }
.panda-difference__compare.is-intro-animating .panda-difference__divider { transition: left 1100ms cubic-bezier(.18,.68,.28,1); }
.panda-difference__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  user-select: none;
}
.panda-difference__layer--before .panda-difference__image { object-position: var(--panda-diff-before-x, 50%) var(--panda-diff-before-y, 50%); }
.panda-difference__layer--after .panda-difference__image { object-position: var(--panda-diff-after-x, 50%) var(--panda-diff-after-y, 50%); }
.panda-difference__divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--panda-diff-position);
  width: var(--panda-diff-handle-width);
  transform: translateX(-50%);
  background: var(--panda-diff-handle-color);
  box-shadow: 0 0 8px #ff8300, 0 0 20px rgba(255, 80, 0, .85);
  pointer-events: none;
}
.panda-difference__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: var(--panda-diff-handle-size);
  height: var(--panda-diff-handle-size);
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--panda-diff-handle-color);
  box-shadow: 0 0 13px rgba(255, 97, 0, .7);
  font-family: Arial, sans-serif;
  font-size: clamp(12px, 1.4vw, 20px);
  font-weight: 700;
  white-space: nowrap;
}
.panda-difference__label {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  padding: 6px 16px;
  border: 2px solid #fff;
  border-radius: 11px;
  color: #fff;
  font-family: var(--panda-heading-font);
  font-size: var(--panda-diff-label-size);
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.panda-difference__label--before { left: 16px; background: linear-gradient(180deg, #064e83, #001425); }
.panda-difference__label--after { right: 16px; background: linear-gradient(180deg, #ffc100, #fa5100); color: #101010; text-shadow: none; }
.panda-difference__range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.panda-difference__compare:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
@media (min-width: 1440px) {
  .panda-difference__compare { height: min(var(--panda-diff-card-height), 380px); }
}
@media (max-width: 900px) {
  .panda-difference { --panda-diff-card-height: 350px; }
  .panda-difference__layer .panda-difference__image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
  }
  .panda-difference__heading { gap: 5px; }
  .panda-difference__title-top, .panda-difference__title-bottom { font-size: clamp(46px, 9vw, 82px); }
}
@media (max-width: 700px) {
  .panda-difference {
    --panda-diff-padding-top: 55px;
    --panda-diff-padding-bottom: 75px;
    --panda-diff-card-height: 340px;
    --panda-diff-heading-gap: 28px;
    background: var(--panda-diff-bg);
  }
  .panda-difference::before { background-size: 100% 480px; background-position: center top; background-repeat: no-repeat; opacity: calc(var(--panda-diff-paint-opacity) * .7); }
  .panda-difference__wrap { width: min(calc(100% - 32px), 520px); }
  .panda-difference__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .panda-difference__title-top, .panda-difference__title-bottom { font-size: clamp(39px, 11vw, 66px); }
  .panda-difference__label { bottom: 11px; padding: 5px 10px; font-size: clamp(18px, 5vw, 25px); }
  .panda-difference__label--before { left: 10px; }
  .panda-difference__label--after { right: 10px; }
}
@media (max-width: 400px) {
  .panda-difference { --panda-diff-card-height: 275px; }
}
@keyframes panda-diff-heading-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes panda-diff-card-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.panda-difference.motion-ready:not(.is-visible) .panda-difference__heading,
.panda-difference.motion-ready:not(.is-visible) .panda-difference__compare { opacity: 0; }
.panda-difference.motion-ready.is-visible .panda-difference__heading { animation: panda-diff-heading-in 550ms ease-out both; }
.panda-difference.motion-ready.is-visible .panda-difference__compare {
  animation: panda-diff-card-in 520ms cubic-bezier(.2,.7,.25,1) both;
  animation-delay: calc(130ms + var(--panda-diff-card-index, 0) * 150ms);
}
@media (prefers-reduced-motion: reduce) {
  .panda-difference[data-intro="yes"] .panda-difference__compare { --panda-diff-position: 50%; }
  .panda-difference.motion-ready:not(.is-visible) .panda-difference__heading,
  .panda-difference.motion-ready:not(.is-visible) .panda-difference__compare { opacity: 1; }
  .panda-difference.motion-ready.is-visible .panda-difference__heading,
  .panda-difference.motion-ready.is-visible .panda-difference__compare { animation: none; }
  .panda-difference__compare.is-intro-animating .panda-difference__layer--before,
  .panda-difference__compare.is-intro-animating .panda-difference__divider { transition: none; }
}
