/* Baize configurable resource market homepage. */

body:not(.dark-theme) .baize-resource-market {
  --baize-rm-bg: #f4f8ff;
  --baize-rm-soft: #eef5ff;
  --baize-rm-paper: #fff;
  --baize-rm-ink: #112744;
  --baize-rm-muted: #667b96;
  --baize-rm-line: #d9e7fb;
  --baize-rm-blue: #2f6bff;
  --baize-rm-blue-deep: #1d4fcb;
  --baize-rm-cyan: #59b7ff;
  --baize-rm-green: #20b26b;
  --baize-rm-orange: #ff9f43;
  --baize-rm-shadow: 0 16px 40px rgba(32, 86, 180, .08);
  color: var(--baize-rm-ink);
  background:
    radial-gradient(circle at right top, rgba(89, 183, 255, .14), transparent 20%),
    radial-gradient(circle at left 20%, rgba(47, 107, 255, .08), transparent 18%),
    linear-gradient(180deg, var(--baize-rm-bg), var(--baize-rm-soft));
  line-height: 1.7;
}

body:not(.dark-theme) .baize-resource-market *,
body:not(.dark-theme) .baize-resource-market *::before,
body:not(.dark-theme) .baize-resource-market *::after {
  box-sizing: border-box;
}

body:not(.dark-theme) .baize-rm-wrap {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 84px;
}

body:not(.dark-theme) .baize-rm-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  margin-bottom: 24px;
}

body:not(.dark-theme) .baize-rm-hero-main,
body:not(.dark-theme) .baize-rm-hero-side,
body:not(.dark-theme) .baize-rm-search,
body:not(.dark-theme) .baize-rm-category-card,
body:not(.dark-theme) .baize-rm-extra-card,
body:not(.dark-theme) .baize-rm-panel,
body:not(.dark-theme) .baize-rm-product-card,
body:not(.dark-theme) .baize-rm-scene-card,
body:not(.dark-theme) .baize-rm-creator-side,
body:not(.dark-theme) .baize-rm-faq details {
  border: 1px solid var(--baize-rm-line);
  background: var(--baize-rm-paper);
  box-shadow: var(--baize-rm-shadow);
}

