/*
 * Dujiao Vault for Z-BlogPHP
 * Visual system ported from Dujiao-Next User Web vault template.
 */

html,
body {
  min-height: 100%;
}

body.dujiaovault-page {
  margin: 0;
  background: #f6f6fb;
}

.vault-scope {
  --notice-soft: var(--gold-soft);
  --notice-strong: var(--gold-strong);
}

.dujiaovault-page,
.dujiaovault-page * {
  letter-spacing: 0;
}

.dark body.dujiaovault-page {
  background: #15151f;
}

.dujiaovault-page a {
  text-decoration: none;
}

.dujiaovault-page code {
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--red);
  padding: 2px 6px;
  font-size: 0.86em;
}

.dj-shell {
  min-height: 100vh;
}

.dj-main {
  flex: 1;
  width: 100%;
}

.dj-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dj-js .dj-product-card,
.dj-js .dj-resource-row,
.dj-js .dj-category-card,
.dj-js .dj-detail-media,
.dj-js .dj-detail-info,
.dj-js .dj-blog-card,
.dj-js .dj-blog-detail-card {
  opacity: 0;
  transform: translateY(16px);
}

.dj-product-card.is-visible,
.dj-resource-row.is-visible,
.dj-category-card.is-visible,
.dj-detail-media.is-visible,
.dj-detail-info.is-visible,
.dj-blog-card.is-visible,
.dj-blog-detail-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--dj-reveal-delay, 0ms);
}

.dj-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.dj-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  height: 70px;
  margin: 0 auto;
  padding: 0 24px;
}

.dj-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0;
}

.dj-brand:hover {
  color: var(--red);
}

.dj-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b74f2, var(--red));
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.dj-brand-text {
  max-width: min(30vw, 260px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
}

.dj-nav {
  flex: 1;
  min-width: 0;
}

.dj-nav ul,
.dj-mobile-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dj-nav li {
  margin: 0;
}

.dj-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
  transition: color 180ms var(--ease), background 180ms var(--ease);
  white-space: nowrap;
}

.dj-nav a:hover,
.dj-nav .selected a,
.dj-nav .active a,
.dj-nav li:hover > a {
  background: var(--red-soft);
  color: var(--red);
}

.dj-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.dj-header-search,
.dj-mobile-search,
.dj-list-search,
.dj-hero-search,
.dj-404-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.dj-header-search {
  width: 210px;
  height: 40px;
  border-radius: 999px;
  padding: 0 12px;
}

.dj-header-search:focus-within,
.dj-mobile-search:focus-within,
.dj-list-search:focus-within,
.dj-hero-search:focus-within,
.dj-404-search:focus-within {
  border-color: var(--red);
  box-shadow: var(--ring);
}

.dj-header-search input,
.dj-mobile-search input,
.dj-list-search input,
.dj-hero-search input,
.dj-404-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.dj-header-search input::placeholder,
.dj-mobile-search input::placeholder,
.dj-list-search input::placeholder,
.dj-hero-search input::placeholder,
.dj-404-search input::placeholder {
  color: var(--ink-3);
}

.dj-header-search .dj-icon {
  margin-right: 8px;
  color: var(--ink-3);
}

.dj-icon-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-3);
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.dj-icon-button:hover {
  background: var(--red-soft);
  color: var(--red);
  transform: translateY(-1px);
}

.dj-icon-button .dj-sun,
.dark .dj-icon-button .dj-moon,
.dj-mobile-menu-button .dj-close,
.dj-mobile-menu-open .dj-mobile-menu-button .dj-menu {
  display: none;
}

.dark .dj-icon-button .dj-sun,
.dj-mobile-menu-open .dj-mobile-menu-button .dj-close {
  display: block;
}

.dj-mobile-menu-button {
  display: none;
}

.dj-mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 20px 18px;
  box-shadow: var(--shadow);
}

.dj-mobile-menu-open .dj-mobile-panel {
  display: block;
  animation: dj-slide-down 220ms var(--ease) both;
}

.dj-mobile-search {
  height: 46px;
  border-radius: 16px;
  padding: 0 8px 0 14px;
}

.dj-mobile-search .dj-icon {
  margin-right: 8px;
  color: var(--ink-3);
}

.dj-mobile-search button,
.dj-404-search button,
.dj-hero-search button {
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
}

.dj-mobile-nav ul {
  align-items: stretch;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.dj-mobile-nav a {
  display: flex;
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--ink-2);
  font-weight: 800;
}

