.store-page .store-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.store-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  background: #fff;
}
.store-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.store-card-cover,
.store-detail-cover {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f1f5f9;
}
.store-detail-cover {
  width: 80px;
  height: 80px;
}
.store-card-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.store-section-title {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-weight: 700;
}
.store-richtext {
  line-height: 1.7;
  color: #334155;
  overflow-wrap: anywhere;
}
.store-richtext pre,
.store-richtext code {
  background: #0f172a0a;
  border-radius: 0.35rem;
}
.store-richtext pre {
  padding: 0.75rem 1rem;
  overflow: auto;
}
.store-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.store-changelog-item {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  border-left: 2px solid #e2e8f0;
}
.store-changelog-meta {
  margin-bottom: 0.35rem;
}
.store-changelog-card {
  border: 1px solid #f1f5f9;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
}
.store-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #eef2f7;
}
.store-meta dt {
  color: #64748b;
  font-weight: 500;
}
.store-meta dd {
  margin: 0;
  text-align: end;
  color: #0f172a;
}
.store-gallery {
  background: #0f172a08;
}
.store-gallery-img {
  max-height: 420px;
  object-fit: contain;
  background: #0f172a0a;
}
.store-gallery .carousel-control-prev,
.store-gallery .carousel-control-next {
  width: 2.5rem;
}
.store-gallery .carousel-control-prev-icon,
.store-gallery .carousel-control-next-icon {
  filter: invert(0.35);
}

/* ThinkPHP default paginator is BS3 markup; style for BS5 store front */
.store-pagination {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0 0.25rem;
}
.store-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.store-pagination .pagination > li {
  display: inline-flex;
}
.store-pagination .pagination > li > a,
.store-pagination .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.store-pagination .pagination > li > a:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.store-pagination .pagination > li.active > span,
.store-pagination .pagination > li.active > a {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.store-pagination .pagination > li.disabled > span,
.store-pagination .pagination > li.disabled > a {
  border-color: #eef2f7;
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}
