/* Stage 4 / S — tenant shop themes (light default in styles-v2.css) */

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #000000;
    --bg-soft: #1c1c1e;
    --card: #1c1c1e;
    --surface: #161617;
    --surface-2: #2c2c2e;
    --elevated: #2c2c2e;
    --ink: #f5f5f7;
    --ink-soft: #d1d1d6;
    --muted: #8e8e93;
    --line: #2c2c2e;
    --brand: #0a84ff;
    --brand-dark: #0066cc;
    --accent: #0a84ff;
    --accent-2: #0066cc;
    --success: #30d158;
    --danger: #ff453a;
    --warn: #ff9f0a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.65);
}

/* Shell + sections still using hardcoded light tints in base CSS */
html[data-theme="dark"] .topbar {
    background: rgba(0, 0, 0, 0.85);
}

html[data-theme="dark"] .product__badge {
    background: rgba(28, 28, 30, 0.92);
    color: var(--ink-soft);
}

html[data-theme="dark"] .vacancy-card {
    box-shadow: none;
}

html[data-theme="dark"] .vacancy-card__pill {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .sheet-backdrop {
    background: rgba(0, 0, 0, 0.62);
}

html[data-theme="dark"] .cart-bar {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .cart-bar--tracking {
    background: rgba(0, 0, 0, 0.92);
    border-top-color: var(--line);
}

html[data-theme="dark"] .cart-bar__status {
    color: var(--brand);
}

html[data-theme="dark"] .shop-order-banner {
    background: color-mix(in srgb, #000 88%, var(--brand, #0a84ff));
    border-bottom-color: color-mix(in srgb, var(--brand, #0a84ff) 30%, var(--line));
}

html[data-theme="dark"] .shop-order-banner__main {
    background: #1c1c1e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .shop-order-banner__title,
html[data-theme="dark"] .shop-status-hero__title {
    color: #f5f5f7;
}

html[data-theme="dark"] .shop-status-stage__icon {
    background: color-mix(in srgb, var(--brand, #0a84ff) 18%, #1c1c1e);
}

html[data-theme="dark"] .shop-status-pill {
    background: rgba(10, 132, 255, 0.16);
    color: #6cb8ff;
}

html[data-theme="dark"] .shop-status-pill__dot {
    background: var(--brand);
}

html[data-theme="dark"] .shop-status-step.is-done {
    border-color: rgba(48, 209, 88, 0.4);
    color: #6fdd8b;
    background: rgba(48, 209, 88, 0.12);
}

html[data-theme="dark"] .shop-status-step.is-active {
    border-color: rgba(10, 132, 255, 0.5);
    color: #6cb8ff;
    background: rgba(10, 132, 255, 0.12);
}

html[data-theme="dark"] .shop-status-step.is-cancelled {
    border-color: rgba(255, 69, 58, 0.45);
    color: #ff8a80;
    background: rgba(255, 69, 58, 0.14);
}

html[data-theme="dark"] .shop-status-amendments {
    background: rgba(255, 159, 10, 0.1);
    border-color: rgba(255, 159, 10, 0.3);
    color: var(--ink-soft);
}

html[data-theme="dark"] .shop-status-delivery-fee {
    background: rgba(255, 159, 10, 0.12);
    border-color: rgba(255, 159, 10, 0.3);
    color: #ffc466;
}

html[data-theme="dark"] .shop-status-courier-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .shop-status-courier-card__phone {
    color: var(--ink, #f2f4f8);
}

html[data-theme="dark"] .shop-order-lines__item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .notice--info {
    background: rgba(10, 132, 255, 0.14);
    color: #6cb8ff;
}

html[data-theme="dark"] .notice--warn {
    background: rgba(255, 159, 10, 0.12);
    color: #ffc466;
}

html[data-theme="dark"] .notice--error {
    background: rgba(255, 69, 58, 0.14);
    color: #ff8a80;
}

html[data-theme="dark"] .notice--ok {
    background: rgba(48, 209, 88, 0.14);
    color: #6fdd8b;
}

html[data-theme="dark"] .status-pill.st-inprogress,
html[data-theme="dark"] .status-pill.st-submitted {
    background: rgba(10, 132, 255, 0.16);
    color: #6cb8ff;
}

html[data-theme="dark"] .status-pill.st-approved,
html[data-theme="dark"] .status-pill.st-completed {
    background: rgba(48, 209, 88, 0.14);
    color: #6fdd8b;
}

html[data-theme="dark"] .status-pill.st-canceled,
html[data-theme="dark"] .status-pill.st-removed,
html[data-theme="dark"] .status-pill.st-notfound {
    background: rgba(255, 69, 58, 0.14);
    color: #ff8a80;
}

html[data-theme="dark"] .pickup-option,
html[data-theme="dark"] .contact-action {
    background: var(--card);
}

html[data-theme="dark"] .summary {
    background: var(--card);
}

html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder {
    color: var(--muted);
}

html[data-theme="dark"] .pickup-option.is-selected {
    background: rgba(10, 132, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .phone-field .phone-wrap:focus-within {
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

html[data-theme="dark"] .status-pill.st-inprogress .dot,
html[data-theme="dark"] .status-pill.st-submitted .dot {
    background: var(--brand);
}

html[data-theme="dark"] .status-pill.st-approved .dot,
html[data-theme="dark"] .status-pill.st-completed .dot {
    background: var(--success);
}

html[data-theme="dark"] .status-pill.st-canceled .dot,
html[data-theme="dark"] .status-pill.st-removed .dot,
html[data-theme="dark"] .status-pill.st-notfound .dot {
    background: #ff8a80;
}

html[data-theme="dark"] .contact-action__icon {
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .shop-status-step {
    background: var(--card);
}

html[data-theme="dark"] .shop-status-eta,
html[data-theme="dark"] .shop-order-lines {
    background: var(--card);
}

html[data-theme="dark"] .checkout-payment-hint {
    background: var(--card);
}

html[data-theme="dark"] .cart-bar__cta--track {
    background: var(--brand);
    box-shadow: none;
}

html[data-theme="dark"] select option {
    background: var(--card);
    color: var(--ink);
}

html[data-theme="dark"] footer {
    background: var(--surface);
    border-top-color: var(--line);
}

html[data-theme="dark"] .toast {
    background: rgba(44, 44, 46, 0.95);
}

html[data-theme="dark"] .brand__mark {
    background: var(--ink);
    color: var(--bg);
}

html[data-theme="dark"] .catalog__card,
html[data-theme="dark"] .product,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .cart-empty,
html[data-theme="dark"] .status-card {
    box-shadow: none;
}

html[data-theme="dark"] .sheet {
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .toggle-row button.is-active {
    background: var(--elevated);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .phone-field .phone-wrap {
    background: var(--card);
}

html[data-theme="dark"] .phone-field .phone-prefix {
    background: var(--surface-2);
}

html[data-theme="dark"] .contact-action:not(.contact-action--wa) {
    background: var(--card);
}

html[data-theme="dark"] .contact-action:not(.contact-action--wa) .contact-action__icon {
    background: var(--surface-2);
    color: var(--ink);
}

html[data-theme="dark"] .vacancy-card__skill {
    background: var(--surface-2);
}

html[data-theme="dark"] .reviews-section {
    background: var(--bg);
    border-color: var(--line);
}

html[data-theme="dark"] .reviews-nav {
    background: var(--card);
}

html[data-theme="dark"] .reviews-nav:hover {
    background: var(--surface-2);
}

html[data-theme="dark"] .stepper {
    background: var(--surface);
}

html[data-theme="dark"] .stepper button {
    background: var(--elevated);
}

html[data-theme="dark"] .stepper button:hover {
    background: var(--surface-2);
}

html[data-theme="light"] {
    color-scheme: light;
}

.shop-point-wrap {
    margin-bottom: 14px;
}

.shop-point-picker__label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink-soft);
}

.shop-point-picker__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-point-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    background: var(--card);
}

.shop-point-option.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.shop-point-option input {
    margin-top: 3px;
}

.shop-point-option small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
}

.shop-point-hint {
    margin-bottom: 0;
}

.story__quote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--brand);
    font-style: italic;
    color: var(--ink-soft);
}

.hero--has-image {
    position: relative;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero--has-image .hero__content {
    position: relative;
    z-index: 1;
}

.checkout-payment-hint {
    font-size: 13px;
    line-height: 1.45;
    color: var(--ink-soft);
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

/* --- Order status tracker (storefront poll) --- */
.shop-order-banner {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 10px 16px;
    background: color-mix(in srgb, var(--bg, #fff) 92%, var(--brand, #0071e3));
    border-bottom: 1px solid color-mix(in srgb, var(--brand, #0071e3) 22%, var(--line, #e5e5ea));
    backdrop-filter: blur(10px);
}

.shop-order-banner[hidden] {
    display: none !important;
}

.shop-order-banner__main {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    background: var(--bg, #fff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.shop-order-banner__main:active {
    transform: scale(0.99);
}

.shop-order-banner__pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand, #0071e3);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, #0071e3) 45%, transparent);
    flex-shrink: 0;
}

.shop-order-banner--live .shop-order-banner__pulse {
    animation: shop-banner-pulse 1.6s ease-out infinite;
}

.shop-order-banner--done .shop-order-banner__pulse {
    background: var(--success, #248a3d);
    box-shadow: none;
}

.shop-order-banner--cancelled .shop-order-banner__pulse,
.shop-order-banner--removed .shop-order-banner__pulse {
    background: var(--danger, #d70015);
}

.shop-order-banner__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.shop-order-banner__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.shop-order-banner__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink, #1d1d1f);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-order-banner__sub {
    font-size: 12px;
    color: var(--ink-soft, #6e6e73);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-order-banner__cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand, #0071e3);
    white-space: nowrap;
}

@keyframes shop-banner-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, #0071e3) 45%, transparent); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.shop-status-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-status-hero {
    text-align: center;
    margin: 4px 0 14px;
}

.shop-status-hero__order {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand, #0071e3);
    margin-bottom: 4px;
}

.shop-status-hero__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--ink, #1d1d1f);
}

.shop-status-hero__sub {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-soft, #6e6e73);
}

.shop-status-hero--bump,
.shop-status-panel.shop-status-hero--bump {
    animation: shop-status-bump 0.55s ease;
}

.shop-status-stage {
    display: flex;
    justify-content: center;
    margin: 8px 0 4px;
}

.shop-status-stage__orb {
    position: relative;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
}

.shop-status-stage__ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--brand, #0071e3) 35%, transparent);
    opacity: 0;
}

.shop-status-stage--live .shop-status-stage__ring {
    animation: shop-stage-ring 2s ease-out infinite;
}

.shop-status-stage--live .shop-status-stage__ring--delay {
    animation-delay: 1s;
}

.shop-status-stage__icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand, #0071e3) 12%, var(--bg, #fff));
    border: 2px solid color-mix(in srgb, var(--brand, #0071e3) 35%, transparent);
}

/* accepted / waiting */
.shop-status-stage--submitted .shop-status-stage__icon,
.shop-status-stage--approved .shop-status-stage__icon {
    box-shadow: inset 0 0 0 8px transparent;
}

.shop-status-stage--submitted .shop-status-stage__icon::before,
.shop-status-stage--approved .shop-status-stage__icon::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: var(--brand, #0071e3);
    animation: shop-status-pulse 1.4s ease-in-out infinite;
}

/* cooking */
.shop-status-stage--preparing .shop-status-stage__icon {
    background: color-mix(in srgb, #ff9f0a 14%, var(--bg, #fff));
    border-color: color-mix(in srgb, #ff9f0a 40%, transparent);
}

.shop-status-stage--preparing .shop-status-stage__icon::before,
.shop-status-stage--preparing .shop-status-stage__icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9f0a;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    animation: shop-stage-steam 1.2s ease-in-out infinite;
}

.shop-status-stage--preparing .shop-status-stage__icon::after {
    left: calc(50% + 10px);
    animation-delay: 0.35s;
    width: 6px;
    height: 6px;
}

.shop-status-stage--preparing .shop-status-stage__orb::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9f0a;
    left: calc(50% - 14px);
    bottom: 30px;
    animation: shop-stage-steam 1.2s ease-in-out infinite 0.2s;
    z-index: 2;
}

/* packing */
.shop-status-stage--ready .shop-status-stage__icon {
    border-radius: 14px;
    animation: shop-stage-pack 1.5s ease-in-out infinite;
}

.shop-status-stage--ready .shop-status-stage__icon::before {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 2px;
    background: color-mix(in srgb, var(--brand, #0071e3) 55%, transparent);
}

.shop-status-stage--ready .shop-status-stage__icon::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 2px;
    background: color-mix(in srgb, var(--brand, #0071e3) 55%, transparent);
}

/* delivery */
.shop-status-stage--dispatched .shop-status-stage__icon {
    overflow: hidden;
}

.shop-status-stage--dispatched .shop-status-stage__icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--brand, #0071e3);
    top: 19px;
    left: -10px;
    animation: shop-stage-courier 1.4s linear infinite;
}

.shop-status-stage--dispatched .shop-status-stage__icon::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 14px;
    height: 2px;
    background: color-mix(in srgb, var(--brand, #0071e3) 30%, transparent);
}

/* done */
.shop-status-stage--done .shop-status-stage__icon,
.shop-status-stage--delivered .shop-status-stage__icon {
    background: color-mix(in srgb, var(--success, #248a3d) 14%, var(--bg, #fff));
    border-color: color-mix(in srgb, var(--success, #248a3d) 45%, transparent);
}

.shop-status-stage--done .shop-status-stage__icon::before,
.shop-status-stage--delivered .shop-status-stage__icon::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 20px;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--success, #248a3d);
    border-bottom: 3px solid var(--success, #248a3d);
    transform: rotate(-45deg);
}

/* cancelled */
.shop-status-stage--cancelled .shop-status-stage__icon,
.shop-status-stage--removed .shop-status-stage__icon {
    background: color-mix(in srgb, var(--danger, #d70015) 10%, var(--bg, #fff));
    border-color: color-mix(in srgb, var(--danger, #d70015) 35%, transparent);
}

.shop-status-stage--cancelled .shop-status-stage__icon::before,
.shop-status-stage--removed .shop-status-stage__icon::before,
.shop-status-stage--cancelled .shop-status-stage__icon::after,
.shop-status-stage--removed .shop-status-stage__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background: var(--danger, #d70015);
    transform: translateX(-50%) rotate(45deg);
}

.shop-status-stage--cancelled .shop-status-stage__icon::after,
.shop-status-stage--removed .shop-status-stage__icon::after {
    transform: translateX(-50%) rotate(-45deg);
}

@keyframes shop-stage-ring {
    0% { transform: scale(0.75); opacity: 0.55; }
    100% { transform: scale(1.25); opacity: 0; }
}

@keyframes shop-stage-steam {
    0% { transform: translate(-50%, 0) scale(0.8); opacity: 0.2; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -22px) scale(1.1); opacity: 0; }
}

@keyframes shop-stage-pack {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes shop-stage-courier {
    0% { left: -12px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 50px; opacity: 0; }
}

.shop-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--brand, #0071e3);
    font-size: 14px;
    margin-bottom: 12px;
}

.shop-status-pill__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand, #0071e3);
    flex-shrink: 0;
}

.shop-status-pill--pulse .shop-status-pill__dot {
    animation: shop-status-pulse 1.4s ease-in-out infinite;
}

@keyframes shop-status-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.shop-status-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 12px;
    justify-content: center;
}

.shop-status-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: var(--bg-soft);
}

.shop-status-step.is-done {
    border-color: rgba(36, 138, 61, 0.35);
    color: var(--success, #248a3d);
    background: rgba(36, 138, 61, 0.08);
}

.shop-status-step.is-active {
    border-color: var(--brand, #0071e3);
    color: var(--brand, #0071e3);
    background: rgba(0, 113, 227, 0.08);
    font-weight: 600;
}

.shop-status-step.is-cancelled {
    border-color: rgba(224, 82, 82, 0.45);
    color: #c62828;
    background: rgba(224, 82, 82, 0.1);
    font-weight: 600;
}

.shop-status-step__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.shop-status-step.is-active .shop-status-step__dot {
    animation: shop-status-pulse 1.4s ease-in-out infinite;
}

.shop-status-eta {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg-soft);
    border: 1px dashed var(--line);
}

.shop-status-track {
    display: inline-block;
    margin: 6px 0 10px;
    font-weight: 600;
    color: var(--brand);
}

.shop-status-courier {
    font-size: 13px;
    margin-bottom: 6px;
}

.shop-status-courier-card {
    margin: 8px 0 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.shop-status-courier-card__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 8px;
}

.shop-status-courier-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.shop-status-courier-card__phone {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--ink, #111);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.shop-status-courier-card__phone:hover,
.shop-status-courier-card__phone:active {
    color: var(--brand, #0071e3);
}

.shop-status-courier-card__phone--text {
    cursor: default;
}

.shop-status-courier-card__track {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand, #0071e3);
    text-decoration: none;
    white-space: nowrap;
}

.shop-status-courier-card__track:hover {
    text-decoration: underline;
}

.shop-status-courier-card__name {
    margin-top: 4px;
    font-size: 13px;
    color: var(--ink-soft, var(--muted));
}

.shop-status-note {
    font-size: 13px;
    margin: 8px 0;
    color: var(--ink-soft);
}

.shop-status-amendments {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(201, 52, 0, 0.06);
    border: 1px solid rgba(201, 52, 0, 0.2);
    font-size: 12px;
}

.shop-status-amendments ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.shop-status-amendments__title {
    font-weight: 600;
}

/* --- Post-checkout: order bar + tracking sheet --- */
.cart-bar--tracking {
    background: color-mix(in srgb, var(--bg, #ffffff) 96%, transparent);
    border-top-color: var(--line, #e5e5ea);
}

.cart-bar__row--order {
    animation: shop-order-bar-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-bar__status {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand, #0071e3);
}

.cart-bar__status--live::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    animation: shop-status-pulse 1.4s ease-in-out infinite;
}

.cart-bar__cta--track {
    background: var(--brand, #0071e3);
    box-shadow: none;
}

body.has-active-order {
    padding-bottom: 96px;
}

.sheet--tracking .sheet__body {
    padding-top: 4px;
}

.order-track-flow--enter {
    animation: shop-track-panel-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-order-bar-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shop-track-panel-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-order-lines {
    margin-bottom: 14px;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.shop-order-lines__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 8px;
}

.shop-order-lines__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-order-lines__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    font-size: 14px;
}

.shop-order-lines__item:last-child {
    border-bottom: 0;
}

.shop-order-lines__name {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.35;
}

.shop-order-lines__qty {
    display: inline;
    margin-left: 0.35em;
    color: var(--muted);
    font-size: 0.92em;
    font-weight: 500;
    white-space: nowrap;
}

.shop-order-lines__sum {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.shop-order-lines__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 15px;
}

.shop-status-pill--bump {
    animation: shop-status-bump 0.55s ease;
}

.shop-status-steps--flash .shop-status-step.is-active {
    animation: shop-status-bump 0.55s ease;
}

@keyframes shop-status-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.shop-new-order-btn {
    border-style: dashed;
}

.shop-status-delivery-fee {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(201, 52, 0, 0.06);
    border: 1px solid rgba(201, 52, 0, 0.25);
    color: var(--warn, #c93400);
    font-size: 14px;
    font-weight: 600;
}
