.tracking-order-wrapper-content {
    display: flex;
    flex-direction: column;
    grid-gap: 24px;
}
.order-info-header {
    background: #FDFAE7;
    border: 1px solid #F7E99E;
    padding: 24px;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.info-left .order-datetime-payment {
    display: block;
    margin-top: 6px;
}

.info-left .order-datetime-payment .payment-info {
    font-weight: 500;
    color: var(--pr-color-primary);
}
.info-left .order-datetime-payment .payment-info span {
    font-weight: 400;
}
.info-left .order-datetime-payment .shipping-info {
    font-size: 13px;
    color: #595959;
    margin-top: 2px;
}
.info-left .order-code {
    font-size: 20px;
    font-weight: 500;
    color: var(--pr-color-primary);
}
.info-right .total-amount-order {
    font-size: 24px;
    color: var(--pr-color-price);
    font-weight: 500;
    text-align: right;
}

.order-expected-wrapper {
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
}

.payment-info.title-trackorder-page{
    margin-bottom: 0;
}

.order-expected-status .time {
    font-weight: 500;
}

.stepper {
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
}
.stepper-step {
    cursor: default;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 140px;
    z-index: 1;
}

.stepper-step-icon {
    align-items: center;
    background-color: #fff;
    border: 4px solid #e0e0e0;
    border-radius: 50%;
    box-sizing: border-box;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    font-size: 1.875rem;
    height: 60px;
    justify-content: center;
    margin: auto;
    position: relative;
    transition: background-color .3s cubic-bezier(.4,0,.2,1) .7s, border-color .3s cubic-bezier(.4,0,.2,1) .7s, color .3s cubic-bezier(.4,0,.2,1) .7s;
    width: 60px;
}

.stepper-step-icon svg {
    color: #e0e0e0;
}
.stepper-step-icon path {
    fill: #e0e0e0;
}
.shopee-svg-icon {
    display: inline-block;
    height: 1em;
    width: 1em;
    fill: currentColor;
    position: relative;
}

.stepper-step-icon-pending {
    background-color: var(--pr-color-secondary);
    color: #fff;
    strike: #fff;
    fill: var(--pr-color-secondary);
    border-color: var(--pr-color-secondary);
}

.stepper-step-icon-pending svg {
    color: #fff;
}
.stepper-step-icon-pending svg path {
    fill: #fff;
}

.stepper-step-icon-finish {
    border-color: var(--pr-color-secondary);;
    color: var(--pr-color-secondary);
}
.stepper-step-icon-finish svg {
    color: var(--pr-color-secondary);
}
.stepper-step-icon-finish path {
    fill: var(--pr-color-secondary);
}

.stepper-step-text {
    color: rgba(0, 0, 0, .8);
    font-size: 16px;
    line-height: 1.2;
    margin: 16px 0 4px;
    text-transform: capitalize;
    font-weight: 500;
}
.stepper-step-date {
    color: rgba(0, 0, 0, .5);
    font-size: 14px;
}

.stepper-line {
    height: 4px;
    position: absolute;
    top: 29px;
    width: 100%;
}
.stepper-line-background,
.stepper-line-foreground {
    box-sizing: border-box;
    height: 100%;
    margin: 0 70px;
    position: absolute;
    width: calc(100% - 140px);
    background: #e0e0e0;
}
.stepper-line-foreground {
    background: var(--pr-color-secondary);
    transition: width 1s cubic-bezier(.4,0,.2,1);
}
.stepper-line-foreground {
    width: var(--percent);
    max-width: calc(100% - 120px);
}
.order-activity-wrapper {
    border: 1px solid #E4E7E9;
    background: #FAFAFA;
    position: relative;
    border-radius: 5px;
    padding: 32px 16px;
}

.title-trackorder-page {
    font-weight: 500;
    color: var(--pr-color-primary);
    font-size: 18px;
    margin-bottom: 16px;
}
.order-info-wrapper .title-trackorder-page { 
    margin: 16px 0 8px;
}
.item-activity {
    display: flex;
    align-items: center;
    grid-gap: 16px;
    
}
.item-activity + .item-activity {
    margin: 16px 0 0;
}

.desc-activity p {
    margin: 0;
}
.desc-activity {
    display: flex;
    flex-direction: column;
    grid-gap: 8px;
}
.desc-activity .time-activity {
    font-size: 14px;
    color: #77878F;
}
.icon-activity {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #FDFAE7;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F7E99E;
    border-radius: 5px;
}
.item-activity.item-success .icon-activity {
    border: 1px solid #d5f0d3;
    background: #eaf7e9;
}

.title-product .number {
    color: #5F6C72;
    font-weight: 400;
    font-size: 16px;
}

.list-products-order .head-list-products {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    grid-gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E4E7E9;
    margin-bottom: 16px;
    font-weight: 500;
}
.list-products-order .head-list-products > div:not(:first-child) {
    text-align: center;
}
.list-products-order .head-list-products > div:last-child {
    text-align: right;
}

.list-product-items .item-list-product {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    grid-gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E4E7E9;
    margin-bottom: 16px;
}
.list-product-items .item-list-product > div:not(:first-child) {
    text-align: center;
}

.list-product-items .item-list-product > div:last-child {
    text-align: right;
}

.list-product-items .item-list-product .name {
    display: flex;
    align-items: flex-start;
    grid-gap: 8px;
}

.list-product-items .item-list-product .name .image-product {
    flex: 0 0 80px;
    background-color: var(--multiply, #f8f8f8);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.list-product-items .item-list-product .name .image-product img {
    mix-blend-mode: multiply;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.list-product-items .item-list-product .product-link.name-product {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 8px;
}

.list-product-items .item-list-product .config-item {
    font-size: 14px;
}
.list-product-items .item-list-product .config-item {
    font-size: 14px;
}

.list-products-order .product-sku-name {
    padding: 5px 0;
}

.list-products-order .product-order-value {
    padding: 5px 0;
}

.order-info-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
}

.order-info-wrapper .group-info {
    display: flex;
    flex-direction: column;
    grid-gap: 6px;
    font-size: 16px;
}

.order-info-wrapper .group-info b {
    font-weight: 500 !important;
}

.p-price-color-total {
    font-size: 20px;
}
.ticket-item {
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.ticket-item > div:first-child {
    flex: 0 0 100%;
    font-weight: 500;
}
.ticket-item > div {
    flex: 0 0 30%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    padding: 0;
}

.btn-change-info {
    margin: 8px 0;
    padding: 0;
    color: var(--pr-color-secondary);
    background-color: transparent;
    border-color: transparent;
}
.btn-change-info:hover,
.btn-change-info:focus {
    color: var(--pr-color-secondary);
    text-decoration: underline;
    background-color: transparent;
    border-color: transparent;
}

.tracking-order-wrapper {
    margin-bottom: 32px;
}

.tracking-order-wrapper-content + .tracking-order-wrapper-content {
    margin-top: 32px;
}
.title-activity.title-trackorder-page {
    margin-bottom: 4px;
}

.list-activity-max-6 .item-activity:nth-child(n + 7) {
    display: none;
}

.list-activity-max-6.show-all .item-activity:nth-child(n + 7) {
    display: flex;
}


.item-activity-see-all {
    position: relative;
    cursor: pointer;
}

.content-seeall-activity {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    padding: 12px 0;
    font-weight: 500;
    color: var(--pr-color-secondary);
    position: relative;
    z-index: 2;
}
.content-seeall-activity:hover {
    text-decoration: underline;
}

.item-activity-see-all:after {
    content: "";
    position: absolute;
    height: 100px;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1;
    background: rgb(250, 250, 250);
    background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 1) 100%);
}
.seller-rating svg {
    color: #ffbc59;
}
.title-related-shipment {
    font-size: 22px;
    font-weight: 500;
    color: var(--pr-color-primary);
    text-align: center;
}
.info-right .order-status {
    text-align: right;
    margin-top: 3px;
}
.ordercode-and-btn {
    display: flex;
    grid-gap: 12px;
    align-items: center;
}

.header-summary-order .cancel-button {
    background-color: transparent;
    color: var(--pr-color-secondary);
    border-radius: 5px;
    border: none;
    font-size: 14px;
    text-decoration: underline;
    padding: 0;
}
.header-summary-order .cancel-button:hover {
    color: var(--pr-color-primary);
    border: none;

}
.billing-address-wrapper .title-product {
    display: flex;
    align-items: center;
    grid-gap: 12px;
}
.billing-address-wrapper .title-product .address-tooltip {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: var(--pr-trans-standard);
}
.billing-address-wrapper .title-product .address-tooltip-content {
    width: 100%;
    width: 200px;
    background-color: var(--pr-color-dark-x);
    color: var(--pr-color-white);
    padding: var(--pr-spacing-03) var(--pr-spacing-04);
    border-radius: var(--pr-radius-small);
    position: absolute;
    bottom: 100%;
    right: -20px;
    transform: translate(0%, 5px);
    font-size: var(--pr-font-size-display6);
    line-height: var(--pr-line-height-display6);
    opacity: 0;
    pointer-events: none;
    transition: var(--pr-trans-standard);
}
.billing-address-wrapper .title-product .address-tooltip-content::after {
    content: "";
    top: 100%;
    right: 24px;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: var(--pr-color-dark-x);
    border-width: 6px;
    margin-left: -6px;
}
.billing-address-wrapper .title-product .address-tooltip:hover .address-tooltip-content {
    opacity: 1;
    transform: translate(0%, -10px);
}
@media (max-width: 1200px) {
    .ticket-item .status {
        display: block;
    }
    .ticket-item > div:first-child {
        -webkit-line-clamp: 2;
    }
    .ticket-item > div.user-email {
        flex: 0 0 100%;
    }
    .title-related-shipment {
        font-size: 20px;
        padding-top: 24px;
    }
    .ticket-item > div.item-ordercode {
        display: block !important;
        text-overflow: initial !important;
        flex: 0 0 50% !important;
        text-align: left;
    }
}
@media (max-width: 997px) {
    .ordercode-and-btn {
        flex-wrap: wrap;
    }
    span.tooltiptext.is-mobile {
        margin-top: 4px;
    }
}
@media (max-width: 767px) {
    .main-content {
        border-top: 1px solid #e1e1e1;
    }

    #track-order-content {
        margin-top: 32px;
    }
    
    .info-right .total-amount-order {
        font-size: 19px;
        text-align: left;
    }
    .stepper {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .stepper-step-icon {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    .stepper-step-icon svg {
        width: 20px;
        height: 20px;
    }
    .stepper-step {
        width: 100%;
        display: grid;
        grid-template-columns: 50px calc(100% - 60px);
        grid-template-areas:
            "actIcon actContent"
            "actIcon actTime";
        grid-gap: 0 10px;
        padding: 16px 0;
    }
    .stepper-step-icon {
        grid-area: actIcon;
    }
    .stepper-step-text {
        grid-area: actContent;
        text-align: left;
        margin: 0;
    }
    .stepper-step-date {
        grid-area: actTime;
        text-align: left;
    }
    .stepper-line {
        height: calc(100% - 45px);
        position: absolute;
        top: 29px;
        width: 4px;
        left: 10px;
    }
    .stepper-line-background, 
    .stepper-line-foreground {
        height: 100%;
        margin: 0px 12px;
        width: 4px;
    }
    .stepper-line-foreground {
        height: var(--percent);
        width: 4px;
        max-width: none;
    }
    .order-info-header {
        padding: 16px;
        grid-gap: 6px;
        flex-wrap: wrap;
    }
    .info-left .order-datetime-payment {
        grid-gap: 0;
        flex-wrap: wrap;
    }

    .list-products-order .head-list-products {
        display: none;
    }
    .order-info-wrapper {
        display: block;
    }
    .list-products-order .product-order-value {
        flex: 0 0 50%;
    }
    .list-product-items .item-list-product {
        grid-template-areas: 
        "lpProduct lpProduct lpProduct lpProduct"
        ". lpPrice lpQuantity lpAmount"; 
        grid-auto-columns: 1fr; 
        grid-template-columns: 1fr 1fr 1fr 1fr; 
    }
    
    .list-product-items .item-list-product .name { grid-area: lpProduct; }
    .list-product-items .item-list-product .price { grid-area: lpPrice; text-align: left !important; }
    .list-product-items .item-list-product .quantity { grid-area: lpQuantity; }
    .list-product-items .item-list-product .sub-total { grid-area: lpAmount; }
    .info-left .order-datetime-payment .payment-info {
        font-size: 14px;
    }
    .info-right .order-status {
        font-size: 14px;
        margin-top: 0;
    }
    .ordercode-and-btn {
        justify-content: space-between;
    }
    span.tooltiptext.is-mobile {
        font-size: 13px;
    }
    .billing-address-wrapper .title-product .address-tooltip-content {
        left: -20px;
    }
    .billing-address-wrapper .title-product .address-tooltip-content::after {
        left: 30px;
    }
}

