.another-kids {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-user-select: none;
    user-select: none;
}

.another-kids img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

#help_another_kid {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#help_another_kid.is-open {
    display: block !important;
}

.kid_container > .kid-main {
    min-width: 0;
    max-width: 100%;
    align-self: flex-start;
}

#pay_el .h-full {
    height: auto !important;
}

@media (min-width: 1280px) {
    .kid_container > .kid-main {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 489px) !important;
    }

    .kid_container > .kid-side {
        flex: 0 0 449px !important;
        width: 449px !important;
        max-width: 449px !important;
    }
}

.another-kids__title {
    width: 100%;
    margin: 0 0 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.another-kids__title--bottom {
    margin: 12px 0 0;
}

.another-kids__stage {
    position: relative;
}

.another-kids__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    transform: translateY(-50%);
    cursor: pointer;
}

.another-kids__arrow[hidden] {
    display: none !important;
}

.another-kids__arrow--prev {
    left: 6px;
}

.another-kids__arrow--next {
    right: 6px;
}

.another-kids__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
}

.another-kids__rail {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.another-kids__rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.another-kids__rail::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.another-kids__slot,
.another-kids__tile--all,
.another-kids__pending {
    flex: 0 0 168px;
    width: 168px;
    height: 126px;
    scroll-snap-align: start;
}

.another-kids__slot {
    position: relative;
    animation: anotherKidsIn .35s ease;
}

.another-kids__check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.another-kids__tile {
    position: relative;
    display: block;
    width: 100%;
    height: 126px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #e8eaee;
    color: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.another-kids__tile:hover,
.another-kids__tile:focus,
.another-kids__tile:active,
.another-kids__check:checked + .another-kids__tile:hover {
    background: #e8eaee;
    color: #fff;
}

.another-kids__tile--all:hover,
.another-kids__tile--all:focus,
.another-kids__tile--all:active {
    background-color: #ff5a00 !important;
    color: #fff !important;
}

.another-kids__check:checked + .another-kids__tile,
.another-kids__tile.is-on {
    background: #e8eaee;
    color: #fff;
}

.another-kids__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e8eaee;
}

.another-kids__mark {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.another-kids__mark svg {
    display: none;
    width: 12px;
    height: 12px;
}

.another-kids__tile.is-on .another-kids__mark {
    background: #ff5a00;
}

.another-kids__tile.is-on .another-kids__mark svg {
    display: block;
}

.another-kids__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 18px 8px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .62));
}

.another-kids__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.another-kids__sum {
    flex: none;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff;
    color: #ff5a00;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.another-kids__tile--all {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    overflow: hidden;
    background-color: #ff5a00 !important;
    border-color: #ff5a00 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    isolation: isolate;
}

.another-kids__tile--all::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.42) 0 22%, transparent 46%),
        radial-gradient(circle at 84% 16%, rgba(255, 186, 92, 0.7) 0 18%, transparent 42%),
        radial-gradient(circle at 78% 82%, rgba(160, 32, 0, 0.55) 0 26%, transparent 52%),
        radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.22) 0 24%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%, rgba(120, 24, 0, 0.18));
}

.another-kids__tile--all > * {
    position: relative;
    z-index: 1;
}

.another-kids__plus {
    display: block;
    width: 28px;
    height: 28px;
    flex: none;
}

.another-kids__pending {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f3f4f6;
}

.another-kids__pending[hidden] {
    display: none !important;
}

.another-kids__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e5e7eb;
    border-top-color: #ff5a00;
    border-radius: 50%;
    animation: anotherKidsSpin .7s linear infinite;
}

.another-kids__sentinel {
    flex: 0 0 1px;
    width: 1px;
    height: 1px;
}

@keyframes anotherKidsSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes anotherKidsIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 768px) {
    .another-kids__slot,
    .another-kids__tile,
    .another-kids__tile--all,
    .another-kids__pending {
        flex-basis: 232px;
        width: 232px;
        height: 164px;
    }

    .another-kids__tile {
        height: 164px;
    }

    .another-kids__title {
        font-size: 16px;
    }

    .another-kids__name {
        font-size: 15px;
    }

    .another-kids__sum {
        font-size: 13px;
    }

    .another-kids__tile--all {
        font-size: 17px;
    }

    .another-kids__plus {
        width: 35px;
        height: 35px;
    }
}