.dj-mobile-nav a:hover {
  background: var(--surface-2);
  color: var(--red);
}

.dj-hero {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.dj-hero-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(14, 165, 164, 0.72)),
    radial-gradient(circle at 84% 18%, rgba(245, 158, 11, 0.72), transparent 32%),
    var(--red);
  box-shadow: var(--shadow);
}

.dj-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.dj-hero-slide {
  position: relative;
  min-height: 300px;
  padding: 36px;
  display: flex;
  align-items: flex-end;
}

.dj-hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  color: #fff;
}

.dj-hero-badge,
.dj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dj-hero-badge {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 6px 12px;
  backdrop-filter: blur(10px);
}

.dj-eyebrow {
  color: var(--red);
}

.dj-hero h1 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}

.dj-hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.dj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.dj-hero-search {
  width: min(340px, 100%);
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 3px 4px 3px 16px;
  backdrop-filter: blur(10px);
}

.dj-hero-search input {
  color: #fff;
}

.dj-hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.dj-hero-dots {
  position: absolute;
  z-index: 2;
  left: 36px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.dj-hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 220ms var(--ease), background 220ms var(--ease);
}

.dj-hero-dots span.is-active {
  width: 24px;
  background: #fff;
}

.dj-section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px;
}

.dj-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dj-section-head h2,
.dj-list-header h1,
.dj-page-hero h1,
.dj-not-found h1 {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0;
}

.dj-section-head h2 {
  font-size: 28px;
}

.dj-ghost-link,
.dj-outline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.dj-ghost-link:hover {
  background: var(--surface-2);
  color: var(--red);
}

.dj-outline-link {
  border: 1px solid var(--border);
  background: var(--surface);
}

.dj-outline-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.dj-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.dj-category-card {
  position: relative;
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 18px;
  color: #fff;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.dj-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 10%, rgba(255, 255, 255, 0.26), transparent 58%);
  pointer-events: none;
}

.dj-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dj-category-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.dj-category-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dj-category-name {
  position: relative;
  z-index: 1;
  color: inherit;
  font-weight: 900;
  line-height: 1.25;
}

.dj-cat-0 { background: var(--red); }
.dj-cat-1 { background: var(--teal); }
.dj-cat-2 { background: var(--plum); }
.dj-cat-3 { background: var(--gold); color: var(--on-gold); }
.dj-cat-4 { background: var(--ink); color: var(--bg); }

.dj-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 16px;
}

.dj-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 12px;
  color: var(--ink);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), opacity 220ms var(--ease);
}

.dj-product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.dj-product-card.is-preview-only {
  opacity: 0.82;
}

.dj-sticky-wrap {
  position: relative;
}

.dj-sticky-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.dj-product-cover,
.dj-row-cover,
.dj-detail-cover {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
}

.dj-product-cover {
  height: 152px;
  width: 100%;
  border-radius: 13px;
}

.dj-product-cover::after,
.dj-row-cover::after,
.dj-detail-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 80% at 78% 14%, rgba(255, 255, 255, 0.26), transparent 56%);
  pointer-events: none;
}

