/* ── reuse orders styles ── */
.od-page-title {
    color: #003C71;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.od-page-title i {
    margin-right: 8px;
    opacity: .8;
}

.od-page-lead {
    color: #6b7c8d;
    font-size: .9rem;
    margin-bottom: 20px;
}

.od-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.od-top {
    grid-column: 1 / -1;
    min-width: 0;
}

.od-top>.od-header-card {
    grid-column: 1 / -1;
}

.od-main {
    display: contents;
    min-width: 0;
}

.od-side {
    display: contents;
}

.od-main>.od-addr-card {
    grid-column: 1;
    grid-row: 2;
}

.od-shops {
    display: grid;
    gap: 14px;
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

.od-side>.od-summary-card {
    grid-column: 2;
    grid-row: 2;
}

.od-side>.od-track-payment-card {
    grid-column: 2;
    grid-row: 3;
    height: 100%;
    box-sizing: border-box;
}

.od-header-card {
    background: #fff;
    border: 1.5px solid #e7eef5;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 8px 22px rgba(0, 60, 113, .05);
}

.od-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.od-order-id {
    font-size: 1.15rem;
    font-weight: 800;
    color: #003C71;
    letter-spacing: .03em;
}

.od-date {
    font-size: .82rem;
    color: #8099ab;
    margin-top: 3px;
}

.od-delivery-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: .88rem;
    color: #4a5b6c;
}

.od-delivery-row i {
    color: #003C71;
}

.od-addr-str {
    font-size: .84rem;
    color: #8099ab;
    margin-top: 6px;
    line-height: 1.5;
}

.od-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .78rem;
    font-weight: 700;
    background: #eef5fb;
    color: #003C71;
}

.od-status.is-paid {
    background: #e7f6ec;
    color: #1b6b3a;
}

.od-status.is-cancel {
    background: #fdeeee;
    color: #a12b2b;
}

.od-status.is-pending {
    background: #fff4d8;
    color: #8a6400;
}

.od-shop-card {
    background: #fff;
    border: 1.5px solid #e7eef5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 60, 113, .04);
}

.od-shop-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f6fafd;
    border-bottom: 1px solid #e7eef5;
}

.od-shop-name {
    font-weight: 700;
    color: #003C71;
    font-size: .95rem;
}

.od-shop-name i {
    margin-right: 6px;
}

.od-seller-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .78rem;
    font-weight: 700;
}

.od-seller-status.ss-pending {
    background: #f59e0b;
    color: #fff;
    animation: badge-pulse-orange 2.2s ease-in-out infinite;
}

.od-seller-status.ss-accepted {
    background: #3b82f6;
    color: #fff;
    animation: badge-pulse-blue 2.2s ease-in-out infinite;
}

.od-seller-status.ss-packing {
    background: #3b82f6;
    color: #fff;
    animation: badge-pulse-blue 2.2s ease-in-out infinite;
}

.od-seller-status.ss-shipped {
    background: #8b5cf6;
    color: #fff;
    animation: badge-pulse-purple 2.2s ease-in-out infinite;
}

.od-seller-status.ss-delivered {
    background: #10b981;
    color: #fff;
}

.od-seller-status.ss-done {
    background: #10b981;
    color: #fff;
}

.od-seller-status.ss-cancel {
    background: #a12b2b;
    color: #fff;
}

@keyframes badge-pulse-orange {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
    }
}

@keyframes badge-pulse-blue {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
    }
}

@keyframes badge-pulse-purple {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.15);
    }
}

@media (prefers-reduced-motion: reduce) {

    .od-seller-status.ss-pending,
    .od-seller-status.ss-accepted,
    .od-seller-status.ss-packing,
    .od-seller-status.ss-shipped {
        animation: none;
    }
}

.od-cancel-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff5f5;
    border: 1px solid #f0c4c4;
    color: #a12b2b;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}

.od-cancel-notice i {
    margin-top: 2px;
    flex-shrink: 0;
}

.od-tracking {
    padding: 8px 20px;
    font-size: .83rem;
    color: #4a5b6c;
    background: #f0f9ff;
    border-bottom: 1px solid #e0eef8;
}

.od-tracking i {
    color: #1255a3;
    margin-right: 5px;
}

.od-ship-meta {
    padding: 10px 20px;
    font-size: .83rem;
    color: #4a5b6c;
    background: #f0f9ff;
    border-bottom: 1px solid #e0eef8;
    display: grid;
    gap: 6px;
}

.od-ship-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.od-ship-meta-row i {
    color: #1255a3;
    margin-right: 4px;
}

.od-items {
    padding: 0 18px;
}

.od-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #edf3f9;
}

.od-item:has(.od-item-ship.is-open) {
    position: relative;
    z-index: 2;
}

