/* Order history — my-orders (.cph-shell.co-page; width must match portal column + tab dock)
   Typography: inherit App Look from portal-chrome.css (--kf-app-font-family, --kf-app-fs-*). */
:root {
    --kf-app-gutter: var(--kf-space-2, 8px);
    --coh-card-radius: var(--kf-radius-md, 12px);
    --coh-thumb: 58px;
}

.co-page {
    max-width: var(--bh-layout-max, 420px);
    margin-left: auto;
    margin-right: auto;
}

.co-title {
    margin: 0;
    font-size: clamp(var(--kf-app-fs-heading), 4vw, calc(var(--kf-app-fs-heading) * 1.35));
    font-weight: 700;
    letter-spacing: -0.03em;
}

.co-scroll {
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    border: 1px solid var(--ca-line);
    background: #fff;
}

.co-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: var(--kf-app-fs-body);
}

.co-table th,
.co-table td {
    padding: 9px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.co-table th {
    font-weight: 700;
    color: var(--ca-muted);
    background: #fafafa;
    white-space: nowrap;
}

.co-table tbody tr:last-child td {
    border-bottom: 0;
}

.co-table td {
    font-weight: 500;
    color: var(--ca-ink);
}

.co-num {
    width: 2.25rem;
    text-align: center;
    font-weight: 700;
    color: var(--ca-muted);
}

.co-empty {
    margin: 0;
    padding: 20px 14px;
    font-size: var(--kf-app-fs-body);
    color: var(--ca-muted);
    text-align: center;
    line-height: 1.45;
}

body.bh-page .co-scroll {
    background: var(--bh-card, #faf6f1);
    border-color: rgba(220, 196, 178, 0.72);
}

body.bh-page .co-table th {
    background: var(--bh-surface-deep, #f3ebe4);
}

body.bh-page .co-table th,
body.bh-page .co-table td {
    border-bottom-color: rgba(220, 196, 178, 0.45);
}

/* ── My orders (/my-orders): compact grid, no horizontal scroll, zebra striping ── */
/* ── My orders: activity feed (wallet-style) */
body.orders-feed-page {
    background:
        rgba(52, 211, 153, 0.09),
        #f8fafc;
}

.coh-main.cph-main {
    max-width: var(--bh-layout-max, 420px);
    margin-left: auto;
    margin-right: auto;
}

/* Orders hub — same shell as Shop / My basket / Veggies */
body.mh-page.orders-feed-page main.orders-page-hub .mh-basket-hub__toolbar-text--gfy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    text-align: center;
}

body.mh-page.orders-feed-page .coh-orders-hub__sub {
    margin: 0;
    font-size: calc(var(--kf-app-fs-small) * 1.05);
    font-weight: 400;
    line-height: 1.45;
    color: var(--mh-muted, var(--ca-muted));
    text-align: center;
}

/* Orders: font sizes match shop / veggies hub + `bh-card` line rows (App Look tokens) */
body.mh-page.orders-feed-page .mh-basket-hub__title {
    font-size: clamp(1.05rem, 4vw, 1.22rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

body.mh-page.orders-feed-page .coh-activity__title {
    font-size: var(--kf-app-fs-body);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

body.mh-page.orders-feed-page .coh-activity__badge {
    font-size: var(--kf-app-fs-small);
    letter-spacing: 0.04em;
}

body.mh-page.orders-feed-page .coh-card__title,
body.mh-page.orders-feed-page .coh-card__price {
    font-size: var(--kf-app-fs-small);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

body.mh-page.orders-feed-page .coh-card__price {
    letter-spacing: -0.015em;
}

body.mh-page.orders-feed-page .coh-card__meta {
    font-size: var(--kf-app-fs-small);
    line-height: 1.35;
}

body.mh-page.orders-feed-page .coh-card__src {
    font-size: calc(var(--kf-app-fs-small) * 0.72);
    letter-spacing: 0.05em;
}

body.mh-page.orders-feed-page .coh-card__more {
    font-size: calc(var(--kf-app-fs-small) * 0.85);
}

body.mh-page.orders-feed-page .coh-card__pay,
body.mh-page.orders-feed-page .coh-card__pill {
    font-size: calc(var(--kf-app-fs-small) * 0.88);
    letter-spacing: 0.03em;
}

body.mh-page.orders-feed-page .coh-empty__text {
    font-size: var(--kf-app-fs-body);
    line-height: 1.55;
}

body.mh-page.orders-feed-page .kf-feed-end,
body.mh-page.orders-feed-page .kf-activity-io-hint {
    font-size: var(--kf-app-fs-small);
}

body.mh-page.orders-feed-page .kf-activity-io-hint--ok {
    color: #166534;
}

body.mh-page.orders-feed-page .kf-activity-io-hint--err {
    color: #b91c1c;
}

/* Entire my-orders surface: no bold / heavy weights — except lively redesign elements */
body.mh-page.orders-feed-page:not(.orders-page-lively) .mh-basket-hub__title,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-activity__title,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-activity__badge,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__src,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__more,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__title,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__price,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__meta,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__meta-sep,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__pay,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-card__pill,
body.mh-page.orders-feed-page:not(.orders-page-lively) .coh-empty__btn,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kf-feed-more,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kf-feed-end,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kf-activity-io-hint,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kph-hero__eyebrow,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kph-hero__tag,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kph-wallet__amt,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kph-wallet-tip__text,
body.mh-page.orders-feed-page:not(.orders-page-lively) .kph-wallet-tip__link {
    font-weight: 400;
}

body.mh-page.orders-feed-page .mh-home-basket-module .bh-basket-stage__content {
    min-width: 0;
}

body.mh-page.orders-feed-page .mh-home-basket-module .coh-empty {
    margin: 0;
}

.coh-head {
    text-align: center;
    margin: 0;
    padding: 0;
}

.coh-head__title {
    margin: 0;
    font-size: clamp(calc(var(--kf-app-fs-heading) * 0.92), 3.8vw, calc(var(--kf-app-fs-heading) * 1.35));
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.14;
    background: #047857;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-wrap: balance;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .coh-head__title {
        color: #047857;
    }
}

.coh-head__rule {
    display: block;
    width: min(104px, 38%);
    height: 2px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.45);
    box-shadow: 0 1px 10px rgba(13, 148, 136, 0.2);
}

.coh-head__sub {
    margin: 6px 0 0;
    font-size: var(--kf-app-fs-small);
    line-height: 1.45;
    color: var(--ca-muted);
    font-weight: 550;
}

.coh-activity {
    margin: 0;
}

.coh-activity__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--kf-app-gutter);
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.coh-activity__title {
    margin: 0;
    font-size: calc(var(--kf-app-fs-heading) * 0.94);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ca-ink);
}

.coh-activity__badge {
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: calc(var(--kf-app-fs-small) * 0.92);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ca-muted);
    background: rgba(236, 253, 245, 0.9);
    border: 1px solid rgba(110, 231, 183, 0.45);
    border-radius: 999px;
}

.coh-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 2px;
}

