@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600&display=swap");

.root {
    padding: 1rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
}

.root button {
    font-family: "Montserrat";
    font-weight: bold;
    text-transform: uppercase;
}

figure {
    display: flex;
}
figure img {
    width: 8rem;
    height: 8rem;
    border-radius: 15%;
    border: 1.5px solid #f05a00;
    margin-right: 1.5rem;
    padding: 1rem;
}
figure figcaption {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
figure figcaption h4 {
    font-size: 1.4rem;
    font-weight: 500;
}
figure figcaption h6 {
    font-size: 1rem;
    font-weight: 300;
}
figure figcaption h2 {
    font-size: 1.6rem;
    font-weight: 500;
}

.order-track {
    margin-top: 2rem;
    padding: 0 1rem;
    border-top: 1px dashed #2c3e50;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
}
.order-track-step {
    display: flex;
    height: 7rem;
}
.order-track-step:last-child {
    overflow: hidden;
    height: 4rem;
}
.order-track-step:last-child .order-track-status span:last-of-type {
    display: none;
}
.order-track-status {
    margin-right: 1.5rem;
    position: relative;
}
.order-track-status-dot {
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: gray;
}
.order-track-status-line {
    display: block;
    margin: 0 auto;
    width: 2px;
    height: 7rem;
    background: gray;
}

.completed .order-track-status-dot,
.completed .order-track-status-line {
    background: #f05a00 !important;
}
.order-track-text-stat {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 3px;
}
.order-track-text-sub {
    font-size: 1rem;
    font-weight: 300;
}

.order-track {
    transition: all 0.3s height 0.3s;
    transform-origin: top center;
}
