/*
 * Account area: sign in / sign up / password reset, My account (profile, orders, addresses,
 * password) and Track order. Builds on the tokens in storefront.css (--zl-*); the form fields
 * themselves are in forms.css (shared with the sign-in popup).
 */

/* ───────────────────────── Status chips ───────────────────────── */

.zl-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.zl-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.zl-chip--plain::before { display: none; }
.zl-chip--info { background: #eaf2ff; color: #0050d0; }
.zl-chip--progress { background: #eef0ff; color: #4338ca; }
.zl-chip--warning { background: #fff5e0; color: #b45309; }
.zl-chip--success { background: #e7f7ee; color: #15803d; }
.zl-chip--danger { background: #fdeced; color: #b91c1c; }
.zl-chip--muted { background: #f1f5f9; color: #475569; }

/* ───────────────────────── Auth (split card) ───────────────────────── */

.zl-auth { padding: 40px 0 8px; background: linear-gradient(180deg, var(--zl-soft) 0%, #fff 70%); }
.zl-auth__card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); max-width: 1040px; margin: 0 auto; background: #fff; border: 1px solid var(--zl-line); border-radius: 24px; overflow: hidden; box-shadow: var(--zl-shadow); }
.zl-auth__brand {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 44px 40px; color: rgba(255, 255, 255, .86); overflow: hidden; isolation: isolate;
    background: radial-gradient(520px 320px at 90% 10%, rgba(61, 139, 255, .45), transparent 60%), linear-gradient(150deg, #06102b 0%, #0a1d55 60%, #0d2f8a 100%);
}
.zl-auth__brand::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .14), transparent 65%); z-index: -1; }
.zl-auth__brand .zl-logo { color: #fff; }
.zl-auth__kicker { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9cc5ff; margin-bottom: 10px; }
.zl-auth__headline { font-family: var(--zl-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; margin: 0 0 12px; }
.zl-auth__lead { margin: 0; font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.zl-auth__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zl-auth__perks li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.zl-auth__perks i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1rem; }
.zl-auth__perks strong { display: block; color: #fff; font-weight: 600; }
.zl-auth__help { font-size: .84rem; color: rgba(255, 255, 255, .7); }
.zl-auth__help a { color: #fff; font-weight: 600; text-decoration: none; }
.zl-auth__form { padding: 44px 48px; }
.zl-auth__title { font-family: var(--zl-display); font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; color: var(--zl-ink); margin: 0 0 6px; }
.zl-auth__sub { color: var(--zl-muted); margin: 0 0 26px; font-size: .95rem; }
.zl-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; flex-wrap: wrap; }
.zl-auth__switch { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--zl-line); text-align: center; color: var(--zl-muted); font-size: .92rem; }
.zl-auth__switch a { color: var(--zl-blue); font-weight: 600; text-decoration: none; }
.zl-auth__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--zl-soft-blue); color: var(--zl-blue); font-size: 1.6rem; margin-bottom: 18px; }

/* ───────────────────────── Account shell ───────────────────────── */

.zl-acc-hero { padding: 28px 0 26px; background: linear-gradient(120deg, #eef4ff, #f7f9ff 60%, #fff); border-bottom: 1px solid var(--zl-line); }
.zl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 10px; padding: 0; list-style: none; font-size: .82rem; color: var(--zl-muted); }
.zl-crumbs a { color: var(--zl-muted); text-decoration: none; }
.zl-crumbs a:hover { color: var(--zl-blue); }
.zl-crumbs li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .65rem; margin-right: .4rem; opacity: .7; }
.zl-acc-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.zl-acc-hero h1 { font-family: var(--zl-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--zl-ink); margin: 0; }
.zl-acc-hero p { margin: 4px 0 0; color: var(--zl-muted); }

.zl-acc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 8px; }
/* Grid children must be allowed to shrink, or a wide child (the scrolling menu on phones) widens the page */
.zl-acc > *, .zl-track > *, .zl-od > * { min-width: 0; }
.zl-acc__side { position: sticky; top: 16px; background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius-lg); padding: 18px; }
.zl-acc__user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 10px; border-bottom: 1px solid var(--zl-line); min-width: 0; }
.zl-avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--zl-blue), #5b9dff); color: #fff; font-family: var(--zl-display); font-weight: 700; font-size: 1.05rem; }
.zl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.zl-avatar--lg { width: 76px; height: 76px; font-size: 1.6rem; }
.zl-acc__user strong { display: block; color: var(--zl-ink); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl-acc__user small { display: block; color: var(--zl-muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl-acc__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.zl-acc__nav a, .zl-acc__nav button {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px;
    background: transparent; color: var(--zl-text); font-size: .93rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.zl-acc__nav i { font-size: 1.1rem; width: 20px; text-align: center; }
.zl-acc__nav a:hover, .zl-acc__nav button:hover { background: var(--zl-soft); color: var(--zl-ink); }
.zl-acc__nav a.is-active { background: var(--zl-soft-blue); color: var(--zl-blue); font-weight: 600; }
.zl-acc__nav .zl-acc__count { margin-left: auto; min-width: 22px; padding: 0 6px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--zl-soft); color: var(--zl-muted); font-size: .72rem; font-weight: 700; }
.zl-acc__nav a.is-active .zl-acc__count { background: #fff; color: var(--zl-blue); }
.zl-acc__nav form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--zl-line); }
.zl-acc__nav button:hover { color: #b91c1c; background: #fff5f5; }

.zl-acc__main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.zl-panel { background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius-lg); padding: 24px; }
.zl-panel__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; }
.zl-panel__title { font-family: var(--zl-display); font-size: 1.15rem; font-weight: 600; color: var(--zl-ink); margin: 0; letter-spacing: -.01em; display: flex; align-items: center; gap: .55rem; }
.zl-panel__title i { color: var(--zl-blue); }
.zl-panel__sub { margin: 4px 0 0; color: var(--zl-muted); font-size: .88rem; }
.zl-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--zl-line); }
.zl-panel__foot--start { justify-content: flex-start; }