.dj-product-cover img,
.dj-row-cover img,
.dj-detail-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-cover-0 { background: linear-gradient(135deg, #7b74f2, var(--red)); }
.dj-cover-1 { background: linear-gradient(135deg, #1cc0bf, var(--teal)); }
.dj-cover-2 { background: linear-gradient(135deg, #9b6cf5, var(--plum)); }
.dj-cover-3 { background: linear-gradient(135deg, #f7bd4e, var(--gold)); }
.dj-cover-4 { background: linear-gradient(135deg, #3a3950, var(--ink)); }

.dj-cover-icon,
.dj-detail-package {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dj-detail-package {
  width: 110px;
  height: 110px;
}

.dj-cover-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  max-width: 80%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 2px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.dj-product-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.dj-product-category {
  display: block;
  overflow: hidden;
  color: var(--ink-3);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.dj-product-category:hover {
  color: var(--red);
}

.dj-product-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dj-product-body p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dj-product-badges,
.dj-row-badges,
.dj-detail-pills,
.dj-detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.dj-product-badges {
  margin: 0 4px;
}

.dj-product-badges span,
.dj-row-badges span,
.dj-detail-pills span,
.dj-detail-tags a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.dj-product-badges span.gold,
.dj-detail-pills span.gold {
  background: var(--gold-soft);
  color: var(--gold-strong);
}

.dj-detail-pills span:not(.teal):not(.gold),
.dj-row-badges span {
  background: var(--surface-2);
  color: var(--ink-2);
}

.dj-product-badges .dj-icon,
.dj-detail-pills .dj-icon {
  width: 12px;
  height: 12px;
}

.dj-product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 0 4px;
}

.dj-product-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.dj-product-meta strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.dj-product-meta span {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 800;
}

.dj-pill-button,
.dj-row-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.dj-pill-button {
  padding: 7px 13px;
}

.dj-pill-button:hover,
.dj-row-action:hover {
  background: var(--red-strong);
  color: #fff;
  transform: scale(1.03);
}

.dj-list-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.dj-list-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dj-category-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.dj-sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.dj-sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.dj-sidebar-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dj-sidebar-list a {
  display: flex;
  border-radius: 9px;
  color: var(--ink-2);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.dj-sidebar-list a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.dj-sidebar-muted {
  background: var(--surface-2);
}

.dj-sidebar-muted p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.dj-list-main {
  min-width: 0;
}

.dj-list-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dj-list-header h1 {
  margin-top: 4px;
  font-size: 30px;
}

.dj-list-search {
  width: min(360px, 100%);
  height: 44px;
  border-radius: 16px;
  padding: 0 14px;
}

.dj-list-search .dj-icon {
  margin-right: 9px;
  color: var(--ink-3);
}

.dj-resource-list {
  display: grid;
  gap: 8px;
}

.dj-resource-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 8px 12px 8px 8px;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.dj-resource-row:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.dj-row-cover {
  width: 76px;
  height: 76px;
  border-radius: 12px;
}

.dj-row-cover .dj-cover-icon {
  width: 32px;
  height: 32px;
}

.dj-row-main {
  min-width: 0;
}

.dj-row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dj-row-title {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 900;
}

.dj-row-title:hover {
  color: var(--red);
}

.dj-row-category {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-3);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}

.dj-row-main p {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 7px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.dj-row-action {
  min-width: 68px;
  min-height: 34px;
  padding: 7px 14px;
}

.dj-pagebar {
  margin-top: 30px;
  text-align: center;
}

.dj-pagebar a,
.dj-pagebar span,
.dj-pagebar .now-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  padding: 0 12px;
  font-weight: 900;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}

.dj-pagebar a:hover,
.dj-pagebar .now-page,
.dj-pagebar span.now-page {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.dj-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--ink-3);
  text-align: center;
}

.dj-empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.dj-detail,
.dj-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.dj-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 800;
}

.dj-breadcrumb a:hover {
  color: var(--red);
}

.dj-breadcrumb .dj-icon {
  width: 15px;
  height: 15px;
}

.dj-breadcrumb span {
  color: var(--ink);
}

.dj-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding: 10px 0;
}

.dj-detail-media,
.dj-detail-info {
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.dj-detail-cover {
  height: 380px;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.dj-detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.dj-detail-thumbs span {
  width: 74px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.dj-detail-thumbs span.is-active {
  border-color: var(--red);
  background: var(--red-soft);
}

.dj-detail-info h1 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.dj-detail-pills {
  margin-bottom: 8px;
}

.dj-detail-pills span {
  padding: 5px 10px;
  font-size: 12.5px;
}

.dj-detail-tags {
  margin: 8px 0 4px;
}

.dj-detail-tags a {
  background: var(--surface-2);
  color: var(--ink-3);
}

.dj-detail-tags a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.dj-detail-meta-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.dj-detail-meta-panel div {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
}

.dj-detail-meta-panel span {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
}

.dj-detail-meta-panel strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
}

.dj-detail-summary {
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2);
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.7;
}

.dj-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.dj-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.dj-button:hover {
  transform: translateY(-1px);
}

.dj-button-primary {
  background: var(--red);
  color: #fff;
}

.dj-button-primary:hover {
  background: var(--red-strong);
  color: #fff;
}

.dj-button-light {
  min-height: 40px;
  background: #fff;
  color: var(--ink);
  padding: 9px 20px;
  font-size: 14px;
}

.dj-button-light:hover {
  color: var(--ink);
  transform: scale(1.03);
}

.dj-button-outline {
  border: 2px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
}

.dj-button-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.dj-button-disabled {
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: not-allowed;
}

.dj-reassurance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
}

.dj-content-section {
  padding: 36px 0;
}

.dj-tab-head {
  display: flex;
  gap: 26px;
  margin: 12px 0 22px;
  border-bottom: 2px solid var(--border);
}

.dj-tab-head span {
  margin-bottom: -2px;
  border-bottom: 3px solid var(--red);
  color: var(--ink);
  padding: 14px 0;
  font-size: 16px;
  font-weight: 900;
}

.dj-prose {
  max-width: none;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

.dj-prose :where(h1, h2, h3, h4) {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
}

.dj-prose :where(a) {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dj-prose :where(img) {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.dj-prose :where(pre) {
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  padding: 16px;
  overflow: auto;
}

.dj-detail-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.dj-mobile-download-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -14px 30px -22px rgba(0, 0, 0, 0.32);
}

.dj-mobile-download-bar strong,
.dj-mobile-download-bar span {
  display: block;
}

.dj-mobile-download-bar strong {
  color: var(--ink);
  font-weight: 900;
}

.dj-mobile-download-bar span {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
}

.dj-mobile-download-bar a,
.dj-mobile-download-bar > span {
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-weight: 900;
}

.dj-mobile-download-bar > span {
  background: var(--surface-2);
  color: var(--ink-3);
}

.dj-page-hero {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background:
    radial-gradient(80% 120% at 90% 0%, var(--gold-soft), transparent 46%),
    linear-gradient(135deg, var(--surface), var(--surface-2));
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.dj-page-hero h1 {
  margin: 10px 0;
  font-size: 38px;
}

.dj-page-hero p {
  max-width: 64ch;
  color: var(--ink-2);
}

.dj-page-content {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 26px;
}

.dj-comments {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.dj-comments .msg,
.dj-comments .commentpost {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 16px;
  color: var(--ink-2);
}

.dj-comments .msg {
  margin: 12px 0;
  list-style: none;
}

.dj-comments .msghead {
  color: var(--ink);
  font-weight: 900;
}

.dj-comments input,
.dj-comments textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
}

.dj-comments input:focus,
.dj-comments textarea:focus {
  border-color: var(--red);
  box-shadow: var(--ring);
  outline: none;
}

.dj-comments input[type="submit"],
.dj-comments button {
  width: auto;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-weight: 900;
}

.dj-not-found {
  width: min(680px, calc(100% - 48px));
  margin: 60px auto;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r);
  background: var(--surface);
  padding: 44px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.dj-not-found-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--red-soft);
  color: var(--red);
}

.dj-not-found-icon .dj-icon {
  width: 38px;
  height: 38px;
}

.dj-not-found h1 {
  margin: 10px 0;
  font-size: 38px;
}

.dj-not-found p {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--ink-2);
}

.dj-404-search {
  width: min(420px, 100%);
  min-height: 48px;
  margin: 22px auto 14px;
  border-radius: 999px;
  padding: 4px 5px 4px 16px;
}

.dj-footer {
  margin-top: var(--gap-block);
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.dj-footer-grid {
  display: grid;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 52px 24px 36px;
}

.dj-footer-brand p {
  max-width: 38ch;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14.5px;
}

.dj-footer-col h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.dj-footer-col a,
.dj-footer-col li a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  padding: 5px 0;
  font-size: 14.5px;
  font-weight: 700;
}

.dj-footer-col a:hover,
.dj-footer-col li a:hover {
  color: var(--red);
}

.dj-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dj-footer-bottom {
  display: flex;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  color: var(--ink-3);
  padding: 18px 24px 30px;
  font-size: 13.5px;
}

.dj-powered {
  text-align: right;
}

.dj-backtop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 44;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), color 180ms var(--ease);
}

.dj-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dj-backtop:hover {
  color: var(--red);
}

@keyframes dj-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dj-products-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.dj-products-breadcrumb,
.dj-blog-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 4px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 700;
}

.dj-products-breadcrumb a:hover,
.dj-blog-detail-breadcrumb a:hover {
  color: var(--red);
}

.dj-products-breadcrumb .dj-icon,
.dj-blog-detail-breadcrumb .dj-icon {
  width: 16px;
  height: 16px;
}

.dj-products-breadcrumb span,
.dj-blog-detail-breadcrumb span {
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dj-products-page > h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
}

.dj-products-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 6px 0 0;
}

.dj-products-filters {
  display: grid;
  min-width: 0;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.dj-products-search,
.dj-blog-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.dj-products-search {
  height: 44px;
  border-radius: 12px;
  padding: 0 12px;
}

.dj-products-search .dj-icon,
.dj-blog-search .dj-icon {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--ink-3);
}

.dj-products-search input,
.dj-blog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.dj-products-search:focus-within,
.dj-blog-search:focus-within {
  border-color: var(--red);
  box-shadow: var(--ring);
}

.dj-products-grid {
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
}

.dj-sidebar-card {
  border-radius: 12px;
  padding: 10px;
}

.dj-sidebar-title {
  margin-bottom: 12px;
  padding: 0 4px;
  gap: 8px;
  font-size: 14px;
}

.dj-sidebar-accent {
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: var(--red);
}

.dj-sidebar-list {
  display: grid;
  gap: 4px;
}

.dj-sidebar-list a {
  min-height: 40px;
  border-radius: 10px;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 800;
}

.dj-sidebar-list a:hover,
.dj-sidebar-list a.is-active {
  background: var(--surface-2);
  color: var(--ink);
}

.dj-products-page .dj-sidebar-list li:first-child a {
  background: var(--red-soft);
  color: var(--red);
}

.dj-product-card.is-sold-out {
  opacity: 0.74;
}

.dj-product-body {
  gap: 3px;
}

.dj-product-body h3 {
  min-height: 42px;
}

.dj-product-badges span.teal,
.dj-product-badges span:not(.gold):not(.muted),
.dj-detail-pills span.teal {
  background: var(--teal-soft);
  color: var(--teal-strong);
}

.dj-product-badges span.muted {
  background: var(--surface-2);
  color: var(--ink-3);
}

.dj-product-badges span {
  max-width: 100%;
}

.dj-pill-button {
  background: var(--red);
  color: #fff;
}

.dj-pill-button:hover {
  background: var(--red-strong);
  color: #fff;
}

.dj-vault-empty {
  display: flex;
  min-height: 220px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--ink-3);
  text-align: center;
}

.dj-blog-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 46px;
}

.dj-blog-head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.dj-blog-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.18;
}

.dj-blog-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15.5px;
}

