.dost-shipment-wrap {
    margin: 10px 0;
    font-family: Arial, sans-serif;
}

.dost-shipment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.dost-heading-left {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.dost-heading-link {
    font-size: 12px;
    color: #2e223e;
    text-decoration: none;
}

.dost-shipment-card {
    background: #ffe6e6;
    border-radius: 22px;
    padding: 14px 14px 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.dost-shipment-card.is-cancelled {
    background: #f7d6d6;
}

.dost-shipment-card.is-delivered {
    background: #d8f4dc;
}

.dost-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dost-product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.dost-product-thumb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 52px;
}

.dost-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dost-product-thumb--placeholder {
    font-size: 22px;
}

.dost-product-text {
    min-width: 0;
}

.dost-product-text h4 {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.2;
    color: #111;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

.dost-product-text span {
    display: block;
    font-size: 12px;
    color: rgba(17, 17, 17, 0.6);
}

.dost-hero-visual {
    min-width: 58px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.dost-status-single-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
}

.dost-status-single-icon--delivered {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #35b85b;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.dost-cancel-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ff6b6b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.dost-progress-area {
    position: relative;
    margin: 12px 0 10px;
    padding-top: 10px;
}

.dost-progress-line {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: rgba(121, 126, 168, 0.28);
    border-radius: 999px;
}

.dost-progress-line span {
    display: block;
    height: 100%;
    background: #8d66ff;
    border-radius: 999px;
}

.dost-shipment-card.is-delivered .dost-progress-line span {
    background: #35b85b;
}

.dost-progress-rider {
    position: absolute;
    top: 6px;
    transform: translateX(-50%);
    font-size: 18px;
    line-height: 1;
    z-index: 2;
}

.dost-progress-rider--done {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #35b85b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    top: 9px;
}

.dost-progress-dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.dost-progress-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c0c4dd;
    display: inline-block;
}

.dost-progress-dots span.active {
    background: #8d66ff;
}

.dost-shipment-card.is-delivered .dost-progress-dots span.active {
    background: #35b85b;
}

.dost-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.dost-info-col {
    flex: 1;
}

.dost-info-label {
    font-size: 12px;
    color: rgba(17, 17, 17, 0.65);
    margin-bottom: 3px;
}

.dost-info-value {
    font-size: 20px;
    line-height: 1.1;
    color: #111;
    font-weight: 700;
}

.dost-info-value a {
    font-size: 18px;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.dost-cancelled-note {
    margin: 12px 0 8px;
    color: #5b2b2b;
    font-size: 13px;
}

@media (max-width: 480px) {
    .dost-shipment-card {
        padding: 12px;
        border-radius: 20px;
    }

    .dost-card-bottom {
        gap: 8px;
    }

    .dost-info-value {
        font-size: 17px;
    }

    .dost-info-value a {
        font-size: 16px;
    }

    .dost-product-text h4 {
        max-width: 120px;
    }

    .dost-status-single-icon,
    .dost-cancel-icon {
        width: 42px;
        height: 42px;
    }
}

.order-progress .step span img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* remove extra rider image */
.dost-progress-rider {
    display: none !important;
}

/* main icon size fix */
.dost-status-single-icon,
.dost-cancel-icon {
    width: 58px !important;
    height: 58px !important;
}

/* image fit */
.dost-status-single-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* spacing fix */
.dost-hero-visual {
    min-width: 40px !important;
}
