        /* ══════════════════════════════════════════════════════════════
           Order status + Track order (2026 layout) - built on the PartyEdit
           theme variables. order-status.aspx also loads checkout.css for the
           order summary (co-summary, oc-items).
           ══════════════════════════════════════════════════════════════ */
        .os-page [hidden] { display: none !important; }

        .os-page {
            max-width: 1180px;
            margin: 0 auto;
            padding: 32px 24px 64px;
        }

        .os-eyebrow {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--coral);
        }

        .os-title {
            margin-top: 6px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 40px;
            font-weight: 700;
            line-height: 1.1;
            color: var(--plum);
        }

        .os-subtitle { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--grey); }
        .os-muted { font-size: 13px; line-height: 1.5; color: var(--grey); }
        .os-muted strong { color: var(--plum); }
        .os-optional { font-weight: 400; color: var(--grey); }
        .os-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

        .os-card {
            padding: 24px;
            border-radius: 16px;
            background: var(--white);
            border: 1px solid var(--beige);
        }

        .os-card__title {
            margin-bottom: 14px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--plum);
        }

        /* Buttons */
        .os-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 13px 22px;
            border: 1px solid transparent;
            border-radius: 999px;
            font: inherit;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: filter 0.2s, border-color 0.2s, color 0.2s;
        }
        .os-btn--primary { background: var(--coral); color: var(--white); }
        .os-btn--primary:hover { filter: brightness(0.92); }
        .os-btn--ghost { background: transparent; border-color: var(--beige); color: var(--plum); }
        .os-btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
        .os-btn--block { width: 100%; }
        .os-btn:disabled { opacity: 0.65; cursor: progress; }
        .os-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

        .os-link {
            margin-top: 14px;
            padding: 0;
            border: none;
            background: none;
            font: inherit;
            font-size: 14px;
            font-weight: 600;
            color: var(--coral);
            text-decoration: underline;
            text-underline-offset: 3px;
            cursor: pointer;
        }

        .os-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
        .os-pill--progress { background: var(--accent-pink); color: var(--plum); }
        .os-pill--done { background: #e3f4ea; color: #1f7a45; }
        .os-pill--muted { background: var(--bg); color: var(--grey); }

        .os-empty { padding: 72px 16px; text-align: center; }
        .os-empty__icon { font-size: 48px; margin-bottom: 12px; }
        .os-empty .os-subtitle { margin-bottom: 20px; }

        /* ── Order status layout ── */
        .os-head { margin-bottom: 20px; }

        .os-due {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            padding: 14px 18px;
            border-radius: 14px;
            background: #fdf0e1;
            font-size: 14px;
            color: #7a4310;
        }
        .os-due .os-btn { padding: 10px 20px; }

        .os-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 24px;
            align-items: start;
        }
        .os-main, .os-side { display: grid; gap: 20px; }
        .os-side .co-card { margin: 0; }

        /* Progress steps */
        .os-steps {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            list-style: none;
            counter-reset: step;
        }
        .os-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
        .os-step::before {
            content: '';
            position: absolute;
            top: 15px;
            left: calc(-50% + 18px);
            right: calc(50% + 18px);
            height: 3px;
            border-radius: 2px;
            background: var(--beige);
        }
        .os-step:first-child::before { display: none; }
        .os-step.is-done::before, .os-step.is-current::before { background: var(--coral); }

        .os-step__dot {
            position: relative;
            z-index: 1;
            width: 32px; height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 2px solid var(--beige);
            background: var(--white);
        }
        .os-step__dot svg { width: 16px; height: 16px; fill: none; stroke: transparent; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
        .os-step.is-done .os-step__dot { background: var(--coral); border-color: var(--coral); }
        .os-step.is-done .os-step__dot svg { stroke: var(--white); }
        .os-step.is-current .os-step__dot { border-color: var(--coral); box-shadow: 0 0 0 5px var(--accent-pink); }
        .os-step.is-current .os-step__dot::after {
            content: '';
            width: 10px; height: 10px;
            border-radius: 50%;
            background: var(--coral);
        }

        .os-step__text { display: flex; flex-direction: column; gap: 2px; }
        .os-step__text strong { font-size: 13px; font-weight: 600; color: var(--plum); }
        .os-step__text span { font-size: 12px; color: var(--grey); }
        .os-step:not(.is-done):not(.is-current) .os-step__text strong { color: var(--grey); font-weight: 500; }

        .os-note { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 13px; color: var(--plum); text-align: center; }

        /* Shipment */
        .os-facts { display: grid; gap: 10px; }
        .os-facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
        .os-facts dt { color: var(--grey); }
        .os-facts dd { font-weight: 600; color: var(--plum); text-align: right; word-break: break-word; }
        .os-track { margin-top: 18px; }

        /* Review - saved */
        .os-stars-static { display: inline-flex; gap: 3px; }
        .os-stars-static svg { width: 22px; height: 22px; fill: var(--beige); }
        .os-stars-static svg.is-on { fill: #F5A623; }
        .os-review__text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--plum); }
        .os-review__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
        .os-review__photos img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
        .os-review__reply {
            margin-top: 14px;
            padding: 12px 14px;
            border-left: 3px solid var(--coral);
            border-radius: 0 10px 10px 0;
            background: var(--bg);
            font-size: 13px;
            line-height: 1.55;
            color: var(--plum);
        }
        .os-review__reply strong { display: block; margin-bottom: 4px; font-size: 12px; color: var(--coral); }

        /* Review - form */
        .os-review__form .os-muted { margin: -6px 0 18px; }
        .os-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--plum); }
        .os-field { margin-bottom: 16px; }
        .os-input {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid var(--beige);
            border-radius: 12px;
            background: var(--white);
            font: inherit;
            font-size: 15px;
            color: var(--plum);
            transition: border-color 0.15s, box-shadow 0.15s;
        }
        .os-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--accent-pink); }
        .os-textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
        .os-error { min-height: 0; padding-top: 4px; font-size: 12px; color: #c0392b; }
        .os-error:empty { display: none; }
        .os-alert { margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #a93226; font-size: 14px; }

        /* Star picker: radios in 5..1 order, shown right-to-left so hover fills to the left */
        .os-rate { border: none; margin-bottom: 16px; }
        .os-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
        .os-rate__stars input { position: absolute; opacity: 0; pointer-events: none; }
        .os-rate__stars label { cursor: pointer; line-height: 0; }
        .os-rate__stars svg { width: 36px; height: 36px; fill: var(--beige); transition: fill 0.12s, transform 0.12s; }
        .os-rate__stars label:hover svg,
        .os-rate__stars label:hover ~ label svg,
        .os-rate__stars input:checked ~ label svg { fill: #F5A623; }
        .os-rate__stars label:hover svg { transform: scale(1.1); }
        .os-rate__stars input:focus-visible + label svg { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
        .os-rate__word { display: inline-block; margin-left: 12px; vertical-align: 12px; font-size: 14px; font-weight: 600; color: var(--plum); }

        /* Photo tiles */
        .os-photos { display: flex; flex-wrap: wrap; gap: 10px; }
        .os-photo {
            position: relative;
            width: 84px; height: 84px;
            border-radius: 12px;
            overflow: hidden;
            background: var(--bg);
        }
        .os-photo img { width: 100%; height: 100%; object-fit: cover; }
        .os-photo.is-uploading img { opacity: 0.5; }
        .os-photo.is-failed { outline: 2px solid #c0392b; }
        .os-photo.is-failed img { opacity: 0.35; }
        .os-photo__bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.7); overflow: hidden; }
        .os-photo__bar span { display: block; width: 0; height: 100%; background: var(--coral); transition: width 0.2s; }
        .os-photo:not(.is-uploading) .os-photo__bar { display: none; }
        .os-photo__remove {
            position: absolute;
            top: 4px; right: 4px;
            width: 24px; height: 24px;
            border: none;
            border-radius: 50%;
            background: rgba(75,38,50,0.75);
            color: #fff;
            font-size: 16px;
            line-height: 1;
            cursor: pointer;
        }
        .os-photo--add {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            border: 1.5px dashed var(--beige);
            background: var(--white);
            font-size: 11px;
            color: var(--grey);
            cursor: pointer;
            transition: border-color 0.15s, color 0.15s;
        }
        .os-photo--add:hover { border-color: var(--coral); color: var(--coral); }
        .os-photo--add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
        .os-photo--add svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

        .os-review__actions { display: flex; flex-wrap: wrap; gap: 10px; }

        /* Side column */
        .os-balance { font-weight: 600; color: #b4630f; }
        .os-address address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--plum); margin-bottom: 10px; }
        .os-help {
            display: block;
            padding: 16px 18px;
            border-radius: 14px;
            background: var(--accent-pink);
            font-size: 13px;
            line-height: 1.5;
            color: var(--plum);
        }
        .os-help strong { display: block; font-size: 14px; }

        /* ── Track order ── */
        .tk-wrap { max-width: 480px; margin: 0 auto; display: grid; gap: 18px; }
        .tk-hero { text-align: center; }
        .tk-hero__icon {
            width: 64px; height: 64px;
            margin: 0 auto 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--accent-pink);
        }
        .tk-hero__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--plum); stroke-width: 1.6; }

        .tk-orders { list-style: none; }
        .tk-orders li + li { border-top: 1px solid var(--beige); }
        .tk-order {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto 16px;
            align-items: center;
            gap: 12px;
            padding: 12px 8px;
            margin: 0 -8px;
            border-radius: 10px;
            transition: background 0.15s;
        }
        .tk-order:hover { background: var(--bg); }
        .tk-order__main { display: flex; flex-direction: column; }
        .tk-order__main strong { font-size: 15px; color: var(--plum); }
        .tk-order__main span { font-size: 12px; color: var(--grey); }
        .tk-order svg { width: 16px; height: 16px; fill: none; stroke: var(--grey); stroke-width: 2; }

        .tk-or { position: relative; margin-top: 16px; text-align: center; font-size: 12px; color: var(--grey); }
        .tk-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--beige); }
        .tk-or span { position: relative; padding: 0 10px; background: var(--white); }
        .tk-mine { padding-bottom: 8px; }

        .tk-field { margin-bottom: 14px; }
        .tk-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--plum); }
        .tk-input {
            width: 100%;
            padding: 13px 14px;
            border: 1px solid var(--beige);
            border-radius: 12px;
            font: inherit;
            font-size: 16px;
            color: var(--plum);
            background: var(--white);
            transition: border-color 0.15s, box-shadow 0.15s;
        }
        .tk-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--accent-pink); }
        .tk-input.is-invalid { border-color: #c0392b; }
        .tk-hint { margin-top: 4px; font-size: 12px; color: var(--grey); }
        .tk-error { padding-top: 4px; font-size: 12px; color: #c0392b; }
        .tk-error:empty { display: none; }
        .tk-captcha { margin: 4px 0 14px; }
        .tk-alert { margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #a93226; font-size: 14px; }
        .tk-help { text-align: center; font-size: 13px; color: var(--grey); }
        .tk-help a { color: var(--coral); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

        /* ── Responsive ── */
        @media (max-width: 960px) {
            .os-layout { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .os-page { padding: 20px 16px 48px; }
            .os-title { font-size: 32px; }
            .os-card { padding: 18px 16px; }

            /* Vertical tracker on phones */
            .os-steps { grid-template-columns: 1fr; gap: 18px; }
            .os-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; }
            .os-step::before { top: auto; bottom: calc(100% - 2px); left: 14.5px; right: auto; width: 3px; height: 22px; }
            .os-step__text { padding-top: 5px; }

            .os-rate__stars svg { width: 40px; height: 40px; }
            .os-rate__word { display: block; margin: 6px 0 0; }
        }