.dj-blog-search {
  width: min(520px, 100%);
  height: 44px;
  margin: 28px 0;
  border-radius: 12px;
  padding: 0 6px 0 14px;
}

.dj-blog-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dj-blog-search button:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.dj-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.dj-blog-card {
  min-width: 0;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.dj-blog-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.dj-blog-card-link:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.dj-blog-thumb {
  height: 168px;
  margin: -22px -22px 16px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--surface-2);
}

.dj-blog-thumb img,
.dj-blog-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.dj-blog-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 900;
}

.dj-blog-badge.is-notice {
  background: var(--notice-soft);
  color: var(--notice-strong);
}

.dj-blog-card-meta time {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
}

.dj-blog-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.28;
}

.dj-blog-card p {
  flex: 1;
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.65;
}

.dj-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.dj-blog-readmore .dj-icon {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease);
}

.dj-blog-card-link:hover .dj-blog-readmore .dj-icon {
  transform: translateX(2px);
}

.dj-blog-detail {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 46px;
}

.dj-blog-detail-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.dj-blog-detail-thumb {
  height: 320px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 28px;
  background: var(--surface-2);
}

.dj-blog-detail-head {
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
  padding-bottom: 24px;
}

.dj-blog-detail-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.18;
}

.dj-blog-detail-head p {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.7;
}