.od-item:last-child {
    border-bottom: 0;
}

.od-item-img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aacbf;
    font-size: .95rem;
    text-decoration: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: box-shadow .15s ease, opacity .15s ease;
}

.od-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-item-img:hover {
    opacity: .85;
    box-shadow: 0 0 0 3px rgba(0, 60, 113, .16);
}

.od-item-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.od-item-name {
    font-size: .9rem;
    font-weight: 600;
    color: #1d2a38;
    text-decoration: none;
    display: block;
    line-height: 1.35;
}

.od-item-name:hover {
    color: #003C71;
    text-decoration: none;
}

.od-item-opt {
    font-size: .79rem;
    color: #8099ab;
    margin-top: 3px;
}

.od-item-ship {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: .76rem;
    color: #5a7a8e;
}

.od-item-ship i {
    color: #003C71;
}

.od-item-ship.has-fee {
    color: #b45309;
    font-weight: 700;
}

.od-item-ship.is-free {
    color: #1b6b3a;
    font-weight: 700;
}

.od-item-ship.is-expandable {
    cursor: pointer;
    user-select: none;
}

.od-item-ship.is-expandable:hover {
    opacity: 0.8;
}

.od-item-ship.is-open .postage-chevron {
    transform: rotate(180deg);
}

.postage-chevron {
    margin-left: 2px;
    font-size: 0.65rem;
    color: #6b7c8d;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.postage-tier-wrap {
    display: block;
}

.postage-tier-dropdown {
    display: none;
}

.postage-tier-float {
    display: block;
    position: absolute;
    z-index: 9999;
    min-width: 200px;
    background: #fff;
    border: 1px solid #d5e1ee;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 60, 113, 0.13);
    overflow: hidden;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.postage-tier-table {
    width: 100%;
    font-size: 0.78rem;
    border-collapse: collapse;
}

.postage-tier-table caption {
    caption-side: top;
    padding: 6px 10px 5px;
    background: #fffaf0;
    color: #8a6400;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
}

.postage-tier-table th {
    background: #f0f5fa;
    color: #4a5b6c;
    font-weight: 600;
    padding: 5px 10px;
    text-align: left;
}

.postage-tier-table th:last-child,
.postage-tier-table td:last-child {
    text-align: right;
}

.postage-tier-table td {
    padding: 5px 10px;
    color: #4a5b6c;
    border-top: 1px solid #eef3f8;
}

.postage-tier-table tr.is-active td {
    background: #fff8ec;
    color: #b45309;
    font-weight: 700;
}

.od-item-right {
    text-align: right;
    flex-shrink: 0;
}

.od-item-qty {
    font-size: .8rem;
    color: #8099ab;
    margin-bottom: 3px;
}

.od-item-price {
    font-size: .95rem;
    font-weight: 700;
    color: #003C71;
}

.od-item-side-ship {
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 3px;
    white-space: nowrap;
}

.od-shop-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 10px 18px;
    background: #f6fafd;
    border-top: 1px solid #eef3f8;
    font-size: .84rem;
    color: #5a7a8e;
}

.od-receive-box {
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid #eef3f8;
    background: #f8fbf8;
}

.od-receive-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.od-receive-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 180px;
}

.od-receive-copy strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1b6b3a;
}

.od-receive-copy span {
    font-size: 0.8rem;
    color: #5a7a8e;
    line-height: 1.4;
}

.od-receive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0.5rem 1.1rem;
    border: none;
    border-radius: 12px;
    background: #1b6b3a;
    color: #fff;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.od-receive-btn:hover {
    background: #155a30;
    color: #fff;
}

.od-receive-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.od-receive-done {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #1b6b3a;
}

.od-receive-done>i {
    margin-top: 2px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.od-receive-done strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.od-receive-done span {
    display: block;
    font-size: 0.8rem;
    color: #4a7a5c;
    margin-top: 2px;
}

.od-receive-login-hint {
    margin: 0;
    font-size: 0.86rem;
    color: #5a7a8e;
    line-height: 1.45;
}

.od-receive-login-hint a {
    color: #003C71;
    font-weight: 700;
    text-decoration: none;
}

.od-receive-login-hint a:hover {
    text-decoration: underline;
}

.od-side {
    display: contents;
}

.od-summary-card {
    background: #fff;
    border: 1.5px solid #e7eef5;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(0, 60, 113, .05);
}

.od-summary-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .95rem;
    color: #003C71;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef3f8;
}

.od-summary-title i {
    margin-right: 6px;
}

.od-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: #7890a2;
    font-size: .74rem;
    font-weight: 500;
    white-space: nowrap;
}

.od-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: .9rem;
    color: #4a5b6c;
    padding: 7px 4px;
}

