:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #6d7874;
  --brand: #16765f;
  --brand-deep: #0b4f3e;
  --brand-soft: #e8f4ef;
  --cream: #f7f5ef;
  --line: #e4e7e3;
  --surface: #fff;
  --danger: #b53b31;
  --blue: #3778b8;
  --orange: #b56d20;
  --shadow: 0 14px 45px rgba(31, 59, 50, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; background: #f6f7f4; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(22, 118, 95, .22); outline-offset: 2px; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.message { min-height: 20px; margin: 8px 0 0; color: var(--brand); font-size: 13px; line-height: 1.55; }
.message.error { color: var(--danger); }

/* 登录 */
.login-page { min-height: 100vh; padding: 28px clamp(22px, 5vw, 72px); overflow: hidden; background: radial-gradient(circle at 8% 88%, rgba(22, 118, 95, .13), transparent 28%), linear-gradient(122deg, #f9f8f3 0 54%, #eaf3ee 54% 100%); }
.login-page::after { position: fixed; right: -120px; bottom: -150px; width: 430px; height: 430px; border: 1px solid rgba(22, 118, 95, .13); border-radius: 50%; content: ""; box-shadow: 0 0 0 55px rgba(22, 118, 95, .03), 0 0 0 110px rgba(22, 118, 95, .025); pointer-events: none; }
.login-brand, .brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.login-brand img, .brand-lockup img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.login-brand div, .brand-lockup span { display: grid; gap: 1px; }
.login-brand strong, .brand-lockup strong { font-size: 17px; letter-spacing: .08em; }
.login-brand span, .brand-lockup small { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.login-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 440px); align-items: center; gap: clamp(55px, 9vw, 140px); width: min(1180px, 100%); min-height: calc(100vh - 98px); margin: 0 auto; }
.login-intro { max-width: 620px; padding-bottom: 30px; }
.login-intro h1 { margin: 0 0 24px; font-family: "Songti SC", SimSun, serif; font-size: clamp(42px, 5vw, 66px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.login-intro > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.login-promise { display: flex; gap: 30px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(23, 33, 30, .12); }
.login-promise span { display: grid; gap: 3px; color: var(--muted); font-size: 12px; }
.login-promise b { color: var(--ink); font-size: 17px; }
.login-card { padding: 38px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.login-card-head h2 { margin: 0 0 8px; font-size: 27px; }
.login-card-head > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 24px; padding: 4px; border-radius: 11px; background: #f1f3f0; }
.login-tab { height: 42px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; }
.login-tab.active { color: var(--brand-deep); background: #fff; box-shadow: 0 2px 8px rgba(18, 55, 44, .07); font-weight: 700; }
#loginForm label, .password-dialog label { display: block; margin: 14px 0 8px; font-size: 13px; font-weight: 700; }
input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; color: var(--ink); border: 1px solid #dce1de; border-radius: 9px; outline: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 118, 95, .1); }
.code-row { display: grid; grid-template-columns: 1fr 116px; gap: 9px; }
.send-code { height: 48px; padding: 0 10px; color: var(--brand); border: 1px solid #add3c7; border-radius: 9px; background: var(--brand-soft); font-size: 13px; font-weight: 700; }
.primary { width: 100%; min-height: 48px; margin-top: 22px; color: #fff; border: 0; border-radius: 9px; background: var(--brand); font-weight: 800; box-shadow: 0 8px 18px rgba(22, 118, 95, .17); }
.primary:hover:not(:disabled), .search-button:hover:not(:disabled) { background: var(--brand-deep); }
button:disabled { cursor: not-allowed; opacity: .55; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.privacy-note { margin: 3px 0 0; color: #929b97; text-align: center; font-size: 11px; }
.privacy-note::before { color: var(--brand); content: "● "; font-size: 8px; }
.preview-results { display: block; margin: 8px auto 0; padding: 0; color: var(--brand); border: 0; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* 应用框架 */
.app-shell { min-height: 100vh; }
.app-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); }
.brand-lockup img { width: 38px; height: 38px; }
.brand-button { padding: 0; border: 0; background: transparent; text-align: left; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-divider { width: 1px; height: 18px; background: var(--line); }
.masked-phone { color: var(--muted); font-size: 13px; }
.text-button, .outline-button, .refresh-button, .back-button { border: 0; background: transparent; }
.text-button { padding: 6px; color: var(--brand); font-size: 13px; }
.outline-button { min-height: 34px; padding: 0 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.orders-page, .detail-page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.page-heading h1 { margin: 0 0 8px; font-size: 35px; letter-spacing: -.03em; }
.page-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.refresh-button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; color: var(--brand); border: 1px solid #bcd8cf; border-radius: 9px; background: #fff; font-weight: 700; }
.refresh-button span { font-size: 20px; }
.status-panel, .list-panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(28, 53, 45, .035); }
.status-panel { padding: 22px 24px 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2, .list-toolbar h2 { margin: 0; font-size: 17px; }
.section-heading p, .list-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.status-filters { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.filter-card { position: relative; display: grid; justify-items: start; min-height: 92px; padding: 15px; overflow: hidden; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; text-align: left; transition: .2s ease; }
.filter-card:hover { transform: translateY(-2px); border-color: #b8d6cc; box-shadow: 0 7px 18px rgba(24, 84, 66, .08); }
.filter-card.active { color: #fff; border-color: var(--brand); background: var(--brand); }
.filter-icon { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 900; }
.filter-card.active .filter-icon { color: #fff; background: rgba(255, 255, 255, .18); }
.filter-label { font-size: 12px; }
.filter-count { position: absolute; top: 13px; right: 13px; color: var(--ink); font-size: 22px; font-weight: 800; }
.filter-card.active .filter-count { color: #fff; }
.list-panel { margin-top: 22px; padding: 24px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.month-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px 0 12px; color: var(--brand); border: 1px solid var(--line); border-radius: 9px; background: #fafbf9; white-space: nowrap; }
.month-filter select { min-width: 130px; height: 40px; padding: 0 4px; color: var(--ink); border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.search-row { display: flex; gap: 9px; width: 100%; margin-bottom: 20px; }
.search-box { position: relative; flex: 1; }
.search-box span { position: absolute; top: 10px; left: 13px; color: var(--muted); font-size: 22px; }
.search-box input { height: 42px; padding-left: 40px; background: #fafbf9; }
.search-button { min-width: 72px; height: 42px; color: #fff; border: 0; border-radius: 9px; background: var(--brand); font-weight: 700; }
.result-message { min-height: 0; }
.orders { display: grid; gap: 14px; }
.order-card { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(320px, 1.5fr) minmax(180px, .8fr) 28px; align-items: center; gap: 22px; min-height: 138px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.order-card:hover { transform: translateY(-1px); border-color: #b7d6cc; box-shadow: 0 8px 22px rgba(28, 76, 61, .07); }
.order-number { margin: 0 0 7px; font-size: 17px; }
.order-subtitle, .order-logistics p, .product-code { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.order-products { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-thumb { display: grid; flex: 0 0 auto; place-items: center; width: 58px; height: 58px; color: var(--brand-deep); border-radius: 10px; background: linear-gradient(145deg, #edf4f0, #dfece7); font-size: 18px; font-weight: 900; }
.product-summary { min-width: 0; }
.product-name { margin: 0 0 5px; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.more-products { margin: 7px 0 0; color: var(--brand); font-size: 12px; }
.order-logistics { min-width: 0; }
.status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-transit, .status-delivery { color: var(--blue); background: #edf5fc; }
.status-collected { color: #6d65aa; background: #f1effb; }
.status-pickup { color: var(--orange); background: #fff3e5; }
.status-signed { color: var(--brand); background: var(--brand-soft); }
.status-error { color: var(--danger); background: #fff0ef; }
.status-default { color: #66716d; background: #f0f2f0; }
.latest-trace { display: -webkit-box; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chevron { color: #94a09b; font-size: 27px; }
.empty { padding: 58px 22px; color: var(--muted); border: 1px dashed #cdd6d2; border-radius: 13px; background: #fafbf9; text-align: center; line-height: 1.8; }

/* 订单详情 */
.detail-page { padding-top: 28px; }
.back-button { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 0; color: var(--muted); }
.detail-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; overflow: hidden; color: #fff; border-radius: 18px; background: linear-gradient(120deg, var(--brand-deep), #20826a); }
.detail-hero::after { position: absolute; right: -45px; width: 180px; height: 180px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; content: ""; box-shadow: 0 0 0 35px rgba(255, 255, 255, .04); }
.detail-hero .eyebrow { color: rgba(255, 255, 255, .7); }
.detail-hero h1 { margin: 0 0 8px; font-size: 28px; }
.detail-hero p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .76); font-size: 13px; }
.detail-hero-side { position: relative; z-index: 1; display: grid; justify-items: end; gap: 9px; }
.detail-hero-side .status { color: var(--brand-deep); background: #fff; font-size: 13px; }
.detail-hero-side span:last-child { color: rgba(255, 255, 255, .76); font-size: 12px; }
.detail-section-title { margin: 30px 0 14px; font-size: 18px; }
.product-logistics-list { display: grid; gap: 18px; }
.product-logistics-card { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 5px 20px rgba(28, 53, 45, .035); }
.product-pane { padding: 24px; border-right: 1px solid var(--line); background: #fbfcfa; }
.product-pane-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.product-pane h3 { margin: 0 0 5px; font-size: 16px; }
.product-pane dl { display: grid; grid-template-columns: 68px 1fr; gap: 10px 8px; margin: 0; font-size: 12px; line-height: 1.6; }
.product-pane dt { color: var(--muted); }
.product-pane dd { margin: 0; overflow-wrap: anywhere; }
.tracking-pane { padding: 24px 28px; }
.tracking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tracking-head h3 { margin: 0 0 5px; font-size: 16px; }
.tracking-head p { margin: 0; color: var(--muted); font-size: 12px; }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 78px 18px 1fr; gap: 12px; min-height: 72px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.timeline-item:not(:last-child)::after { position: absolute; top: 17px; bottom: -2px; left: 98px; width: 1px; background: #dce4e0; content: ""; }
.timeline-time { padding-top: 1px; text-align: right; }
.timeline-dot { position: relative; z-index: 1; width: 10px; height: 10px; margin: 5px auto 0; border: 2px solid #aebbb6; border-radius: 50%; background: #fff; }
.timeline-item.current { color: var(--ink); font-weight: 600; }
.timeline-item.current .timeline-dot { width: 13px; height: 13px; margin-top: 3px; border: 3px solid #b8ded3; background: var(--brand); box-shadow: 0 0 0 4px #edf7f3; }
.timeline-empty { padding: 18px; color: var(--muted); border-radius: 10px; background: #f7f8f6; font-size: 12px; }
.timeline-more { width: 100%; min-height: 42px; margin-top: 4px; color: var(--brand); border: 0; border-radius: 9px; background: var(--brand-soft); font-size: 13px; font-weight: 700; }

/* 密码弹窗 */
.password-dialog { width: min(430px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(10, 41, 32, .25); }
.password-dialog::backdrop { background: rgba(10, 28, 23, .48); backdrop-filter: blur(3px); }
.password-dialog form { position: relative; padding: 32px; }
.dialog-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; color: var(--muted); border: 0; border-radius: 50%; background: #f3f5f2; font-size: 22px; }
.dialog-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; color: #fff; border-radius: 12px; background: var(--brand); font-weight: 900; }
.password-dialog h2 { margin: 0 0 10px; font-size: 24px; }
.password-dialog h2 + p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dialog-skip { display: block; margin: 13px auto 0; color: var(--muted); border: 0; background: transparent; font-size: 12px; }

@media (max-width: 950px) {
  .login-layout { grid-template-columns: 1fr 400px; gap: 45px; }
  .login-intro h1 { font-size: 43px; }
  .status-filters { grid-template-columns: repeat(4, 1fr); }
  .order-card { grid-template-columns: minmax(190px, .8fr) minmax(250px, 1.25fr) minmax(160px, .7fr) 24px; gap: 14px; }
}

@media (max-width: 760px) {
  body { background: #f4f6f3; }
  button { min-height: 44px; }
  .login-page { padding: 16px 14px 28px; background: linear-gradient(160deg, #f8f7f2 0 35%, #e9f3ee 100%); }
  .login-layout { display: block; min-height: auto; }
  .login-brand img { width: 38px; height: 38px; }
  .login-intro { padding: 34px 5px 24px; }
  .login-intro h1 { margin-bottom: 14px; font-size: 31px; line-height: 1.25; }
  .login-intro > p:not(.eyebrow) { font-size: 14px; }
  .login-promise { display: none; }
  .login-card { padding: 24px 20px; border-radius: 18px; }
  .login-card-head h2 { font-size: 23px; }
  .app-header { position: sticky; top: 0; z-index: 20; min-height: 60px; padding: 8px 14px; box-shadow: 0 1px 8px rgba(28, 53, 45, .04); }
  .brand-lockup img { width: 36px; height: 36px; }
  .brand-lockup small, .header-divider, .text-button { display: none; }
  .header-actions { gap: 9px; }
  .outline-button { min-height: 40px; padding: 0 13px; }
  .orders-page, .detail-page { width: 100%; padding: 22px 12px calc(50px + env(safe-area-inset-bottom)); }
  .page-heading { align-items: flex-start; }
  .page-heading { margin: 0 2px 20px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading > div > p:last-child { display: none; }
  .refresh-button { min-height: 42px; padding: 0 10px; font-size: 12px; }
  .status-panel, .list-panel { padding: 16px 12px; border-radius: 14px; }
  .section-heading { margin-bottom: 13px; }
  .status-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .filter-card { min-height: 76px; padding: 9px 8px; border-radius: 10px; }
  .filter-icon { width: 22px; height: 22px; margin-bottom: 6px; }
  .filter-label { font-size: 11px; white-space: nowrap; }
  .filter-count { top: 9px; right: 9px; font-size: 18px; }
  .list-panel { margin-top: 14px; }
  .list-toolbar { gap: 10px; }
  .month-filter { flex: 0 0 auto; }
  .month-filter select { min-width: 118px; }
  .search-row { width: 100%; }
  .search-box input, .search-button { height: 44px; }
  .order-card { grid-template-columns: 1fr 23px; min-height: 0; padding: 16px 14px; border-radius: 12px; }
  .order-main, .order-products, .order-logistics { grid-column: 1; }
  .order-products { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .chevron { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .product-logistics-card { grid-template-columns: 1fr; }
  .product-pane { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-pane-head { margin-bottom: 16px; }
  .detail-page { padding-top: 12px; }
  .back-button { min-height: 44px; margin: 0 2px 10px; }
  .detail-hero { align-items: flex-start; padding: 21px 18px; border-radius: 14px; }
  .detail-hero h1 { font-size: 20px; overflow-wrap: anywhere; }
  .detail-hero-side span:last-child { display: none; }
  .detail-section-title { margin: 22px 4px 12px; font-size: 17px; }
  .product-logistics-list { gap: 14px; }
  .tracking-pane { padding: 20px 16px; }
  .tracking-head { gap: 10px; margin-bottom: 20px; }
  .tracking-head h3 { font-size: 15px; }
  .tracking-head .status { flex: 0 0 auto; }
  .timeline-item { grid-template-columns: 59px 16px 1fr; gap: 8px; min-height: 68px; font-size: 12px; }
  .timeline-item:not(:last-child)::after { left: 74px; }
  .timeline-more { min-height: 44px; margin-top: 6px; }
  .password-dialog form { padding: 27px 20px 22px; }
}

@media (max-width: 390px) {
  .masked-phone { display: none; }
  .filter-card { min-height: 74px; }
  .detail-hero { display: grid; }
  .detail-hero-side { justify-items: start; }
  .timeline-item { grid-template-columns: 54px 14px 1fr; gap: 7px; }
  .timeline-item:not(:last-child)::after { left: 67px; }
}

/* 电脑预览也保持真实手机产品形态，不再展开为桌面后台 */
@media (min-width: 761px) {
  body { background: #e8ece9; }
  button { min-height: 44px; }
  .login-page { width: 480px; min-height: 100vh; margin: 0 auto; padding: 16px 14px 28px; background: linear-gradient(160deg, #f8f7f2 0 35%, #e9f3ee 100%); box-shadow: 0 0 45px rgba(18, 49, 40, .13); }
  .login-page::after { display: none; }
  .login-layout { display: block; width: 100%; min-height: auto; }
  .login-brand img { width: 38px; height: 38px; }
  .login-intro { padding: 34px 5px 24px; }
  .login-intro h1 { margin-bottom: 14px; font-size: 31px; line-height: 1.25; }
  .login-intro > p:not(.eyebrow) { font-size: 14px; }
  .login-promise { display: none; }
  .login-card { padding: 24px 20px; border-radius: 18px; }
  .login-card-head h2 { font-size: 23px; }

  .app-shell { width: 480px; margin: 0 auto; background: #f4f6f3; box-shadow: 0 0 45px rgba(18, 49, 40, .13); }
  .app-header { position: sticky; top: 0; z-index: 20; min-height: 60px; padding: 8px 14px; box-shadow: 0 1px 8px rgba(28, 53, 45, .04); }
  .brand-lockup img { width: 36px; height: 36px; }
  .brand-lockup small, .header-divider, .text-button { display: none; }
  .header-actions { gap: 9px; }
  .outline-button { min-height: 40px; padding: 0 13px; }
  .orders-page, .detail-page { width: 100%; padding: 22px 12px 50px; }
  .page-heading { align-items: flex-start; margin: 0 2px 20px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading > div > p:last-child { display: none; }
  .refresh-button { min-height: 42px; padding: 0 10px; font-size: 12px; }
  .status-panel, .list-panel { padding: 16px 12px; border-radius: 14px; }
  .section-heading { margin-bottom: 13px; }
  .status-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .filter-card { min-height: 76px; padding: 9px 8px; border-radius: 10px; }
  .filter-icon { width: 22px; height: 22px; margin-bottom: 6px; }
  .filter-label { font-size: 11px; white-space: nowrap; }
  .filter-count { top: 9px; right: 9px; font-size: 18px; }
  .list-panel { margin-top: 14px; }
  .list-toolbar { gap: 10px; }
  .month-filter { flex: 0 0 auto; }
  .month-filter select { min-width: 118px; }
  .search-row { width: 100%; }
  .search-box input, .search-button { height: 44px; }
  .order-card { grid-template-columns: 1fr 23px; min-height: 0; padding: 16px 14px; border-radius: 12px; }
  .order-main, .order-products, .order-logistics { grid-column: 1; }
  .order-products { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .chevron { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .product-logistics-card { grid-template-columns: 1fr; }
  .product-pane { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-pane-head { margin-bottom: 16px; }
  .detail-page { padding-top: 12px; }
  .back-button { min-height: 44px; margin: 0 2px 10px; }
  .detail-hero { align-items: flex-start; padding: 21px 18px; border-radius: 14px; }
  .detail-hero h1 { font-size: 20px; overflow-wrap: anywhere; }
  .detail-hero-side span:last-child { display: none; }
  .detail-section-title { margin: 22px 4px 12px; font-size: 17px; }
  .product-logistics-list { gap: 14px; }
  .tracking-pane { padding: 20px 16px; }
  .tracking-head { gap: 10px; margin-bottom: 20px; }
  .tracking-head h3 { font-size: 15px; }
  .tracking-head .status { flex: 0 0 auto; }
  .timeline-item { grid-template-columns: 59px 16px 1fr; gap: 8px; min-height: 68px; font-size: 12px; }
  .timeline-item:not(:last-child)::after { left: 74px; }
  .timeline-more { min-height: 44px; margin-top: 6px; }
  .password-dialog form { padding: 27px 20px 22px; }
}