.dj-blog-prose {
  max-width: none;
}

.dj-blog-prose > :first-child {
  margin-top: 0;
}

.dj-blog-prose > :last-child {
  margin-bottom: 0;
}

.dj-blog-prose :where(p, ul, ol, blockquote, pre, table, figure) {
  margin: 1.05em 0;
}

.dj-blog-prose :where(h2, h3, h4) {
  margin: 1.65em 0 0.65em;
  color: var(--ink);
  line-height: 1.25;
}

.dj-blog-prose :where(h2) {
  font-size: 25px;
}

.dj-blog-prose :where(h3) {
  font-size: 21px;
}

.dj-blog-prose :where(h4) {
  font-size: 18px;
}

.dj-blog-prose :where(ul, ol) {
  padding-left: 1.45em;
}

.dj-blog-prose :where(li) {
  margin: 0.35em 0;
}

.dj-blog-prose :where(blockquote) {
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
  color: var(--ink-2);
  padding: 14px 18px;
}

.dj-blog-prose :where(blockquote p) {
  margin: 0.6em 0;
}

.dj-blog-prose :where(code) {
  border: 1px solid var(--border);
  font-size: 0.88em;
}

.dj-blog-prose :where(pre code) {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.dj-blog-prose :where(table) {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.dj-blog-prose :where(th, td) {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.dj-blog-prose :where(th) {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 900;
}

.dj-blog-prose :where(hr) {
  height: 1px;
  border: 0;
  background: var(--border);
  margin: 28px 0;
}

.dj-blog-prose :where(img) {
  width: auto;
  max-width: 100%;
  margin: 22px auto;
}

.dj-blog-prose :where(figcaption) {
  margin-top: -12px;
  color: var(--ink-3);
  text-align: center;
  font-size: 13px;
}

.dj-blog-detail-tags {
  margin-top: 28px;
}

.dj-blog-detail-foot {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
}

.dj-blog-comments {
  max-width: 860px;
}

@media (max-width: 1040px) {
  .dj-header-search {
    display: none;
  }

  .dj-products-layout {
    gap: 22px;
    grid-template-columns: 224px minmax(0, 1fr);
  }

  .dj-detail-grid {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .dj-header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .dj-brand-text {
    max-width: 52vw;
  }

  .dj-nav {
    display: none;
  }

  .dj-mobile-menu-button {
    display: grid;
  }

  .dj-hero,
  .dj-section,
  .dj-list-shell,
  .dj-detail,
  .dj-page,
  .dj-comments {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dj-hero-card,
  .dj-hero-slide {
    min-height: 240px;
  }

  .dj-hero-slide {
    padding: 26px 20px;
  }

  .dj-hero h1 {
    font-size: 28px;
  }

  .dj-list-grid,
  .dj-detail-grid {
    grid-template-columns: 1fr;
  }

  .dj-category-sidebar {
    position: static;
  }

  .dj-products-page,
  .dj-blog-page,
  .dj-blog-detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dj-products-layout {
    grid-template-columns: 1fr;
  }

  .dj-products-filters {
    position: static;
  }

  .dj-products-page .dj-category-sidebar {
    min-width: 0;
  }

  .dj-products-page .dj-sidebar-card {
    padding: 10px;
  }

  .dj-products-page .dj-sidebar-title {
    display: none;
  }

  .dj-products-page .dj-sidebar-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 1px 1px 3px;
  }

  .dj-products-page .dj-sidebar-list li {
    flex: 0 0 auto;
  }

  .dj-products-page .dj-sidebar-list a {
    min-height: 38px;
    border-radius: 999px;
    background: var(--surface-2);
    padding: 8px 14px;
    white-space: nowrap;
  }

  .dj-list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .dj-list-search {
    width: 100%;
  }

  .dj-detail-cover {
    height: min(380px, 68vw);
  }

  .dj-detail-meta-panel {
    grid-template-columns: 1fr;
  }

  .dj-blog-detail-thumb {
    height: min(320px, 58vw);
  }

  .dj-footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .dj-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

  .dj-powered {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .dj-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dj-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dj-products-page > h1,
  .dj-blog-head h1,
  .dj-blog-detail-head h1 {
    font-size: 30px;
  }

  .dj-product-grid {
    grid-template-columns: 1fr;
  }

  .dj-products-grid {
    grid-template-columns: 1fr;
  }

  .dj-blog-grid {
    grid-template-columns: 1fr;
  }

  .dj-blog-card-link,
  .dj-blog-detail-card {
    padding: 20px;
  }

  .dj-blog-thumb {
    margin: -20px -20px 16px;
  }

  .dj-resource-row {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 8px;
  }

  .dj-row-cover {
    width: 60px;
    height: 60px;
  }

  .dj-row-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dj-row-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .dj-row-title {
    max-width: 100%;
  }

  .dj-detail-info h1,
  .dj-page-hero h1,
  .dj-not-found h1 {
    font-size: 30px;
  }

  .dj-detail-actions .dj-button {
    width: 100%;
  }

  .dj-page-hero,
  .dj-page-content {
    padding: 22px;
  }

  .dj-footer-grid {
    grid-template-columns: 1fr;
  }

  .single .dj-mobile-download-bar {
    display: flex;
  }

  .single .dj-backtop {
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dj-product-card,
  .dj-resource-row,
  .dj-category-card,
  .dj-detail-media,
  .dj-detail-info,
  .dj-blog-card,
  .dj-blog-card-link,
  .dj-blog-detail-card,
  .dj-button,
  .dj-icon-button,
  .dj-backtop {
    transition: none;
  }

  .dj-js .dj-product-card,
  .dj-js .dj-resource-row,
  .dj-js .dj-category-card,
  .dj-js .dj-detail-media,
  .dj-js .dj-detail-info,
  .dj-js .dj-blog-card,
  .dj-js .dj-blog-detail-card {
    opacity: 1;
    transform: none;
  }
}
