.offcanvas .form-check {
    font-size: 14px;
}

.error.text-danger {
    font-size: 12px;
}

.page-heading {
    color: #17183B;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
}

.order-heading {
    padding: 5px;
    border: 1px solid #D9D9D9;
}

.order-heading .order-id {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.order-heading .order-status {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 15px;
    padding: 4px;
    border: 1px solid #808080;
}

.order-heading .order-date {
    color: #808080;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.order-details .order-type-rent {
    position: relative;
    background-color: var(--bs-warning);
    width: 100px;
    height: 100px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.order-details .order-type-rent .text {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 10px;
    transform: rotate(-45deg);
    position: absolute;
    top: 54%;
    left: 10%;
    transform-origin: top left;
    transform-origin: 0% 0%;
    letter-spacing: 2px;
}

.order-details .order-type-purchase {
    background-color: var(--bs-primary);
    width: 140px;
    height: 100px;
    clip-path: inset(0 0 67% 0);
}

.order-details .order-type-purchase .text {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
}

.product-thumb {
    max-height: 125px;
    width: auto;
    object-fit: contain;
}

.product-name {
    color: #17183B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.order-details .price-details,
.order-details .order-tracking-details {
    /* width: 245px; */
}

.price-details tr,
.order-tracking-details tr {
    height: 35px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.price-details tr {
    height: 35px;
    color: #808080;
}

.order-details .shipping-address,
.order-details .seller-address {
    padding: 10px;
    border: 1px solid #D9D9D9;
}

.order-details .shipping-address .div-heading,
.order-details .seller-address .div-heading {
    color: #17183B;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.15px;
}

.order-details .shipping-address .location,
.order-details .shipping-address .contact .des {
    color: #17183B;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.order-details .shipping-address .contact .heading {
    color: #17183B;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.1px;
}

.shipping-address .user-name {
    color: #17183B;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.15px;
}

.tracking-details .heading,
.payment-details .heading {
    color: #17183B;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
}

.payment-details .payment-details-div {
    padding: 10px;
    border: 1px solid #D9D9D9;
    /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
}

.payment-details .payment-details-div {
    color: #17183B;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.seller-address .d-flex {
    gap: 10px;
}

.seller-chat .btn,
.action-btns .btn {
    width: 156px;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #A2A3B1;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
}

#review_form .form-control {
    background-color: #F5F5F5;
    border: 1px solid #D9D9D9;
    border-radius: 0px;
}

#review_form textarea {
    height: 110px;
}

.dropify-wrapper {
    border: 1px solid #D9D9D9;
    background-color: #F5F5F5;
}

.empty-order .empty-cart-image img {
    height: 350px;
}

.empty-order .empty-cart-image .heading {
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 152.2%;
}

.empty-order .empty-cart-image .des {
    color: #9E9E9E;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 152.2%;
}

.empty-order .empty-cart-image .btn {
    padding: 16px 48px;
    border-radius: 40px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#review_form .btn.btn-primary {
    width: 234px;
    padding: 14px 0px;
    border-radius: 18px;
    color: #FFF;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.rating_star {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
    --stroke: #666;
    --fill: #FFAD33;
}

.rating_star input {
    appearance: unset;
}

.rating_star label {
    cursor: pointer;
}

.rating_star svg {
    width: 2.3rem;
    height: 2.3rem;
    overflow: visible;
    fill: transparent;
    stroke: var(--stroke);
    stroke-linejoin: bevel;
    stroke-dasharray: 12;
    animation: idle 4s linear infinite;
    transition: stroke 0.2s, fill 0.5s;
}

@keyframes idle {
    from {
        stroke-dashoffset: 24;
    }
}

.rating_star label:hover svg {
    stroke: var(--fill);
}

.rating_star input:checked~label svg {
    transition: 0s;
    animation: idle 4s linear infinite, yippee 0.75s backwards;
    fill: var(--fill);
    stroke: var(--fill);
    stroke-opacity: 0;
    stroke-dasharray: 0;
    stroke-linejoin: miter;
    stroke-width: 3px;
}

@keyframes yippee {
    0% {
        transform: scale(1);
        fill: var(--fill);
        fill-opacity: 0;
        stroke-opacity: 1;
        stroke: var(--stroke);
        stroke-dasharray: 10;
        stroke-width: 1px;
        stroke-linejoin: bevel;
    }

    30% {
        transform: scale(0);
        fill: var(--fill);
        fill-opacity: 0;
        stroke-opacity: 1;
        stroke: var(--stroke);
        stroke-dasharray: 10;
        stroke-width: 1px;
        stroke-linejoin: bevel;
    }

    30.1% {
        stroke: var(--fill);
        stroke-dasharray: 0;
        stroke-linejoin: miter;
        stroke-width: 8px;
    }

    60% {
        transform: scale(1.2);
        fill: var(--fill);
    }
}

@media (max-width: 767px) {
    .order-details .product-name {
        font-size: 14px;
        line-height: 18px;
    }

    .order-details .price-details tr,
    .order-details .order-tracking-details tr {
        height: 25px;
        font-size: 12px;
        line-height: 16px;
    }

    .order-details .shipping-address .div-heading,
    .order-details .seller-address .div-heading,
    .tracking-details .heading,
    .payment-details .heading {
        font-size: 16px;
        line-height: 20px;
    }

    .order-heading .order-id,
    .order-heading .order-status,
    .shipping-address .user-name,
    .order-details .shipping-address .contact .heading,
    .order-details .shipping-address .location,
    .order-details .shipping-address .contact .des,
    .payment-details .payment-details-div,
    .action-btns .btn {
        font-size: 14px;
        line-height: 18px;
    }

    .empty-order .empty-cart-image img {
        height: 207px
    }

    .empty-order .empty-cart-image .heading {
        font-size: 20px;
    }

    .empty-order .empty-cart-image .des {
        font-size: 14px;
    }
}

/* Horizontal tracking design */

/* .tracking-details-div {
    padding: 25px 10px 10px 10px;
    border: 1px solid #D9D9D9;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.order-progress {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    user-select: none; 
}

.order-progress.grabbing {
    cursor: grabbing;
}

.order-progress::-webkit-scrollbar {
    display: none;
}

.step-progress .step-progress-item {
    width: 250px;
}

.step-progress {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.step-progress-item {
    position: relative;
    flex: 0 0 auto;
    margin-right: 20px;
}

.step-progress-item::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 10px;
    width: 105%;
    height: 0;
    border-top: 2px dashed #ccc;
    z-index: 0;
}

.step-progress-item:last-child::before {
    display: none;
}

.step-progress-item.is-done::before {
    border-top: 2px solid var(--bs-primary);
}

.step-progress-item h6 {
    margin: 0;
}

.step-progress-item p {
    margin: 5px 0 0;
    font-size: 12px;
}

.step-progress-item::after {
    content: '';
    position: absolute;
    top: -21.5px;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 2px solid #ccc;
    z-index: 1;
}

.step-progress-item.is-done::after {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
} */

/* Vertical tracking design */

.step-progress-item::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -18.5px;
    width: 2px;
    height: 100%;
    border-left: 2px dashed #ccc;
    z-index: 0;
}

.step-progress-item:last-child::before {
    display: none;
}

.step-progress-item.is-done::before {
    border-left: 2px solid var(--bs-primary);
}

.step-progress-item {
    position: relative;
    margin-left: 35px;
    margin-bottom: 10px;
    height: 65px;
}

.step-progress-item.is-done::before {
    border-top: 2px solid var(--bs-primary);
}

.step-progress-item h6 {
    margin: 0;
}

.step-progress-item p {
    margin: 5px 0 0;
    font-size: 12px;
}

.step-progress-item::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -25px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 2px solid #ccc;
    z-index: 1;
}

.step-progress-item.is-done::after {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}