.coh-feed--grouped {
    gap: 14px;
}

.coh-delivery-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coh-delivery-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--coh-card-radius);
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.coh-delivery-strip__icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.coh-delivery-strip__text {
    flex: 1;
    min-width: 0;
}

.coh-delivery-strip__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #064e3b;
    line-height: 1.25;
}

.coh-delivery-strip__sub {
    margin: 2px 0 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(6, 78, 59, 0.72);
    line-height: 1.3;
}

.coh-delivery-strip__count {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(6, 78, 59, 0.75);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.coh-delivery-group__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 2px;
}

/* Delivery week slip + channel sections + per-order placement toggles */
.coh-feed--slips {
    gap: 12px;
}

.coh-delivery-slip {
    border-radius: var(--coh-card-radius);
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

.coh-delivery-slip__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    background: rgba(16, 185, 129, 0.12);
}

.coh-delivery-slip__toggle::-webkit-details-marker {
    display: none;
}

.coh-delivery-slip__toggle::after {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid rgba(6, 78, 59, 0.55);
    border-bottom: 2px solid rgba(6, 78, 59, 0.55);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.coh-delivery-slip[open] .coh-delivery-slip__toggle::after {
    transform: rotate(-135deg);
}

.coh-delivery-slip__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.coh-delivery-slip__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.coh-delivery-slip__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #064e3b;
    letter-spacing: -0.02em;
}

.coh-delivery-slip__ref,
.coh-placement__ref {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(6, 78, 59, 0.78);
}

.coh-delivery-slip__sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(6, 78, 59, 0.72);
}

.coh-delivery-slip__id {
    display: block;
    margin-top: 1px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: rgba(100, 116, 139, 0.85);
}

.coh-delivery-slip__count {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(6, 78, 59, 0.78);
}

.coh-delivery-slip__money {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1.35;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.coh-delivery-slip__meta {
    display: none;
}

.coh-delivery-slip__total {
    font-size: 0.82rem;
    font-weight: 700;
    color: #064e3b;
}

.coh-delivery-slip__pay {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-top: 2px;
    max-width: 11rem;
    text-align: right;
}

.coh-delivery-slip__pay-line {
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(6, 78, 59, 0.78);
}

.coh-delivery-slip__pay-line--due {
    font-weight: 700;
    color: #b45309;
}

.coh-delivery-slip__body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coh-delivery-slip__billing {
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: rgba(236, 253, 245, 0.65);
}

.coh-delivery-slip__billing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 2px 0;
}

.coh-delivery-slip__billing-row--total {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
}

.coh-delivery-slip__billing-label {
    color: rgba(6, 78, 59, 0.72);
}

.coh-delivery-slip__billing-note {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(6, 78, 59, 0.55);
    line-height: 1.3;
}

.coh-delivery-slip__billing-value {
    font-weight: 700;
    color: #064e3b;
    white-space: nowrap;
}

.coh-channel-section__label {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ca-muted, #64748b);
}

.coh-channel-section--custom .coh-channel-section__label {
    color: #047857;
}

.coh-channel-section--mini_midi .coh-channel-section__label {
    color: #b45309;
}

.coh-channel-section--grocery .coh-channel-section__label {
    color: #1d4ed8;
}

.coh-channel-section__placements {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coh-placement {
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    overflow: hidden;
}

.coh-placement__toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}

.coh-placement__toggle::-webkit-details-marker {
    display: none;
}

/* Slim order strip shown above each order's items when a category holds several orders. */
.coh-placement__strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px 12px;
}

.coh-placement__title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ca-ink, #0f172a);
    flex: 0 0 auto;
}

.coh-placement__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.coh-placement__when {
    font-size: 0.68rem;
    color: var(--ca-muted, #64748b);
}

.coh-placement__pay {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 999px;
}

.coh-placement__pill {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ca-muted, #64748b);
}

.coh-placement__amount {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ca-ink, #0f172a);
}

.coh-placement__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 8px 10px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.coh-placement__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0 12px;
}

.coh-card__edit {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 6px 12px;
    font: inherit;
    font-size: calc(var(--kf-app-fs-small) * 1.02);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #14532d;
    background: #ecfdf5;
    border: 1px solid rgba(21, 128, 61, 0.35);
    border-radius: 999px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.coh-card__edit:active {
    opacity: 0.88;
}

.coh-placement__cancel-note {
    margin: 8px 10px 0;
    font-size: 0.78rem;
    color: #64748b;
}

@keyframes coh-card-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes coh-card-img-pop {
    from {
        opacity: 0.88;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coh-card {
    --coh-enter: 0;
    position: relative;
    font-family: var(--kf-app-font-family, system-ui, sans-serif);
    border-radius: var(--coh-card-radius);
    border: 1px solid rgba(15, 23, 42, 0.055);
    background: rgba(255, 255, 255, 0.99);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.88) inset,
        0 4px 14px rgba(15, 23, 42, 0.055),
        0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    animation: coh-card-rise 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--coh-enter) * 38ms);
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.2s ease;
}

.coh-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: #34d399;
    opacity: 0.75;
    pointer-events: none;
}

.coh-card__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 8px;
}

.coh-card__media {
    position: relative;
    flex-shrink: 0;
    width: var(--coh-thumb);
}

.coh-card__frame {
    width: var(--coh-thumb);
    height: var(--coh-thumb);
    border-radius: 12px;
    overflow: hidden;
    background: #ecfdf5;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.coh-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    animation: coh-card-img-pop 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--coh-enter) * 38ms + 48ms);
}