body:not(.dark-theme) .baize-rm-hero-main {
  padding: 36px;
  border-radius: 8px;
  background:
    radial-gradient(circle at right top, rgba(47, 107, 255, .10), transparent 24%),
    linear-gradient(135deg, #fff 0%, #f8fbff 60%, #eef5ff 100%);
}

body:not(.dark-theme) .baize-rm-eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--baize-rm-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

body:not(.dark-theme) .baize-rm-hero h1 {
  margin: 0 0 14px;
  color: var(--baize-rm-ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-hero-desc {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--baize-rm-muted);
  font-size: 16px;
  line-height: 1.9;
}

body:not(.dark-theme) .baize-rm-tags,
body:not(.dark-theme) .baize-rm-chip-row,
body:not(.dark-theme) .baize-rm-product-tags,
body:not(.dark-theme) .baize-rm-filter-group,
body:not(.dark-theme) .baize-rm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body:not(.dark-theme) .baize-rm-tags span,
body:not(.dark-theme) .baize-rm-chip-row span,
body:not(.dark-theme) .baize-rm-product-tags span,
body:not(.dark-theme) .baize-rm-filter-group span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 999px;
  background: #fff;
  color: #3d5b81;
  font-size: 12px;
  font-weight: 800;
}

body:not(.dark-theme) .baize-rm-actions {
  margin-top: 20px;
}

body:not(.dark-theme) .baize-rm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

body:not(.dark-theme) .baize-rm-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-btn-primary {
  background: linear-gradient(135deg, var(--baize-rm-blue), var(--baize-rm-blue-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 107, 255, .22);
}

body:not(.dark-theme) .baize-rm-btn-light,
body:not(.dark-theme) .baize-rm-btn-white {
  border-color: var(--baize-rm-line);
  background: #fff;
  color: var(--baize-rm-ink);
}

body:not(.dark-theme) .baize-rm-btn-dark {
  background: #10223e;
  color: #fff;
}

body:not(.dark-theme) .baize-rm-hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border-radius: 8px;
}

body:not(.dark-theme) .baize-rm-side-panel {
  padding: 18px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

body:not(.dark-theme) .baize-rm-side-panel h3,
body:not(.dark-theme) .baize-rm-panel h3,
body:not(.dark-theme) .baize-rm-creator-side h3 {
  margin: 0 0 14px;
  color: var(--baize-rm-ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body:not(.dark-theme) .baize-rm-mini-stat {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #fff;
}

body:not(.dark-theme) .baize-rm-mini-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--baize-rm-muted);
  font-size: 12px;
}

body:not(.dark-theme) .baize-rm-mini-stat strong {
  display: block;
  color: var(--baize-rm-ink);
  font-size: 20px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-trend-list {
  display: grid;
  gap: 10px;
}

body:not(.dark-theme) .baize-rm-trend-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--baize-rm-line);
  color: #3a5573;
  font-size: 14px;
}

body:not(.dark-theme) .baize-rm-trend-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body:not(.dark-theme) .baize-rm-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

body:not(.dark-theme) .baize-rm-blue { background: #edf4ff; color: var(--baize-rm-blue); }
body:not(.dark-theme) .baize-rm-green { background: #ecfff4; color: var(--baize-rm-green); }
body:not(.dark-theme) .baize-rm-orange { background: #fff4e8; color: var(--baize-rm-orange); }

body:not(.dark-theme) .baize-rm-search {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 22px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
}

body:not(.dark-theme) .baize-rm-search-main {
  flex: 1 1 560px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-height: 58px;
  padding: 6px 8px 6px 18px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 12px;
  background: #fff;
  color: var(--baize-rm-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 14px;
}

body:not(.dark-theme) .baize-rm-search-main:focus-within {
  border-color: rgba(47, 107, 255, .45);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .08);
}

body:not(.dark-theme) .baize-rm-search-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--baize-rm-blue);
  font-size: 17px;
  line-height: 1;
}

body:not(.dark-theme) .baize-rm-search-main input {
  flex: 1 1 auto;
  min-width: 160px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
  color: var(--baize-rm-ink);
  font: inherit !important;
  line-height: 44px;
  appearance: none;
}

body:not(.dark-theme) .baize-rm-search-main input::placeholder {
  color: var(--baize-rm-muted);
}

body:not(.dark-theme) .baize-rm-search-main .baize-rm-search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 0 !important;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--baize-rm-blue), var(--baize-rm-blue-deep));
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(47, 107, 255, .18);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

body:not(.dark-theme) .baize-rm-search-main .baize-rm-search-submit:hover {
  filter: brightness(1.04);
}

body:not(.dark-theme) .baize-rm-search .baize-rm-filter-group {
  flex: 0 0 auto;
}

body:not(.dark-theme) .baize-rm-search .baize-rm-filter-group span {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--baize-rm-ink);
  box-shadow: 0 8px 22px rgba(32, 86, 180, .08);
}

body:not(.dark-theme) .baize-rm-section {
  margin-bottom: 30px;
}

body:not(.dark-theme) .baize-rm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 16px;
}

body:not(.dark-theme) .baize-rm-section-head h2 {
  margin: 0;
  color: var(--baize-rm-ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-section-head p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--baize-rm-muted);
  font-size: 14px;
}

