.ilp-cleaning-demo,
.ilp-cleaning-demo * {
    box-sizing: border-box;
}

.ilp-cleaning-demo__inner {
    margin: 0 auto;
}

.ilp-cleaning-demo__intro {
    max-width: 970px;
    margin: 0 auto 36px;
    text-align: center;
}

.ilp-cleaning-demo__intro .ilp-location-gradient-title {
    margin-inline: auto;
}

.ilp-cleaning-demo__intro p {
    margin-inline: auto;
}

.ilp-cleaning-demo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 24px;
    align-items: center;
}

.ilp-cleaning-demo__unit-wrap {
    width: 100%;
}

.ilp-cleaning-demo__unit {
    position: relative;
    width: 100%;
    padding: 24px 12px;
}

.ilp-cleaning-demo__unit-img {
    display: block;
    width: 100%;
    height: auto;
}

.ilp-cleaning-demo__hotspot {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translate(-50%, -50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.ilp-cleaning-demo__hotspot span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--global-palette6);
    border: 4px solid var(--global-palette8);
    box-shadow: 0 0 0 0 rgba(25, 64, 236, 0.25), 0 8px 20px rgba(0, 0, 0, 0.22);
    animation: ilpCleaningPulse 2.5s infinite;
}

.ilp-cleaning-demo__hotspot strong {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--global-palette6);
    color: var(--global-palette8);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: background .2s ease, transform .2s ease;
}

.ilp-cleaning-demo__hotspot:hover strong,
.ilp-cleaning-demo__hotspot.is-active strong,
.ilp-cleaning-demo__hotspot.is-active span {
    background: var(--global-palette1);
}

.ilp-cleaning-demo__hotspot:focus,
.ilp-cleaning-demo__hotspot:hover {
    background: transparent;
    box-shadow: none;
}

@keyframes ilpCleaningPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(25, 64, 236, 0), 0 8px 20px rgba(0, 0, 0, 0.22);
    }
    70% {
        box-shadow: 0 0 12px 12px rgba(25, 64, 236, 0.25), 0 8px 20px rgba(0, 0, 0, 0.22);
    }
}

.ilp-cleaning-demo__mobile-tabs {
    display: none;
}

.ilp-cleaning-demo__panel {
    position: relative;
    min-height: 460px;
}

.ilp-cleaning-demo__content {
    display: none;
    padding: 24px;
    border-radius: 16px;
    background: var(--global-palette8);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.ilp-cleaning-demo__content.is-active {
    display: block;
}

.ilp-cleaning-demo__content-header {
    margin-bottom: 18px;
}

.ilp-cleaning-demo__content-header h3 {
    margin: 0;
}

.ilp-cleaning-demo__content > p {
    margin: 20px 0 0;
}

.ilp-before-after-slider {
    width: 100%;
}

.ilp-before-after-slider__images {
    --position: 50%;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    background: var(--global-palette8);
}

.ilp-before-after-slider__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.ilp-before-after-slider__before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.ilp-before-after-slider__before .ilp-before-after-slider__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ilp-before-after-slider__range {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.ilp-before-after-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    z-index: 4;
    width: 3px;
    background: var(--global-palette9);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.ilp-before-after-slider__handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--global-palette8);
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.ilp-before-after-slider__handle span::before,
.ilp-before-after-slider__handle span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--global-palette3);
    border-left: 2px solid var(--global-palette3);
}

.ilp-before-after-slider__handle span::before {
    left: 14px;
    transform: translateY(-50%) rotate(-45deg);
}

.ilp-before-after-slider__handle span::after {
    right: 14px;
    transform: translateY(-50%) rotate(135deg);
}

.ilp-before-after-slider__label {
    position: absolute;
    top: 14px;
    z-index: 3;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.82);
    color: var(--global-palette9);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.ilp-before-after-slider__label--before { left: 14px; }
.ilp-before-after-slider__label--after { right: 14px; }

@media (max-width: 900px) {
    .ilp-cleaning-demo__grid {
        grid-template-columns: 1fr;
    }

    .ilp-cleaning-demo__panel {
        min-height: auto;
    }

    .ilp-cleaning-demo__unit {
        padding: 24px 0;
    }

    .ilp-cleaning-demo__hotspot strong {
        display: none;
    }

    .ilp-cleaning-demo__mobile-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .ilp-cleaning-demo__mobile-tabs button {
        border: 1px solid color-mix(in srgb, var(--global-palette4) 20%, transparent);
        border-radius: 999px;
        background: var(--global-palette8);
        padding: 12px 14px;
        font-weight: 700;
        color: var(--global-palette3);
        cursor: pointer;
    }

    .ilp-cleaning-demo__mobile-tabs button.is-active {
        background: var(--global-palette1);
        border-color: var(--global-palette1);
        color: var(--global-palette9);
    }
}

@media (max-width: 560px) {
    .ilp-cleaning-demo__hotspot span {
        width: 22px;
        height: 22px;
    }

    .ilp-before-after-slider__handle span {
        width: 40px;
        height: 40px;
    }

    .ilp-before-after-slider__label {
        font-size: 12px;
        padding: 6px 9px;
    }
}
