:root {
  color-scheme: light;
  --ink: #182026;
  --muted: #68747d;
  --line: #dbe4f0;
  --surface: #ffffff;
  --surface-soft: #f5f8fe;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --price: #d8462f;
  --warning: #a15c00;
  --warning-bg: #fff7e6;
  --danger: #b82d3c;
  --success: #2563eb;
  --shadow: 0 8px 24px rgba(24, 32, 38, 0.08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 8px;
}

.header-actions a {
  display: grid;
  place-items: center;
  min-width: 76px;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
}

.header-actions a:hover,
.header-actions a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

#main-content {
  min-height: calc(100vh - 180px);
}

.shop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  min-height: 202px;
  margin: 28px auto 22px;
  padding: 30px 34px;
  gap: 32px;
  border: 1px solid #d9e2e3;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shop-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.shop-avatar {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.shop-profile h1 {
  margin-bottom: 10px;
  font-size: 28px;
}

.shop-profile p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
}

.shop-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  min-width: 320px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.shop-facts div {
  padding: 18px 12px;
  text-align: center;
}

.shop-facts div + div {
  border-left: 1px solid var(--line);
}

.shop-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.shop-facts dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  align-items: start;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 56px;
  gap: 20px;
}

.category-panel {
  position: sticky;
  top: 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.category-panel h2 {
  margin: 0;
  padding: 16px 16px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.category-nav {
  display: flex;
  max-height: calc(100vh - 160px);
  flex-direction: column;
  overflow-y: auto;
  padding: 6px;
}

.category-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 42px;
  align-items: center;
  padding: 6px 8px;
  gap: 8px;
  border-radius: 5px;
  color: #3e4a52;
}

.category-link:hover {
  background: var(--surface-soft);
}

.category-link.is-active {
  color: var(--accent-dark);
  background: #eff6ff;
  font-weight: 700;
}

.category-image {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}

.category-link span {
  overflow-wrap: anywhere;
}

.category-link small {
  color: var(--muted);
  font-size: 11px;
}

.catalog-content {
  min-width: 0;
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-bottom: 20px;
  padding: 12px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9ca8af;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(37, 99, 235, 0.12);
}

.tw-input {
  min-height: 44px;
  border-color: #d7e1ef;
  border-radius: 6px;
  color: #1e293b;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tw-input:hover {
  border-color: #b8c9e2;
}

.tw-input:focus {
  border-color: #3b82f6;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.button:hover:not(:disabled) {
  border-color: #aeb8be;
  background: #f8fafb;
}

.button.primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.button.primary:hover:not(:disabled) {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.ghost {
  background: transparent;
}

.button.danger {
  border-color: #e5b7bd;
  color: var(--danger);
  background: #fff7f8;
}

.button.compact {
  min-height: 36px;
  margin: 0 14px 14px;
  padding: 7px 12px;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}

.result-heading h2 {
  margin: 0;
  font-size: 21px;
}

.result-heading > span {
  flex: 0 0 auto;
  color: var(--muted);
}

.result-heading > span strong {
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.product-card:hover {
  border-color: #bbc8cc;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card-main {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef1f4;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-copy {
  display: flex;
  min-height: 145px;
  flex: 1;
  flex-direction: column;
  padding: 13px 14px 10px;
}

.product-category {
  align-self: flex-start;
  margin-bottom: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.product-copy h3 {
  display: -webkit-box;
  min-height: 44px;
  margin-bottom: 15px;
  overflow: hidden;
  font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
}

.product-meta strong {
  color: var(--price);
  font-size: 19px;
}

.product-meta span {
  color: var(--muted);
  font-size: 12px;
}

.load-more {
  width: 100%;
  margin-top: 18px;
}

.performance-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.empty-state,
.center-state {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  padding: 44px 20px;
  border: 1px dashed #c8d0d5;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.empty-state h3,
.center-state h1 {
  margin-bottom: 7px;
  color: var(--ink);
}

.center-state {
  width: min(720px, calc(100% - 40px));
  margin: 48px auto;
}

.state-code {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #eff6ff;
  font-size: 22px;
  font-weight: 800;
}

.center-state.error .state-code {
  color: var(--danger);
  background: #fff0f2;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 18px;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--accent-dark);
}

.detail-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 28px auto 56px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.detail-media {
  overflow: hidden;
  align-self: start;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef1f4;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary h1 {
  margin-bottom: 14px;
  font-size: 25px;
  overflow-wrap: anywhere;
}

.detail-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 10px;
}

.detail-price strong {
  color: var(--price);
  font-size: 31px;
}

.detail-price del {
  color: var(--muted);
}

.detail-facts,
.order-summary dl,
.order-review dl,
.ticket-detail dl {
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
}

.detail-facts div,
.order-summary dl div,
.order-review dl div,
.ticket-detail dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

dt {
  color: var(--muted);
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.simulation-notice {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--warning);
  border-radius: 4px;
  color: #734800;
  background: var(--warning-bg);
}

.simulation-notice strong {
  display: block;
  margin-bottom: 2px;
}

.simulation-notice p {
  margin: 0;
}

.simulation-notice.prominent {
  margin: 22px 0;
}

.description-section {
  margin-top: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.description-section h2 {
  margin-bottom: 18px;
  font-size: 19px;
}

.rich-text {
  color: #37434b;
  overflow-wrap: anywhere;
}

.rich-text > :last-child {
  margin-bottom: 0;
}

.rich-text a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.purchase-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.purchase-dialog::backdrop {
  background: rgba(22, 29, 34, 0.58);
}

.dialog-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 56px 15px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.dialog-header h2 {
  margin: 0;
  color: #172554;
  font-size: 18px;
  font-weight: 700;
}

.icon-button {
  position: absolute;
  top: 13px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.purchase-product {
  display: flex;
  align-items: center;
  margin: 0 26px;
  padding: 14px 0 12px;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #edf2f8;
  border-radius: 0;
  background: #fff;
}

.purchase-image {
  width: 64px;
  height: 48px;
  flex: 0 0 64px;
  border-radius: 4px;
  object-fit: cover;
}

.purchase-product div {
  display: grid;
  min-width: 0;
}

.purchase-product strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.purchase-product span {
  color: #2563eb;
}

.purchase-tags {
  display: flex;
  align-items: center;
  margin: 0 26px;
  padding: 10px 0 2px;
  gap: 8px;
}

.order-tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 4px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 600;
}

.purchase-step {
  padding: 12px 26px 20px;
}

.purchase-field {
  margin-bottom: 12px;
}

label {
  display: grid;
  margin-bottom: 15px;
  gap: 6px;
  color: #334155;
  font-weight: 600;
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.purchase-top-grid {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 16px;
}

.purchase-top-grid .purchase-field {
  margin-bottom: 15px;
}

.amount-preview {
  display: grid;
  align-content: center;
  min-height: 88px;
  margin-bottom: 15px;
  padding: 11px 15px;
  border: 1px solid #d6e3f5;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: #f8fbff;
}

.amount-preview span,
.amount-preview small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.amount-preview strong {
  display: block;
  margin-top: 1px;
  color: #2563eb;
  font-size: 23px;
  line-height: 1.2;
}

.payment-methods {
  min-width: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  margin-bottom: 8px;
  padding: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-option {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 9px 12px;
  gap: 9px;
  border: 1px solid #d7e1ef;
  border-radius: 6px;
  color: #1e293b;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-option:hover:not(.is-disabled) {
  border-color: #93b4f4;
  background: #f8fbff;
}

.payment-option.is-selected,
.payment-option:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.payment-option.is-disabled {
  color: #94a3b8;
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.72;
}

.payment-option-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
}

.payment-option-icon.alipay {
  color: #1677ff;
  background: #e6f4ff;
}

.payment-option-icon.usdt {
  color: #fff;
  background: #2563eb;
}

.payment-option-copy {
  display: grid;
  min-width: 0;
}

.payment-option-copy strong {
  font-size: 13px;
  line-height: 1.3;
}

.payment-option-copy small {
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.dialog-actions,
.flow-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  gap: 10px;
}

.dialog-actions .button {
  min-width: 112px;
}

.order-review h3 {
  margin: 2px 0 0;
  color: #172554;
  font-size: 17px;
}

.order-review {
  margin: 2px 0 0;
  padding: 16px 18px 18px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #fbfdff;
}

.review-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7eef7;
  gap: 18px;
}

.review-total {
  display: grid;
  min-width: 150px;
  justify-items: end;
  align-content: center;
  padding-left: 16px;
  border-left: 1px solid #e1eaf5;
}

.review-total span,
.review-total small {
  color: var(--muted);
  font-size: 12px;
}

.review-total strong {
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1.2;
}

.order-review .review-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
}

.order-review .review-details div {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
}

.review-details div:first-child,
.review-details div:nth-child(4),
.review-details div:last-child {
  grid-column: 1 / -1;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

.address-text {
  word-break: break-all;
}

.flow-page {
  width: min(860px, calc(100% - 40px));
  margin: 38px auto 58px;
}

.flow-heading {
  margin-bottom: 24px;
}

.flow-heading h1 {
  margin-bottom: 8px;
  font-size: 27px;
}

.flow-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow-heading.centered,
.flow-actions.centered {
  justify-content: center;
  text-align: center;
}

.payment-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.qr-panel {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 330px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #f1f6ff;
}

.network-badge,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.network-badge {
  margin-bottom: 14px;
  color: #fff;
  background: var(--accent-dark);
}

.qr-code {
  display: grid;
  width: 204px;
  height: 204px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-code img,
.qr-code canvas {
  width: 184px !important;
  height: 184px !important;
}

.qr-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.qr-error {
  padding: 12px;
  color: var(--danger);
  text-align: center;
}

.payment-info {
  display: grid;
  padding: 26px;
  gap: 20px;
}

.pay-amount,
.address-block,
.countdown {
  display: grid;
  align-content: start;
}

.pay-amount > span,
.address-block > span,
.countdown > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.pay-amount strong {
  color: var(--price);
  font-size: 32px;
}

.pay-amount strong small {
  font-size: 16px;
}

.pay-amount p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.address-block code {
  display: block;
  margin: 6px 0 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-all;
}

.address-block .button {
  justify-self: start;
}

.countdown strong {
  font-variant-numeric: tabular-nums;
  font-size: 25px;
}

.countdown small {
  color: var(--muted);
}

.order-summary,
.ticket-detail,
.query-form,
.after-sale-form {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.summary-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 18px;
}

.summary-title h2 {
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.status.warning {
  color: #7a4900;
  background: #ffefcc;
}

.status.success,
.result-icon.success {
  color: var(--success);
  background: #eff6ff;
}

.status.danger,
.result-icon.danger {
  color: var(--danger);
  background: #fff0f2;
}

.status.muted,
.result-icon.muted {
  color: #59656d;
  background: #e9edef;
}

.order-summary dl,
.ticket-detail dl {
  margin-bottom: 0;
}

.result-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--warning);
  background: var(--warning-bg);
  font-size: 34px;
  font-weight: 800;
}

.query-page {
  max-width: 720px;
}

.query-form {
  margin-bottom: 20px;
}

.query-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.multiline {
  white-space: pre-wrap;
}

.app-loading {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #1e3a8a;
  background: #eff6ff;
}

.app-loading-panel {
  display: grid;
  width: min(260px, 100%);
  place-items: center;
  padding: 28px 30px;
  gap: 10px;
  border: 1px solid #bfdbfe;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(30, 64, 175, 0.14);
  animation: loading-panel-in 180ms ease-out both;
}

.app-loading-panel strong {
  font-size: 14px;
}

.app-loading-panel small {
  color: #64748b;
  font-size: 11px;
}

.page-loading[hidden] {
  display: none;
}

.page-loading {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 55, 112, 0.46);
  backdrop-filter: blur(6px) saturate(120%);
}

.page-loading-panel {
  display: grid;
  width: min(220px, 100%);
  place-items: center;
  padding: 26px 28px;
  gap: 9px;
  border: 1px solid #bfdbfe;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(8, 47, 107, 0.28);
  animation: loading-panel-in 180ms ease-out both;
}

.page-loading-panel strong {
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
}

.page-loading-panel small {
  color: #64748b;
  font-size: 11px;
}

.page-loading-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-right-color: #60a5fa;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #dbeafe;
  border-top-color: var(--accent);
  border-right-color: #60a5fa;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes loading-panel-in {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100% - 40px));
  padding: 11px 16px;
  border-radius: 5px;
  color: #fff;
  background: #273239;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast[data-tone="error"] {
  background: var(--danger);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  min-height: 90px;
  padding: 22px max(20px, calc((100% - 1200px) / 2));
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer div {
  display: grid;
}

.site-footer strong {
  color: var(--accent-dark);
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

@media (max-width: 1050px) {
  .shop-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-facts {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    width: calc(100% - 24px);
    min-height: 62px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .header-actions a {
    min-width: auto;
    padding: 0 9px;
    font-size: 13px;
  }

  .shop-banner,
  .catalog-layout,
  .detail-wrap,
  .flow-page,
  .center-state {
    width: calc(100% - 24px);
  }

  .shop-banner {
    min-height: 0;
    margin-top: 16px;
    padding: 18px;
    gap: 18px;
  }

  .shop-profile {
    align-items: flex-start;
    gap: 14px;
  }

  .shop-avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .shop-profile h1 {
    margin-bottom: 5px;
    font-size: 21px;
  }

  .shop-profile p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-facts {
    min-width: 0;
  }

  .shop-facts div {
    padding: 11px 6px;
  }

  .shop-facts dd {
    font-size: 16px;
  }

  .catalog-layout {
    display: block;
    margin-bottom: 38px;
  }

  .category-panel {
    position: static;
    margin-bottom: 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .category-panel h2 {
    padding: 11px 8px 8px;
    border: 0;
  }

  .category-nav {
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    padding: 0 8px 10px;
    gap: 8px;
    scrollbar-width: thin;
  }

  .category-link {
    display: flex;
    min-width: max-content;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--line);
  }

  .category-link .category-image {
    display: none;
  }

  .searchbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px;
  }

  .searchbar #clear-search {
    grid-column: 1;
    grid-row: 2;
  }

  .searchbar .primary {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .result-heading {
    align-items: start;
  }

  .result-heading h2 {
    font-size: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .product-card-main {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .product-image-wrap {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .product-copy {
    min-height: 132px;
    padding: 11px 10px;
  }

  .product-copy h3 {
    min-height: 40px;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .product-meta {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .product-meta strong {
    font-size: 17px;
  }

  .product-card .button.compact {
    align-self: stretch;
    min-height: 100%;
    margin: 0;
    border-width: 0 0 0 1px;
    border-radius: 0;
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
  }

  .detail-summary h1 {
    font-size: 21px;
  }

  .detail-price strong {
    font-size: 27px;
  }

  .description-section {
    padding: 18px 16px;
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }

  .qr-panel {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .payment-info {
    padding: 20px;
  }

  .flow-heading h1 {
    font-size: 23px;
  }

  .flow-actions {
    flex-direction: column-reverse;
  }

  .flow-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding: 20px 16px;
    gap: 12px;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .brand strong {
    max-width: 122px;
  }

  .shop-profile {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .shop-avatar {
    width: 62px;
    height: 62px;
  }

  .shop-facts dt {
    font-size: 10px;
  }

  .result-heading {
    flex-direction: column;
    gap: 6px;
  }

  .product-card {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .product-card-main {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-image-wrap,
  .product-copy {
    min-height: 126px;
  }

  .product-category {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .purchase-product strong {
    white-space: normal;
  }

  .detail-facts div,
  .order-summary dl div,
  .order-review dl div,
  .ticket-detail dl div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .order-summary,
  .ticket-detail,
  .query-form,
  .after-sale-form {
    padding: 17px 15px;
  }

  .summary-title {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Source PcDefault visual baseline: 1140px shell, card background and five-column goods grid. */
@font-face {
  font-family: "URWGeometricCondW01-Heavy";
  font-style: normal;
  font-weight: 700;
  src: url("../source/URW_Geometric_Cond_W01_Heavy.804c1986.ttf") format("truetype");
  font-display: swap;
}

.source-site-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 16px -16px rgba(37, 41, 49, 0.08);
  backdrop-filter: saturate(180%) blur(10px);
}

.source-site-header .header-actions {
  gap: 4px;
}

.source-site-header .header-actions a,
.source-site-header .header-actions a:hover,
.source-site-header .header-actions a[aria-current="page"] {
  min-width: 0;
  border-bottom: 0;
  border-radius: 6px;
  color: #536174;
  background: transparent;
}

.source-site-header .header-actions a:hover {
  color: #2458bf;
  background: #f1f6ff;
}

.source-site-header .header-actions a[aria-current="page"] {
  color: #2458bf;
  background: transparent;
}

.source-shop-main {
  min-height: 100vh;
  margin-top: -68px;
  padding-top: 68px;
  background: #f5f7fa url("../source/card_background.c273e900.jpg") center top / cover fixed;
}

.source-shop-main .purchasing_sp {
  position: relative;
  width: min(1140px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 60px;
}

.source-shop-main .hide_box {
  width: 100%;
  min-height: 105px;
  margin: 0 auto;
  padding: 20px 0 0;
  overflow: hidden;
}

.source-shop-main .shanghu {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-left: 20px;
  vertical-align: middle;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(31, 70, 122, 0.12);
}

.source-shop-main .sh_info {
  display: inline-block;
  margin-left: 18px;
  vertical-align: middle;
}

.source-shop-main .sh_names {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #545454;
  font-size: 16px;
  font-weight: 700;
}

.source-shop-main .auth-badge {
  padding: 1px 5px;
  color: #f5c520;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.source-shop-main .sh_lxfs {
  display: flex;
  align-items: center;
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}

.source-shop-main .contact_button {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: #3369ff;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.source-shop-main .contact-separator {
  margin: 0 7px;
  color: #c5c9d0;
}

.source-shop-main .gonggao {
  display: inline-block;
  max-width: 620px;
  margin: 14px 0 0 22px;
  padding: 9px 14px 15px;
  color: #6e7278;
  font-size: 12px;
  line-height: 20px;
  vertical-align: top;
}

.source-shop-main .gonggao span {
  display: block;
  word-break: break-word;
}

.source-shop-main .gonggao span:first-child {
  color: #545454;
  font-size: 14px;
  font-weight: 700;
}

.source-shop-main .gonggao span + span {
  margin-top: 5px;
}

.source-shop-main .fl_box {
  width: 100%;
  margin: 12px auto 38px;
  padding: 14px 24px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 7px 29px rgba(18, 52, 91, 0.11);
}

.source-shop-main .content-tabs {
  width: 100%;
  overflow: visible;
}

.source-shop-main .content-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 0 11px;
  border-bottom: 1px solid #eef0f4;
  color: #1c1f23;
  font-size: 16px;
}

.source-shop-main .source-search {
  display: flex;
  width: 320px;
  flex: 0 0 320px;
  align-items: center;
  gap: 6px;
}

.source-shop-main .source-search input {
  width: auto;
  min-width: 0;
  min-height: 40px;
  height: 40px;
  flex: 1 1 auto;
  padding: 0 10px;
  border: 1px solid #e5e6eb;
  border-radius: 4px;
  color: #1c1f23;
  background: #fff;
  outline: none;
}

.source-shop-main .source-search input:focus {
  border-color: #3369ff;
  box-shadow: 0 0 0 2px rgba(51, 105, 255, 0.12);
}

.source-shop-main .source-search-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 1px solid #3369ff;
  border-radius: 4px;
  color: #fff;
  background: #3369ff;
  cursor: pointer;
  font-size: 20px;
  line-height: 30px;
}

.source-shop-main .page_content {
  margin: 0 auto;
  padding-bottom: 20px;
  background: #fff;
}

.source-shop-main .fl_box_xz {
  display: flex;
  max-height: 220px;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 16px auto 14px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.source-shop-main .fl_box_leng {
  position: relative;
  display: inline-block;
  width: 153px;
  min-width: 153px;
  height: 67px;
  padding: 0 18px 0 19px;
  overflow: hidden;
  border: 1px solid #e5edf8;
  border-radius: 10px;
  color: #344054;
  background: #fbfdff;
  cursor: pointer;
  user-select: none;
}

.source-shop-main .fl_box_leng div:first-child {
  display: flex;
  align-items: center;
  margin-top: 12px;
  overflow: hidden;
  color: #344054;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-shop-main .fl_box_leng div:first-child .image {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  flex: 0 0 16px;
  border-radius: 3px;
  object-fit: cover;
}

.source-shop-main .fl_box_leng div:nth-child(2) {
  margin-top: 7px;
  color: #7a899e;
  font-size: 12px;
  opacity: 0.76;
}

.source-shop-main .fl_box_leng:hover {
  border-color: #bcd3ff;
  background: #f4f8ff;
}

.source-shop-main .fl_box_leng_xz {
  border-color: #3580fb !important;
  color: #fff !important;
  background-color: #3369ff !important;
  background-image: linear-gradient(135deg, #3369ff, #3798f7) !important;
  box-shadow: 0 7px 10px rgba(54, 144, 248, 0.23);
  transition: none;
}

.source-shop-main .fl_box_leng_xz div:first-child,
.source-shop-main .fl_box_leng_xz div:nth-child(2) {
  color: #fff !important;
}

.source-shop-main .goods_box {
  width: 100%;
  padding: 20px 0 25px;
  border-top: 1px solid #f7f7f7;
  border-bottom: 1px solid #f7f7f7;
}

.source-shop-main .goods_hide {
  margin-left: 8px;
  color: #536174;
  font-size: 14px;
  font-weight: 700;
}

.source-shop-main .goods_hide span {
  margin-left: 7px;
  color: #c1c5cb;
  font-size: 12px;
  font-weight: 500;
}

.source-shop-main .goods_content {
  margin-top: 20px;
}

.source-shop-main .goods_content ._index .list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.source-shop-main .goods_item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(37, 76, 128, 0.06);
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.source-shop-main .goods_item:hover {
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.source-shop-main .goods-card-link {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.source-shop-main .goods_item .image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #f6f8fb;
}

.source-shop-main .goods_item .image .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-shop-main .goods_item .info {
  padding: 0 12px;
}

.source-shop-main .goods_item .info .name {
  display: -webkit-box;
  min-height: 18px;
  margin-top: 13px;
  overflow: hidden;
  color: #27364d;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 18px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.source-shop-main .goods_item .subinfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: 8px;
  margin-bottom: 9px;
  gap: 6px;
}

.source-shop-main .goods_item .goods-price {
  display: flex;
  align-items: baseline;
  min-width: 0;
  color: #1f5fe3;
  font-weight: 700;
}

.source-shop-main .goods_item .goods-price .currency {
  font-size: 13px;
}

.source-shop-main .goods_item .goods-price .nowPrice {
  font-family: "URWGeometricCondW01-Heavy", Arial, sans-serif;
  font-size: 18px;
  line-height: 22px;
}

.source-shop-main .goods_item .goods-price .subPrice {
  margin-left: 7px;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  text-decoration: line-through;
}

.source-shop-main .discounts {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.source-shop-main .discounts .stock {
  padding: 2px 6px;
  border-radius: 4px;
  color: #3168c7;
  background: #edf4ff;
  font-size: 10px;
  white-space: nowrap;
}

.source-shop-main .discounts .stock.rank0 {
  color: #ff4f11;
  background: #ffe5dc;
}

.source-shop-main .discounts .stock.rank5 {
  color: #ff7d00;
  background: #ffefdf;
}

.source-shop-main .goods-buy {
  position: static;
  width: calc(100% - 24px);
  min-height: 30px;
  margin: 0 12px 12px;
  padding: 5px 8px;
  border: 1px solid #dbe6ff;
  border-radius: 4px;
  color: #2458bf;
  background: #f3f7ff;
  cursor: pointer;
  font-size: 11px;
}

.source-shop-main .goods-buy:hover {
  border-color: #3369ff;
  background: #eaf1ff;
}

.source-shop-main .goods-buy:disabled {
  border-color: #f2d5cd;
  color: #c38b7f;
  background: #fff8f6;
  cursor: not-allowed;
}

.source-shop-main .load-more {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .source-shop-main .goods_content ._index .list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .source-shop-main {
    margin-top: -62px;
    padding-top: 62px;
    background-attachment: scroll;
  }

  .source-shop-main .purchasing_sp {
    width: calc(100% - 24px);
    padding-top: 30px;
  }

  .source-shop-main .hide_box {
    min-height: 190px;
    padding-top: 10px;
  }

  .source-shop-main .shanghu {
    width: 52px;
    height: 52px;
    margin-left: 6px;
  }

  .source-shop-main .sh_info {
    margin-left: 12px;
  }

  .source-shop-main .sh_names {
    font-size: 15px;
  }

  .source-shop-main .gonggao {
    display: block;
    max-width: none;
    margin: 13px 0 0;
    padding: 8px 8px 13px;
  }

  .source-shop-main .fl_box {
    margin-top: 0;
    padding: 12px 12px 16px;
  }

  .source-shop-main .content-tabs-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .source-shop-main .source-search {
    width: 100%;
    flex-basis: 100%;
  }

  .source-shop-main .source-search input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .source-shop-main .fl_box_xz {
    max-height: 154px;
    gap: 8px;
  }

  .source-shop-main .fl_box_leng {
    width: calc(50% - 4px);
    min-width: 0;
    height: 61px;
    padding-left: 12px;
  }

  .source-shop-main .fl_box_leng div:first-child {
    margin-top: 10px;
  }

  .source-shop-main .goods_box {
    padding-top: 15px;
  }

  .source-shop-main .goods_content {
    margin-top: 14px;
  }

  .source-shop-main .goods_content ._index .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .source-shop-main .goods_item .info {
    padding: 0 9px;
  }

  .source-shop-main .goods_item .info .name {
    margin-top: 10px;
    font-size: 12px;
  }

  .source-shop-main .goods_item .subinfo {
    align-items: flex-start;
    flex-direction: column;
    min-height: 53px;
    margin-top: 6px;
    margin-bottom: 7px;
    gap: 2px;
  }

  .source-shop-main .goods_item .goods-price .nowPrice {
    font-size: 16px;
  }

  .source-shop-main .goods-buy {
    width: calc(100% - 18px);
    margin: 0 9px 9px;
    min-height: 28px;
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .purchase-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 24px);
    border-radius: 10px;
  }

  .dialog-header {
    padding-top: 11px;
    padding-bottom: 10px;
    padding-right: 52px;
    padding-left: 52px;
  }

  .purchase-product {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .purchase-image {
    width: 56px;
    height: 42px;
    flex-basis: 56px;
  }

  .purchase-product,
  .purchase-tags {
    margin-right: 18px;
    margin-left: 18px;
  }

  .purchase-step {
    padding-top: 10px;
    padding-bottom: 12px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .purchase-tags {
    padding-top: 6px;
    padding-bottom: 2px;
    flex-wrap: wrap;
  }

  .purchase-field {
    margin-bottom: 8px;
  }

  .purchase-top-grid .amount-preview {
    min-height: 74px;
    margin-bottom: 10px;
    padding: 6px 10px;
  }

  .amount-preview strong {
    font-size: 20px;
  }

  .order-review {
    padding: 14px 13px 15px;
  }

  .review-heading {
    flex-direction: column;
    margin-bottom: 11px;
    padding-bottom: 11px;
    gap: 11px;
  }

  .review-total {
    width: 100%;
    min-width: 0;
    justify-items: start;
    padding: 10px 0 0;
    border-top: 1px solid #e1eaf5;
    border-left: 0;
  }

  .order-review .review-details {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .review-details div:first-child,
  .review-details div:nth-child(4),
  .review-details div:last-child {
    grid-column: auto;
  }

  .payment-methods {
    margin-top: 8px;
  }

  .payment-option {
    min-height: 48px;
    padding: 6px 8px;
    gap: 7px;
  }

  .payment-option-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 14px;
  }

  .dialog-actions {
    margin-top: 10px;
  }
}