.od-summary-row.grand {
    margin: 7px 0 0;
    padding: 13px 4px 4px;
    border-top: 1px solid #dbe8f3;
    font-weight: 800;
    font-size: 1.05rem;
    color: #003C71;
}

.od-summary-row.grand span:last-child {
    font-size: 1.12rem;
}

.od-summary-shipping-value {
    color: #b45309;
    font-weight: 700;
}

.od-summary-login-hint {
    text-align: center;
    font-size: .8rem;
    color: #8099ab;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef3f8;
}

.od-summary-login-hint a {
    color: #003C71;
    font-weight: 700;
    text-decoration: none;
}

.od-summary-login-hint a:hover {
    text-decoration: underline;
}

.od-track-payment-card {
    padding: 16px;
    border: 1.5px solid #e7eef5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 60, 113, .05);
}

.od-track-payment-title,
.od-track-payment-head,
.od-track-payment-type {
    display: flex;
    align-items: center;
}

.od-track-payment-title {
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef3f8;
    color: #003c71;
    font-size: .95rem;
    font-weight: 700;
}

.od-track-payment-title i {
    margin-right: 6px;
}

.od-track-payment-title small,
.od-track-payment-type small {
    color: #7890a2;
    font-size: .74rem;
    font-weight: 500;
}

.od-track-payment-item {
    margin-top: 10px;
    padding: 12px 4px 13px;
}

.od-track-payment-item+.od-track-payment-item {
    border-top: 1px solid #edf2f6;
}

.od-track-payment-head {
    justify-content: space-between;
    gap: 12px;
}

.od-track-payment-type {
    min-width: 0;
    gap: 10px;
}

.od-track-payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #e8f2fb;
    color: #07558d;
}

.od-track-payment-icon.is-extra {
    background: #fff3dc;
    color: #a56a00;
}

.od-track-payment-type strong {
    display: block;
    color: #20384d;
    font-size: .86rem;
    line-height: 1.35;
}

.od-track-payment-type small {
    display: block;
    margin-top: 2px;
}

.od-track-payment-amount {
    color: #003c71;
    font-size: 1rem;
    white-space: nowrap;
}

.od-receipt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 7px;
    margin: 12px 0 0;
    padding: 8px 14px;
    border: 1px solid #b9d4e8;
    border-radius: 9px;
    background: #f7fbff;
    color: #07558d;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .15s ease-in-out;
}

.od-receipt-btn:hover {
    background: #e8f2fb;
    border-color: #1672b9;
    color: #003c71;
}

.od-track-payment-details {
    display: grid;
    gap: 6px;
    margin-top: 11px;
    padding-left: 0;
    color: #7890a2;
    font-size: .78rem;
}

.od-track-payment-details>div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.od-track-payment-details b {
    color: #3d5263;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.od-track-payment-privacy {
    margin: 7px 0 0;
    color: #7890a2;
    font-size: .72rem;
    text-align: center;
}

.od-track-payment-privacy i {
    margin-right: 4px;
    color: #5b8eae;
}

/* search form */
.track-search-more {
    margin-bottom: 16px;
}

.track-search-more>summary {
    cursor: pointer;
    color: #003C71;
    font-size: .9rem;
    font-weight: 700;
    list-style: none;
}

.track-search-more>summary::-webkit-details-marker {
    display: none;
}

.track-search-more>summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 6px;
}

.track-search-more[open]>summary::before {
    transform: rotate(90deg);
    display: inline-block;
}

.track-search-more .track-search-form {
    margin-top: 10px;
}

.track-search-form {
    margin-bottom: 8px;
}

.track-form-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.track-form-row input[type=text] {
    flex: 1;
    min-width: 220px;
    padding: 10px 14px;
    border: 1.5px solid #d6e3ef;
    border-radius: 12px;
    font-size: .95rem;
    background: #fafdff;
}

.track-form-row input[type=text]:focus {
    outline: none;
    border-color: #003C71;
}

.track-form-row button {
    background: #003C71;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    white-space: nowrap;
}

.track-form-row button:hover {
    background: #00285a;
}

/* new order banner */
.track-new-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e8f7f0;
    border: 1px solid #b8e4cc;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 4px;
    color: #1a6e45;
}

.track-new-banner i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.track-new-banner strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.track-new-banner div {
    font-size: .87rem;
}

.track-due-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff7e6;
    border: 1px solid #f2dfaa;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 4px;
    color: #8a6400;
}

.track-due-banner i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.track-due-banner strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.track-due-banner div {
    font-size: .87rem;
}

.track-pending-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff7e6;
    border: 1px solid #f2dfaa;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 4px;
    color: #8a6400;
}