.coh-card__src {
    position: absolute;
    top: 3px;
    left: 3px;
    padding: 2px 5px;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 5px;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.coh-card__src--basket {
    color: #065f46;
    background: rgba(236, 253, 245, 0.94);
    border: 1px solid rgba(52, 211, 153, 0.42);
}

.coh-card__src--shop {
    color: #312e81;
    background: rgba(238, 242, 255, 0.94);
    border: 1px solid rgba(165, 180, 252, 0.5);
}

.coh-card__more {
    position: absolute;
    right: 2px;
    bottom: 2px;
    min-width: 1.15rem;
    padding: 2px 4px;
    font-size: 0.5625rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
    line-height: 1.05;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.coh-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.coh-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.coh-card__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: calc(var(--kf-app-fs-body) * 1.02);
    font-weight: 800;
    line-height: 1.28;
    color: var(--ca-ink, #0f172a);
    letter-spacing: -0.028em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.coh-card__tier {
    display: inline;
    padding: 0.12rem 0.35rem;
    border-radius: 0;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: calc(var(--kf-app-fs-body) * 0.82);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.coh-card__price {
    flex-shrink: 0;
    margin: 0;
    padding-top: 1px;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: var(--ca-ink, #0f172a);
    white-space: nowrap;
}

.coh-card__meta {
    margin: 3px 0 0;
    padding: 0;
    font-size: calc(var(--kf-app-fs-small) * 0.95);
    font-weight: 600;
    line-height: 1.35;
    color: var(--ca-muted, #64748b);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.coh-card__meta-sep {
    opacity: 0.45;
    font-weight: 500;
    user-select: none;
}

.coh-card__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.coh-card__row-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.coh-card__cancel {
    margin: 0;
    padding: 6px 12px;
    font: inherit;
    font-size: calc(var(--kf-app-fs-small) * 1.02);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #7f1d1d;
    background: #fff1f2;
    border: 1px solid rgba(190, 18, 60, 0.35);
    border-radius: 999px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.coh-card__cancel:active {
    opacity: 0.88;
}

.coh-card__cancel--locked,
.coh-card__cancel:disabled {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #cbd5e1;
    cursor: not-allowed;
    opacity: 1;
}

.coh-card__cancel--locked:active,
.coh-card__cancel:disabled:active {
    opacity: 1;
}

.coh-cancel-order-status {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 10px;
}

.coh-cancel-order-status[hidden] {
    display: none !important;
}

.coh-cancel-order-status--ok {
    color: #065f46;
    background: rgba(236, 253, 245, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.coh-cancel-order-status--err {
    color: #991b1b;
    background: rgba(254, 242, 242, 0.95);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.coh-cancel-order-hint {
    margin: 0 0 10px;
}

.coh-cancel-order-modal .cw-modal__intro {
    line-height: 1.45;
}

.coh-card__pay {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid transparent;
    line-height: 1.15;
}

.coh-card__pay--ok {
    color: #14532d;
    background: #dcfce7;
    border-color: rgba(34, 197, 94, 0.32);
}

.coh-card__pay--pend {
    color: #92400e;
    background: #fef3c7;
    border-color: rgba(251, 191, 36, 0.4);
}

.coh-card__pay--bad {
    color: #7f1d1d;
    background: #fee2e2;
    border-color: rgba(248, 113, 113, 0.35);
}

.coh-card__pay--muted {
    color: #475569;
    background: #f1f5f9;
    border-color: rgba(203, 213, 225, 0.9);
}

.coh-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1.15;
    color: #115e59;
    background: rgba(204, 251, 241, 0.85);
    border: 1px solid rgba(45, 212, 191, 0.35);
}

@media (hover: hover) and (pointer: fine) {
    .coh-card:hover {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 8px 22px rgba(15, 23, 42, 0.07),
            0 2px 6px rgba(15, 23, 42, 0.04);
    }

    .coh-card:hover .coh-card__img {
        transform: scale(1.04);
    }
}

.coh-card:active {
    transform: scale(0.988);
}

@media (prefers-reduced-motion: reduce) {
    .coh-card,
    .coh-card__img {
        animation: none !important;
    }

    .coh-card {
        transition: none;
    }

    .coh-card:active {
        transform: none;
    }

    @media (hover: hover) and (pointer: fine) {
        .coh-card:hover .coh-card__img {
            transform: none;
        }
    }
}

.coh-empty {
    text-align: center;
    padding: 26px 18px;
    border-radius: 18px;
    border: 1px dashed rgba(110, 231, 183, 0.45);
    background:
        rgba(209, 250, 229, 0.55),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.coh-empty__glyph {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 8px;
}

.coh-empty__text {
    margin: 0;
    font-size: var(--kf-app-fs-body);
    line-height: 1.55;
    color: var(--ca-muted);
}

main[data-kf-nav='orders'] .co-title--orders {
    margin: 4px 0 6px;
    font-size: clamp(var(--kf-app-fs-heading), 3.8vw, calc(var(--kf-app-fs-heading) * 1.32));
    font-weight: 800;
    letter-spacing: -0.034em;
}

main[data-kf-nav='orders'] .co-orders-empty-card {
    border-radius: 14px;
    border: 1px solid rgba(220, 196, 178, 0.55);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

main[data-kf-nav='orders'] .co-orders-scroll {
    margin-top: 8px;
    overflow-x: visible;
    border-radius: 12px;
    border: 1px solid rgba(220, 210, 198, 0.8);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

main[data-kf-nav='orders'] .co-table--orders {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: var(--kf-app-fs-small);
    line-height: 1.3;
}

main[data-kf-nav='orders'] .co-table--orders th,
main[data-kf-nav='orders'] .co-table--orders td {
    padding: 5px 3px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

main[data-kf-nav='orders'] .co-table--orders thead th {
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #064e3b;
    white-space: normal;
    background: #bbf7d0;
    border-bottom: 1px solid rgba(6, 95, 70, 0.25);
}

main[data-kf-nav='orders'] .co-table--orders thead th abbr {
    text-decoration: none;
    cursor: help;
}

main[data-kf-nav='orders'] .co-table--orders tbody td {
    font-weight: 600;
    color: var(--ca-ink, #0f172a);
}

main[data-kf-nav='orders'] .co-table--orders tbody tr:nth-child(odd) {
    background: rgba(236, 253, 245, 0.65);
}

main[data-kf-nav='orders'] .co-table--orders tbody tr:nth-child(even) {
    background: rgba(255, 251, 235, 0.85);
}

main[data-kf-nav='orders'] .co-table--orders tbody tr:last-child td {
    border-bottom: 0;
}

main[data-kf-nav='orders'] .co-table--orders .co-num {
    width: 4%;
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #64748b;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(2),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(2) {
    width: 24%;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(3),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(3) {
    width: 17%;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(4),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(4) {
    width: 13%;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(5),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(5) {
    width: 14%;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.045em;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(6),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(6) {
    width: 14%;
}

main[data-kf-nav='orders'] .co-table--orders th:nth-child(7),
main[data-kf-nav='orders'] .co-table--orders td:nth-child(7) {
    width: 14%;
}

/* Wallet page — my-wallet (layout + sections) */
.cw-shell.co-page {
    max-width: var(--bh-layout-max, 420px);
}

.cw-inner {
    padding: 8px 10px 12px;
}

@media (min-width: 421px) {
    .cw-inner {
        padding: 12px 14px 20px;
    }
}

.cw-page-head {
    margin-bottom: 20px;
}

.cw-page-head__title {
    margin: 0;
    font-size: clamp(var(--kf-app-fs-heading), 4vw, calc(var(--kf-app-fs-heading) * 1.4));
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--kf-shell-ink, #0f172a);
}

.cw-page-head__sub {
    margin: 10px 0 0;
    font-size: var(--kf-app-fs-body);
    line-height: 1.5;
    color: var(--kf-shell-muted, #64748b);
    font-weight: 500;
}

.cw-section {
    margin-bottom: 20px;
}

.cw-section:last-child {
    margin-bottom: 4px;
}

.cw-section__label {
    margin: 0 0 10px;
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--kf-shell-muted, #64748b);
}

.cw-section__title {
    margin: 0;
    font-size: var(--kf-app-fs-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--kf-shell-ink, #0f172a);
}

.cw-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cw-section__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: var(--kf-app-fs-small);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kf-shell-muted, #64748b);
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(220, 196, 178, 0.55);
    border-radius: 999px;
}

.cw-section--info {
    padding: 18px 16px;
    background: var(--bh-card, #faf6f1);
    border: 1px solid rgba(220, 196, 178, 0.55);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.cw-section--info .cw-section__title {
    margin-bottom: 12px;
}

.cw-info-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: var(--kf-app-fs-body);
    line-height: 1.55;
    color: var(--bh-ink, #0f172a);
}

.cw-info-list li {
    margin-bottom: 8px;
}

.cw-info-list li:last-child {
    margin-bottom: 0;
}

.cw-info-list strong {
    font-weight: 800;
    color: var(--kf-shell-ink, #0f172a);
}

.cw-balance-card {
    padding: 18px 16px 16px;
    background: #f8faf8;
    border: 1px solid rgba(74, 92, 56, 0.22);
    box-shadow:
        0 4px 18px rgba(32, 44, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cw-balance-card__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cw-balance-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0;
    color: #3d5234;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(74, 92, 56, 0.18);
    box-shadow: 0 2px 8px rgba(32, 44, 30, 0.06);
}

.cw-balance-card__body {
    min-width: 0;
    flex: 1;
}

.cw-balance-card__amount {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.cw-balance-card__value {
    font-size: clamp(var(--kf-app-fs-heading), 8vw, calc(var(--kf-app-fs-heading) * 2.3));
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    color: var(--kf-shell-ink, #0f172a);
    font-variant-numeric: tabular-nums;
}

.cw-balance-card__unit {
    font-size: var(--kf-app-fs-heading);
    font-weight: 700;
    color: var(--kf-shell-muted, #64748b);
}

.cw-balance-card__hint {
    margin: 6px 0 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    color: var(--kf-shell-muted, #64748b);
}

.cw-balance-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    color: var(--kf-cta-ink, #3f2d22);
    background: #f2d8c4;
    border: 0;
    border-radius: 0;
    box-shadow: 0 6px 16px var(--kf-cta-shadow, rgba(170, 95, 55, 0.22));
}

.cw-balance-card__cta:active {
    transform: scale(0.99);
}

button.cw-balance-card__cta {
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}

.cw-empty-card {
    padding: 28px 20px;
    text-align: center;
    background: var(--bh-card, #faf6f1);
    border: 1px dashed rgba(220, 196, 178, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cw-empty-card__text {
    margin: 0;
    font-size: var(--kf-app-fs-body);
    line-height: 1.5;
    color: var(--kf-shell-muted, #64748b);
    font-weight: 500;
}

.cw-empty-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 22px;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    text-decoration: none;
    color: var(--kf-cta-ink, #3f2d22);
    background: #f2d8c4;
    border: 0;
    box-shadow: 0 4px 12px var(--kf-cta-shadow, rgba(170, 95, 55, 0.18));
}

.cw-empty-card__link:active {
    transform: scale(0.98);
}

.cw-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    border: 1px solid rgba(220, 196, 178, 0.72);
    background: var(--bh-card, #faf6f1);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.cw-type-pill {
    display: inline-block;
    padding: 2px 8px;
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.cw-type-pill--in {
    color: #14532d;
    background: #dcfce7;
    border-color: rgba(34, 197, 94, 0.35);
}

.cw-type-pill--out {
    color: #9a3412;
    background: #ffedd5;
    border-color: rgba(234, 88, 12, 0.28);
}

.cw-notes-cell {
    max-width: 140px;
    font-size: var(--kf-app-fs-body);
    line-height: 1.35;
    word-break: break-word;
}

/* Wallet history — my-wallet table */
.co-table.cw-table {
    min-width: 720px;
}

body.bh-page .cw-table-wrap {
    border-color: rgba(220, 196, 178, 0.72);
}

body.bh-page .cw-table-wrap .co-table th {
    background: var(--bh-surface-deep, #f3ebe4);
}

body.bh-page .cw-table-wrap .co-table th,
body.bh-page .cw-table-wrap .co-table td {
    padding: 10px 12px;
    border-bottom-color: rgba(220, 196, 178, 0.45);
}

.cw-chg--in {
    color: #166534;
    font-weight: 700;
    white-space: nowrap;
}

.cw-chg--out {
    color: #9a3412;
    font-weight: 700;
    white-space: nowrap;
}

/* Wallet — flash + recharge modal */
.cw-flash {
    margin: 0 0 14px;
    padding: 12px 14px;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.45;
    border: 1px solid transparent;
}

.cw-flash--ok {
    color: #14532d;
    background: #ecfdf3;
    border-color: rgba(34, 197, 94, 0.35);
}

.cw-flash--err {
    color: #7f1d1d;
    background: #fef2f2;
    border-color: rgba(248, 113, 113, 0.45);
}

.cw-balance-card__offline {
    margin: 16px 0 0;
    padding: 12px 14px;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.45;
    color: var(--kf-shell-muted, #64748b);
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(74, 92, 56, 0.28);
}

.cw-modal[hidden] {
    display: none !important;
}

.cw-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .cw-modal {
        align-items: center;
        padding: 24px;
    }
}

.cw-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.cw-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    max-height: min(88vh, 560px);
    overflow: auto;
    margin: 0 auto;
    padding: 20px 18px 18px;
    background: var(--bh-card, #faf6f1);
    border: 1px solid rgba(220, 196, 178, 0.72);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cw-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cw-modal__title {
    margin: 0;
    font-size: var(--kf-app-fs-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--kf-shell-ink, #0f172a);
}

.cw-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: -6px -8px 0 0;
    padding: 0;
    border: 0;
    font-size: clamp(var(--kf-app-fs-heading), 5vw, calc(var(--kf-app-fs-heading) * 1.65));
    line-height: 1;
    font-weight: 300;
    color: var(--kf-shell-muted, #64748b);
    background: transparent;
    cursor: pointer;
    border-radius: 0;
}

.cw-modal__close:active {
    transform: scale(0.94);
}

.cw-modal__intro {
    margin: 0 0 16px;
    font-size: var(--kf-app-fs-body);
    line-height: 1.5;
    color: var(--kf-shell-muted, #64748b);
    font-weight: 500;
}

.cw-modal__label {
    display: block;
    margin: 0 0 6px;
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kf-shell-muted, #64748b);
}

.cw-modal__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: var(--kf-app-fs-heading);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--kf-shell-ink, #0f172a);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 196, 178, 0.85);
    border-radius: 0;
    font-family: inherit;
}

.cw-modal__input:focus {
    outline: 2px solid rgba(45, 72, 40, 0.35);
    outline-offset: 1px;
}

.cw-modal__hint {
    margin: 8px 0 0;
    font-size: var(--kf-app-fs-body);
    color: var(--kf-shell-muted, #64748b);
    font-weight: 500;
    line-height: 1.4;
}

.cw-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.cw-modal__btn {
    flex: 1 1 auto;
    min-width: 100px;
    font-family: inherit;
    cursor: pointer;
    border: 0;
}

.cw-modal__btn:active {
    transform: scale(0.99);
}

/* ── My orders unified chrome (/my-orders) — one white slab with header; divider = kph delivery strip ── */
body.orders-page-unified.orders-feed-page {
    --kf-page-bg: #ffffff;
    --kf-earth-green: #ffffff;
    background: #ffffff;
}

body.orders-page-unified.bh-page.with-login-bottom-nav header.kph {
    margin-bottom: 0;
    box-shadow: none;
}

body.orders-page-unified.bh-page.with-login-bottom-nav .kph-hero {
    border-bottom: none;
    box-shadow: none;
}

body.orders-page-unified.mh-page main#cph-main.cph-main.orders-feed-main[data-kf-nav='orders'] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-block: 0;
    min-width: 0;
    background: #ffffff;
}

body.orders-page-unified.mh-page main#cph-main.orders-feed-main[data-kf-nav='orders'] > .mh-basket-hub.orders-page {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    overflow: visible;
}

body.orders-page-unified .orders-page__toolbar {
    padding: 14px 14px 10px;
    background: transparent;
}

body.orders-page-unified .orders-page__body {
    padding: 0 14px calc(18px + env(safe-area-inset-bottom, 0px));
    background: transparent;
}

body.orders-page-unified .mh-basket-hub__chrome,
body.orders-page-unified .mh-basket-hub__divider,
body.orders-page-unified .mh-basket-hub__grab {
    display: none !important;
}

body.orders-page-unified .mh-home-basket-module .bh-module,
body.orders-page-unified .mh-home-basket-module .bh-basket-stage,
body.orders-page-unified .mh-home-basket-module .bh-basket-stage__content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

body.orders-page-unified .coh-orders-feed {
    margin: 0;
    min-width: 0;
}

body.orders-page-unified .coh-card--admin-cancelled .coh-card__title {
    color: #64748b;
}

body.orders-page-unified .coh-card--admin-cancelled .coh-card__pill,
body.orders-page-unified .coh-placement:has(.coh-card--admin-cancelled) .coh-placement__pill {
    color: #b45309;
    background: rgba(251, 191, 36, 0.16);
}

body.orders-page-unified .coh-orders-cancelled-nav {
    display: flex;
    justify-content: center;
    margin: 14px 0 4px;
    padding-top: 2px;
}

body.orders-page-unified .coh-orders-cancelled-nav__link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-family: var(--kf-app-font-family, inherit);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-transform: none;
    text-align: center;
    color: #64748b;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: rgba(100, 116, 139, 0.45);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

body.orders-page-unified .coh-orders-cancelled-nav__link:hover,
body.orders-page-unified .coh-orders-cancelled-nav__link:focus-visible {
    color: #475569;
    text-decoration-color: rgba(71, 85, 105, 0.75);
    outline: none;
}

body.orders-page-unified .coh-empty .coh-orders-cancelled-nav__link {
    margin-top: 10px;
}

body.orders-page-unified .coh-feed-more-wrap {
    align-items: center;
    margin: 14px 0 6px;
    gap: 10px;
}

body.orders-page-unified .kf-feed-more-wrap--done .coh-feed-more-link,
body.orders-page-unified .kf-feed-more-wrap--done .kf-activity-sentinel {
    display: none !important;
}

body.orders-page-unified .coh-feed-more-link[hidden] {
    display: none !important;
}

body.orders-page-unified .coh-feed-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 6px 2px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--kf-app-font-family, inherit);
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    text-transform: none;
    color: #0d9488;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(13, 148, 136, 0.45);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        color 0.18s ease,
        text-decoration-color 0.18s ease,
        opacity 0.18s ease;
}

body.orders-page-unified .coh-feed-more-link::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-top: 1px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.85;
    flex-shrink: 0;
}

body.orders-page-unified .coh-feed-more-link:hover,
body.orders-page-unified .coh-feed-more-link:focus-visible {
    color: #047857;
    text-decoration-color: rgba(4, 120, 87, 0.75);
    outline: none;
}

body.orders-page-unified .coh-feed-more-link:focus-visible {
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.28);
    border-radius: 4px;
}

body.orders-page-unified .coh-feed-more-link:active:not(:disabled) {
    opacity: 0.82;
}

body.orders-page-unified .coh-feed-more-link:disabled {
    opacity: 0.55;
    cursor: wait;
    text-decoration-style: dotted;
}

body.orders-page-unified .coh-feed-end {
    margin-top: 2px;
    font-size: var(--kf-app-fs-small);
    font-weight: 600;
    color: var(--ca-muted, #64748b);
}

body.orders-page-unified.bh-page:not(.bh-page--embed) main#cph-main.cph-main > section.mh-basket-hub.orders-page {
    padding: 0;
}
/* Orders lively hero + content — /my-orders (shop-style QC lane) */
body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) {
    --orders-lively-mint: #10b981;
    --orders-lively-teal: #0d9488;
    --orders-lively-sun: #f59e0b;
    --orders-lively-coral: #fb7185;
    --orders-lively-ink: #0f172a;
    --kf-page-bg: var(--kf-nature-page, #f7faf8);
    --kf-earth-green: var(--kf-nature-surface, #f8fcfa);
    background: var(--kf-nature-page-bg, #f8fcfa);
}

body.orders-page-unified.orders-page-lively.orders-feed-page {
    background: var(--kf-nature-page-bg, #f8fcfa);
}

body.orders-page-unified.orders-page-lively.mh-page main#cph-main.orders-feed-main[data-kf-nav='orders'] {
    background: transparent;
}

body.orders-page-unified.orders-page-lively.mh-page main#cph-main.orders-feed-main[data-kf-nav='orders'] > .mh-basket-hub.orders-page {
    background: transparent;
}

body.orders-page-unified.orders-page-lively .orders-page__toolbar {
    display: none !important;
}

body.orders-page-unified.orders-page-lively .orders-page__body {
    padding: 0 0 calc(18px + env(safe-area-inset-bottom, 0px));
}

body.orders-page-unified.orders-page-lively .orders-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
}

body.orders-page-unified.orders-page-lively .orders-page__hero,
body.orders-page-unified.orders-page-lively .orders-content-band,
body.orders-page-unified.orders-page-lively .orders-flow .mh-home-boxes {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
}

body.orders-page-unified.orders-page-lively .orders-flow .mh-home-boxes {
    padding-inline: 10px;
}

@media (max-width: 767.98px) {
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-page__hero,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-page-hero,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-flow .mh-home-boxes,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-content-band {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

@media (min-width: 768px) {
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-page__hero,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-page-hero,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-flow .mh-home-boxes,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-content-band {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

body.orders-page-unified.orders-page-lively .orders-page-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: var(--kf-portal-hero-pad-y, 12px) var(--kf-portal-hero-pad-x, 16px);
    text-align: center;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(167, 243, 208, 0.45);
    background: var(--kf-nature-hero-bg, #f8fcfa);
    box-shadow: none;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.75;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blob--a {
    width: 120px;
    height: 120px;
    top: -28px;
    left: -20px;
    background: rgba(74, 222, 128, 0.55);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blob--b {
    width: 100px;
    height: 100px;
    top: -10px;
    right: -16px;
    background: rgba(251, 191, 36, 0.5);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blob--c {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: 42%;
    background: rgba(56, 189, 248, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
    body.orders-page-unified.orders-page-lively .orders-page-hero__blob--a {
        animation: orders-page-blob-drift 7s ease-in-out infinite;
    }

    body.orders-page-unified.orders-page-lively .orders-page-hero__blob--b {
        animation: orders-page-blob-drift 8s ease-in-out infinite 0.8s;
    }

    body.orders-page-unified.orders-page-lively .orders-page-hero__blob--c {
        animation: orders-page-blob-drift 6.5s ease-in-out infinite 1.4s;
    }
}

@keyframes orders-page-blob-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6px, -8px) scale(1.06);
    }
}

body.orders-page-unified.orders-page-lively .orders-page-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__eyebrow {
    margin: 0;
    padding: 5px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px 6px 10px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid rgba(251, 146, 60, 0.45);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__chip-icon {
    font-size: 1rem;
    line-height: 1;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    background: #065f46;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.orders-page-unified.orders-page-lively .orders-page-hero__title {
        color: #065f46;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

body.orders-page-unified.orders-page-lively .orders-page-hero__sub {
    position: relative;
    z-index: 1;
    margin: 10px auto 0;
    max-width: 34ch;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(15, 23, 42, 0.72);
    text-align: center;
}

body.orders-page-unified.orders-page-lively .orders-content-band {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.orders-page-unified.orders-page-lively .orders-content-band .bh-basket-stage__content {
    padding: 0;
}

body.orders-page-unified.orders-page-lively .coh-empty {
    margin: 8px 0 16px;
    padding: 28px 18px;
    text-align: center;
    border-radius: 0;
    background:
        rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.08);
}

body.orders-page-unified.orders-page-lively .coh-empty__glyph {
    font-size: 2.25rem;
    margin-bottom: 8px;
}

body.orders-page-unified.orders-page-lively .coh-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 22px;
    border-radius: 0;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: #059669;
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.28);
}

body.orders-page-unified.orders-page-lively .coh-card {
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 18px rgba(16, 185, 129, 0.06);
}

body.orders-page-unified.orders-page-lively .coh-card::before {
    background: var(--orders-lively-mint);
    opacity: 0.85;
}

body.orders-page-unified.orders-page-lively .coh-card__frame {
    border-radius: 0;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

body.orders-page-unified.orders-page-lively .coh-card__src--shop {
    background: #fff7ed;
    color: #9a3412;
    border-color: rgba(251, 146, 60, 0.4);
}

body.orders-page-unified.orders-page-lively .coh-card__src--basket {
    background: #ecfdf5;
    color: #047857;
    border-color: rgba(16, 185, 129, 0.35);
}

body.orders-page-unified.orders-page-lively .coh-feed-more-link {
    padding: 8px 14px;
    border-radius: 0;
    text-decoration: none;
    color: #ffffff;
    background: #0d9488;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
}

body.orders-page-unified.orders-page-lively .coh-feed-more-link::after {
    border-color: #ffffff;
}

body.orders-page-unified.orders-page-lively .coh-feed-more-link:hover,
body.orders-page-unified.orders-page-lively .coh-feed-more-link:focus-visible {
    color: #ffffff;
    background: #047857;
}

@media (prefers-reduced-motion: reduce) {
    body.orders-page-unified.orders-page-lively .orders-page-hero__blob {
        animation: none !important;
    }
}

/* My orders — Available Categories tiles sit below the empty-state card */
body.orders-page-unified.orders-page-lively .coh-orders-empty-categories {
    position: relative;
    z-index: 1;
    margin: 0.35rem 0 0.75rem;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty-categories .mh-home-boxes {
    display: block !important;
    margin: 0;
    padding: 0;
}

body.orders-page-unified.orders-page-lively .mh-basket-hub__zone--basket.orders-page__body {
    padding: 0;
}

body.orders-page-unified.orders-page-lively .orders-content-band .bh-basket-stage__content,
body.orders-page-unified.orders-page-lively .coh-orders-feed,
body.orders-page-unified.orders-page-lively .coh-feed--slips {
    padding: 0;
    margin: 0;
}

body.orders-page-unified.orders-page-lively .coh-feed--slips,
body.orders-page-unified.orders-page-lively .coh-delivery-group {
    gap: 0;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__toggle {
    padding: 12px var(--kf-portal-hero-pad-x, 16px);
    background: transparent;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__body {
    padding: 0 var(--kf-portal-hero-pad-x, 16px) 14px;
    gap: 10px;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__billing {
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.9);
    box-shadow: none;
}

body.orders-page-unified.orders-page-lively .coh-channel-section {
    margin: 0;
}

body.orders-page-unified.orders-page-lively .coh-channel-section__placements {
    gap: 0;
}

body.orders-page-unified.orders-page-lively .coh-placement {
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
    box-shadow: none;
}

body.orders-page-unified.orders-page-lively .coh-placement__toggle {
    padding: 12px 14px;
}

body.orders-page-unified.orders-page-lively .coh-placement__items {
    padding: 0 14px 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    gap: 6px;
}

body.orders-page-unified.orders-page-lively.mh-page .coh-card {
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 18px rgba(16, 185, 129, 0.06);
}

body.orders-page-unified.orders-page-lively .coh-empty {
    margin: 8px var(--kf-portal-hero-pad-x, 16px) 16px;
    padding: 28px 18px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 767.98px) {
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .orders-content-band,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .coh-delivery-slip__toggle,
    body.orders-page-unified.orders-page-lively:has(#cph-main[data-kf-nav='orders']) .coh-delivery-slip__body {
        padding-inline: max(var(--kf-portal-hero-pad-x, 16px), env(safe-area-inset-left, 0px));
    }
}

/* ── Orders lively restore — wins over portal design-system flattening ── */
body.orders-page-unified.orders-page-lively.orders-feed-page {
    background: var(--kf-nature-page-bg, #f0f7f4) !important;
}

body.orders-page-unified.orders-page-lively .orders-page-hero--photo {
    position: relative;
    min-height: 12.5rem;
    padding: 0 !important;
    overflow: hidden;
    border-bottom: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.orders-page-unified.orders-page-lively .orders-page-hero--banner {
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
    border-bottom: none !important;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

body.orders-page-unified.orders-page-lively .orders-page-hero--banner .orders-page-hero__photo {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__head {
    padding: 0.85rem 1rem 0.75rem;
    background: #ffffff;
    border-bottom: 2px solid var(--kf-solid-orange, #ea580c);
    text-align: center;
}

body.orders-page-unified.orders-page-lively .orders-page-hero--banner .orders-page-hero__head .orders-page-hero__title {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', var(--kf-app-font-family, system-ui, sans-serif) !important;
    font-size: clamp(1.05rem, 4.4vw, 1.3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 35%, rgba(15, 23, 42, 0.96) 100%);
    pointer-events: none;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__content {
    position: relative;
    z-index: 2;
    padding: 1rem 1rem 1.1rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__top {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem !important;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__eyebrow {
    margin: 0;
    padding: 0.28rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: #065f46;
    border: 1px solid #047857;
    border-radius: 0;
    text-shadow: none;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__chip {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.32rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    color: #fff;
    background: #b45309;
    border: 1px solid #92400e;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__title {
    margin: 0 !important;
    font-family: 'Plus Jakarta Sans', var(--kf-app-font-family, system-ui, sans-serif) !important;
    font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.12 !important;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

body.orders-page-unified.orders-page-lively .orders-page-hero__title-accent {
    color: #a7f3d0 !important;
    background: none !important;
    -webkit-text-fill-color: #a7f3d0 !important;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__sub {
    display: block !important;
    margin: 0.55rem auto 0 !important;
    max-width: 36ch;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1.5;
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

body.orders-page-unified.orders-page-lively .orders-page-hero__blob {
    opacity: 0.35 !important;
    filter: blur(24px);
}

body.orders-page-unified.orders-page-lively .orders-content-band {
    padding: 0.65rem 0 0;
    background: transparent;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip {
    margin: 0 0.75rem 0.65rem;
    border: 2px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    box-shadow:
        0 2px 0 #94a3b8,
        0 8px 22px -10px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__toggle {
    padding: 0.75rem 0.85rem;
    background: linear-gradient(90deg, #ecfdf5 0%, #fff 55%);
    cursor: pointer;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__title {
    font-weight: 800 !important;
    color: #0f172a;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__id {
    font-size: 0.55rem !important;
    font-weight: 500;
    color: rgba(100, 116, 139, 0.8);
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__count {
    color: #475569;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__money {
    color: #334155;
}

body.orders-page-unified.orders-page-lively .coh-delivery-slip__body {
    padding: 0 0.85rem 0.85rem;
    background: #fff;
}

body.orders-page-unified.orders-page-lively .coh-placement {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    background: #f8fafc;
    margin-top: 0.45rem;
}

body.orders-page-unified.orders-page-lively .coh-placement__toggle {
    padding: 12px 14px;
}

body.orders-page-unified.orders-page-lively .coh-placement__actions {
    padding: 0 14px 10px;
}

body.orders-page-unified.orders-page-lively .coh-placement__items {
    padding: 0 14px 12px;
}

body.orders-page-unified.orders-page-lively .coh-feed-more-wrap {
    padding: 0 0.75rem;
}

body.orders-page-unified.orders-page-lively .coh-feed-more-link {
    width: 100%;
    justify-content: center;
    font-weight: 800 !important;
}

body.orders-page-unified.orders-page-lively .coh-orders-cancelled-nav {
    padding-inline: 0.75rem;
}

body.orders-page-unified.orders-page-lively .coh-empty__btn {
    font-weight: 800 !important;
}

/* Empty orders — lively panel + category shortcuts (like empty cart) */
body.orders-page-unified.orders-page-lively .coh-orders-empty--lively {
    position: relative;
    overflow: hidden;
    margin: 0.65rem 0.75rem 1rem;
    padding: 1.35rem 1rem 1.15rem;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    box-shadow:
        0 2px 0 #94a3b8,
        0 10px 28px -12px rgba(15, 23, 42, 0.2);
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__blob--a {
    width: 120px;
    height: 120px;
    top: -40px;
    left: -30px;
    background: rgba(74, 222, 128, 0.45);
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__blob--b {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: -24px;
    background: rgba(251, 191, 36, 0.35);
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__icon {
    position: relative;
    z-index: 1;
    font-size: 2.1rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #047857;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__title {
    position: relative;
    z-index: 1;
    margin: 0 0 0.45rem;
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__title-accent {
    color: #059669;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__hint {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 34ch;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    color: #64748b;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__home {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.orders-page-unified.orders-page-lively .coh-orders-empty__home:hover,
body.orders-page-unified.orders-page-lively .coh-orders-empty__home:focus-visible {
    color: #475569;
    outline: none;
}

body.orders-page-unified.orders-page-lively .coh-empty {
    margin: 0.65rem 0.75rem 1rem;
}

/* My Orders — cart-like category accordions (Vegetable / Fruit / Grocery) */
body.orders-page-unified.orders-page-lively .coh-orders-cat-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat {
    --coh-orders-cat-color: #059669;
    margin: 0;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 6px 18px -14px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 12px 12px 14px;
    border: 0;
    border-left: 4px solid var(--coh-orders-cat-color);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--coh-orders-cat-color) 10%, #ffffff) 0%, #ffffff 100%);
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__head::-webkit-details-marker {
    display: none;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__title-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #14532d;
    line-height: 1.25;
    max-width: 100%;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__count {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #166534;
    background: color-mix(in srgb, var(--coh-orders-cat-color) 14%, #ffffff);
    padding: 0.12rem 0.45rem;
    line-height: 1.35;
    white-space: nowrap;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__count--ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(100, 116, 139, 0.95);
    background: #f1f5f9;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__submeta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    max-width: 100%;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__oid,
body.orders-page-unified.orders-page-lively .coh-placement__oid {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: rgba(100, 116, 139, 0.9);
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__money {
    display: block;
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1.35;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__pay,
body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement__pay {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__units,
body.orders-page-unified.orders-page-lively .coh-orders-cat__price {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.1;
    white-space: nowrap;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__units {
    background: color-mix(in srgb, var(--coh-orders-cat-color) 14%, #ffffff);
    color: color-mix(in srgb, var(--coh-orders-cat-color) 72%, #000000);
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__price {
    background: #ecfdf5;
    color: #166534;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__chevron {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat[open] .coh-orders-cat__chevron,
body.orders-page-unified.orders-page-lively .coh-orders-cat--open .coh-orders-cat__chevron {
    transform: rotate(180deg);
}

body.orders-page-unified.orders-page-lively .coh-orders-cat__body {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fafefa;
    padding: 0;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-channel-section__placements {
    gap: 0;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement {
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: transparent;
    box-shadow: none;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement:first-child,
body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement--flat {
    border-top: none;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement__toggle {
    padding: 11px 12px;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement__strip {
    padding: 9px 12px;
    background: #f6faf7;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.orders-page-unified.orders-page-lively .coh-placement__strip .coh-placement__title {
    font-size: 0.82rem;
    font-weight: 750;
    color: #14532d;
}

body.orders-page-unified.orders-page-lively .coh-placement__strip .coh-placement__amount {
    margin-left: auto;
    font-size: 0.82rem;
}

body.orders-page-unified.orders-page-lively .coh-orders-cat .coh-placement__items {
    padding: 0;
    border-top: none;
    background: #fafefa;
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.orders-page-unified.orders-page-lively .coh-placement--flat .coh-placement__items {
    padding-top: 0;
}

body.orders-page-unified.orders-page-lively .coh-order-line {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(4.5rem, 0.7fr) minmax(3.6rem, 0.55fr) 2rem;
    gap: 8px 10px;
    align-items: start;
    padding: 11px 12px;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.orders-page-unified.orders-page-lively .coh-order-line:last-child {
    border-bottom: 0;
}

body.orders-page-unified.orders-page-lively .coh-order-line__main {
    min-width: 0;
}

body.orders-page-unified.orders-page-lively .coh-order-line__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

body.orders-page-unified.orders-page-lively .coh-order-line__when {
    margin-top: 3px;
    font-size: 0.68rem;
    font-weight: 550;
    color: #94a3b8;
    line-height: 1.25;
}

body.orders-page-unified.orders-page-lively .coh-order-line__units,
body.orders-page-unified.orders-page-lively .coh-order-line__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 0;
}

body.orders-page-unified.orders-page-lively .coh-order-line__col-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1;
}

body.orders-page-unified.orders-page-lively .coh-order-line__units-val {
    font-size: 0.78rem;
    font-weight: 650;
    color: #475569;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

body.orders-page-unified.orders-page-lively .coh-order-line__price-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: #14532d;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
}

body.orders-page-unified.orders-page-lively .coh-order-line__action {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 1px;
}

body.orders-page-unified.orders-page-lively .coh-order-line__cancel {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.12);
    color: #dc2626;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease;
}

body.orders-page-unified.orders-page-lively .coh-order-line__cancel:hover,
body.orders-page-unified.orders-page-lively .coh-order-line__cancel:focus-visible {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
    outline: none;
}

body.orders-page-unified.orders-page-lively .coh-order-line--admin-cancelled {
    opacity: 0.72;
}

body.orders-page-unified.orders-page-lively .coh-order-line--admin-cancelled .coh-order-line__title {
    text-decoration: line-through;
    color: #64748b;
}

@media (max-width: 380px) {
    body.orders-page-unified.orders-page-lively .coh-order-line {
        grid-template-columns: minmax(0, 1fr) auto auto 1.75rem;
        gap: 6px 8px;
        padding: 10px 10px;
    }

    body.orders-page-unified.orders-page-lively .coh-order-line__title {
        font-size: 0.84rem;
    }

    body.orders-page-unified.orders-page-lively .coh-order-line__units-val {
        font-size: 0.7rem;
    }

    body.orders-page-unified.orders-page-lively .coh-order-line__price-val {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.orders-page-unified.orders-page-lively .orders-page-hero__blob {
        animation: none !important;
    }

    body.orders-page-unified.orders-page-lively .coh-orders-cat__chevron {
        transition: none;
    }
}
