:root {
  color-scheme: light;
  --page: #f5f4f9;
  --paper: #fff;
  --ink: #201a33;
  --muted: #635c75;
  --line: #e3dfee;
  --accent: #5e37d1;
  --accent-hover: #4824b0;
  --soft: #eee8fb;
  --dark: #151229;
  --radius: 18px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.32; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); margin-bottom: 16px; letter-spacing: -.035em; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 9px; }
:focus-visible { outline: 3px solid #8b66f5; outline-offset: 3px; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.main-wrap { padding-block: 26px 54px; min-height: 68vh; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; color: #fff; background: var(--dark); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.23rem; font-weight: 800; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.top-nav { display: flex; align-items: center; gap: 29px; margin-inline-start: 20px; color: var(--muted); font-size: .93rem; }
.top-nav a:hover, .top-nav a[aria-current], .footer-links a:hover, .section-link:hover { color: var(--accent); }
.user-link { margin-inline-start: auto; border-radius: 9px; border: 1px solid var(--line); padding: 7px 15px; white-space: nowrap; font-size: .9rem; font-weight: 650; color: var(--accent); }
.user-link:hover { background: var(--soft); }
.site-footer { border-top: 1px solid var(--line); background: #eeebf5; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px 42px; padding-block: 26px; }
.footer-inner p { font-size: .86rem; margin: 5px 0 0; color: var(--muted); }
.footer-links { color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: .88rem; }
.bottom-nav { display: none; }

.button { min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; color: white; background: var(--accent); font-size: .95rem; font-weight: 700; text-align: center; transition: background .16s, border-color .16s; }
.button:hover { background: var(--accent-hover); }
.button.secondary { background: var(--paper); border-color: var(--line); color: var(--accent); }
.button.secondary:hover { background: var(--soft); border-color: #c8b9ee; }
.button.wide { width: 100%; }
.button:disabled { opacity: .55; cursor: default; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); margin-bottom: 18px; }
.back-link, .text-link, .inline-link, .section-link { display: inline-block; color: var(--accent); font-size: .9rem; font-weight: 650; }
.back-link { margin: 3px 0 18px; }
.text-link { display: block; margin-top: 14px; }
.link-button { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 8px; font-size: .9rem; }
.price { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.badge, .pill { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--soft); color: #5733b6; font-size: .81rem; font-weight: 700; }
.badge.paid { color: #136349; background: #e3f5eb; }
.badge.cancelled, .badge.refunded { color: #62596e; background: #f0edf4; }
.eyebrow, .card-kicker { margin: 0 0 6px; color: var(--accent); font-weight: 700; font-size: .82rem; }
.notice { margin-bottom: 16px; padding: 12px 15px; border-radius: 9px; border: 1px solid #d8c8f6; background: var(--soft); color: #4a3189; }
.notice.error { border-color: #eac7cd; background: #fff0f3; color: #9c2545; }
.notice.success { border-color: #bedfce; background: #ebf9f1; color: #176446; }

.hero { position: relative; overflow: hidden; background: #100a23; color: white; border-radius: 24px; min-height: 408px; display: flex; align-items: center; isolation: isolate; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 80%; height: 100%; object-fit: cover; object-position: 68% 56%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #100a23 12%, #100a23ed 32%, #100a2359 52%, #100a2300 70%); }
.hero-copy { width: min(100%, 566px); padding: 45px 56px; }
.hero-kicker { color: #d9caff; font-size: .94rem; font-weight: 650; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.25rem); letter-spacing: -.05em; line-height: 1.18; font-weight: 850; margin: 0 0 17px; }
.hero h1 span { color: #cdb5fb; }
.hero-description { max-width: 390px; margin-bottom: 24px; color: #ddd6ed; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { background: #d1baff; color: #271651; }
.hero-actions .button:hover { background: #ede2ff; }
.hero-actions .hero-secondary { color: #f0e7ff; background: #271a42a3; border-color: #7965a1; }
.hero-actions .hero-secondary:hover { background: #433363; }

.featured-section, .catalog-section { margin-top: 34px; }
.main-wrap > .catalog-section:first-child { margin-top: 4px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h1, .section-head h2 { margin: 0 0 4px; }
.section-head p, .count { color: var(--muted); font-size: .93rem; margin: 0; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.featured-card { display: block; overflow: hidden; border-radius: 14px; background: var(--dark); color: #fff; border: 1px solid #2b2045; transition: box-shadow .2s; }
.featured-card:hover { box-shadow: 0 5px 22px #3824622b; }
.featured-card img { width: 100%; height: 140px; object-fit: cover; }
.featured-copy { padding: 14px 16px 16px; }
.featured-copy h3 { font-size: 1.03rem; font-weight: 750; }
.featured-copy div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 10px; }
.featured-copy span { font-size: .84rem; color: #cbc4dc; }
.featured-copy .price { color: #d8c1ff; font-size: 1.25rem; }

.catalog-head { margin-bottom: 17px; }
.search { width: min(100%, 360px); display: flex; background: white; border: 1px solid var(--line); border-radius: 10px; gap: 4px; padding: 4px; }
.search input { color: var(--ink); background: transparent; padding: 7px 9px; border: 0; width: 100%; min-width: 0; }
.search button { padding: 6px 16px; border: 0; border-radius: 7px; background: var(--soft); color: var(--accent); font-weight: 750; white-space: nowrap; }
.search button:hover { background: #e4d8ff; }
.browse-layout { display: grid; grid-template-columns: 194px minmax(0, 1fr); align-items: start; gap: 19px; }
.category-tabs { border-radius: 14px; border: 1px solid var(--line); background: var(--paper); padding: 10px; }
.category-tabs p { color: var(--muted); font-weight: 700; font-size: .84rem; margin: 7px 10px 9px; }
.category-tabs a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 8px; padding: 9px 11px; font-size: .92rem; }
.category-tabs a small { font-size: .77rem; color: var(--muted); }
.category-tabs a:hover, .category-tabs a[aria-current] { background: var(--soft); color: var(--accent); }
.category-tabs a[aria-current] { font-weight: 750; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: #c2b0ee; box-shadow: 0 4px 16px #38246213; }
.cover { display: block; position: relative; background: #211939; }
.cover img { width: 100%; aspect-ratio: 1.75; height: auto; object-fit: cover; }
.card-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1.05rem; }
.card-body a:hover { color: var(--accent); }
.card-summary { color: var(--muted); font-size: .9rem; margin-bottom: 15px; }
.card-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 6px; border-top: 1px solid #eeeaf5; padding-top: 10px; margin-top: auto; }
.card-bottom span { font-size: .81rem; color: var(--muted); }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 20px; font-size: .9rem; color: var(--muted); }
.pagination a, .pagination .disabled { border: 1px solid var(--line); background: white; padding: 6px 13px; border-radius: 7px; }
.pagination a { color: var(--accent); }
.pagination a:hover { background: var(--soft); }
.pagination .disabled { opacity: .58; }

.product-detail { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius); background: var(--paper); gap: 0; overflow: hidden; border: 1px solid var(--line); }
.detail-image { background: var(--dark); }
.detail-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.detail-copy { padding: clamp(20px, 4vw, 42px); min-width: 0; }
.detail-copy h1 { margin-top: 13px; }
.lead { line-height: 1.75; color: var(--muted); }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 15px; margin: 18px 0 10px; }
.detail-price .price { font-size: 2.12rem; }
.detail-price span, .course-facts { font-size: .89rem; color: var(--muted); }
.course-facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-bottom: 20px; }
.course-facts strong { color: var(--ink); }
.detail-sections { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 18px; align-items: start; }
.chapter-list, .deliverables { margin: 0 0 21px; }
.chapter-list { padding-inline-start: 24px; }
.chapter-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.chapter-list li::marker { color: var(--accent); font-weight: 700; }
.preview { margin: 0; border-left: 3px solid #ad94ef; border-radius: 0 8px 8px 0; background: #f5f1fd; padding: 15px 17px; color: #403356; }
.preview p { margin: 6px 0 0; }
.deliverables { list-style: none; padding: 0; }
.deliverables li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.deliverables span { font-size: .9rem; color: var(--muted); }

.narrow { max-width: 680px; margin-inline: auto; }
.auth-box { max-width: 460px; margin: 28px auto 60px; }
label:not(.payment-choice):not(.check) { display: block; font-weight: 670; margin: 13px 0 5px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea { font-size: 1rem; }
.panel input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .panel textarea {
  width: 100%; border: 1px solid #d9d3e7; border-radius: 8px; background: #fbfaff; color: var(--ink); padding: 9px 11px;
}
textarea { resize: vertical; min-height: 96px; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .86rem; margin: 14px 0; color: var(--muted); }
.check input { margin: .28em 0 0; flex-shrink: 0; }
.check a, .auth-switch a, .reader a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.auth-box form .button, .ticket .reply, .narrow textarea + .button { margin-top: 15px; }
.auth-switch { margin: 17px 0 8px; font-size: .9rem; }
.account-head, .order-row { display: flex; justify-content: space-between; align-items: center; gap: 13px; }
.account-head h1, .order-row h3 { margin: 7px 0 4px; }
.account-head p, .order-row p { margin-bottom: 0; overflow-wrap: anywhere; }
.account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 25px; }
.account-links a, .help-card { display: block; background: var(--soft); border: 1px solid var(--line); color: var(--accent); border-radius: 10px; padding: 13px 15px; font-weight: 680; }
.account-links a:hover, .help-card:hover { background: #e7dcfd; }
.account-links a span { float: right; }
.order-row-action { display: flex; flex-direction: column; gap: 7px; align-items: end; flex-shrink: 0; }
.order-row-action .button { min-height: 37px; padding: 6px 12px; }
.empty { text-align: center; padding-block: 48px; }
.empty-mark { display: block; color: var(--accent); font-size: 1.9rem; }

.steps { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; margin-bottom: 13px; }
.steps .active { color: var(--accent); }
.checkout h1 { margin-top: 9px; }
.checkout-amount { font-size: 2.45rem; margin-bottom: 16px; }
.checkout-amount small { font-size: .65em; margin-right: 2px; }
.order-product { display: flex; align-items: center; gap: 14px; border-block: 1px solid var(--line); padding-block: 16px; }
.order-product img { width: 84px; height: 68px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.order-product h2 { font-size: 1.08rem; margin: 0 0 4px; }
.order-product p, .order-meta dt { color: var(--muted); font-size: .9rem; margin: 0; }
.order-meta { margin: 15px 0; }
.order-meta div { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px; font-size: .9rem; }
.order-meta dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.payment-options { border: 0; padding: 0; margin: 16px 0; min-width: 0; }
.payment-options legend { font-weight: 750; }
.payment-choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 7px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.payment-choice:has(input:checked) { border-color: #a887f2; background: var(--soft); }
.payment-choice input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; }
.payment-choice span { min-width: 0; }
.payment-method, .reply { background: var(--soft); border-radius: 9px; padding: 12px 16px; margin: 10px 0; }
.payment-method p, .reply p { margin: 4px 0 0; }
.payment-qr { margin: 12px auto; width: min(240px, 100%); }
.checkout form + form, .checkout a.button + form, .checkout .button + p, .checkout form + p { margin-top: 10px; }
.delivery-success { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.delivery-success > span { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; color: var(--accent); background: var(--soft); font-weight: 800; }
.delivery-success h1 { margin: 0 0 4px; font-size: 1.65rem; }
.delivery-success p { margin: 0; color: var(--muted); }
.teacher-contact {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 2px solid #9a7be3;
  border-radius: 11px;
  background: #3d247e;
  text-align: start;
}
.teacher-contact:hover { background: #4b2d97; }
.teacher-contact-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #d8c5ff; box-shadow: 0 0 10px #d8c5ff80; }
.teacher-contact-label { flex: 1; }
.teacher-contact-label small { display: block; margin-top: 1px; color: #e5dafa; font-size: .82rem; font-weight: 500; }
.teacher-contact-arrow { font-size: 1.3rem; }
.teacher-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(18px, 5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 60px #1512293d;
}
.teacher-dialog::backdrop { background: #15122999; }
.teacher-dialog h2 { margin: 0 36px 8px 0; }
.teacher-dialog p { color: var(--muted); }
.teacher-dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 1.4rem; }
.teacher-dialog-close:hover { background: var(--soft); }
.teacher-qq { margin-bottom: 14px; padding: 10px; border-radius: 9px; background: var(--soft); text-align: center; }
.teacher-qq span { display: block; color: var(--muted); font-size: .85rem; }
.teacher-qq strong { display: block; font-size: 1.5rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; user-select: all; }
.teacher-dialog .teacher-copy-status { margin: 4px 0; min-height: 1.5em; font-size: .82rem; text-align: center; }
@keyframes teacher-contact-pulse {
  from { box-shadow: 0 0 0 0 #9a7be380; }
  to { box-shadow: 0 0 0 8px #9a7be300; }
}
@media (prefers-reduced-motion: no-preference) {
  .teacher-contact { animation: teacher-contact-pulse 2.4s ease-out 2; }
}
.delivery-actions { display: grid; gap: 8px; margin: 16px 0 24px; }
.help-card { margin-top: 14px; }
.help-card span { display: block; font-weight: 450; font-size: .88rem; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket > p { margin: 9px 0; overflow-wrap: anywhere; }

.reader-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 20px; max-width: 1080px; margin-inline: auto; }
.reader { line-height: 1.8; overflow-wrap: anywhere; }
.reader-centered { max-width: 850px; margin-inline: auto; }
.reader section { margin-block: 24px; }
.reader pre { overflow-x: auto; padding: 14px; border-radius: 8px; background: #201a33; color: #f8f3ff; font: .88rem/1.55 ui-monospace, monospace; }
.reader-toc { position: sticky; top: 18px; padding: 17px; }
.reader-toc h2 { font-size: 1.12rem; }
.reader-toc ol { padding-inline-start: 20px; margin-bottom: 0; }
.reader-toc li { padding-block: 4px; font-size: .88rem; color: var(--muted); }
.reader-toc a:hover { color: var(--accent); text-decoration: underline; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 400px; font-size: .9rem; }
th, td { border: 1px solid var(--line); padding: 8px 11px; text-align: left; vertical-align: top; }
th { background: var(--soft); }

@media (max-width: 1020px) {
  .hero-copy { padding: 35px 34px; }
  .browse-layout { grid-template-columns: 155px minmax(0, 1fr); }
  .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 30px); }
  body { padding-bottom: calc(63px + env(safe-area-inset-bottom)); }
  .main-wrap { padding-block: 15px 34px; }
  .header-inner { min-height: 60px; gap: 12px; }
  .brand { font-size: 1.04rem; gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .top-nav { display: none; }
  .user-link { font-size: .84rem; padding: 5px 10px; }
  .bottom-nav { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 5; background: white; border-top: 1px solid var(--line); padding: 6px 7px calc(7px + env(safe-area-inset-bottom)); }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 45px; color: var(--muted); font-size: .76rem; }
  .bottom-nav a[aria-current] { color: var(--accent); font-weight: 750; }
  .bottom-nav svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .hero { min-height: 335px; border-radius: 16px; align-items: end; }
  .hero-image { width: 100%; object-position: 58% 49%; }
  .hero::after { background: linear-gradient(75deg, #100a23 5%, #100a23ec 28%, #100a2374 81%), linear-gradient(0deg, #100a23a0, transparent 50%); }
  .hero-copy { padding: 27px 20px 23px; }
  .hero-kicker { font-size: .85rem; margin-bottom: 7px; }
  .hero h1 { font-size: clamp(2.42rem, 10vw, 3.1rem); margin-bottom: 12px; }
  .hero-description { font-size: .9rem; margin-bottom: 16px; max-width: 285px; }
  .hero-actions .button { min-height: 42px; font-size: .85rem; padding-inline: 11px; }
  .section-head { align-items: center; gap: 9px; }
  .section-head h2 { font-size: 1.3rem; }
  .section-head p { font-size: .82rem; }
  .section-link { font-size: .83rem; white-space: nowrap; }
  .featured-section, .catalog-section { margin-top: 24px; }
  .featured-grid { grid-template-columns: 1fr; gap: 8px; }
  .featured-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 80px; }
  .featured-card img { align-self: stretch; height: 100%; max-height: 110px; }
  .featured-copy { padding: 9px 11px; }
  .featured-copy h3 { font-size: .96rem; margin-bottom: 5px; }
  .featured-copy .price { font-size: 1.12rem; }
  .featured-copy span { font-size: .77rem; }
  .catalog-head { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .browse-layout { display: block; }
  .category-tabs { display: flex; overflow-x: auto; gap: 6px; padding: 0 0 9px; border: 0; background: transparent; border-radius: 0; margin-bottom: 8px; scrollbar-width: thin; }
  .category-tabs p { display: none; }
  .category-tabs a { flex: 0 0 auto; white-space: nowrap; background: var(--paper); border: 1px solid var(--line); padding: 6px 9px; font-size: .84rem; gap: 5px; }
  .category-tabs a[aria-current] { border-color: #cab7f6; }
  .category-tabs a small { font-size: .72rem; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card-body h2, .card-body h3 { font-size: .96rem; margin-bottom: 5px; }
  .card-summary { font-size: .82rem; margin-bottom: 9px; }
  .card-bottom { padding-top: 6px; }
  .card-bottom .price { font-size: 1.08rem; }
  .card-bottom span { font-size: .74rem; }
  .product-detail, .detail-sections, .reader-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-image img { min-height: 0; height: auto; max-height: 250px; }
  .detail-copy { padding: 17px; }
  .reader-toc { position: static; margin: 0; }
  .auth-box { margin: 12px auto 36px; }
  .order-meta div, .order-product p { font-size: .82rem; }
  .footer-inner { padding-block: 19px; gap: 12px; }
  .footer-links { gap: 5px 15px; font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