.track-pending-banner i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.track-pending-banner strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.track-pending-banner div {
    font-size: .87rem;
}

.track-cancel-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff0f0;
    border: 1px solid #f0c4c4;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 4px;
    color: #a12b2b;
}

.track-cancel-banner i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.track-cancel-banner strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.track-cancel-banner div {
    font-size: .87rem;
}

.track-partial-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e8;
    border: 1px solid #f0d998;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 4px;
    color: #8a6400;
}

.track-partial-banner i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.track-partial-banner strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.track-partial-banner div {
    font-size: .87rem;
}

.od-paid-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e8f7f0;
    border: 1px solid #b8e4cc;
    color: #1a6e45;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}

.od-paid-notice i {
    margin-top: 2px;
    flex-shrink: 0;
}

.od-partial-cancel-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e8;
    border: 1px solid #f0d998;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
    color: #8a6400;
}

.od-partial-cancel-banner i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.od-partial-cancel-banner strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.od-partial-cancel-banner div {
    font-size: 0.87rem;
    line-height: 1.45;
}

.od-paid-summary-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e8f7f0;
    border: 1px solid #b8e4cc;
    color: #1a6e45;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.od-paid-summary-note i {
    flex-shrink: 0;
    margin-top: 1px;
}

.od-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    background: #003C71;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.od-pay-btn:hover {
    background: #00284d;
    color: #fff;
}

.od-cancel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 16px;
    background: #fff;
    color: #b42318;
    border-radius: 12px;
    font-weight: 700;
    border: 1.5px solid #f0c4c0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.od-cancel-btn:hover {
    background: #fff5f5;
    color: #912018;
    border-color: #e8a8a3;
}

.od-pay-deadline-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff8e8;
    border: 1px solid #f0d998;
    color: #8a6400;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    justify-content: center;
}

.od-pay-deadline-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

.od-pay-deadline-note.is-expired {
    background: #fff5f5;
    border-color: #f0c4c4;
    color: #a12b2b;
}

.track-not-found {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9fd 100%);
    border: 1px solid #e0ebf5;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 60, 113, .06);
    padding: 52px 24px;
    text-align: center;
}

.track-not-found-icon {
    align-items: center;
    background: #eaf3fb;
    border-radius: 50%;
    color: #003C71;
    display: inline-flex;
    font-size: 1.7rem;
    height: 72px;
    justify-content: center;
    margin-bottom: 16px;
    width: 72px;
}

.track-not-found h2 {
    color: #003C71;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.track-not-found p {
    color: #6b7c8d;
    line-height: 1.7;
    margin: 0 auto 18px;
    max-width: 520px;
}

.track-not-found p strong {
    color: #355064;
}

.track-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 768px) {
    .od-layout {
        grid-template-columns: 1fr;
    }

    .od-main>.od-addr-card,
    .od-shops,
    .od-side>.od-summary-card,
    .od-side>.od-track-payment-card {
        grid-column: 1;
        grid-row: auto;
    }

    .od-shops,
    .od-side>.od-track-payment-card {
        height: auto;
    }

    .od-layout {
        align-items: start;
    }
}

/* ── Product Review Styles ── */
.od-item-review-wrap {
    margin-top: 6px;
}

.od-review-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #d97706;
    color: #b45309;
    background: #fffbeb;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.od-review-btn-add:hover {
    background: #fef3c7;
    color: #92400e;
    border-color: #b45309;
    transform: translateY(-1px);
}

.od-item-reviewed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
}

.od-review-btn-edit,
.od-review-btn-view {
    color: #003C71;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.78rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.od-review-btn-edit:hover,
.od-review-btn-view:hover {
    text-decoration: underline;
    color: #00284d;
}

/* Modal Star Rating */
.rev-stars-wrap {
    padding: 4px 0;
}

.rev-stars-wrap.is-readonly .rev-star-btn {
    cursor: default;
    pointer-events: none;
    transform: none !important;
}

.rev-star-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    font-size: 1.85rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.rev-star-btn.is-active,
.rev-star-btn.is-hover {
    color: #f59e0b;
}

.rev-star-btn:hover {
    transform: scale(1.15);
}

.rev-rating-label {
    font-size: 0.95rem;
    color: #003C71;
    min-height: 24px;
}

/* Review Images Grid */
.rev-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.rev-add-img-btn {
    width: 72px;
    height: 72px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #64748b;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.rev-add-img-btn:hover {
    border-color: #003C71;
    color: #003C71;
    background: #f0f7ff;
}

.rev-add-img-btn i {
    font-size: 1.25rem;
}

.rev-preview-item {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rev-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rev-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    cursor: pointer;
    transition: background 0.15s ease;
    padding: 0;
}

.rev-preview-remove:hover {
    background: #ef4444;
}