.yalla-track {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 1500;
    font-family: inherit;
}

.yalla-track-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #161616;
    color: #fff;
    border-radius: 40px;
    padding: 10px 16px;
    box-shadow: 0 10px 28px #0004;
    cursor: pointer;
    position: relative;
    animation: yallaTrackIn .4s cubic-bezier(.2, .9, .3, 1.3);
}

.yalla-track-pill__pulse {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    box-shadow: 0 0 0 0 #fc570066;
    animation: yallaTrackPulse 2.2s infinite;
    pointer-events: none;
}

.yalla-track-pill i.fa-bag-shopping {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fc5700;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}

.yalla-track-pill__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    white-space: nowrap;
}

.yalla-track-pill__text b {
    font-size: 12px;
    font-weight: 800;
}

.yalla-track-pill__text small {
    font-size: 10.5px;
    color: #c9c9c9;
}

.yalla-track-pill__arrow {
    font-size: 10px;
    color: #999;
    transition: transform .25s;
}

.yalla-track.is-open .yalla-track-pill__arrow {
    transform: rotate(180deg);
}

.yalla-track-card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 36px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px #00000030;
    padding: 16px;
    transform-origin: bottom left;
    transform: scale(.92) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), opacity .2s;
}

.yalla-track.is-open .yalla-track-card {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.yalla-track-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.yalla-track-card__head strong {
    display: block;
    font-size: 13.5px;
    color: #161616;
}

.yalla-track-card__head span {
    font-size: 11px;
    color: #999;
}

.yalla-track-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.yalla-track-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 14px;
}

.yalla-track-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    padding-bottom: 22px;
}

.yalla-track-step:last-child {
    padding-bottom: 0;
}

.yalla-track-step::before {
    content: "";
    position: absolute;
    top: 26px;
    right: 12.5px;
    bottom: 0;
    width: 2px;
    background: #ececec;
}

.yalla-track-step:last-child::before {
    display: none;
}

.yalla-track-step.is-done::before {
    background: #fc5700;
}

.yalla-track-step__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #b7b7b7;
    display: grid;
    place-items: center;
    font-size: 11px;
    flex-shrink: 0;
    transition: background .3s, color .3s, transform .3s;
    z-index: 1;
}

.yalla-track-step.is-done .yalla-track-step__dot {
    background: #fc5700;
    color: #fff;
}

.yalla-track-step.is-current .yalla-track-step__dot {
    background: #fc5700;
    color: #fff;
    animation: yallaTrackDotPulse 1.4s infinite;
}

.yalla-track-step__body {
    padding-top: 3px;
}

.yalla-track-step__body b {
    display: block;
    font-size: 12.5px;
    color: #b7b7b7;
    transition: color .3s;
}

.yalla-track-step.is-done .yalla-track-step__body b,
.yalla-track-step.is-current .yalla-track-step__body b {
    color: #161616;
}

.yalla-track-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff5f6;
    color: #fc5700;
    border-radius: 12px;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
}

@keyframes yallaTrackIn {
    from {
        transform: scale(.7) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes yallaTrackPulse {
    0% {
        box-shadow: 0 0 0 0 #fc570066;
    }

    70% {
        box-shadow: 0 0 0 12px #fc570000;
    }

    100% {
        box-shadow: 0 0 0 0 #fc570000;
    }
}

@keyframes yallaTrackDotPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@media (max-width: 576px) {
    .yalla-track {
        left: 12px;
        bottom: 12px;
    }

    .yalla-track-pill__text {
        max-width: 110px;
        white-space: normal;
    }
}