.action-layer {
    padding: var(--default-section-margin) 0;
}

.action-layer .section-title {
    margin-bottom: 80px;
}


.before-after-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1200/620;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 16px;
    background-color: var(--shark-shark-550, #1A1B21);
}

.before-after-container svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-container .before {
    position: absolute;
    top: 1px !important;
    left: 1px !important;
    width: calc(100% - 2px);
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background-color: var(--shark-shark-550, #1A1B21);
    z-index: 2;

}

.before-after-container .before:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-color: var(--shark-shark-600, #0A0B0D);;

}

.before-after-container .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /*background-color: var(--shark-shark-550, #1A1B21);*/
}

.before-after-container .label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    height: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    padding: 0 20px;
    color: var(--shark-shark-600);
    white-space: nowrap;
    background-color: var(--shark-shark-175);
}

.before-after-container .after .label {
    left: auto;
    right: 16px;
    background-color: var(--secondary-shamrock);
}


.before-after-container .step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-container .step path, .before-after-container .step rect {
    transition: stroke .4s, fill .4s;
}

.before-after-container .step .lines path {
    transition: stroke 0s, fill 0s;
}

.before-after-container .step.-active {
    z-index: 1;
}


.before-after-container .after .step.-active .background {
    fill: #36c29333;
}

.before-after-container .after .step.-active .background-item {
    fill: #36c293;
}

.before-after-container .after .step.-active .border {
    stroke: #36c293;
}

.before-after-container .after .step.-active .icon {
    fill: #36c293;
    stroke: #0A0B0D;
}

.before-after-container .after .step.-active .icon.-fill {
    fill: #0A0B0D;
}

.before-after-container .after .step.-active .text {
    fill: #0A0B0D;
}

.before-after-container .after .step.-active .lines path {
    stroke: #36c293;
}

.before-after-container .after .arrow-group .arrow {
    background: no-repeat center / contain url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDExIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAgNy4xNTQ3QzEwLjg4ODkgNi42NDE1IDEwLjg4ODkgNS4zNTg1IDEwIDQuODQ1M0wyIDAuMjI2NDk4QzEuMTExMTEgLTAuMjg2NzAyIDIuMDcwMDdlLTA2IDAuMzU0Nzk4IDIuMDU3ODNlLTA2IDEuMzgxMkwxLjk0NzY3ZS0wNiAxMC42MTg4QzEuOTM1NDNlLTA2IDExLjY0NTIgMS4xMTExMSAxMi4yODY3IDIgMTEuNzczNUwxMCA3LjE1NDdaIiBmaWxsPSIjMzZDMjkzIi8+Cjwvc3ZnPg==) !important;
}


.before-after-container .before .step.-active .background {
    fill: #989A9B;
}

.before-after-container .before .step.-active .border {
    stroke: #989A9B;
}

.before-after-container .before .step.-active .icon {
    fill: #989A9B;
    stroke: #0A0B0D;
}

.before-after-container .before .step.-active .icon.-fill {
    fill: #0A0B0D;
}

.before-after-container .before .step.-active .text {
    fill: #0A0B0D;
}

.before-after-container .before .step.-active .lines path {
    stroke: #989A9B;
}

.before-after-container .before .step.-active .background-red {
    fill: #F04D39;
}

.before-after-container .before .step.-active .border-red {
    stroke: #F04D39;
}

.before-after-container .before .step.-active .icon-red {
    fill: #F04D39;
    stroke: #FFFFFF;
}

.before-after-container .before .step.-active .text-red {
    fill: #FFFFFF;
}


.before-after-container .before .arrow-group .arrow {
    background: no-repeat center / contain url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDExIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAgNy4xNTQ3QzEwLjg4ODkgNi42NDE1IDEwLjg4ODkgNS4zNTg1IDEwIDQuODQ1M0wyIDAuMjI2NDk4QzEuMTExMTEgLTAuMjg2NzAyIDEuMzEwOWUtMDYgMC4zNTQ3OTkgMS4zNTU3NmUtMDYgMS4zODEyTDEuNzU5NTVlLTA2IDEwLjYxODhDMS44MDQ0MmUtMDYgMTEuNjQ1MiAxLjExMTExIDEyLjI4NjcgMiAxMS43NzM1TDEwIDcuMTU0N1oiIGZpbGw9IiM5ODlBOUIiLz4KPC9zdmc+) !important;
}


.before-after-container .before .step.-active .lines path.-red {
    stroke: #F04D39;
}

.before-after-container .before .arrow-group .arrow.-red {
    background: no-repeat center / contain url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDcuMTU0N0MxMC44ODg5IDYuNjQxNSAxMC44ODg5IDUuMzU4NSAxMCA0Ljg0NTNMMiAwLjIyNjQ5OEMxLjExMTExIC0wLjI4NjcwMyAxLjkwNzM1ZS0wNiAwLjM1NDc5OSAxLjkwNzM1ZS0wNiAxLjM4MTJMMS45MDczNWUtMDYgMTAuNjE4OEMxLjkwNzM1ZS0wNiAxMS42NDUyIDEuMTExMTEgMTIuMjg2NyAyIDExLjc3MzVMMTAgNy4xNTQ3WiIgZmlsbD0iI0YwNEQzOSIvPgo8L3N2Zz4K) !important;
}


.before-after-drag {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white, #FFF);
    z-index: 3;
    transition: transform .4s;
}

.before-after-drag:hover {
    transform: scale(1.1);
}

.before-after-drag img {
    width: 80px;
    height: 80px;
}


.action-layer .-mobile {
    display: none;
}


@media screen and (max-width: 1100px) {

    .action-layer .section-title {
        margin-bottom: 40px;
    }

    .action-layer .-mobile {
        display: block;
    }

    .action-layer .-pc {
        display: none;
    }

    .action-layer .buttons {
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .action-layer .buttons .label {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        height: 36px;
        border-radius: 48px;
        border: 1px solid var(--shark-shark-500, #313237);
        margin-bottom: 40px;
        transition: border-color .4s, background-color .4s, color .4s;
    }

    .action-layer .buttons .label.-active.show-after {
        border-color: var(--secondary-shamrock);
        background-color: var(--secondary-shamrock);
        color: var(--shark-shark-600);
    }

    .action-layer .buttons .label.-active.show-before {
        background-color: var(--shark-shark-275);
        color: var(--shark-shark-600);
    }


    .before-after-container {
        aspect-ratio: 328/612;
    }


    .before-after-container .before, .before-after-container .after {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .before-after-container .before.-active, .before-after-container .after.-active {
        opacity: 1;
        pointer-events: auto;
    }


    .before-after-drag {
        display: none;
    }

}
