@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/barlow-latin-400-b0a8ad37ac45.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/barlow-latin-500-cd759df8ef9e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/barlow-latin-600-4b52ddd4836b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/barlow-latin-700-2d797dd8b35d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/barlow-latin-800-231d487a993e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: Barlow, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #181818;
  background: #f6f6f3;
  font-synthesis: none;
  --muted: #62635f;
  --line: #deded8;
  --blue: #1554c7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #222;
  padding: 10px 15px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover {
  background: #efefeb;
  border-color: #8a8b85;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #75a5ef;
  outline-offset: 3px;
}
button.primary {
  background: #181818;
  border-color: #181818;
  color: white;
}
button.primary:hover {
  background: #343434;
}
input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cecec7;
  background: white;
  padding: 11px 12px;
  border-radius: 5px;
  color: #222;
}
input::placeholder {
  color: #74756f;
}
label > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #55564f;
  margin-bottom: 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 12px;
}
.muted,
.footnote,
.scope-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #6d6e65;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: white;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 max(28px, calc((100vw - 1352px) / 2));
  white-space: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand strong {
  font-size: 31px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -1.8px;
}
.brand span {
  padding-left: 13px;
  border-left: 1px solid #d4d4ce;
  font-weight: 600;
  font-size: 14px;
}
.site-header nav {
  height: 100%;
  display: flex;
  gap: 25px;
}
.site-header nav button {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0 2px;
  color: #64645f;
  font-size: 14px;
  background: transparent;
}
.site-header nav button[aria-current="page"] {
  border-bottom-color: #181818;
  color: #111;
  font-weight: 700;
}
.site-header nav span {
  font-size: 11px;
  background: #ecece7;
  border-radius: 10px;
  padding: 1px 5px;
}
.service-state {
  margin-left: auto;
  font-size: 11px;
  color: #5d6257;
}
.service-state:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #53825b;
  border-radius: 50%;
  margin-right: 7px;
}
.layout {
  max-width: 1408px;
  padding: 40px 28px 20px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.search-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px 26px;
}
.search-form {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}
.search-field {
  flex: 1.6;
}
.search-field input {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 14px;
}
.scope-field {
  flex: 1;
}
.scope-field select {
  padding: 17px 12px;
}
.search-form > button {
  padding: 18px 38px;
}
.recent {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-panel .recent {
  margin-top: 15px;
}
.recent:empty {
  display: none;
}
.recent > span {
  font-size: 12px;
  color: var(--muted);
}
.recent button {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #f7f7f3;
}
.status-line {
  min-height: 30px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
}
progress {
  width: 100%;
  height: 4px;
  border: 0;
  accent-color: #181818;
  margin: 0 0 18px;
}
progress::-webkit-progress-bar {
  background: #ddd;
}
progress::-webkit-progress-value {
  background: #181818;
}
.product-overview {
  display: flex;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.product-overview > img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #f5f5f3;
  border-radius: 6px;
}
.product-overview .product-main {
  flex: 1;
}
.product-overview h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin: 6px 0;
}
.product-overview .sku {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
.product-overview .price-line {
  margin-top: 15px;
}
.price-line {
  display: flex;
  gap: 9px;
  align-items: baseline;
  flex-wrap: wrap;
}
.price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.price-line del {
  font-size: 13px;
  color: var(--muted);
}
.estimate-label {
  font-size: 11px;
  color: #5b6255;
}
.promo-label {
  font-size: 11px;
  color: #4a5c3d;
  background: #f0f3e9;
  padding: 5px 9px;
  border-radius: 3px;
  display: inline-block;
  margin: 9px 5px 0 0;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.product-overview .actions {
  align-self: flex-start;
}
.product-overview .actions button {
  font-size: 12px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.section-heading .muted {
  margin-top: 5px;
}
#inventoryPanel > .section-heading {
  padding: 22px 24px 0;
}
#inventoryPanel .actions button {
  font-size: 12px;
  padding: 8px 11px;
}
.filters {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.filters label {
  min-width: 120px;
}
.filters label.grow {
  flex: 1;
}
.filters label.check {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: auto;
  font-size: 13px;
  padding-bottom: 12px;
  white-space: nowrap;
}
.check input {
  width: 15px;
  height: 15px;
  accent-color: #181818;
}
.inventory-filters {
  border-top: 1px solid #edede8;
  border-bottom: 1px solid #edede8;
  background: #fafaf8;
}
.text-button {
  background: transparent;
  border: 0;
  font-size: 13px;
  padding: 8px 0;
}
.size-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 15px 24px;
}
.size-filters > span {
  font-size: 12px;
  color: var(--muted);
  margin-right: 5px;
}
.size-filters button {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
}
.size-filters button[aria-pressed="true"] {
  background: #181818;
  color: white;
  border-color: #181818;
}
.table-wrap {
  overflow-x: auto;
}
.inventory-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  min-width: 780px;
  text-align: left;
}
.inventory-table th {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: #fafaf8;
  padding: 12px 20px;
  border-block: 1px solid #eaeae4;
}
.inventory-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #edede8;
  vertical-align: middle;
}
.inventory-table td:first-child {
  min-width: 230px;
  width: 26%;
}
.inventory-table td:nth-child(2) {
  width: 35%;
}
.store-name {
  font-weight: 600;
  line-height: 1.5;
  display: block;
}
.store-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
}
.size-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.size {
  background: #f0f0ec;
  border: 1px solid #e6e6e0;
  border-radius: 3px;
  padding: 5px 7px;
  font-size: 11px;
  min-width: 29px;
  text-align: center;
}
.size.selected {
  background: #e7efff;
  color: #144bb0;
  border-color: #9eb9e9;
}
.table-price {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.inventory-table button {
  font-size: 11px;
  padding: 7px 10px;
  white-space: nowrap;
}
.error {
  color: #aa3322;
}
.footnote {
  padding: 15px 24px;
  font-size: 11px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.15s;
}
.product-card:hover {
  box-shadow: 0 8px 22px #2020200a;
}
.product-card .product-image {
  display: block;
  padding: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #f1f1ed;
}
.product-card img {
  display: block;
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
}
.product-card .favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  background: #fffffff2;
  font-size: 11px;
  border-radius: 20px;
  z-index: 1;
}
.favorite[aria-pressed="true"] {
  color: #1554c7;
  border-color: #bed0f0;
}
.product-card .details {
  padding: 18px;
}
.product-card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 5px 0;
}
.product-card .sku {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.product-card .subtitle {
  font-size: 12px;
  color: var(--muted);
  min-height: 19px;
  line-height: 1.5;
}
.product-card .price {
  font-size: 23px;
}
.product-card .price-line {
  margin: 16px 0 8px;
}
.product-card .card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #edede8;
  font-size: 11px;
  color: var(--muted);
}
.card-bottom button {
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  background: none;
  color: #222;
}
.scope-note {
  margin-top: -15px;
  margin-bottom: 22px;
}
.view-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.view-tabs button {
  white-space: nowrap;
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  padding: 9px 17px;
}
.view-tabs button[aria-pressed="true"] {
  color: white;
  background: #181818;
  border-color: #181818;
}
.catalog-filters {
  gap: 12px;
}
.catalog-filters label {
  min-width: 105px;
  flex: 1;
}
.catalog-filters .price-input {
  min-width: 85px;
  max-width: 110px;
}
.catalog-filters .grow {
  flex: 1.8;
  min-width: 180px;
}
.catalog-filters button {
  padding: 11px 13px;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.active-filters button {
  font-size: 12px;
  padding: 7px 11px;
  background: #fff;
  border-radius: 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.active-filters button span {
  margin-left: 6px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 32px;
  font-size: 13px;
}
.query-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.query-feedback .status-line {
  flex: 1;
}
#cancelQuery {
  flex-shrink: 0;
  font-size: 12px;
}
.pagination button {
  font-size: 12px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.store-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 192px;
}
.store-card .city {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.store-card h3 {
  font-size: 16px;
  line-height: 1.5;
}
.store-card .address {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 20px;
  flex: 1;
}
.store-card .actions {
  justify-content: space-between;
}
.store-card button {
  font-size: 12px;
  padding: 8px 10px;
}
.list-count {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}
.empty {
  padding: 45px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.empty strong {
  display: block;
  color: #222;
  font-size: 18px;
  margin-bottom: 7px;
}
.spaced-heading {
  margin: 28px 0 20px;
}
.promotion-card {
  padding: 26px;
  margin-bottom: 20px;
}
.promotion-card > p {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.8;
}
.promotion-products {
  gap: 14px;
}
.promotion-products button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: 13px;
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.promotion-products img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.promotion-image-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #f6f6f3;
  color: var(--muted);
  font-size: 12px;
}
.promotion-product-info {
  display: grid;
  gap: 6px;
  padding: 12px;
  overflow-wrap: anywhere;
}
.promotion-product-info .sku {
  margin: 0;
}
.promotion-product-info strong {
  font-size: 14px;
  line-height: 1.4;
}
.promotion-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding: 22px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  max-width: min(780px, 94vw);
  width: 780px;
  max-height: 90vh;
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #1117;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-header h2 {
  font-size: 20px;
}
.modal-header button {
  font-size: 12px;
}
#modalContent .poster {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 20px auto;
}
#modalContent .filters {
  padding: 0;
  margin-bottom: 20px;
}
.history-chart {
  display: block;
  width: 100%;
  height: 220px;
  background: #fafaf7;
  border-radius: 6px;
  margin: 18px 0;
}
.history-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.history-prices span {
  display: block;
  font-size: 12px;
  color: #66665e;
}
.history-prices strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}
.history-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-top: 20px;
}
.history-metric select {
  min-width: 170px;
}
.history-metric > span {
  white-space: nowrap;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.history-table td,
.history-table th {
  padding: 11px;
  border-bottom: 1px solid #eaeae5;
  text-align: left;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 23px;
  color: white;
  background: #202020;
  border-radius: 7px;
  font-size: 13px;
  z-index: 100;
  max-width: 90vw;
}
.skeleton {
  height: 350px;
  background: linear-gradient(100deg, #eeeee8, #fafaf6, #eeeee8);
  background-size: 200% 100%;
  animation: loading 1.4s infinite;
  border-radius: 8px;
}
@keyframes loading {
  to {
    background-position: -200% 0;
  }
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 1550px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 0 24px;
    gap: 30px;
  }
  .site-header nav {
    gap: 18px;
  }
  .service-state {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  h1 {
    font-size: 30px;
  }
  .product-overview .actions {
    flex-direction: column;
  }
  .product-overview h2 {
    font-size: 24px;
  }
}
@media (max-width: 720px) {
  .site-header {
    height: auto;
    display: block;
    padding: 17px 18px 0;
  }
  .brand strong {
    font-size: 26px;
  }
  .brand span {
    font-size: 13px;
  }
  .site-header nav {
    gap: 22px;
    overflow: auto;
    height: 48px;
    margin-top: 12px;
  }
  .site-header nav button {
    font-size: 12px;
    flex-shrink: 0;
  }
  .layout {
    padding: 25px 16px 15px;
  }
  h1 {
    font-size: 25px;
    letter-spacing: -0.5px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  .page-heading > .muted {
    margin-top: 12px;
    font-size: 12px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 7px;
  }
  .search-panel {
    padding: 17px;
  }
  .search-form {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .search-field input {
    font-size: 18px;
    padding: 12px;
  }
  .scope-field {
    flex: 1;
    min-width: 0;
  }
  .scope-field select {
    padding: 12px 8px;
    font-size: 12px;
  }
  .search-form > button {
    padding: 13px 18px;
    font-size: 13px;
  }
  .product-overview {
    gap: 15px;
    padding: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .product-overview > img {
    width: 100px;
    height: 115px;
  }
  .product-overview .product-main {
    min-width: 150px;
  }
  .product-overview h2 {
    font-size: 19px;
    letter-spacing: -0.3px;
  }
  .product-overview .actions {
    flex-direction: row;
    width: 100%;
  }
  .product-overview .price-line {
    margin-top: 9px;
  }
  .price {
    font-size: 23px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card .details {
    padding: 13px;
  }
  .product-card h3 {
    font-size: 14px;
  }
  .product-card .favorite {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 5px 7px;
  }
  .product-card .subtitle {
    font-size: 11px;
  }
  .product-card .price {
    font-size: 21px;
  }
  .product-card .price-line {
    gap: 5px;
  }
  .product-card .card-bottom {
    align-items: flex-start;
    gap: 5px;
    flex-direction: column;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  #inventoryPanel > .section-heading {
    padding: 18px 16px 0;
  }
  .filters {
    padding: 16px;
    gap: 12px;
  }
  .inventory-filters .grow {
    flex-basis: 55%;
  }
  .filters label.check {
    padding-bottom: 5px;
  }
  .size-filters {
    padding: 15px 16px;
  }
  .footnote {
    padding: 14px 16px;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .store-card {
    min-height: 165px;
    padding: 19px;
  }
  .scope-note {
    margin-top: 0;
  }
  .view-tabs {
    gap: 5px;
  }
  .view-tabs button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .catalog-filters label {
    min-width: calc(50% - 10px);
  }
  .catalog-filters .grow {
    flex-basis: 100%;
  }
  .catalog-filters .price-input {
    max-width: none;
    min-width: calc(50% - 10px);
  }
  .catalog-filters button {
    flex: 1;
  }
  .list-count {
    font-size: 12px;
  }
  footer {
    display: block;
    margin-top: 35px;
  }
  footer p + p {
    margin-top: 8px;
  }
  .promotion-card {
    padding: 19px;
  }
  .promotion-header {
    display: block;
  }
  .promotion-header button {
    margin-top: 12px;
  }
  dialog {
    padding: 18px;
  }
  .modal-header h2 {
    font-size: 18px;
  }
  .history-table td,
  .history-table th {
    padding: 9px 6px;
  }
}

#modalContent > .scope-note {
  margin: 10px 0 18px;
}
.store-card .store-sub {
  margin: -6px 0 14px;
}
#modalContent .contact-qr {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin: 26px auto;
  border: 12px solid white;
  outline: 1px solid #e4e4df;
}
.contact-context {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  padding: 12px;
  background: #f7f7f3;
  border-radius: 6px;
}
.card-bottom {
  gap: 10px;
}
.card-bottom > span {
  flex: 1;
  line-height: 1.6;
}
.card-bottom button {
  flex-shrink: 0;
  white-space: nowrap;
}
.catalog-filter-panel > summary {
  display: none;
}
@media (max-width: 720px) {
  .catalog-filter-panel {
    margin-bottom: 22px;
  }
  .catalog-filter-panel > summary {
    display: list-item;
    cursor: pointer;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 13px 16px;
    font-size: 13px;
  }
  .catalog-filter-panel[open] > summary {
    border-radius: 7px 7px 0 0;
    border-bottom: 0;
  }
  .catalog-filter-panel .catalog-filters {
    border-radius: 0 0 7px 7px;
    margin-bottom: 0;
  }
  .inventory-table {
    display: block;
    min-width: 0;
  }
  .inventory-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .inventory-table tbody {
    display: block;
  }
  .inventory-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 16px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--line);
  }
  .inventory-table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .inventory-table td:first-child {
    grid-column: 1 / -1;
    min-width: 0;
    width: auto;
  }
  .inventory-table td:nth-child(2) {
    grid-column: 1 / -1;
    width: auto;
    margin: 4px 0;
  }
  .inventory-table td:nth-child(3)::before {
    content: "价格";
  }
  .inventory-table td:nth-child(4)::before {
    content: "数据时间";
  }
  .inventory-table td:nth-child(3)::before,
  .inventory-table td:nth-child(4)::before {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .inventory-table td:nth-child(5) {
    grid-column: 1 / -1;
    margin-top: 5px;
  }
  .inventory-table .store-name {
    text-align: left;
  }
  .inventory-table .size {
    font-size: 12px;
  }
  .inventory-table button {
    padding: 9px 12px;
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .view-tabs {
    scrollbar-width: none;
  }
  .view-tabs::-webkit-scrollbar {
    display: none;
  }
}
