.ordermgr-shipment {
    margin: 1.5em 0 0;
    padding: 1.25em 1.5em;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
}

.ordermgr-shipment--pending .ordermgr-shipment__hint {
    margin: 0;
    color: #666;
}

.ordermgr-shipment__title {
    margin: 0 0 0.75em;
    font-size: 1.15em;
    font-weight: 600;
}

.ordermgr-shipment__subtitle {
    margin: 1em 0 0.5em;
    font-size: 1em;
    font-weight: 600;
}

.ordermgr-shipment__tracking,
.ordermgr-shipment__status,
.ordermgr-shipment__summary {
    margin: 0.35em 0;
}

.ordermgr-shipment__tracking-no {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-all;
}

.ordermgr-shipment__status-time {
    color: #777;
    font-size: 0.92em;
}

.ordermgr-shipment__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ordermgr-shipment__thumb {
    display: inline-block;
    cursor: zoom-in;
}

.ordermgr-shipment__thumb img,
.ordermgr-shipment__invoice img {
    display: block;
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    object-fit: cover;
}

.ordermgr-shipment__invoice img {
    max-width: 220px;
    max-height: 220px;
}

.ordermgr-shipment__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92em;
}

.ordermgr-shipment__table th,
.ordermgr-shipment__table td {
    border: 1px solid #e8e8e8;
    padding: 0.45em 0.6em;
    text-align: left;
    vertical-align: top;
}

.ordermgr-shipment__table th {
    background: #f7f7f7;
    font-weight: 600;
}

@media (max-width: 640px) {
    .ordermgr-shipment {
        padding: 1em;
    }

    .ordermgr-shipment__table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