.zl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zl-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.zl-stat:hover { border-color: #cfdcf5; box-shadow: var(--zl-shadow); color: inherit; }
.zl-stat i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--zl-soft-blue); color: var(--zl-blue); font-size: 1.2rem; flex-shrink: 0; }
.zl-stat strong { display: block; font-family: var(--zl-display); font-size: 1.35rem; color: var(--zl-ink); line-height: 1.1; }
.zl-stat small { color: var(--zl-muted); font-size: .82rem; }

.zl-avatar-edit { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.zl-avatar-edit__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zl-avatar-edit input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ───────────────────────── Addresses ───────────────────────── */

.zl-addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zl-address { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); background: #fff; }
.zl-address.is-default { border-color: #b9d1ff; background: linear-gradient(180deg, #f7faff, #fff 60%); }
.zl-address__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.zl-address__name { font-weight: 600; color: var(--zl-ink); font-size: 1rem; }
.zl-address__text { color: var(--zl-text); font-size: .9rem; line-height: 1.55; margin: 0; }
.zl-address__phone { color: var(--zl-muted); font-size: .86rem; margin-top: 4px; }
.zl-address__actions { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: auto; padding-top: 14px; }
.zl-address__actions form { margin: 0; }
.zl-textbtn { border: 0; background: none; padding: 0; color: var(--zl-blue); font-weight: 600; font-size: .86rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.zl-textbtn:hover { text-decoration: underline; }
.zl-textbtn--danger { color: #b91c1c; }
.zl-address--add { align-items: center; justify-content: center; text-align: center; min-height: 190px; border-style: dashed; color: var(--zl-muted); text-decoration: none; transition: border-color .15s, color .15s; }
.zl-address--add i { font-size: 1.6rem; color: var(--zl-blue); }
.zl-address--add:hover { border-color: var(--zl-blue); color: var(--zl-blue); }

/* ───────────────────────── Orders list ───────────────────────── */

.zl-orders-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.zl-orders-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.zl-orders-tabs::-webkit-scrollbar { display: none; }
.zl-orders-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border: 1px solid var(--zl-line); border-radius: 999px; background: #fff; color: var(--zl-text); font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.zl-orders-tabs a:hover { border-color: var(--zl-blue); color: var(--zl-blue); }
.zl-orders-tabs a.is-active { background: var(--zl-ink); border-color: var(--zl-ink); color: #fff; }
.zl-orders-tabs a span { font-size: .74rem; font-weight: 700; opacity: .7; }
.zl-search { position: relative; flex: 0 1 280px; min-width: 200px; }
.zl-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--zl-muted); }
.zl-search .zl-input { height: 42px; padding-left: 38px; border-radius: 999px; font-size: .9rem; }

.zl-order { background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.zl-order:hover { border-color: #d3def0; box-shadow: var(--zl-shadow); }
.zl-order__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px 20px; background: var(--zl-soft); border-bottom: 1px solid var(--zl-line); font-size: .84rem; }
.zl-order__meta { display: flex; flex-direction: column; gap: 1px; }
.zl-order__meta small { color: var(--zl-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.zl-order__meta span { color: var(--zl-ink); font-weight: 600; }
.zl-order__head .zl-chip { margin-left: auto; }
.zl-order__body { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 18px 20px; }
.zl-order__thumbs { display: flex; gap: 8px; flex-shrink: 0; }
.zl-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--zl-line); background: var(--zl-soft); display: grid; place-items: center; overflow: hidden; color: #94a3b8; font-size: 1.3rem; }
.zl-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.zl-thumb--more { font-size: .85rem; font-weight: 700; color: var(--zl-muted); }
.zl-thumb--lg { width: 84px; height: 84px; }
.zl-order__summary { flex: 1 1 220px; min-width: 0; }
.zl-order__summary strong { display: block; color: var(--zl-ink); font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl-order__summary span { color: var(--zl-muted); font-size: .86rem; }
.zl-order__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────────────────────── Progress steps ───────────────────────── */

.zl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.zl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 6px; }
.zl-step::before { content: ''; position: absolute; top: 21px; left: calc(-50% + 26px); right: calc(50% + 26px); height: 3px; border-radius: 3px; background: var(--zl-line); }
.zl-step:first-child::before { display: none; }
.zl-step.is-done::before { background: var(--zl-blue); }
.zl-step__dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--zl-line); color: #94a3b8; font-size: 1.15rem; transition: all .2s; }
.zl-step.is-done .zl-step__dot { background: var(--zl-blue); border-color: var(--zl-blue); color: #fff; }
.zl-step.is-current .zl-step__dot { box-shadow: 0 0 0 6px rgba(0, 96, 246, .14); }
.zl-step strong { font-size: .86rem; color: var(--zl-ink); font-weight: 600; }
.zl-step:not(.is-done) strong { color: var(--zl-muted); font-weight: 500; }
.zl-step small { font-size: .76rem; color: var(--zl-muted); min-height: 1em; }

/* ───────────────────────── Timeline ───────────────────────── */

.zl-timeline { list-style: none; margin: 0; padding: 0; }
.zl-timeline li { position: relative; padding: 0 0 18px 28px; }
.zl-timeline li:last-child { padding-bottom: 0; }
.zl-timeline li::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--zl-line); }
.zl-timeline li:last-child::before { display: none; }
.zl-timeline__dot { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--zl-blue); }
.zl-timeline__dot--success { border-color: var(--zl-success); }
.zl-timeline__dot--danger { border-color: #dc2626; }
.zl-timeline__dot--warning { border-color: #d97706; }
.zl-timeline__dot--progress { border-color: #4f46e5; }
.zl-timeline__dot--muted { border-color: #94a3b8; }
.zl-timeline li:last-child .zl-timeline__dot { box-shadow: 0 0 0 4px rgba(0, 96, 246, .12); }
.zl-timeline strong { display: block; color: var(--zl-ink); font-size: .92rem; font-weight: 600; }
.zl-timeline time { display: block; color: var(--zl-muted); font-size: .8rem; }
.zl-timeline p { margin: 6px 0 0; padding: 8px 12px; background: var(--zl-soft); border-radius: 10px; color: var(--zl-text); font-size: .85rem; }

/* ───────────────────────── Order detail ───────────────────────── */

.zl-od { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.zl-od__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.zl-od-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.zl-od-head h2 { font-family: var(--zl-display); font-size: 1.3rem; font-weight: 700; color: var(--zl-ink); margin: 0; letter-spacing: -.01em; word-break: break-all; }
.zl-od-head p { margin: 4px 0 0; color: var(--zl-muted); font-size: .88rem; }
.zl-od-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.zl-items { list-style: none; margin: 0; padding: 0; }
.zl-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--zl-line); }
.zl-item:first-child { padding-top: 0; }
.zl-item:last-child { border-bottom: 0; padding-bottom: 0; }
.zl-item__info { flex: 1; min-width: 0; }
.zl-item__name { display: block; color: var(--zl-ink); font-weight: 600; font-size: .95rem; line-height: 1.35; text-decoration: none; }
a.zl-item__name:hover { color: var(--zl-blue); }
.zl-item__variant { display: inline-block; margin-top: 4px; padding: .15rem .55rem; border-radius: 6px; background: var(--zl-soft); color: var(--zl-text); font-size: .78rem; }
.zl-item__qty { display: block; margin-top: 4px; color: var(--zl-muted); font-size: .84rem; }
.zl-item__price { text-align: right; white-space: nowrap; }
.zl-item__price strong { display: block; font-family: var(--zl-display); color: var(--zl-ink); font-size: 1rem; }
.zl-item__price del { color: var(--zl-muted); font-size: .8rem; }
.zl-totals { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--zl-line); display: grid; gap: 8px; font-size: .92rem; }
.zl-totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--zl-text); }
.zl-totals dt, .zl-totals dd { margin: 0; font-weight: 400; }
.zl-totals .is-discount dd { color: var(--zl-success); }
.zl-totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--zl-line); font-size: 1.05rem; }
.zl-totals .is-total dt { font-weight: 700; color: var(--zl-ink); }
.zl-totals .is-total dd { font-family: var(--zl-display); font-weight: 700; color: var(--zl-blue); font-size: 1.2rem; }
.zl-kv { display: grid; gap: 12px; margin: 0; }
.zl-kv div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.zl-kv dt { color: var(--zl-muted); font-weight: 400; }
.zl-kv dd { margin: 0; color: var(--zl-ink); font-weight: 600; text-align: right; }
.zl-addr-block { font-size: .9rem; line-height: 1.6; color: var(--zl-text); margin: 0; font-style: normal; }
.zl-addr-block strong { color: var(--zl-ink); display: block; }
.zl-shipment { padding: 14px; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); background: var(--zl-soft); }
.zl-shipment + .zl-shipment { margin-top: 12px; }
.zl-shipment__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .88rem; margin-bottom: 10px; }
.zl-shipment__row span { color: var(--zl-muted); }
.zl-shipment__row strong { color: var(--zl-ink); word-break: break-all; }
.zl-closed { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--zl-radius); background: #fef2f2; border: 1px solid #fbd0d0; color: #991b1b; }
.zl-closed i { font-size: 1.3rem; }
.zl-closed strong { display: block; color: #7f1d1d; }
.zl-closed p { margin: 2px 0 0; font-size: .9rem; color: #991b1b; }

.zl-reasons { display: grid; gap: 8px; }
.zl-reasons label { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--zl-line); border-radius: 12px; cursor: pointer; font-size: .92rem; color: var(--zl-text); transition: border-color .15s, background-color .15s; }
.zl-reasons label:hover { border-color: #b9c7dc; }
.zl-reasons input { accent-color: var(--zl-blue); width: 17px; height: 17px; margin: 0; }
.zl-reasons label:has(input:checked) { border-color: var(--zl-blue); background: var(--zl-soft-blue); color: var(--zl-ink); }
.zl-modal .modal-content { border: 0; border-radius: 20px; }
.zl-modal .modal-header { border-bottom: 1px solid var(--zl-line); padding: 18px 22px; }
.zl-modal .modal-title { font-family: var(--zl-display); font-weight: 600; font-size: 1.15rem; color: var(--zl-ink); }
.zl-modal .modal-body { padding: 20px 22px; }
.zl-modal .modal-footer { border-top: 1px solid var(--zl-line); padding: 14px 22px; gap: 8px; }

/* ───────────────────────── Track order ───────────────────────── */

.zl-track { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 28px; }
.zl-track__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.zl-track__tip { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--zl-text); line-height: 1.5; }
.zl-track__tip i { color: var(--zl-blue); font-size: 1.1rem; }
.zl-track__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 340px; padding: 32px; border: 1px dashed #cdd8ea; border-radius: var(--zl-radius-lg); background: linear-gradient(180deg, #f8fbff, #fff); color: var(--zl-muted); }
.zl-track__empty i { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--zl-soft-blue); color: var(--zl-blue); font-size: 1.8rem; }
.zl-track__empty strong { color: var(--zl-ink); font-family: var(--zl-display); font-size: 1.1rem; }

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 1199.98px) {
    .zl-od { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 991.98px) {
    .zl-auth__card { grid-template-columns: 1fr; max-width: 560px; }
    .zl-auth__brand { padding: 26px 28px; gap: 18px; }
    .zl-auth__perks, .zl-auth__help { display: none; }
    .zl-auth__form { padding: 32px 28px; }
    .zl-acc { grid-template-columns: 1fr; gap: 18px; padding-top: 18px; }
    .zl-acc__side { position: static; padding: 8px; border-radius: 16px; }
    .zl-acc__user { display: none; }
    .zl-acc__nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
    .zl-acc__nav::-webkit-scrollbar { display: none; }
    .zl-acc__nav li { flex-shrink: 0; }
    .zl-acc__nav a, .zl-acc__nav button { padding: 9px 14px; white-space: nowrap; font-size: .88rem; }
    .zl-acc__nav form { margin: 0; padding: 0; border: 0; }
    .zl-acc__nav .zl-acc__count { display: none; }
    .zl-od { grid-template-columns: 1fr; }
    .zl-track { grid-template-columns: 1fr; }
    .zl-track__empty { min-height: 0; }
}

@media (max-width: 767.98px) {
    .zl-auth { padding-top: 20px; }
    .zl-auth__card { border-radius: 20px; }
    .zl-auth__form { padding: 26px 20px; }
    .zl-auth__brand { padding: 22px 20px; }
    .zl-auth__headline { font-size: 1.3rem; }
    .zl-auth__lead { font-size: .88rem; }
    .zl-panel { padding: 18px; border-radius: 16px; }
    .zl-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .zl-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .zl-stat i { width: 34px; height: 34px; font-size: 1rem; }
    .zl-stat strong { font-size: 1.15rem; }
    .zl-addresses { grid-template-columns: 1fr; }
    .zl-order__head { gap: 8px 18px; padding: 12px 16px; }
    .zl-order__head .zl-chip { margin-left: 0; }
    .zl-order__body { padding: 14px 16px; }
    .zl-order__actions { width: 100%; }
    .zl-order__actions .zl-btn { flex: 1; }
    .zl-search { flex: 1 1 100%; }
    .zl-thumb { width: 54px; height: 54px; }
    .zl-step__dot { width: 36px; height: 36px; font-size: 1rem; }
    .zl-step::before { top: 17px; left: calc(-50% + 20px); right: calc(50% + 20px); }
    .zl-step strong { font-size: .76rem; }
    .zl-step small { font-size: .68rem; }
    .zl-item { flex-wrap: wrap; }
    .zl-item__price { text-align: left; width: 100%; padding-left: 98px; display: flex; gap: .5rem; align-items: baseline; }
}

@media (max-width: 479.98px) {
    .zl-item__price { padding-left: 0; }
    .zl-stat small { font-size: .74rem; }
}
