/* Shared structure for the classic and store-list storefronts. Visual themes live in their own template style.css files. */
body.store-reference {
  color: #20242a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body.store-reference:not(.shop-cover) > .wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
body.store-reference .store-shop-card,
body.store-reference .store-btn,
body.store-reference .store-search-wrap,
body.store-reference .store-merchant-modal,
body.store-reference #goodsList > .item {
  box-sizing: border-box;
}
body.store-reference #goodsList > .item[hidden] {
  display: none !important;
}
.store-search-wrap {
  position: relative;
  display: block;
  margin: 0;
}
.store-search-wrap .store-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  pointer-events: none;
  transform: translateY(-50%);
}
.store-search-wrap .store-search {
  display: block;
  width: 100%;
  margin: 0;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.store-search-wrap .store-search::-webkit-search-decoration,
.store-search-wrap .store-search::-webkit-search-cancel-button,
.store-search-wrap .store-search::-webkit-search-results-button,
.store-search-wrap .store-search::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
.category .categorys .item[data-cate="0"] > svg,
.category .categorys .item[data-cate="0"] > img,
.category .categorys .item[data-cate="0"] > .cat-ico {
  display: none !important;
}
.store-search-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
}
.store-search-empty[hidden] {
  display: none !important;
}
.store-reference :where(.store-btn, .store-search, .category .item, #goodsList > .item, .store-buy-button):focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.store-merchant-modal[hidden] {
  display: none !important;
}
.store-merchant-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, .48);
}
.store-modal-content {
  width: 430px;
  max-width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
  box-sizing: border-box;
}
.store-modal-content h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.4;
  color: #172033;
}
.store-merchant-details {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.store-merchant-details > div {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #edf1f6;
}
.store-merchant-details dt {
  flex: 0 0 72px;
  color: #778399;
}
.store-merchant-details dd {
  min-width: 0;
  margin: 0;
  color: #263246;
  overflow-wrap: anywhere;
}
.store-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
body.store-modal-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .store-merchant-modal {
    align-items: flex-end;
    padding: 12px;
  }
  .store-modal-content {
    width: 100%;
    max-height: 82vh;
    padding: 20px;
  }
  .store-merchant-details > div {
    gap: 8px;
  }
  .store-merchant-details dt {
    flex-basis: 66px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.store-reference * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
