:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans TC",
    "PingFang TC",
    sans-serif;
  color: #242433;
  background: #f6f7fb;
  font-synthesis: none;
  font-size: 16px;
  --purple: #6d4aff;
  --line: #ececf2;
  --muted: #7b7d90;
  --ink: #242433;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b7a7ff;
  outline-offset: 3px;
}
button {
  border: 0;
}
button svg,
a svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 1.8rem;
  letter-spacing: -0.045em;
  line-height: 1.35;
}
h2 {
  font-size: 1.12rem;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.7;
}
small {
  font-size: 0.8rem;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dedee8;
  border-radius: 9px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #6d4aff12;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%237b7d90' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 550;
}
label small {
  color: var(--muted);
  font-weight: 400;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: #fafbfe;
}
td,
th {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  font-size: 0.875rem;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.muted {
  color: var(--muted);
}
.sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 7px;
}
.brand {
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand img {
  width: 35px;
  height: 35px;
}
.brand span {
  color: var(--purple);
}
.sidebar {
  width: 236px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 29px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.sidebar > .brand {
  padding-left: 8px;
}
.workspace-label {
  font-size: 0.75rem;
  color: #9b9cae;
  letter-spacing: 0.08em;
  padding: 33px 15px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav button {
  padding: 13px 15px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #77788c;
  border-radius: 9px;
  background: transparent;
  font-size: 0.9rem;
}
.nav button.active {
  background: #f0ebff;
  color: #6742ed;
  font-weight: 650;
}
.nav button:hover {
  background: #f7f4ff;
}
.nav button .count {
  margin-left: auto;
  background: white;
  border-radius: 5px;
  padding: 1px 7px;
  color: #6d4aff;
  font-size: 0.75rem;
}
.sidebar-bottom {
  margin-top: auto;
}
.tip {
  border: 1px solid #e8e0ff;
  background: #faf8ff;
  border-radius: 12px;
  padding: 17px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #80709f;
}
.tip strong {
  display: block;
  color: #51416d;
  font-size: 0.875rem;
  margin-bottom: 6px;
}
.tip svg {
  color: var(--purple);
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 23px 7px 0;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ece7ff;
  color: #7559cc;
  font-weight: 600;
  font-size: 0.8rem;
}
.account strong {
  font-size: 0.85rem;
}
.account small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.main {
  margin-left: 236px;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: #88899b;
  display: flex;
  gap: 13px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 500;
  color: #424253;
}
.top-actions,
.row,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pill {
  font-size: 0.75rem;
  border: 1px solid #e6e0fb;
  background: #f7f4ff;
  color: #8066bc;
  border-radius: 6px;
  padding: 5px 9px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple);
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 550;
  font-size: 0.875rem;
  line-height: 1.3;
}
.button:hover {
  filter: brightness(0.96);
}
.button.secondary {
  background: white;
  color: #505065;
  border-color: #e2e2ec;
}
.button.soft {
  background: #f2edff;
  color: #704ce3;
}
.button.danger {
  background: #fff1f1;
  color: #b94141;
  border-color: #ffdada;
}
.button.small {
  padding: 7px 11px;
  font-size: 0.8rem;
}
.icon-btn {
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: transparent;
  color: #77778b;
}
.icon-btn:hover {
  background: #f0edf8;
}
.content {
  max-width: 1510px;
  margin: auto;
  padding: 34px 40px 30px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 27px;
}
.eyebrow {
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}
.banner {
  display: flex;
  gap: 21px;
  align-items: center;
  border-radius: 13px;
  padding: 24px 28px;
  margin-bottom: 25px;
  background: linear-gradient(105deg, #eee7ff, #f7f3ff 70%, #eae8ff);
  border: 1px solid #e4dcff;
  position: relative;
  overflow: hidden;
}
.banner-symbol {
  font-size: 2rem;
  color: #8260eb;
  width: 50px;
}
.banner h2 {
  color: #463375;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.banner p {
  font-size: 0.85rem;
  color: #89779e;
}
.banner .button {
  margin-left: auto;
  z-index: 1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #848598;
  font-size: 0.85rem;
}
.stat-icon {
  display: grid;
  place-items: center;
  background: #f5f2ff;
  color: #977fe3;
  padding: 8px;
  border-radius: 9px;
}
.stat-icon svg {
  width: 18px;
  height: 18px;
}
.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 650;
  margin: 8px 0 8px;
  letter-spacing: -0.04em;
}
.stat-bottom {
  font-size: 0.75rem;
  color: #9999a8;
}
.stat-bottom strong {
  font-weight: 500;
  color: #31a278;
  margin-right: 7px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 23px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 24px 15px;
}
.panel-head p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 5px;
}
.chart-wrap {
  padding: 8px 24px 24px;
}
.chart {
  width: 100%;
  height: 200px;
  display: block;
  overflow: visible;
}
.chart text {
  fill: #a1a0b1;
  font-size: 12px;
}
.chart line {
  stroke: #f1eff7;
  stroke-dasharray: 4;
}
.legend {
  font-size: 0.75rem;
  color: #9895a9;
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #9a80fa;
  border-radius: 50%;
}
.checklist {
  padding: 0 24px;
}
.checkitem {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f1eff6;
  align-items: center;
}
.checkitem:last-child {
  border: 0;
}
.checkcircle {
  border: 1px solid #ded6f7;
  background: #f6f2ff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #9675e2;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.checkcircle.done {
  background: #ece7ff;
  border-color: #ece7ff;
}
.checkitem strong {
  font-size: 0.85rem;
  font-weight: 550;
}
.checkitem p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}
.checkitem .icon-btn {
  margin-left: auto;
}
.progress {
  display: block;
  border: 0;
  width: calc(100% - 48px);
  height: 5px;
  background: #f0ecf9;
  border-radius: 5px;
  margin: 5px 24px 3px;
}
.progress > span {
  display: block;
  background: #9c80f4;
  height: 100%;
  border-radius: 5px;
}
.panel-foot {
  padding: 9px 24px 17px;
  color: #a5a0b2;
  font-size: 0.75rem;
}
.status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 0.875rem;
  align-items: center;
  gap: 5px;
}
.status.pending {
  background: #fff5df;
  color: #b38d36;
}
.status.shipped,
.status.live {
  background: #e9f7f0;
  color: #459b78;
}
.status.cancelled,
.status.off {
  background: #f0f0f5;
  color: #8d8b9f;
}
.table-scroll {
  overflow-x: auto;
}
.link {
  background: none;
  color: #7b5cd8;
  padding: 0;
  font-size: 0.8rem;
}
.table-product {
  display: flex;
  gap: 11px;
  align-items: center;
}
.table-product img {
  width: 43px;
  height: 43px;
  border-radius: 7px;
}
.footer {
  color: #aaa9b7;
  font-size: 0.75rem;
  text-align: center;
  padding: 26px 0 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.search {
  position: relative;
  max-width: 360px;
  flex: 1;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 18px;
  height: 18px;
  color: #a09bae;
}
.search input {
  padding-left: 39px;
}
.toolbar select {
  width: auto;
  min-width: 130px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.product-image {
  width: 100%;
  display: block;
  aspect-ratio: 1.35;
  object-fit: cover;
}
.product-info {
  padding: 19px;
}
.product-category {
  font-size: 0.75rem;
  color: #9c91ac;
  margin-bottom: 8px;
}
.product h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.product-description {
  font-size: 0.825rem;
  color: #8c859a;
  margin-top: 10px;
  line-height: 1.8;
}
.product-price {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.product-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.product-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
}
.product-tools span {
  font-size: 0.75rem;
  color: #9a94a4;
}
.empty {
  text-align: center;
  padding: 65px 20px;
  color: #8e869e;
}
.empty h2 {
  color: #514860;
  margin-bottom: 10px;
}
.empty .button {
  margin-top: 20px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.form-grid {
  display: grid;
  gap: 20px;
  padding: 6px 24px 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.switch-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--purple);
}
.store-preview {
  margin: 5px 24px 24px;
  border-radius: 12px;
  padding: 45px 25px;
  background: #f4edff;
  text-align: center;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.store-preview h2 {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #5f3e88;
}
.store-preview p {
  margin-top: 15px;
  color: #8b6fa2;
  font-size: 0.875rem;
}
.notes {
  font-size: 0.875rem;
  color: #8d849a;
  line-height: 1.9;
  padding: 0 24px 24px;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.help-grid .panel {
  padding: 26px;
}
.help-grid p {
  font-size: 0.9rem;
  color: #858096;
  margin-top: 14px;
}
.help-grid .button {
  margin-top: 20px;
}
dialog {
  border: 1px solid #e6e0ef;
  border-radius: 16px;
  padding: 0;
  width: min(580px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 24px 100px #29203f26;
  color: var(--ink);
}
dialog::backdrop {
  background: #1d163c55;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 23px 25px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.1rem;
}
.modal-body {
  padding: 24px;
  display: grid;
  gap: 19px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}
.form-error {
  color: #bd465b;
  background: #fff0f3;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.875rem;
}
.inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.copy-info {
  font-size: 0.75rem;
  color: #a293b7;
  margin-top: 6px;
}
.order-details {
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.detail-item.total {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  font-size: 1.1rem;
  font-weight: 650;
}
.cart-item {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 65px;
  height: 65px;
  border-radius: 10px;
}
.cart-item strong {
  font-size: 0.875rem;
}
.cart-item .quantity {
  width: 66px;
  padding: 8px;
}
.cart-item .cart-title {
  flex: 1;
}
.cart-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #302442;
  color: white;
  border-radius: 10px;
  padding: 13px 21px;
  font-size: 0.875rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: #8a7b9b;
}
.demo-strip {
  background: #eeebff;
  text-align: center;
  padding: 9px 15px;
  color: #8c75b2;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.storefront {
  background: #fff;
  min-height: 100vh;
  --accent: #6d4aff;
}
.storefront.forest {
  --accent: #397f66;
}
.storefront.ocean {
  --accent: #317ba9;
}
.store-nav {
  max-width: 1200px;
  margin: auto;
  padding: 24px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-name {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.storefront .button {
  background: var(--accent);
}
.storefront .button.secondary {
  background: white;
  color: var(--accent);
  border-color: #ded8e7;
}
.store-hero {
  margin: 0 auto;
  max-width: 1130px;
  background: #f1eafa;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 320px;
  overflow: hidden;
}
.forest .store-hero {
  background: #e7f1e9;
}
.ocean .store-hero {
  background: #e6f0f7;
}
.hero-copy {
  padding: 60px 44px;
}
.hero-copy .eyebrow {
  color: var(--accent);
}
.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.5;
  color: #493358;
  letter-spacing: 0.02em;
}
.hero-copy p {
  color: #9d87a9;
  font-size: 0.875rem;
  margin-top: 18px;
}
.hero-image {
  background: url("/assets/hero.svg") center/cover no-repeat;
}
.store-content {
  max-width: 1200px;
  padding: 43px 35px;
  margin: auto;
}
.store-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.store-section-head h2 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid #eae5ee;
  border-radius: 20px;
  padding: 8px 14px;
  background: white;
  color: #98879e;
  font-size: 0.8rem;
}
.filter.active {
  background: #f1eafa;
  border-color: #e3d7f2;
  color: var(--accent);
}
.storefront .product {
  border-color: #f0ebf2;
}
.storefront .product-image {
  aspect-ratio: 1.25;
}
.storefront .product-info {
  padding: 20px 2px;
}
.storefront .product {
  border: 0;
  overflow: visible;
}
.storefront .product-image {
  border-radius: 12px;
}
.storefront .product .button {
  padding: 10px 12px;
}
.storefront footer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 30px;
  color: #9a8ea5;
  font-size: 0.8rem;
}
.storefront footer .brand {
  justify-content: center;
  font-size: 1rem;
  margin-top: 16px;
}
.order-notice {
  background: #f4f0fb;
  border-radius: 10px;
  padding: 17px;
  font-size: 0.85rem;
  color: #8c759c;
}
.mobile-logo {
  display: none;
}
.busy-overlay {
  opacity: 0.6;
  pointer-events: none;
}
.form-hint {
  font-size: 0.8rem;
  color: #8d8399;
  line-height: 1.7;
}
.share-url {
  font-size: 0.8rem;
  background: #f7f4fb;
  border-radius: 7px;
  padding: 13px;
  word-break: break-all;
  color: #7a638e;
}
.danger-zone {
  margin-top: 24px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.danger-zone p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}
@media (min-width: 1500px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
  .storefront .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 205px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 17px;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .dashboard-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner {
    padding: 21px;
  }
  .banner-symbol {
    display: none;
  }
  .storefront .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 69px;
    padding: 6px 8px;
    background: #fff;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .sidebar > .brand,
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 2px;
  }
  .nav button {
    flex-direction: column;
    gap: 4px;
    padding: 7px 4px;
    font-size: 0.875rem;
    flex: 1;
  }
  .nav button .count {
    display: none;
  }
  .main {
    margin: 0;
    padding-bottom: 69px;
  }
  .mobile-logo {
    display: flex;
    font-size: 1.25rem;
  }
  .mobile-logo img {
    width: 28px;
    height: 28px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar {
    height: 66px;
    padding: 0 20px;
  }
  .top-actions .pill {
    display: none;
  }
  .content {
    padding: 25px 20px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 1.5rem;
  }
  .page-heading > .actions {
    gap: 6px;
  }
  .page-heading .button {
    font-size: 0.8rem;
    padding: 10px;
  }
  .settings-layout,
  .help-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    align-items: flex-start;
    gap: 13px;
  }
  .banner .button {
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 0.8rem;
  }
  .banner h2 {
    font-size: 0.95rem;
  }
  .store-nav {
    padding: 20px;
  }
  .store-hero {
    border-radius: 0;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
  }
  .hero-copy {
    padding: 35px 24px;
  }
  .hero-copy h1 {
    font-size: 1.9rem;
  }
  .store-content {
    padding: 30px 20px;
  }
  .store-section-head {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  .storefront .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .store-name {
    font-size: 1rem;
  }
  .store-nav .button {
    font-size: 0.75rem;
    padding: 9px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search {
    min-width: 180px;
  }
  .danger-zone {
    align-items: flex-start;
  }
  .danger-zone .button {
    white-space: nowrap;
  }
}
@media (max-width: 460px) {
  .products {
    gap: 13px;
  }
  .product-info {
    padding: 13px;
  }
  .product h3 {
    font-size: 0.9rem;
  }
  .product-price {
    font-size: 1rem;
  }
  .product-tools {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-tools .button {
    font-size: 0.7rem;
  }
  .storefront .product-end {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .hero-copy {
    padding: 30px 20px;
  }
  .hero-copy h1 {
    font-size: 1.65rem;
  }
  .hero-copy p {
    font-size: 0.8rem;
  }
  .store-hero {
    grid-template-columns: 1.1fr 1fr;
  }
  .page-heading .actions .secondary {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .storefront .product-description {
    display: none;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding: 7px 10px;
    font-size: 0.75rem;
  }
  .top-actions {
    gap: 6px;
  }
  .store-nav .row {
    gap: 5px;
  }
}

progress::-webkit-progress-bar {
  background: #f0ecf9;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: #9c80f4;
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: #9c80f4;
  border-radius: 5px;
}
.payment-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.payment-intro {
  margin-bottom: 24px;
}
.payment-settings-grid .form-hint {
  overflow-wrap: anywhere;
}
.payment-settings-grid code {
  font-size: 0.8rem;
}
.payment-meta {
  display: block;
  margin-top: 7px;
  color: #8d849a;
}
.status.awaiting_payment {
  background: #eee9ff;
  color: #7956c5;
}
.order-notice .link {
  display: block;
  margin-top: 12px;
}
.gateway-form {
  margin: 0;
}
@media (max-width: 1050px) {
  .payment-settings-grid {
    grid-template-columns: 1fr;
  }
}
.wallet-trigger {
  border-top: 1px solid var(--line);
  padding: 24px;
}
.wallet-trigger > .form-hint {
  margin: 12px 0 20px;
}
.wallet-trigger .form-grid {
  padding: 0;
}
.wallet-trigger .actions {
  flex-wrap: wrap;
}
.payment-exchange {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  max-width: 100%;
  overflow: hidden;
}
.payment-exchange summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.payment-exchange .form-hint {
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.payment-exchange h4 {
  font-size: 0.875rem;
  margin: 17px 0 8px;
}
.payment-exchange pre {
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 220px;
  overflow: auto;
  background: #f7f5fc;
  padding: 12px;
  border-radius: 7px;
  margin: 0;
}