body:not(.dark-theme) .baize-rm-section-head > a {
  color: var(--baize-rm-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body:not(.dark-theme) .baize-rm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body:not(.dark-theme) .baize-rm-category-card,
body:not(.dark-theme) .baize-rm-extra-card {
  display: block;
  min-height: 240px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

body:not(.dark-theme) .baize-rm-category-card:hover,
body:not(.dark-theme) .baize-rm-extra-card:hover,
body:not(.dark-theme) .baize-rm-product-card:hover,
body:not(.dark-theme) .baize-rm-scene-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(32, 86, 180, .10);
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-category-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 1px solid #d6e5ff;
  border-radius: 8px;
  background: linear-gradient(135deg, #edf4ff, #dcebff);
  color: var(--baize-rm-blue);
  font-size: 13px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-category-image-icon {
  overflow: hidden;
  background: #fff;
}

body:not(.dark-theme) .baize-rm-category-image-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

body:not(.dark-theme) .baize-rm-category-card h3,
body:not(.dark-theme) .baize-rm-extra-card h3,
body:not(.dark-theme) .baize-rm-product-card h3 {
  margin: 0 0 10px;
  color: var(--baize-rm-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-category-card p,
body:not(.dark-theme) .baize-rm-extra-card p {
  min-height: 72px;
  margin: 0 0 14px;
  color: var(--baize-rm-muted);
  font-size: 14px;
  line-height: 1.8;
}

body:not(.dark-theme) .baize-rm-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

body:not(.dark-theme) .baize-rm-extra-card {
  min-height: 142px;
}

body:not(.dark-theme) .baize-rm-board {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

body:not(.dark-theme) .baize-rm-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

body:not(.dark-theme) .baize-rm-panel {
  padding: 20px;
  border-radius: 8px;
}

body:not(.dark-theme) .baize-rm-list {
  display: grid;
  gap: 10px;
}

body:not(.dark-theme) .baize-rm-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: #35537b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-products {
  margin-bottom: 0;
}

body:not(.dark-theme) .baize-rm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body:not(.dark-theme) .baize-rm-product-card {
  overflow: hidden;
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

body:not(.dark-theme) .baize-rm-product-cover {
  position: relative;
  display: block;
  height: 176px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(89, 183, 255, .24), transparent 24%),
    linear-gradient(135deg, #f7fbff, #edf4ff);
  color: inherit;
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.dark-theme) .baize-rm-product-cover span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--baize-rm-blue);
  font-size: 12px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-product-body {
  padding: 20px;
}

body:not(.dark-theme) .baize-rm-product-tags {
  margin-bottom: 12px;
}

body:not(.dark-theme) .baize-rm-product-tags span {
  background: #edf4ff;
  color: var(--baize-rm-blue);
}

body:not(.dark-theme) .baize-rm-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-product-card p {
  min-height: 74px;
  margin: 0;
  color: var(--baize-rm-muted);
  font-size: 14px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-rm-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

body:not(.dark-theme) .baize-rm-product-bottom strong {
  color: var(--baize-rm-blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

body:not(.dark-theme) .baize-rm-product-bottom a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--baize-rm-blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-scenes {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

body:not(.dark-theme) .baize-rm-scene-intro,
body:not(.dark-theme) .baize-rm-creator-main {
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .24), transparent 30%),
    linear-gradient(135deg, #10223e, #1d4fcb 58%, #24a8ef);
}

body:not(.dark-theme) .baize-rm-scene-intro h2,
body:not(.dark-theme) .baize-rm-creator-main h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-scene-intro p,
body:not(.dark-theme) .baize-rm-creator-main p {
  margin: 0;
  color: #e6f3ff;
  font-size: 15px;
  line-height: 1.85;
}

body:not(.dark-theme) .baize-rm-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body:not(.dark-theme) .baize-rm-scene-card {
  display: block;
  min-height: 132px;
  padding: 18px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

body:not(.dark-theme) .baize-rm-scene-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--baize-rm-ink);
  font-size: 17px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-scene-card span {
  color: var(--baize-rm-muted);
  font-size: 13px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-rm-creator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}

body:not(.dark-theme) .baize-rm-creator-main {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .26), transparent 30%),
    linear-gradient(135deg, var(--baize-rm-blue), var(--baize-rm-cyan));
}

body:not(.dark-theme) .baize-rm-creator-side {
  padding: 24px;
  border-radius: 8px;
}

body:not(.dark-theme) .baize-rm-creator-side div {
  padding: 14px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #f8fbff;
}

body:not(.dark-theme) .baize-rm-creator-side div + div {
  margin-top: 12px;
}

body:not(.dark-theme) .baize-rm-creator-side strong,
body:not(.dark-theme) .baize-rm-creator-side span {
  display: block;
}

body:not(.dark-theme) .baize-rm-creator-side strong {
  color: var(--baize-rm-ink);
  font-size: 15px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-creator-side span {
  margin-top: 2px;
  color: var(--baize-rm-muted);
  font-size: 12px;
}

body:not(.dark-theme) .baize-rm-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body:not(.dark-theme) .baize-rm-faq details {
  padding: 20px;
  border-radius: 8px;
}

body:not(.dark-theme) .baize-rm-faq summary {
  cursor: pointer;
  color: var(--baize-rm-ink);
  font-size: 17px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-faq p {
  margin: 10px 0 0;
  color: var(--baize-rm-muted);
  font-size: 14px;
}

body:not(.dark-theme) .baize-rm-tax-page .baize-rm-wrap {
  width: min(1400px, calc(100% - 64px));
}

body:not(.dark-theme) .baize-rm-tax-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: 38px 0 22px;
  padding: 42px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 16%, rgba(89, 183, 255, .18), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  box-shadow: var(--baize-rm-shadow);
}

body:not(.dark-theme) .baize-rm-tax-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 13px;
}

body:not(.dark-theme) .baize-rm-tax-crumb a {
  color: #64748b;
}

body:not(.dark-theme) .baize-rm-tax-crumb span:last-child {
  color: var(--baize-rm-blue);
  font-weight: 900;
}

body:not(.dark-theme) .baize-rm-tax-hero h1 {
  margin: 16px 0 12px;
  color: var(--baize-rm-ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-rm-tax-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--baize-rm-muted);
  font-size: 15px;
  line-height: 1.85;
}

body:not(.dark-theme) .baize-rm-tax-stats {
  display: grid;
  grid-template-columns: repeat(3, 128px);
  gap: 12px;
}

body:not(.dark-theme) .baize-rm-tax-stats div {
  min-height: 100px;
  padding: 16px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

body:not(.dark-theme) .baize-rm-tax-stats strong,
body:not(.dark-theme) .baize-rm-tax-stats span {
  display: block;
}

body:not(.dark-theme) .baize-rm-tax-stats strong {
  overflow-wrap: anywhere;
  margin-bottom: 6px;
  color: var(--baize-rm-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

body:not(.dark-theme) .baize-rm-tax-stats span {
  color: var(--baize-rm-muted);
  font-size: 12px;
  font-weight: 750;
}

body:not(.dark-theme) .baize-rm-tax-filter {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--baize-rm-shadow);
}

body:not(.dark-theme) .baize-rm-tax-filter-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 12px 0 16px;
  border-bottom: 1px dashed #e5edf7;
}

body:not(.dark-theme) .baize-rm-tax-filter-row:first-child {
  padding-top: 0;
}

body:not(.dark-theme) .baize-rm-tax-filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.dark-theme) .baize-rm-tax-filter-label {
  padding-top: 11px;
  color: var(--baize-rm-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

body:not(.dark-theme) .baize-rm-tax-filter-tags,
body:not(.dark-theme) .baize-rm-tax-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body:not(.dark-theme) .baize-rm-tax-filter-tag,
body:not(.dark-theme) .baize-rm-tax-sort a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 999px;
  background: #f8fbff;
  color: #475467;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

body:not(.dark-theme) .baize-rm-tax-filter-tag.is-active,
body:not(.dark-theme) .baize-rm-tax-sort a.is-active {
  border-color: var(--baize-rm-blue);
  background: var(--baize-rm-blue);
  color: #fff;
}

body:not(.dark-theme) .baize-rm-tax-products {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.dark-theme) .baize-rm-tax-products .baize-rm-section-head {
  align-items: center;
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--baize-rm-shadow);
}

body:not(.dark-theme) .baize-rm-tax-products .baize-rm-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:not(.dark-theme) .baize-rm-tax-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

body:not(.dark-theme) .baize-rm-tax-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--baize-rm-line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--baize-rm-blue);
  font-weight: 800;
  text-decoration: none;
}

body:not(.dark-theme) .baize-rm-tax-pagination .page-numbers.current {
  border-color: var(--baize-rm-blue);
  background: var(--baize-rm-blue);
  color: #fff;
}

body:not(.dark-theme) .baize-rm-tax-empty {
  padding: 32px;
  border: 1px dashed var(--baize-rm-line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--baize-rm-muted);
  text-align: center;
}

@media (max-width: 1180px) {
  body:not(.dark-theme) .baize-rm-hero,
  body:not(.dark-theme) .baize-rm-board,
  body:not(.dark-theme) .baize-rm-scenes,
  body:not(.dark-theme) .baize-rm-creator {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-rm-sidebar {
    position: static;
  }

  body:not(.dark-theme) .baize-rm-category-grid,
  body:not(.dark-theme) .baize-rm-product-grid,
  body:not(.dark-theme) .baize-rm-tax-products .baize-rm-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.dark-theme) .baize-rm-tax-hero {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-rm-tax-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body:not(.dark-theme) .baize-rm-wrap {
    width: min(100% - 28px, 1380px);
    padding-top: 16px;
  }

  body:not(.dark-theme) .baize-rm-hero-main,
  body:not(.dark-theme) .baize-rm-hero-side,
  body:not(.dark-theme) .baize-rm-side-panel,
  body:not(.dark-theme) .baize-rm-category-card,
  body:not(.dark-theme) .baize-rm-extra-card,
  body:not(.dark-theme) .baize-rm-panel,
  body:not(.dark-theme) .baize-rm-product-body,
  body:not(.dark-theme) .baize-rm-scene-intro,
  body:not(.dark-theme) .baize-rm-creator-main,
  body:not(.dark-theme) .baize-rm-creator-side {
    padding: 18px;
  }

  body:not(.dark-theme) .baize-rm-hero h1 {
    font-size: 34px;
  }

  body:not(.dark-theme) .baize-rm-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.dark-theme) .baize-rm-search {
    padding: 16px;
  }

  body:not(.dark-theme) .baize-rm-search-main {
    flex-basis: 100%;
    min-height: auto;
    padding: 10px 12px;
    align-items: stretch;
    flex-wrap: wrap;
  }

  body:not(.dark-theme) .baize-rm-search-icon {
    height: 42px;
  }

  body:not(.dark-theme) .baize-rm-search-main input {
    min-width: 0;
  }

  body:not(.dark-theme) .baize-rm-search-main .baize-rm-search-submit {
    width: 100%;
  }

  body:not(.dark-theme) .baize-rm-search .baize-rm-filter-group,
  body:not(.dark-theme) .baize-rm-search .baize-rm-filter-group span {
    width: 100%;
    justify-content: center;
  }

  body:not(.dark-theme) .baize-rm-stat-grid,
  body:not(.dark-theme) .baize-rm-category-grid,
  body:not(.dark-theme) .baize-rm-extra-grid,
  body:not(.dark-theme) .baize-rm-product-grid,
  body:not(.dark-theme) .baize-rm-tax-products .baize-rm-product-grid,
  body:not(.dark-theme) .baize-rm-scene-grid,
  body:not(.dark-theme) .baize-rm-faq-grid {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-rm-tax-page .baize-rm-wrap {
    width: min(100% - 28px, 1400px);
  }

  body:not(.dark-theme) .baize-rm-tax-hero,
  body:not(.dark-theme) .baize-rm-tax-products .baize-rm-section-head,
  body:not(.dark-theme) .baize-rm-tax-filter {
    padding: 18px;
  }

  body:not(.dark-theme) .baize-rm-tax-products {
    padding: 0;
  }

  body:not(.dark-theme) .baize-rm-tax-hero h1 {
    font-size: 34px;
  }

  body:not(.dark-theme) .baize-rm-tax-stats,
  body:not(.dark-theme) .baize-rm-tax-filter-row {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-rm-tax-filter-label {
    padding-top: 0;
  }
}
