:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --accent: #111827;
  --accent-strong: #1E3A8A;
  --accent-soft: #f3f4f6;
  --header-bg: #1d1d1f;
  --header-line: #343437;
  --danger: #b91c1c;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  --site-width: min(1240px, calc(100vw - 36px));
  --site-gutter: clamp(18px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.site-header-inner {
  width: 100%;
  margin: 0 auto;
  min-height: 58px;
  padding: 0 clamp(14px, 2vw, 24px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.brand,
.nav,
.dialog-head,
.product-actions,
.media-actions,
.nav-links,
.nav-right,
.nav-utility,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  color: #f8fafc;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: #111827;
  border: 1px solid #4b5563;
  border-radius: 0;
  font-size: 18px;
  font-weight: 950;
}

.nav {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: #d4d4d8;
  font-size: 14px;
}

.nav-links {
  min-width: 0;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-right {
  margin-left: auto;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-utility,
.nav-actions {
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-utility {
  gap: 8px;
}

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

.mobile-only-nav-link,
.mobile-currency-control {
  display: none;
}

.nav a {
  padding: 8px 10px;
  border-radius: 0;
  font-weight: 700;
}

.sign-in-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #4b4b50;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.sign-in-button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #111827;
}

.currency-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.currency-control select {
  width: 168px;
  min-width: 112px;
  min-height: 38px;
  border-color: #3f3f46;
  border-radius: 0;
  padding: 0 30px 0 12px;
  background: transparent;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
}

.currency-control option {
  color: var(--ink);
  background: #ffffff;
}

.currency-control.mobile-currency-control {
  display: none;
}

.nav a:hover,
.icon-button:hover,
.cart-button:hover,
.chip:hover {
  background: #f5f8fb;
  color: var(--ink);
}

.site-header .nav a:hover,
.site-header .icon-button:hover,
.site-header .cart-button:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.icon-button,
.cart-button,
.chip,
.wishlist-toggle,
.quick-button,
.qty-button,
.remove-button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
}

.site-header .icon-button,
.site-header .cart-button {
  border-color: #3f3f46;
  background: transparent;
  color: #f8fafc;
}

.icon-button strong,
.cart-button strong {
  font-size: 12px;
}

.cart-button {
  min-height: 38px;
  padding: 0 14px;
  font-weight: 800;
  font-size: 14px;
}

.hero {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 8vw, 104px) var(--site-gutter) clamp(50px, 7vw, 86px);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(16, 86, 160, 0.86), rgba(70, 32, 131, 0.86) 54%, rgba(78, 10, 88, 0.88)),
    #080b13;
}

.hero-copy {
  width: min(1120px, 100%);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c9b8ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 auto 18px;
  max-width: 980px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-search {
  width: min(780px, 100%);
  margin: 32px auto 0;
}

.hero-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  background: #070707;
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.search-shell input {
  min-height: 52px;
  border: 0;
  padding: 0 16px;
  outline: none;
  color: #f8fafc;
  background: transparent;
  font-size: 16px;
}

.search-shell input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.search-shell button,
.pay-button {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
  cursor: pointer;
}

.search-shell button:hover,
.pay-button:hover {
  background: var(--accent-strong);
}

.trending-searches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(860px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.trending-searches strong,
.trending-searches a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
}

.trending-searches strong {
  padding-right: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.trending-searches a {
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 800;
}

.trending-searches a:hover {
  background: #ffffff;
  color: var(--ink);
}

.workspace-paths {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px) var(--site-gutter) 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workspace-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.workspace-card.highlighted {
  border-color: rgba(30, 58, 138, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.workspace-card h2 {
  margin-bottom: 0;
  max-width: 520px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.04;
}

.workspace-card p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.6;
}

.workspace-card a {
  width: fit-content;
  color: var(--accent-strong);
  font-weight: 900;
}

.workspace-card:hover {
  border-color: rgba(17, 24, 39, 0.32);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.catalog-head p,
.fine-print,
.summary-lines,
.product-meta,
.product-description,
.license-line {
  color: var(--muted);
}

.catalog-head {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px) var(--site-gutter) 20px;
}

.catalog-head p:not(.eyebrow) {
  max-width: 680px;
  line-height: 1.6;
}

.asset-shelves {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px) var(--site-gutter) 8px;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.asset-shelf {
  display: grid;
  gap: 16px;
}

.shelf-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.shelf-head h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 3.1vw, 38px);
}

.shelf-head p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.shelf-head > a {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-weight: 900;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mini-asset-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mini-asset-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--card-color, #dbeafe), var(--card-color-2, #e2e8f0));
  cursor: pointer;
}

.mini-asset-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mini-asset-card:hover .mini-asset-media img {
  transform: scale(1.035);
}

.mini-asset-media > span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.mini-asset-media.is-watermarked::after {
  content: "ASSETPIXELS.COM";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: rotate(-24deg);
  color: rgba(17, 24, 39, 0.18);
  font-size: 16px;
  font-weight: 900;
  pointer-events: none;
}

.mini-asset-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.mini-asset-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.mini-asset-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-asset-body .creator-line {
  color: #475569;
  font-weight: 750;
}

.mini-asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.mini-asset-actions strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.mini-asset-actions .preview-button,
.mini-asset-actions .add-button,
.mini-asset-actions .download-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.market-section {
  width: var(--site-width);
  margin: 0 auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.market-section {
  padding-top: clamp(24px, 3.4vw, 38px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.section-head {
  display: block;
  max-width: 680px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.section-head p:not(.eyebrow),
.assurance-section p:not(.eyebrow),
.contributor-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.asset-category-card {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.asset-category-card:hover {
  border-color: rgba(30, 58, 138, 0.32);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.asset-category-card strong {
  font-size: 16px;
  line-height: 1.15;
}

.asset-category-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.asset-category-card small {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  align-self: end;
}

.category-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
}

.category-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Homepage assurance + contributor sections */
.assurance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.15fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.assurance-copy {
  max-width: 500px;
}

.assurance-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.assurance-panel article {
  position: relative;
  min-height: 104px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
}

.assurance-panel article::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  background: #3e1356;
}

.assurance-panel strong,
.assurance-panel span,
.contributor-cta-panel span {
  display: block;
}

.assurance-panel strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.assurance-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.contributor-band {
  margin-bottom: 18px;
}

.contributor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(28px, 4vw, 46px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contributor-copy {
  max-width: 780px;
}

.contributor-cta-panel {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.contributor-cta-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contributor-band .hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
}

.contributor-band .hero-action:hover,
.contributor-band .hero-action:focus-visible {
  background: #020617;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.filter-bar label {
  gap: 8px;
}

select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 750;
}

select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.14);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: var(--site-width);
  margin: 0 auto;
  padding: 10px var(--site-gutter) clamp(54px, 7vw, 84px);
}

.product-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.product-card:hover .product-visual img {
  transform: scale(1.035);
}

.product-visual {
  position: relative;
  min-height: 254px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(135deg, var(--card-color), var(--card-color-2, #dbeafe));
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.product-visual.is-watermarked::after {
  content: "ASSETPIXELS.COM";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: rotate(-24deg);
  color: rgba(17, 24, 39, 0.22);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.52);
  pointer-events: none;
  user-select: none;
}

.product-visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.product-visual span {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--ink);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: 0;
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 72px);
}

.badge,
.license-badge {
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0;
  font-size: 12px;
  font-weight: 850;
}

.license-badge {
  color: #312e81;
  background: rgba(243, 239, 255, 0.94);
}

.media-actions {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  gap: 8px;
}

.product-body {
  display: grid;
  gap: 13px;
  padding: 18px 18px 20px;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-title h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.22;
}

.price {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 900;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.product-meta span {
  padding: 5px 8px;
  background: #f8fafc;
  border-radius: 0;
}

.product-description {
  min-height: 66px;
  margin-bottom: 0;
  line-height: 1.5;
}

.license-line {
  margin-bottom: 0;
  font-size: 13px;
}

.asset-details {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.asset-details span {
  position: relative;
  padding-left: 14px;
}

.asset-details span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.wishlist-toggle,
.quick-button,
.preview-button {
  min-height: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 850;
}

.wishlist-toggle {
  min-width: 42px;
  font-size: 18px;
}

.wishlist-toggle.active {
  color: #be123c;
  border-color: #fecdd3;
  background: #fff1f2;
}

.quick-button {
  padding: 0 13px;
}

.preview-button {
  padding: 0 13px;
}

.add-button {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
  cursor: pointer;
}

.add-button:hover,
.primary-link:hover {
  background: var(--accent-strong);
}

.quick-button:hover,
.preview-button:hover,
.wishlist-toggle:hover,
.qty-button:hover {
  border-color: rgba(30, 58, 138, 0.26);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 26px;
  width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter) clamp(56px, 7vw, 86px);
  align-items: start;
}

.checkout-panel,
.summary-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.checkout-panel form {
  display: grid;
  gap: 16px;
}

.free-toggle-row,
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-top: 20px;
  color: var(--ink);
  font-weight: 800;
}

.free-toggle-row input,
.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.field-unit {
  display: inline-flex;
  width: fit-content;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.14);
}

input:disabled,
select:disabled,
textarea:disabled {
  background: #f8fafc;
  color: var(--muted);
}

.payment-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
}

.payment-choice input {
  width: auto;
}

.basket-items,
#basketDialogItems,
#wishlistItems {
  display: grid;
  gap: 12px;
}

.basket-line,
.wishlist-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.basket-line h3,
.wishlist-line h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.basket-line span,
.wishlist-line span {
  color: var(--muted);
  font-size: 13px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button,
.remove-button {
  min-width: 34px;
  min-height: 34px;
}

.remove-button {
  color: var(--danger);
}

.summary-lines {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
}

.summary-lines .grand {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid var(--accent);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.checkout-message {
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 800;
}

.storage-health {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 12px 0 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.storage-health.ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.storage-health.warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

dialog {
  width: min(720px, calc(100vw - 26px));
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 22px;
  box-shadow: var(--shadow);
  background: #fff;
}

dialog::backdrop {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(2px);
}

.side-drawer-dialog {
  width: min(460px, calc(100vw - 22px));
  height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 20px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  overflow: auto;
}

.side-drawer-dialog::backdrop {
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(1px);
}

.asset-preview-dialog {
  width: min(1240px, calc(100vw - 26px));
  max-height: calc(100vh - 30px);
  overflow: auto;
  padding: 20px;
}

.dialog-head {
  justify-content: space-between;
  margin-bottom: 16px;
}

.site-footer {
  margin-top: 48px;
  color: #f8fafc;
  background: #10131b;
  border-top: 1px solid #2c3342;
}

.footer-inner {
  width: var(--site-width);
  margin: 0 auto;
  padding: 34px var(--site-gutter) 26px;
}

.footer-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.16);
}

.footer-topline p {
  margin: 0;
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(0, 0.9fr));
  gap: 26px;
  padding-top: 28px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-brand strong,
.footer-column strong {
  color: #ffffff;
  font-size: 16px;
}

.footer-brand p {
  margin: 0;
  max-width: 300px;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 850;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #cbd5e1;
}

.footer-column span {
  color: #cbd5e1;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
  color: #94a3b8;
  font-size: 13px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  color: #cbd5e1;
}

.footer-social a:hover {
  color: #ffffff;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 18px;
}

.checkout-page {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f6f8fb 100%);
}

.policy-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) var(--site-gutter) clamp(64px, 8vw, 96px);
}

.policy-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.policy-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.license-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.license-grid h2 {
  font-size: 24px;
  line-height: 1.1;
}

.license-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-range {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1;
}

.table-section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.table-section h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.responsive-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f8fafc;
  font-weight: 900;
}

td {
  color: var(--muted);
  line-height: 1.5;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.table-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.checklist-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.checklist-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.usage-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.usage-examples article {
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.usage-examples h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.usage-examples ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) var(--site-gutter) clamp(56px, 7vw, 80px);
}

.checkout-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.checkout-hero p:not(.eyebrow) {
  max-width: 680px;
  line-height: 1.6;
  color: var(--muted);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 26px;
  align-items: start;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-link {
  color: var(--accent);
  font-weight: 850;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.preview-main {
  display: grid;
  gap: 14px;
}

.preview-media-shell {
  position: relative;
}

.preview-media {
  min-height: min(55vh, 560px);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(135deg, var(--card-color, #dbeafe), var(--card-color-2, #e2e8f0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interactive-model-viewer {
  padding: 0;
  background: #f8fafc;
}

.model-viewer-shell {
  position: relative;
  width: 100%;
  min-height: min(55vh, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.model-viewer-shell canvas {
  display: block;
  width: 100%;
  height: min(55vh, 560px);
  min-height: 360px;
  cursor: grab;
  touch-action: none;
}

.model-viewer-shell canvas:active {
  cursor: grabbing;
}

.model-viewer-head {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.model-viewer-head strong,
.model-viewer-head span {
  font-size: 13px;
}

.model-viewer-head strong {
  font-weight: 900;
}

.model-viewer-head span {
  color: var(--muted);
  font-weight: 750;
}

.model-viewer-head,
.model-viewer-shell canvas {
  user-select: none;
}

.preview-media.interactive-model-viewer + .preview-media-actions {
  top: 12px;
  bottom: auto;
  z-index: 3;
}

.preview-media-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.preview-icon-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.preview-icon-action span {
  font-size: 18px;
  line-height: 1;
}

.preview-icon-action.active {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: #f3f4f6;
}

.preview-format-panel {
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.preview-format-panel h3,
.preview-detail-panel h3 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.2;
}

.preview-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-format-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  background: #eef2f7;
  font-size: 13px;
  font-weight: 800;
}

.preview-placeholder {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.preview-placeholder strong {
  font-size: 88px;
  font-weight: 950;
}

.preview-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.preview-kicker {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 850;
}

.preview-license-options {
  display: grid;
  gap: 10px;
}

.preview-license-card {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

.preview-license-card.active {
  border-color: var(--ink);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.license-choice-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.license-choice-head b {
  font-size: 17px;
}

.license-radio {
  width: 16px;
  height: 16px;
  border: 2px solid #cbd5e1;
  border-radius: 50% !important;
  box-shadow: inset 0 0 0 4px #fff;
}

.preview-license-card.active .license-radio {
  border-color: var(--ink);
  background: var(--ink);
}

.preview-license-card p {
  margin: 8px 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.preview-description {
  margin-bottom: 0;
  line-height: 1.55;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tags span {
  padding: 6px 10px;
  background: #f1f5f9;
  border-radius: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.preview-detail-panel {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.preview-detail-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.preview-detail-panel dl div {
  display: grid;
  gap: 3px;
}

.preview-detail-panel dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.preview-detail-panel dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) var(--site-gutter) clamp(56px, 7vw, 80px);
}

.admin-hero {
  max-width: 820px;
  margin-bottom: 24px;
}

.admin-hero p:not(.eyebrow) {
  max-width: 760px;
  line-height: 1.6;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.admin-panel,
.admin-list-panel,
.admin-settings-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.admin-settings-panel {
  margin-bottom: 24px;
}

.admin-section-title {
  margin-bottom: 14px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admin-form-grid .span-2 {
  grid-column: span 2;
}

.field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  align-items: start;
}

.admin-product-thumb {
  width: 76px;
  height: 76px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-color, #dbeafe), var(--card-color-2, #e2e8f0));
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.download-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(30, 58, 138, 0.26);
  border-radius: 0;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-weight: 850;
  cursor: pointer;
}

.download-button:hover {
  background: #e5e7eb;
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-meta {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
}

.admin-product-meta h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}

.admin-product-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.admin-product-summary {
  max-width: 680px;
  font-size: 12px;
  line-height: 1.32;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-product-license {
  font-size: 11px;
  line-height: 1.2;
}

.admin-moderation-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.moderation-pill {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f8fafc;
  font-weight: 850;
}

.moderation-pill.review {
  border-color: rgba(217, 119, 6, 0.34);
  background: #fffbeb;
  color: #92400e;
}

.moderation-pill.rejected {
  border-color: rgba(220, 38, 38, 0.28);
  background: #fef2f2;
  color: #991b1b;
}

.admin-product-actions {
  display: flex;
  align-items: start;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.admin-product-actions .preview-button,
.admin-product-actions .quick-button,
.admin-product-actions .remove-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.admin-bulk-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.bulk-upload-dropzone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px dashed #9ca3af;
  background: #f8fafc;
}

.bulk-upload-dropzone.is-dragging {
  border-color: var(--ink);
  background: #eef2ff;
}

.bulk-upload-dropzone strong,
.bulk-upload-dropzone span {
  display: block;
}

.bulk-upload-dropzone span {
  margin-top: 4px;
  color: var(--muted);
}

.bulk-upload-dropzone input {
  max-width: 280px;
}

.bulk-defaults-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.bulk-actions {
  margin: 14px 0;
}

.bulk-upload-table {
  display: grid;
  gap: 10px;
}

.bulk-row {
  display: grid;
  grid-template-columns: 110px minmax(260px, 1.15fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.bulk-row-head {
  padding: 9px 12px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bulk-thumb {
  width: 110px;
  height: 94px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.bulk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bulk-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bulk-fields .span-2 {
  grid-column: span 2;
}

.bulk-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 96px;
}

.bulk-row-actions button {
  width: 100%;
}

.toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.toggle-row:first-child {
  border-top: 0;
}

.toggle-row strong {
  display: block;
  line-height: 1.2;
}

.toggle-row span {
  color: var(--muted);
  font-size: 13px;
}

.toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  justify-self: end;
  margin: 0;
}

.success-box {
  max-width: 680px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.success-box h1 {
  color: var(--ink);
  font-size: clamp(38px, 7vw, 68px);
}

.success-box .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.success-box .secondary-link {
  color: var(--ink);
  border-color: var(--line);
}

.signin-shell {
  width: var(--site-width);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 78px) var(--site-gutter);
  display: grid;
  place-items: start center;
}

.signin-panel {
  width: min(520px, 100%);
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.signin-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.02;
}

.signin-form {
  display: grid;
  gap: 14px;
}

.account-shell {
  place-items: start center;
}

.account-panel {
  width: min(680px, 100%);
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.account-tabs .chip {
  min-width: 120px;
  color: var(--muted);
  border-color: var(--line);
  background: #fff;
}

.account-tabs .chip.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.account-summary {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.account-summary h2,
.account-summary p {
  margin-bottom: 0;
}

.account-helper {
  margin: 12px 0 0;
}

.account-helper a {
  color: var(--accent-strong);
  font-weight: 850;
}

.help-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--site-gutter) clamp(64px, 8vw, 96px);
}

.help-hero {
  display: grid;
  gap: 20px;
  max-width: 940px;
  margin-bottom: 34px;
}

.help-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

.help-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.help-search {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.help-search label {
  color: var(--ink);
  font-weight: 900;
}

.help-search input {
  width: 100%;
  min-height: 66px;
  border: 1px solid var(--line);
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 750;
  outline: none;
}

.help-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}

.help-popular,
.help-topics,
.help-category,
.help-contact {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.popular-article-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.popular-article-grid a,
.help-topic-card {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #f8fafc;
  font-weight: 900;
}

.popular-article-grid a:hover,
.help-topic-card:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: #f3f4f6;
}

.help-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.help-topic-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.help-topic-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.help-category-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.help-category-head h2,
.help-contact h2 {
  max-width: 780px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.help-article-list {
  display: grid;
  gap: 10px;
}

.help-article {
  border: 1px solid var(--line);
  background: #ffffff;
}

.help-article summary {
  min-height: 58px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style-position: inside;
}

.help-article summary::marker {
  color: var(--accent);
}

.help-article p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.help-table {
  margin-top: 18px;
  padding: 18px;
}

.help-table h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.help-empty {
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  color: var(--accent-strong);
  background: #f3f4f6;
  font-weight: 900;
}

.help-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: center;
  background: #f8fafc;
}

.help-contact p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.help-contact-actions {
  display: grid;
  gap: 10px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 18px;
  font-weight: 850;
}

.primary-link {
  color: #fff;
  background: var(--accent);
}

.secondary-link {
  border: 1px solid var(--line);
}

.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 240px;
  max-width: min(92vw, 360px);
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  animation: toast-in 180ms ease-out;
}

.toast strong {
  display: block;
  margin-bottom: 2px;
}

.toast span {
  color: var(--muted);
  font-size: 14px;
}

.basket-button-flash {
  animation: basket-pulse 480ms ease-out;
}

@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes basket-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.26);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 8px rgba(30, 58, 138, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar,
  .license-grid,
  .checklist-grid,
  .usage-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-showcase,
  .shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assurance-section,
  .contributor-card {
    grid-template-columns: 1fr;
  }

  .workspace-paths {
    grid-template-columns: 1fr;
  }

  .checkout {
    grid-template-columns: 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

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

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

  .help-contact {
    grid-template-columns: 1fr;
  }

  .admin-grid,
  .preview-layout {
    grid-template-columns: 1fr;
  }

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

  .bulk-row,
  .bulk-row-head {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .bulk-row-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-product-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --site-width: 100%;
    --site-gutter: 16px;
  }

  .site-header {
    position: sticky;
  }

  .site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 0;
    font-size: 16px;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-links,
  .nav-right,
  .nav-utility,
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .nav-links {
    display: none;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 10px 10px;
    border-top: 1px solid var(--header-line);
    border-bottom: 1px solid var(--header-line);
    background: var(--header-bg);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  }

  .site-header.menu-open .nav-links a {
    display: flex;
    min-height: 42px;
    align-items: center;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.menu-open .nav-links a:last-child {
    border-bottom: 0;
  }

  .site-header.menu-open .mobile-only-nav-link {
    display: flex;
  }

  .site-header.menu-open .mobile-currency-control {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 50px;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.menu-open .mobile-currency-control select {
    min-width: 96px;
  }

  .mobile-menu-button {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #3f3f46;
    border-radius: 0;
    color: #f8fafc;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
  }

  .nav-right {
    margin-left: 0;
    min-width: 0;
  }

  .nav a,
  .sign-in-button,
  .cart-button,
  .icon-button {
    min-height: 34px;
    font-size: 13px;
  }

  .cart-button,
  .sign-in-button {
    padding: 0 12px;
  }

  .site-header .nav-utility .icon-button,
  .site-header .nav-utility .currency-control,
  .site-header .account-link {
    display: none;
  }

  .icon-button {
    min-width: 34px;
  }

  .hero {
    width: 100%;
    padding: 34px var(--site-gutter) 28px;
  }

  .hero-copy {
    max-width: none;
  }

  .category-showcase,
  .assurance-panel,
  .checklist-grid,
  .usage-examples,
  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }

  .shelf-head {
    display: block;
  }

  .shelf-head > a {
    display: inline-flex;
    margin-top: 10px;
  }

  .contributor-card {
    align-items: stretch;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(34px, 9.2vw, 48px);
    line-height: 1.08;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .search-shell {
    grid-template-columns: 1fr;
    border-radius: 0;
    gap: 8px;
    padding: 8px;
  }

  .search-shell input {
    min-width: 0;
    text-overflow: ellipsis;
  }

  .search-shell button {
    width: 100%;
  }

  .trending-searches {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .trending-searches::-webkit-scrollbar {
    display: none;
  }

  .trending-searches a,
  .trending-searches strong {
    flex: 0 0 auto;
  }

  .chip {
    min-width: max-content;
    min-height: 40px;
    font-size: 14px;
  }

  .product-grid,
  .form-grid,
  .filter-bar,
  .license-grid,
  .usage-examples,
  .popular-article-grid,
  .help-topic-grid {
    grid-template-columns: 1fr;
  }

  .help-shell {
    padding-top: 28px;
  }

  .help-hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .help-search input {
    min-height: 56px;
    font-size: 15px;
  }

  .help-popular,
  .help-topics,
  .help-category,
  .help-contact {
    padding: 18px;
  }

  .product-title,
  footer {
    display: grid;
  }

  .product-actions,
  .preview-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-preview-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
    padding: 14px;
  }

  .preview-media {
    min-height: 320px;
  }

  .model-viewer-shell,
  .model-viewer-shell canvas {
    min-height: 320px;
    height: 320px;
  }

  .side-drawer-dialog {
    width: min(420px, 100vw);
  }

  .preview-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .add-button {
    grid-column: 1 / -1;
  }

  .summary-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-form-grid,
  .bulk-defaults-grid,
  .bulk-fields {
    grid-template-columns: 1fr;
  }

  .bulk-upload-dropzone {
    grid-template-columns: 1fr;
  }

  .bulk-upload-dropzone input {
    max-width: 100%;
  }

  .bulk-row,
  .bulk-row-head {
    grid-template-columns: 1fr;
  }

  .bulk-row-head {
    display: none;
  }

  .bulk-thumb {
    width: 100%;
    height: 160px;
  }

  .field-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-form-grid .span-2,
  .bulk-fields .span-2 {
    grid-column: auto;
  }

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

  .admin-product-thumb {
    width: 100%;
    height: 140px;
  }

  .toast-host {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }

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

@media (max-width: 420px) {
  .category-showcase,
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    gap: 7px;
  }

  .brand {
    gap: 7px;
  }

  .nav {
    gap: 6px;
  }

  .site-header .nav-actions > .sign-in-button {
    display: none;
  }

  .site-header .cart-button {
    padding: 0 8px;
    max-width: 82px;
    overflow: hidden;
  }

  .site-header .icon-button {
    min-width: 32px;
  }

  .site-header .cart-button,
  .site-header .icon-button,
  .mobile-menu-button {
    min-height: 32px;
    font-size: 12px;
  }

  .hero {
    padding: 24px 14px 24px;
  }

  .hero .eyebrow {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(28px, 8.4vw, 34px);
    max-width: 340px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .search-shell input {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .search-shell button {
    min-height: 44px;
  }
  .chip {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .product-body {
    padding: 16px;
  }

  .product-visual {
    min-height: 220px;
  }
}

@media (max-width: 360px) {
  .site-header .cart-button {
    max-width: 72px;
  }

  .site-header .cart-button,
  .site-header .icon-button,
  .mobile-menu-button {
    min-height: 30px;
    min-width: 30px;
    font-size: 11px;
  }

  h1 {
    font-size: 27px;
  }
}

.product-visual img,
.preview-media img,
.admin-product-thumb img {
  image-rendering: auto;
}

.product-visual span,
.preview-placeholder strong,
.admin-product-thumb strong {
  color: var(--ink);
}

/* Bulk upload editor v2 */
.bulk-upload-dropzone {
  cursor: pointer;
}

.bulk-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.bulk-upload-dropzone input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.bulk-empty-state,
.bulk-table-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.bulk-empty-state {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.bulk-empty-state span,
.bulk-table-summary span {
  color: var(--muted);
  font-weight: 700;
}

.bulk-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}

.bulk-editor-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  font-size: 13px;
}

.bulk-editor-table th,
.bulk-editor-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 8px;
  vertical-align: top;
}

.bulk-editor-table th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.bulk-editor-table tr:last-child td {
  border-bottom: 0;
}

.bulk-editor-table th:last-child,
.bulk-editor-table td:last-child {
  border-right: 0;
}

.bulk-editor-table input,
.bulk-editor-table select,
.bulk-editor-table textarea {
  width: 100%;
  min-width: 110px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  padding: 9px 10px;
}

.bulk-editor-table select {
  min-width: 130px;
  padding-right: 28px;
}

.bulk-editor-table textarea {
  min-width: 180px;
  resize: vertical;
}

.bulk-preview-cell {
  width: 100px;
}

.bulk-preview-cell img {
  width: 84px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.bulk-flag-cell {
  min-width: 96px;
}

.bulk-flag-cell label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.bulk-flag-cell input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0;
}

.bulk-action-cell {
  min-width: 110px;
}

.bulk-action-cell button {
  display: block;
  width: 100%;
  margin-bottom: 7px;
}

@media (max-width: 720px) {
  .bulk-table-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .bulk-upload-button {
    width: 100%;
  }
}

/* Admin bulk upload refinements v3 */
.bulk-upload-button {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  margin-top: 0 !important;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.bulk-defaults-grid label,
.admin-form-grid label {
  align-content: start;
}

.bulk-editor-table input:required,
.bulk-editor-table select:required,
.bulk-editor-table textarea:required,
.admin-form input:required,
.admin-form select:required,
.admin-form textarea:required {
  scroll-margin-top: 96px;
}

/* Admin bulk upload layout fix v4 */
.bulk-upload-dropzone {
  position: relative;
}

.bulk-upload-dropzone .bulk-upload-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  place-self: center end;
  width: min(280px, 100%);
  min-height: 64px;
  height: 64px;
  padding: 0 28px;
  margin: 0 !important;
  line-height: 1.1;
  color: #fff !important;
  background: var(--ink);
  border: 1px solid var(--ink);
  text-align: center;
  white-space: nowrap;
}

.bulk-listing-workspace {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.bulk-listing-workspace .bulk-defaults-grid {
  margin-top: 0;
}

.bulk-price-note {
  margin: 8px 0 0;
}

.bulk-listing-workspace .bulk-actions {
  margin: 14px 0;
}

.bulk-listing-workspace .bulk-upload-table {
  margin-top: 0;
}

@media (max-width: 720px) {
  .bulk-upload-dropzone .bulk-upload-button {
    place-self: stretch;
    width: 100%;
  }

  .bulk-listing-workspace {
    padding: 12px;
  }
}


/* Asset protection and selectable preview licenses */
.preview-media.is-watermarked {
  position: relative;
}

.preview-media.is-watermarked::after {
  content: "ASSETPIXELS.COM";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: rotate(-24deg);
  color: rgba(17, 24, 39, 0.22);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: .08em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.62);
  pointer-events: none;
  user-select: none;
}

.preview-media img,
.product-visual img,
.mini-asset-media img {
  -webkit-user-drag: none;
  user-select: none;
}

.preview-license-card {
  width: 100%;
  display: block;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.preview-license-card:hover,
.preview-license-card:focus-visible {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.asset-activity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.asset-activity span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #526070;
}

.product-body > .asset-activity {
  margin-top: -4px;
}

.admin-product-metrics {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  margin: 5px 0 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-product-metrics::-webkit-scrollbar {
  display: none;
}

.admin-metric-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.admin-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  color: var(--muted);
  flex: 0 0 auto;
}

.admin-metric-icon svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-metric-value {
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.admin-metric-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .admin-product-metrics {
    gap: 4px;
  }
}

/* Premium UI polish pass — preserves existing structure and functionality */
.product-grid,
.shelf-grid {
  align-items: stretch;
}

.product-card,
.mini-asset-card,
.admin-product-row,
.admin-panel,
.admin-list-panel,
.admin-settings-panel,
.admin-bulk-panel,
.preview-copy,
.preview-format-panel {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.product-card,
.mini-asset-card {
  border-radius: 14px;
}

.product-visual,
.mini-asset-media {
  border-bottom-color: rgba(15, 23, 42, 0.07);
}

.product-body,
.mini-asset-body {
  gap: 7px;
}

.product-title {
  gap: 10px;
  align-items: start;
}

.product-title h3,
.mini-asset-body h3,
.admin-product-meta h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 0;
  text-align: left;
}

.product-meta,
.asset-details,
.mini-asset-body p,
.admin-product-license {
  font-size: 11px;
  line-height: 1.25;
}

.asset-activity {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  min-height: 20px;
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.asset-activity span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 19px;
  padding: 2px 5px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #475569;
  white-space: nowrap;
}

.asset-activity svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.asset-activity b {
  color: #0f172a;
  font-size: 10px;
  font-weight: 950;
}

.asset-activity em {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-body > .asset-activity,
.mini-asset-body > .asset-activity {
  margin-top: 0;
}

.product-actions,
.mini-asset-actions,
.admin-product-actions {
  gap: 7px;
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .add-button,
.product-actions .download-button,
.mini-asset-actions .preview-button,
.mini-asset-actions .add-button,
.mini-asset-actions .download-button,
.admin-product-actions .preview-button,
.admin-product-actions .quick-button,
.admin-product-actions .remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.contributor-band .hero-action,
.contributor-cta-panel .hero-action,
a.hero-action[href*="sell"],
a[href*="sell.html"].hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.preview-media,
.preview-media-shell,
.product-visual,
.mini-asset-media,
.admin-product-thumb {
  -webkit-touch-callout: none;
  user-select: none;
}

.preview-media.is-watermarked::before,
.product-visual.is-watermarked::before,
.mini-asset-media.is-watermarked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(-24deg, transparent 0 54px, rgba(15, 23, 42, 0.045) 55px 57px, transparent 58px 112px);
}

.preview-media.is-watermarked::after,
.product-visual.is-watermarked::after,
.mini-asset-media.is-watermarked::after {
  z-index: 3;
  opacity: 0.95;
}

.admin-product-row {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  align-items: center;
  border-radius: 12px;
}

.admin-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}

.admin-product-meta {
  gap: 4px;
}

.admin-product-summary {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.32;
  text-align: justify;
  -webkit-line-clamp: 2;
}

.admin-product-metrics {
  margin-top: 4px;
  gap: 4px;
}

.admin-metric-chip {
  min-height: 19px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #f8fafc;
}

.admin-product-actions {
  align-items: center;
}

.admin-product-actions .preview-button,
.admin-product-actions .quick-button,
.admin-product-actions .remove-button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

@media (max-width: 920px) {
  .admin-product-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}


/* Premium marketplace cleanup v60 — visual polish only */
.currency-control {
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.currency-control span::after {
  content: ":";
}

.currency-control select {
  width: 78px;
  min-width: 78px;
  min-height: 34px;
  padding: 0 24px 0 10px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.hero.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero.hero-split .hero-copy {
  margin: 0;
  text-align: left;
}

.hero.hero-split h1 {
  max-width: 850px;
}

.hero.hero-split .hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
}

.hero-search {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

.market-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.market-trust-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.hero-market-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(160px, 0.75fr);
  gap: 12px;
  min-width: 0;
}

.hero-preview-stack {
  display: grid;
  gap: 12px;
}

.hero-preview-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 178px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.hero-preview-card.large {
  min-height: 368px;
}

.hero-preview-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.72));
}

.hero-preview-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  user-select: none;
  -webkit-user-drag: none;
}

.hero-preview-card span,
.hero-preview-card strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.hero-preview-card span {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-preview-card strong {
  font-size: 15px;
  line-height: 1.2;
}

.workspace-card p:not(.eyebrow),
.shelf-head p:not(.eyebrow),
.section-head p:not(.eyebrow),
.catalog-head p:not(.eyebrow),
.assurance-section p:not(.eyebrow),
.contributor-band p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.5;
}

.asset-shelves {
  padding-top: clamp(26px, 3vw, 42px);
}

.shelf-head {
  align-items: center;
}

.shelf-head h2,
.section-head h2,
.catalog-head h2 {
  margin-bottom: 4px;
}

.shelf-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-grid {
  gap: 18px;
}

.product-visual {
  min-height: 278px;
}

.product-body {
  padding: 14px;
}

.product-description {
  -webkit-line-clamp: 1;
  font-size: 12px;
  line-height: 1.35;
}

.product-meta,
.asset-details {
  gap: 5px;
}

.product-meta span,
.asset-details span {
  padding: 3px 6px;
}

.contributor-band .hero-action,
.contributor-cta-panel .hero-action,
a.hero-action[href*="sell"],
a[href*="sell.html"].hero-action {
  min-height: 46px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
  }

  .hero-market-preview {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .hero.hero-split .hero-copy {
    text-align: center;
  }

  .hero.hero-split .hero-copy p:not(.eyebrow),
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

  .market-trust-row,
  .trending-searches {
    justify-content: center;
  }

  .hero-market-preview {
    grid-template-columns: 1fr;
  }

  .hero-preview-card.large,
  .hero-preview-card {
    min-height: 210px;
  }
}


/* AssetPixels v61 — user-requested marketplace cleanup */
.hero.hero-split {
  padding-top: clamp(52px, 7vw, 86px);
}

.hero.hero-split .hero-copy {
  max-width: 860px;
}

.hero.hero-split .search-shell {
  margin-top: 4px;
}

/* Removed hero trust/trending chips from markup; keep hidden defensively if cached HTML appears. */
.market-trust-row,
.trending-searches {
  display: none !important;
}

/* Consistent basket action UX across cards, shelves, wishlist, and preview modal. */
.add-button,
.product-actions .add-button,
.mini-asset-actions .add-button,
.wishlist-line .add-button,
#previewAdd.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: auto;
  min-width: 132px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.product-actions,
.mini-asset-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .download-button,
.mini-asset-actions .preview-button,
.mini-asset-actions .download-button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 14px;
  font-size: 13px;
}

.mini-asset-actions strong {
  margin-right: auto;
}

@media (max-width: 640px) {
  .product-actions .add-button,
  .mini-asset-actions .add-button,
  .wishlist-line .add-button {
    min-width: 124px;
    font-size: 12px;
  }
}

/* AssetPixels v62 — shelf density and basket label consistency */
.shelf-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}

.mini-asset-card {
  min-width: 0;
}

.mini-asset-actions {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.mini-asset-actions .add-button,
.product-actions .add-button,
#previewAdd.add-button {
  min-width: 144px;
}

.mini-asset-actions .add-button::after,
.product-actions .add-button::after,
#previewAdd.add-button::after {
  content: "";
}

@media (max-width: 1180px) {
  .shelf-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 680px) {
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .mini-asset-actions {
    grid-template-columns: 1fr;
  }

  .mini-asset-actions .preview-button,
  .mini-asset-actions .download-button,
  .mini-asset-actions .add-button {
    width: 100%;
  }
}

/* AssetPixels v63 - premium marketplace UI polish, no structural changes */
:root {
  --ink: #191b1f;
  --muted: #5f6670;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --accent: #191b1f;
  --accent-strong: #000000;
  --accent-soft: #f1f2f2;
  --header-bg: #ffffff;
  --header-line: #e5e5e2;
  --shadow: 0 14px 32px rgba(25, 27, 31, 0.08);
}

body {
  background: var(--soft);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--header-line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.site-header .icon-button,
.site-header .cart-button,
.site-header .sign-in-button,
.currency-control,
.currency-control select {
  color: var(--ink);
}

.brand-mark {
  border-color: #2f3136;
  background: var(--ink);
  color: #ffffff;
}

.nav-links a,
.sign-in-button,
.site-header .icon-button,
.site-header .cart-button,
.currency-control select {
  border-color: var(--line);
  background: #ffffff;
}

.nav a:hover,
.site-header .nav a:hover,
.site-header .icon-button:hover,
.site-header .cart-button:hover,
.sign-in-button:hover {
  border-color: #b8babd;
  background: #f4f4f2;
  color: var(--ink);
}

.hero {
  padding-bottom: clamp(34px, 5vw, 62px);
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f8f6 100%);
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  color: #535963;
}

.hero-copy p:not(.eyebrow) {
  color: #3f4650;
}

.search-shell {
  gap: 8px;
  padding: 6px;
  border: 1px solid #cfd1d4;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 27, 31, 0.08);
}

.search-shell input {
  min-height: 46px;
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
}

.search-shell input::placeholder {
  color: #7a818a;
}

.hero-market-preview {
  align-items: stretch;
}

.hero-preview-card {
  border-color: rgba(25, 27, 31, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 27, 31, 0.08);
}

.hero-preview-card::after {
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.58));
}

.workspace-paths,
.asset-shelves,
.market-section,
.catalog-head,
.product-grid {
  background: transparent;
}

.workspace-card,
.product-card,
.mini-asset-card,
.asset-category-card,
.assurance-panel,
.assurance-panel article,
.contributor-cta-panel,
.filter-bar,
.basket-line,
.wishlist-line,
dialog,
.preview-copy,
.preview-format-panel,
.preview-detail-panel,
.preview-license-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: none;
}

.workspace-card:hover,
.product-card:hover,
.mini-asset-card:hover,
.asset-category-card:hover,
.contributor-cta-panel:hover {
  border-color: #c6c8cc;
  box-shadow: 0 14px 32px rgba(25, 27, 31, 0.09);
  transform: translateY(-1px);
}

.product-card,
.mini-asset-card,
.asset-category-card,
.workspace-card,
.filter-bar,
.assurance-panel,
.assurance-panel article,
.contributor-cta-panel,
.preview-copy,
.preview-format-panel,
.preview-detail-panel,
.preview-license-card,
.basket-line,
.wishlist-line,
dialog {
  border-radius: 6px !important;
}

.product-visual,
.mini-asset-media,
.category-thumb,
.hero-preview-card,
.preview-media,
.admin-product-thumb {
  border-radius: 5px !important;
}

.product-card {
  overflow: hidden;
  min-height: 100%;
}

.product-visual {
  min-height: 260px;
  margin: 8px 8px 0;
  border: 1px solid #ececea;
  border-bottom-color: #ececea;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, var(--card-color), var(--card-color-2, #e7e8e8));
}

.product-body {
  gap: 10px;
  padding: 15px 16px 16px;
}

.product-title h3,
.mini-asset-body h3 {
  color: var(--ink);
  font-weight: 850;
}

.price,
.mini-asset-actions strong {
  color: #111316;
  font-weight: 900;
}

.product-description,
.product-meta,
.asset-details,
.mini-asset-body p,
.catalog-head p,
.section-head p:not(.eyebrow),
.shelf-head p:not(.eyebrow),
.workspace-card p:not(.eyebrow),
.assurance-panel span,
.contributor-cta-panel span,
.fine-print {
  color: var(--muted);
}

.product-meta span,
.asset-details span,
.preview-tags span,
.preview-format-list span {
  border: 1px solid #e7e7e5;
  background: #fafaf8;
  color: #4d535b;
  border-radius: 4px !important;
}

.asset-details span::before {
  display: none;
}

.asset-details span {
  padding-left: 6px;
}

.badge,
.license-badge,
.mini-asset-media > span {
  border: 1px solid rgba(25, 27, 31, 0.12);
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.94);
  color: #25282d;
}

.license-badge {
  color: #434952;
}

.asset-activity span {
  border-color: #e5e5e2;
  background: #fbfbfa;
  color: #626973;
  border-radius: 999px !important;
}

.asset-activity b {
  color: #25282d;
}

.product-actions,
.mini-asset-actions,
.preview-actions,
.admin-product-actions {
  gap: 8px;
}

.search-shell button,
.pay-button,
.add-button,
.quick-button,
.preview-button,
.download-button,
.sign-in-button,
.cart-button,
.icon-button,
.wishlist-toggle,
.qty-button,
.remove-button,
.hero-action,
.shelf-head > a,
.asset-category-card small {
  border-radius: 4px !important;
  font-weight: 800;
  letter-spacing: 0;
}

.search-shell button,
.pay-button,
.add-button,
.download-button,
.hero-action.primary {
  min-height: 38px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.quick-button,
.preview-button,
.sign-in-button,
.cart-button,
.icon-button,
.mobile-menu-button,
.wishlist-toggle,
.qty-button,
.remove-button {
  min-height: 38px;
  border: 1px solid #cfd1d4;
  background: #ffffff;
  color: var(--ink);
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .download-button,
.product-actions .add-button,
.mini-asset-actions .preview-button,
.mini-asset-actions .download-button,
.mini-asset-actions .add-button,
#previewAdd.add-button,
#previewQuickBuy.quick-button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 12px;
}

.add-button,
.product-actions .add-button,
.mini-asset-actions .add-button,
.wishlist-line .add-button,
#previewAdd.add-button {
  min-width: 126px;
}

.search-shell button:hover,
.pay-button:hover,
.add-button:hover,
.download-button:hover,
.hero-action.primary:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.quick-button:hover,
.preview-button:hover,
.sign-in-button:hover,
.cart-button:hover,
.icon-button:hover,
.mobile-menu-button:hover,
.wishlist-toggle:hover,
.qty-button:hover,
.remove-button:hover {
  border-color: #aeb2b8;
  background: #f4f4f2;
  color: var(--ink);
}

.shelf-head > a,
.workspace-card a,
.asset-category-card small {
  color: #22262b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.shelf-head > a:hover,
.workspace-card a:hover,
.asset-category-card:hover small {
  color: #000000;
}

.filter-bar {
  padding: 12px;
}

label {
  color: #4e555f;
}

input,
select,
textarea {
  border-color: #cfd1d4;
  color: var(--ink);
  background: #ffffff;
  border-radius: 4px !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #8c929a;
  box-shadow: 0 0 0 3px rgba(25, 27, 31, 0.08);
}

.assurance-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.assurance-panel {
  background: #fbfbfa;
}

.assurance-panel article::before {
  background: #191b1f;
}

.contributor-card {
  border-color: var(--line);
}

@media (max-width: 760px) {
  .hero.hero-split .hero-copy {
    text-align: left;
  }

  .hero.hero-split .hero-copy p:not(.eyebrow),
  .hero-search {
    margin-left: 0;
    margin-right: 0;
  }

  .search-shell {
    grid-template-columns: 1fr;
  }

  .search-shell button {
    width: 100%;
  }

  .mobile-menu-button {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-color: #cfd1d4;
    background: #ffffff;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
  }

  .mobile-menu-button span {
    display: block;
    color: inherit;
    line-height: 1;
  }
}

/* AssetPixels v65 - dedicated search results page inspired by pro 3D marketplaces */
.search-results-page {
  background: #f7f7f5;
}

.results-hero {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px) var(--site-gutter) 14px;
}

.results-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: end;
  margin-bottom: 18px;
}

.results-hero h1 {
  grid-column: 1;
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.results-hero .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #535963;
}

.results-count {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #3f4650;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  border-radius: 4px !important;
}

.results-search {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
}

.results-filter-bar {
  margin-top: 12px;
}

.results-summary {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.results-grid {
  padding-top: 14px;
}

.search-results-page .site-footer {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .results-hero {
    padding-top: 24px;
  }

  .results-hero-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .results-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .results-count {
    width: fit-content;
  }
}

/* AssetPixels v66 - site-wide TurboSquid-inspired marketplace UX layer */
body {
  background: #f6f6f4;
}

.nav-links a[href="search.html"] {
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px !important;
}

.site-header .nav-links a[href="search.html"]:hover {
  border-color: #d9d9d6;
  background: #f4f4f2;
  color: var(--ink);
}

.policy-shell,
.checkout-shell,
.help-shell,
.admin-shell,
.signin-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--site-gutter) clamp(56px, 7vw, 84px);
}

.policy-hero,
.checkout-hero,
.help-hero,
.admin-hero {
  display: grid;
  gap: 10px;
  max-width: none;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1,
.checkout-hero h1,
.help-hero h1,
.admin-hero h1,
.signin-panel h1,
.success-box h1 {
  max-width: 960px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.04;
}

.policy-hero p:not(.eyebrow),
.checkout-hero p:not(.eyebrow),
.help-hero p:not(.eyebrow),
.admin-hero p:not(.eyebrow),
.signin-panel > .fine-print,
.success-box > p:not(.eyebrow) {
  max-width: 820px;
  color: #4f5660;
  font-size: 16px;
  line-height: 1.55;
}

.license-grid,
.checklist-grid,
.usage-examples,
.help-topic-grid,
.popular-article-grid {
  gap: 14px;
}

.license-grid article,
.checklist-grid article,
.usage-examples article,
.help-topic-card,
.help-article,
.table-section,
.checkout-panel,
.summary-panel,
.signin-panel,
.account-panel,
.account-summary,
.admin-panel,
.admin-list-panel,
.admin-settings-panel,
.admin-bulk-panel,
.success-box {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: none;
  border-radius: 6px !important;
}

.license-grid article,
.checklist-grid article,
.usage-examples article,
.table-section,
.checkout-panel,
.summary-panel,
.signin-panel,
.admin-panel,
.admin-list-panel,
.admin-settings-panel,
.admin-bulk-panel,
.success-box {
  padding: clamp(18px, 2.6vw, 28px);
}

.license-grid article:hover,
.checklist-grid article:hover,
.help-topic-card:hover,
.popular-article-grid a:hover,
.help-article:hover,
.checkout-panel:hover,
.summary-panel:hover,
.signin-panel:hover,
.admin-panel:hover,
.admin-list-panel:hover,
.admin-settings-panel:hover,
.admin-bulk-panel:hover {
  border-color: #c2c5c9;
  box-shadow: 0 12px 28px rgba(25, 27, 31, 0.07);
}

.license-grid h2,
.checklist-grid h3,
.usage-examples h3,
.table-section h2,
.table-section h3,
.checkout-panel h2,
.summary-panel h2,
.admin-section-title h2,
.account-summary h2,
.help-category-head h2,
.help-contact h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.12;
}

.license-grid p,
.checklist-grid p,
.usage-examples li,
.table-note,
.help-article p,
.help-topic-card span,
.account-summary p,
.fine-print {
  color: var(--muted);
  line-height: 1.55;
}

.price-range {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.table-section {
  margin-top: 18px;
}

.responsive-table {
  overflow-x: auto;
  border: 1px solid #e4e4e2;
  border-radius: 6px !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #ececea;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f2f2ef;
  color: #2d3238;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: #4f5660;
}

.checkout-page,
.signin-page,
.admin-page {
  background: #f6f6f4;
}

.checkout-grid,
.admin-grid {
  align-items: start;
  gap: 18px;
}

.summary-head,
.admin-section-title,
.help-category-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ececea;
}

.summary-link,
.secondary-link,
.popular-article-grid a,
.help-contact-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #cfd1d4;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  border-radius: 4px !important;
  text-decoration: none;
}

.summary-link:hover,
.secondary-link:hover,
.popular-article-grid a:hover,
.help-contact-actions a:hover {
  border-color: #aeb2b8;
  background: #f4f4f2;
}

.help-search {
  width: min(860px, 100%);
  margin: 8px 0 0;
  padding: 6px;
  border: 1px solid #cfd1d4;
  background: #ffffff;
  border-radius: 6px !important;
}

.help-search input {
  min-height: 46px;
  border: 0;
  padding: 0 14px;
  background: #ffffff;
  box-shadow: none;
}

.help-popular,
.help-topics,
.help-category,
.help-contact {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.popular-article-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.popular-article-grid a {
  min-height: 54px;
  justify-content: flex-start;
  text-align: left;
}

.help-topic-card {
  padding: 16px;
}

.help-article {
  padding: 0;
  overflow: hidden;
}

.help-article summary {
  padding: 15px 16px;
  color: var(--ink);
  font-weight: 850;
}

.help-article p {
  padding: 0 16px 16px;
}

.account-tabs {
  padding: 4px;
  border: 1px solid var(--line);
  background: #f6f6f4;
  border-radius: 6px !important;
}

.account-tabs .chip {
  border-color: transparent;
  background: transparent;
}

.account-tabs .chip.active {
  border-color: #cfd1d4;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(25, 27, 31, 0.06);
}

.bulk-upload-dropzone {
  border: 1px dashed #b8bdc4;
  background: #fbfbfa;
  border-radius: 6px !important;
}

.bulk-upload-button {
  border-radius: 4px !important;
}

.admin-product-row {
  border-radius: 6px !important;
  background: #ffffff;
}

.storage-health {
  width: fit-content;
  border-radius: 4px !important;
}

.success-page {
  display: block;
  min-height: 100vh;
  background: #f6f6f4;
}

.success-box {
  width: min(780px, calc(100vw - 36px));
  margin: clamp(32px, 7vw, 76px) auto;
}

.success-box .hero-actions {
  justify-content: flex-start;
}

.site-footer {
  background: #15171b;
}

.footer-badge,
.footer-social a {
  border-radius: 4px !important;
}

@media (max-width: 1100px) {
  .popular-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .policy-shell,
  .checkout-shell,
  .help-shell,
  .admin-shell,
  .signin-shell {
    padding-top: 24px;
  }

  .summary-head,
  .admin-section-title,
  .help-category-head {
    display: grid;
  }

  .popular-article-grid {
    grid-template-columns: 1fr;
  }

  .policy-hero h1,
  .checkout-hero h1,
  .help-hero h1,
  .admin-hero h1,
  .signin-panel h1,
  .success-box h1 {
    font-size: clamp(28px, 8vw, 36px);
  }
}

/* AssetPixels v68 - stable brand mark and deterministic nav active states */
.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding-top: 1px;
  font-size: 0;
}

.brand-mark::before {
  content: "A";
  display: inline-block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  line-height: 0.9;
}

.brand-mark::after {
  content: ".";
  display: inline-block;
  color: #ff1f3d;
  font-size: 28px;
  font-weight: 950;
  line-height: 0.9;
}

.nav-links a[href="search.html"] {
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
}

.site-header .nav-links a[href="search.html"]:hover {
  border-color: #d9d9d6;
  background: #f4f4f2;
  color: var(--ink);
}

.search-results-page .nav-links a[href="search.html"],
.pricing-page .nav-links a[href="pricing.html"],
.licensing-page .nav-links a[href="licensing.html"],
.contributor-page .nav-links a[href="sell.html"] {
  border-color: #d9d9d6;
  background: #f4f4f2;
  color: var(--ink);
  border-radius: 4px !important;
}

.currency-control {
  min-height: 38px;
  gap: 0;
}

.currency-control span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.currency-control span::after {
  content: "";
}

.currency-control select {
  width: 86px;
  min-width: 86px;
  min-height: 38px;
  padding: 0 28px 0 12px;
  border-color: #cfd1d4;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
}

.currency-control select:hover {
  border-color: #aeb2b8;
  background: #f8f8f6;
}

@media (max-width: 680px) {
  .site-header.menu-open .mobile-currency-control {
    grid-template-columns: 1fr;
  }

  .site-header.menu-open .mobile-currency-control span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .site-header.menu-open .mobile-currency-control select {
    width: 100%;
  }
}

/* AssetPixels v69 - final header active state and logo centering correction */
.brand-mark {
  position: relative;
  display: inline-flex !important;
  column-gap: 2px;
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  align-items: center;
  font-size: 0;
  line-height: 1;
}

.brand-mark::before {
  content: "A";
  display: block;
  color: #ffffff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.brand-mark::after {
  content: ".";
  display: block;
  align-self: center;
  color: #ff1f3d;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(5px);
}

.site-header .nav-links a[href="search.html"],
.site-header .nav-links a[href="pricing.html"],
.site-header .nav-links a[href="licensing.html"],
.site-header .nav-links a[href="sell.html"] {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--ink) !important;
  border-radius: 4px !important;
}

.site-header .nav-links a[href="search.html"]:hover,
.site-header .nav-links a[href="pricing.html"]:hover,
.site-header .nav-links a[href="licensing.html"]:hover,
.site-header .nav-links a[href="sell.html"]:hover,
.search-results-page .site-header .nav-links a[href="search.html"],
.pricing-page .site-header .nav-links a[href="pricing.html"],
.licensing-page .site-header .nav-links a[href="licensing.html"],
.contributor-page .site-header .nav-links a[href="sell.html"] {
  border-color: #d9d9d6 !important;
  background: #f4f4f2 !important;
  color: var(--ink) !important;
}


/* AssetPixels v72 - stable header, centered brand mark, and deterministic page nav
   Scope: visual-only header correction. Does not modify marketplace logic. */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #191b1f !important;
  backdrop-filter: none !important;
}

.site-header-inner {
  min-height: 116px !important;
  padding: 0 clamp(24px, 3vw, 32px) !important;
  gap: clamp(22px, 4vw, 52px) !important;
  align-items: center !important;
}

.brand {
  gap: 18px !important;
  color: #191b1f !important;
  font-size: clamp(28px, 2.7vw, 34px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.brand-mark {
  position: relative !important;
  display: inline-block !important;
  flex: 0 0 96px !important;
  width: 96px !important;
  height: 96px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #191b1f !important;
  border: 1px solid #2f3136 !important;
}

.brand-mark::before {
  content: "A" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  display: block !important;
  color: #ffffff !important;
  font-size: 56px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transform: translate(-50%, -52%) !important;
}

.brand-mark::after {
  content: "." !important;
  position: absolute !important;
  right: 16px !important;
  bottom: 18px !important;
  display: block !important;
  color: #ff3048 !important;
  font-size: 38px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transform: none !important;
}

.site-header .nav {
  color: #191b1f !important;
}

.site-header .nav-links {
  gap: clamp(22px, 4vw, 48px) !important;
  align-items: center !important;
}

.site-header .nav-links a[href="search.html"],
.site-header .nav-links a[href="pricing.html"],
.site-header .nav-links a[href="licensing.html"],
.site-header .nav-links a[href="sell.html"] {
  min-height: 0 !important;
  padding: 0 !important;
  color: #191b1f !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  font-size: clamp(26px, 2.4vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.site-header .nav-links a[href="search.html"]:hover,
.site-header .nav-links a[href="pricing.html"]:hover,
.site-header .nav-links a[href="licensing.html"]:hover,
.site-header .nav-links a[href="sell.html"]:hover {
  color: #000000 !important;
  background: transparent !important;
  border-bottom-color: #191b1f !important;
}

.search-results-page .site-header .nav-links a[href="search.html"],
.pricing-page .site-header .nav-links a[href="pricing.html"],
.licensing-page .site-header .nav-links a[href="licensing.html"],
.contributor-page .site-header .nav-links a[href="sell.html"] {
  color: #000000 !important;
  background: transparent !important;
  border-color: transparent !important;
  border-bottom-color: #191b1f !important;
}

/* Never show Browse as active on non-browse policy pages. */
.pricing-page .site-header .nav-links a[href="search.html"],
.licensing-page .site-header .nav-links a[href="search.html"],
.contributor-page .site-header .nav-links a[href="search.html"] {
  background: transparent !important;
  border-color: transparent !important;
  border-bottom-color: transparent !important;
}

@media (max-width: 680px) {
  .site-header-inner {
    min-height: 72px !important;
    padding: 8px 12px !important;
    gap: 10px !important;
  }

  .brand {
    gap: 10px !important;
    font-size: 20px !important;
  }

  .brand-mark {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .brand-mark::before {
    font-size: 30px !important;
  }

  .brand-mark::after {
    right: 8px !important;
    bottom: 9px !important;
    font-size: 22px !important;
  }

  .mobile-menu-button {
    color: #191b1f !important;
    border-color: #d1d5db !important;
    background: #ffffff !important;
  }

  .site-header.menu-open .nav-links {
    background: #ffffff !important;
    border-top-color: #e5e7eb !important;
    border-bottom-color: #e5e7eb !important;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12) !important;
  }

  .site-header.menu-open .nav-links a {
    min-height: 44px !important;
    padding: 0 6px !important;
    font-size: 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
}

/* AssetPixels v73 — premium marketplace polish, contrast, buttons, cards, and modal state.
   Scope: visual + analytics-safe UI polish only. Existing marketplace logic is preserved. */
:root {
  --ap-bg: #f8fafc;
  --ap-surface: #ffffff;
  --ap-text: #111827;
  --ap-muted: #4b5563;
  --ap-muted-strong: #374151;
  --ap-border: #e5e7eb;
  --ap-border-strong: #d1d5db;
  --ap-primary: #111827;
  --ap-primary-hover: #000000;
  --ap-soft: #f3f4f6;
  --ap-soft-2: #f9fafb;
  --ap-radius-card: 16px;
  --ap-radius-control: 999px;
  --ap-shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.13);
  --ap-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
}

html,
body {
  background: var(--ap-bg) !important;
  color: var(--ap-text) !important;
}

body,
p,
.product-description,
.asset-details,
.product-meta,
.card-meta,
.asset-meta,
#workspaceSummary,
.fine-print,
.preview-description,
.preview-license-card p,
.assurance-panel span,
.workspace-card p:not(.eyebrow),
.shelf-head p:not(.eyebrow),
.section-head p:not(.eyebrow),
.mini-asset-body p {
  color: var(--ap-muted) !important;
}

.eyebrow,
.preview-kicker,
label,
.product-meta span,
.asset-details span {
  color: var(--ap-muted-strong) !important;
}

.site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--ap-border) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02) !important;
}

.site-header-inner {
  min-height: 86px !important;
  padding: 0 clamp(20px, 3vw, 32px) !important;
  gap: clamp(20px, 4vw, 48px) !important;
}

.brand {
  gap: 16px !important;
  color: var(--ap-text) !important;
  font-size: clamp(24px, 2.2vw, 30px) !important;
  font-weight: 950 !important;
}

.brand-mark {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  background: var(--ap-primary) !important;
  border: 1px solid #2f3136 !important;
  border-radius: 0 !important;
}

.brand-mark::before {
  left: 48% !important;
  top: 50% !important;
  font-size: 40px !important;
  transform: translate(-50%, -52%) !important;
}

.brand-mark::after {
  right: 10px !important;
  bottom: 12px !important;
  font-size: 28px !important;
}

.site-header .nav-links {
  gap: clamp(18px, 3vw, 38px) !important;
}

.site-header .nav-links a[href="search.html"],
.site-header .nav-links a[href="pricing.html"],
.site-header .nav-links a[href="licensing.html"],
.site-header .nav-links a[href="sell.html"] {
  padding: 8px 0 !important;
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 900 !important;
  color: var(--ap-text) !important;
  border-bottom: 2px solid transparent !important;
}

.search-results-page .site-header .nav-links a[href="search.html"],
.pricing-page .site-header .nav-links a[href="pricing.html"],
.licensing-page .site-header .nav-links a[href="licensing.html"],
.contributor-page .site-header .nav-links a[href="sell.html"],
.site-header .nav-links a:hover {
  border-bottom-color: var(--ap-primary) !important;
  background: transparent !important;
}

.currency-control {
  min-height: 36px !important;
  gap: 6px !important;
  color: var(--ap-muted-strong) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

.currency-control select {
  width: auto !important;
  min-width: 82px !important;
  min-height: 36px !important;
  padding: 0 26px 0 12px !important;
  border: 1px solid var(--ap-border-strong) !important;
  border-radius: var(--ap-radius-control) !important;
  background: #ffffff !important;
  color: var(--ap-text) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.nav-utility .currency-control span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.mobile-currency-control {
  display: none !important;
}

.hero.hero-split {
  background: #ffffff !important;
  border-bottom: 1px solid var(--ap-border) !important;
}

.hero.hero-split .hero-copy,
.hero.hero-split h1,
.hero.hero-split .hero-copy p:not(.eyebrow) {
  color: var(--ap-text) !important;
}

.hero.hero-split .hero-copy p:not(.eyebrow) {
  color: var(--ap-muted) !important;
}

.search-shell {
  border: 1px solid var(--ap-border-strong) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10) !important;
}

.search-shell input {
  color: var(--ap-text) !important;
  background: transparent !important;
}

.search-shell input::placeholder {
  color: #6b7280 !important;
}

.search-shell button,
.pay-button,
.add-button,
.download-button,
.hero-action.primary,
#previewAdd.add-button {
  border: 1px solid var(--ap-primary) !important;
  border-radius: var(--ap-radius-control) !important;
  background: var(--ap-primary) !important;
  color: #ffffff !important;
  font-weight: 850 !important;
}

.search-shell button:hover,
.pay-button:hover,
.add-button:hover,
.download-button:hover,
.hero-action.primary:hover,
#previewAdd.add-button:hover {
  border-color: var(--ap-primary-hover) !important;
  background: var(--ap-primary-hover) !important;
  transform: translateY(-1px);
}

.preview-button,
.quick-button,
.sign-in-button,
.cart-button,
.icon-button,
.wishlist-toggle,
.preview-icon-action,
#previewQuickBuy.quick-button,
.qty-button,
.remove-button {
  border: 1px solid var(--ap-border-strong) !important;
  border-radius: var(--ap-radius-control) !important;
  background: #ffffff !important;
  color: var(--ap-text) !important;
  font-weight: 800 !important;
}

.preview-button:hover,
.quick-button:hover,
.sign-in-button:hover,
.cart-button:hover,
.icon-button:hover,
.wishlist-toggle:hover,
.preview-icon-action:hover,
#previewQuickBuy.quick-button:hover,
.qty-button:hover,
.remove-button:hover {
  border-color: #9ca3af !important;
  background: var(--ap-soft) !important;
  color: var(--ap-text) !important;
  transform: translateY(-1px);
}

.product-card,
.mini-asset-card,
.asset-category-card,
.workspace-card,
.assurance-panel,
.assurance-panel article,
.contributor-cta-panel,
.filter-bar,
.basket-line,
.wishlist-line,
.preview-copy,
.preview-format-panel,
.preview-detail-panel,
.preview-license-card,
dialog {
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ap-radius-card) !important;
  background: var(--ap-surface) !important;
  box-shadow: var(--ap-shadow-soft) !important;
}

.product-card,
.mini-asset-card,
.asset-category-card,
.workspace-card {
  overflow: hidden !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.product-card:hover,
.mini-asset-card:hover,
.asset-category-card:hover,
.workspace-card:hover,
.contributor-cta-panel:hover {
  border-color: var(--ap-border-strong) !important;
  box-shadow: var(--ap-shadow-hover) !important;
  transform: translateY(-3px) !important;
}

.product-visual,
.mini-asset-media,
.category-thumb,
.hero-preview-card,
.preview-media,
.admin-product-thumb {
  border-radius: 12px !important;
  border: 1px solid var(--ap-border) !important;
}

.product-card .product-visual {
  min-height: 248px !important;
  margin: 10px 10px 0 !important;
}

.product-body {
  gap: 10px !important;
  padding: 15px 16px 16px !important;
}

.product-title h3,
.mini-asset-body h3,
.asset-category-card strong,
.workspace-card h2,
.shelf-head h2,
.section-head h2 {
  color: var(--ap-text) !important;
}

.product-description {
  min-height: 54px !important;
}

.product-meta span,
.asset-details span,
.preview-tags span,
.preview-format-list span,
.badge,
.license-badge,
.mini-asset-media > span {
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ap-radius-control) !important;
  background: var(--ap-soft-2) !important;
  color: var(--ap-muted-strong) !important;
}

.product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.product-actions .add-button {
  grid-column: 1 / -1 !important;
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .download-button,
.product-actions .add-button,
.mini-asset-actions .preview-button,
.mini-asset-actions .download-button,
.mini-asset-actions .add-button,
#previewAdd.add-button,
#previewQuickBuy.quick-button {
  min-height: 38px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.product-actions .download-button {
  grid-column: 1 / -1 !important;
}

.asset-activity span {
  border: 1px solid var(--ap-border) !important;
  background: #ffffff !important;
  color: var(--ap-muted-strong) !important;
}

.asset-activity b {
  color: var(--ap-text) !important;
}

dialog[aria-hidden="true"]:not([open]) {
  display: none !important;
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(3px) !important;
}

.asset-preview-dialog,
.side-drawer-dialog {
  border-color: var(--ap-border-strong) !important;
}

.preview-license-card.active {
  border-color: var(--ap-primary) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
}

.preview-icon-action.active,
.wishlist-toggle.active {
  border-color: #fecdd3 !important;
  background: #fff1f2 !important;
  color: #be123c !important;
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 70px !important;
    padding: 8px 12px !important;
    gap: 10px !important;
  }

  .brand {
    gap: 10px !important;
    font-size: 20px !important;
  }

  .brand-mark {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .brand-mark::before {
    font-size: 30px !important;
  }

  .brand-mark::after {
    right: 8px !important;
    bottom: 9px !important;
    font-size: 22px !important;
  }

  .product-actions {
    grid-template-columns: 1fr !important;
  }
}

/* AssetPixels v74 - final header refinement and no post-search helper copy. */
.brand-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  overflow: hidden !important;
  text-align: center !important;
}

.brand-mark::before {
  position: static !important;
  display: block !important;
  transform: translateY(-1px) !important;
}

.brand-mark::after {
  position: static !important;
  display: block !important;
  color: #ff1f3d !important;
  transform: translateY(7px) !important;
}

.home-page .site-header .nav-links a[href="search.html"],
.pricing-page .site-header .nav-links a[href="search.html"],
.licensing-page .site-header .nav-links a[href="search.html"],
.contributor-page .site-header .nav-links a[href="search.html"] {
  background: transparent !important;
  border-bottom-color: transparent !important;
}

.results-summary {
  display: none !important;
}

@media (max-width: 760px) {
  .brand-mark {
    gap: 2px !important;
  }

  .brand-mark::before {
    transform: translateY(-1px) !important;
  }

  .brand-mark::after {
    transform: translateY(5px) !important;
  }

  .site-header.menu-open .nav-links {
    gap: 2px !important;
    padding: 8px 10px !important;
  }

  .site-header.menu-open .nav-links a {
    min-height: 42px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-left: 3px solid transparent !important;
    border-radius: 4px !important;
    font-size: 16px !important;
  }

  .site-header.menu-open .nav-links a:hover {
    background: var(--ap-soft-2) !important;
    border-left-color: #9ca3af !important;
    border-bottom-color: transparent !important;
  }

  .search-results-page .site-header.menu-open .nav-links a[href="search.html"],
  .pricing-page .site-header.menu-open .nav-links a[href="pricing.html"],
  .licensing-page .site-header.menu-open .nav-links a[href="licensing.html"],
  .contributor-page .site-header.menu-open .nav-links a[href="sell.html"] {
    background: var(--ap-soft) !important;
    border-left-color: var(--ap-primary) !important;
    border-bottom-color: transparent !important;
  }

  .site-header.menu-open .nav-links .mobile-only-nav-link {
    border-top: 1px solid var(--ap-border) !important;
  }
}

/* AssetPixels v75 - uniform logo geometry and stable buyer utilities on policy pages. */
.brand-mark {
  position: relative !important;
  display: block !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: var(--ap-primary) !important;
  border: 1px solid #2f3136 !important;
  border-radius: 0 !important;
}

.brand-mark::before {
  content: "A" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  display: block !important;
  color: #ffffff !important;
  font-size: 40px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transform: translate(-50%, -53%) !important;
}

.brand-mark::after {
  content: "." !important;
  position: absolute !important;
  right: 9px !important;
  bottom: 10px !important;
  display: block !important;
  color: #ff1f3d !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transform: none !important;
}

.site-header .nav-right,
.site-header .nav-actions,
.site-header .nav-utility {
  align-items: center !important;
}

.pricing-page .site-header .nav-actions,
.licensing-page .site-header .nav-actions,
.contributor-page .site-header .nav-actions {
  display: flex !important;
}

@media (max-width: 760px) {
  .brand-mark {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .brand-mark::before {
    font-size: 30px !important;
    transform: translate(-50%, -53%) !important;
  }

  .brand-mark::after {
    right: 7px !important;
    bottom: 8px !important;
    font-size: 22px !important;
  }
}

/* AssetPixels v76 - aligned marketplace card rhythm. */
.product-grid {
  align-items: stretch !important;
}

.product-card {
  display: grid !important;
  grid-template-rows: 268px 1fr !important;
  height: 100% !important;
}

.product-card .product-visual {
  min-height: 0 !important;
  height: 268px !important;
}

.product-body {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.product-title {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  min-height: 46px !important;
}

.product-title h3 {
  min-height: 46px !important;
  line-height: 1.18 !important;
  -webkit-line-clamp: 2 !important;
}

.product-title .price {
  padding-top: 1px !important;
  line-height: 1.18 !important;
}

.product-meta {
  min-height: 36px !important;
  align-content: flex-start !important;
  overflow: hidden !important;
}

.product-description {
  min-height: 52px !important;
  max-height: 52px !important;
}

.asset-details {
  min-height: 86px !important;
  align-content: flex-start !important;
}

.asset-details span {
  min-height: 24px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.product-body > .asset-activity {
  min-height: 24px !important;
}

.product-actions {
  margin-top: auto !important;
}

@media (max-width: 760px) {
  .product-grid {
    grid-auto-rows: auto !important;
  }

  .product-card {
    grid-template-rows: 228px 1fr !important;
    height: auto !important;
  }

  .product-card .product-visual {
    height: 228px !important;
  }

  .product-body {
    height: auto !important;
  }
}

@media (min-width: 761px) {
  .product-grid {
    grid-auto-rows: 1fr !important;
  }
}

/* AssetPixels v78 - premium UI finish, compact filters, square logo mark, and mobile actions. */
.brand-mark {
  position: relative !important;
  display: block !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #101722 !important;
  border: 1px solid #263241 !important;
}

.brand-mark::before {
  content: "A" !important;
  position: absolute !important;
  left: 47% !important;
  top: 50% !important;
  color: #ffffff !important;
  font-size: 41px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transform: translate(-50%, -53%) !important;
}

.brand-mark::after {
  content: "" !important;
  position: absolute !important;
  right: 10px !important;
  bottom: 15px !important;
  width: 7px !important;
  height: 7px !important;
  background: #ff1f3d !important;
  border-radius: 1px !important;
  transform: none !important;
}

.currency-control {
  min-height: 34px !important;
  gap: 6px !important;
  padding: 0 !important;
}

.nav-utility .currency-control span,
.currency-control span {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.currency-control span::after {
  content: ":" !important;
}

.currency-control select {
  min-width: 78px !important;
  min-height: 34px !important;
  padding: 0 26px 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

.mobile-currency-control {
  display: none !important;
}

dialog:not([open]),
dialog[aria-hidden="true"]:not([open]) {
  display: none !important;
}

.filter-bar,
.results-filter-bar {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
  padding: 10px !important;
  border: 1px solid #d9dde3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05) !important;
}

.filter-bar label,
.results-filter-bar label {
  gap: 5px !important;
  color: #374151 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.filter-bar select,
.results-filter-bar select {
  min-height: 36px !important;
  border-radius: 6px !important;
  border-color: #d1d5db !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.product-card {
  border-color: #dfe3e8 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055) !important;
}

.product-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12) !important;
  transform: translateY(-2px) !important;
}

.product-visual {
  border-radius: 7px !important;
}

.search-shell button,
.pay-button,
.add-button,
.download-button,
.hero-action.primary,
#previewAdd.add-button {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

.preview-button,
.quick-button,
.sign-in-button,
.cart-button,
.icon-button,
.wishlist-toggle,
.preview-icon-action,
#previewQuickBuy.quick-button,
.qty-button,
.remove-button {
  background: #ffffff !important;
  border-color: #d1d5db !important;
  color: #111827 !important;
}

.search-shell button:hover,
.pay-button:hover,
.add-button:hover,
.download-button:hover,
.hero-action.primary:hover,
#previewAdd.add-button:hover {
  background: #020617 !important;
  border-color: #020617 !important;
}

.preview-button:hover,
.quick-button:hover,
.sign-in-button:hover,
.cart-button:hover,
.icon-button:hover,
.wishlist-toggle:hover,
.preview-icon-action:hover,
#previewQuickBuy.quick-button:hover,
.qty-button:hover,
.remove-button:hover {
  background: #f8fafc !important;
  border-color: #9ca3af !important;
}

@media (max-width: 760px) {
  .brand-mark {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .brand-mark::before {
    left: 46% !important;
    font-size: 30px !important;
  }

  .brand-mark::after {
    right: 8px !important;
    bottom: 11px !important;
    width: 6px !important;
    height: 6px !important;
  }

  .filter-bar,
  .results-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .product-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-actions .add-button,
  .product-actions .download-button {
    grid-column: 1 / -1 !important;
  }

  .product-actions .preview-button,
  .product-actions .quick-button,
  .product-actions .download-button,
  .product-actions .add-button {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 420px) {
  .filter-bar,
  .results-filter-bar {
    grid-template-columns: 1fr !important;
  }
}

/* AssetPixels v79 - opaque header and compact mobile card actions. */
.site-header {
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08), 0 10px 28px rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: none !important;
}

@media (max-width: 760px) {
  .product-description:empty {
    display: none !important;
  }

  .product-description {
    min-height: 42px !important;
    max-height: 42px !important;
  }

  .asset-details {
    min-height: auto !important;
  }

  .product-body > .asset-activity {
    min-height: 20px !important;
  }

  .product-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-top: 8px !important;
  }

  .product-actions .preview-button,
  .product-actions .quick-button,
  .product-actions .download-button,
  .product-actions .add-button {
    grid-column: auto !important;
    min-height: 34px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }
}

/* AssetPixels v80 - synced mobile menu currency selector. */
@media (max-width: 760px) {
  .site-header.menu-open .mobile-currency-control {
    display: grid !important;
    grid-template-columns: auto minmax(96px, 140px) !important;
    min-height: 42px !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 10px !important;
    border: 0 !important;
    border-top: 1px solid var(--ap-border) !important;
    border-bottom: 1px solid var(--ap-border) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
  }

  .site-header.menu-open .mobile-currency-control span {
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
  }

  .site-header.menu-open .mobile-currency-control select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    border-radius: 999px !important;
  }
}

/* AssetPixels v81 - red square brand-i and stable basket button centering. */
.brand-word {
  display: inline-flex !important;
  align-items: baseline !important;
  color: #111827 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.brand-i {
  position: relative !important;
  display: inline-block !important;
  width: 0.24em !important;
  height: 0.82em !important;
  margin: 0 0.015em !important;
  transform: translateY(0.02em) !important;
}

.brand-i::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 0.16em !important;
  height: 0.54em !important;
  background: currentColor !important;
  border-radius: 0.02em !important;
  transform: translateX(-50%) !important;
}

.brand-i::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0.07em !important;
  width: 0.16em !important;
  height: 0.16em !important;
  background: #ff1f3d !important;
  border-radius: 1px !important;
  transform: translateX(-50%) !important;
}

.site-header .cart-button,
.site-header #checkoutBasketButton {
  display: inline-flex !important;
  min-width: 100px !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 14px !important;
  text-align: center !important;
  line-height: 1 !important;
}

.site-header .cart-button strong,
.site-header #checkoutBasketButton strong {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.site-header #checkoutBasketButton span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  .site-header .cart-button,
  .site-header #checkoutBasketButton {
    width: 94px !important;
    min-width: 94px !important;
    max-width: none !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

/* AssetPixels v82 - compact desktop header and inline card actions. */
.site-header-inner {
  gap: clamp(14px, 2vw, 28px) !important;
}

.site-header .nav {
  gap: clamp(12px, 1.6vw, 22px) !important;
  min-width: 0 !important;
}

.site-header .nav-links {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: clamp(14px, 2.2vw, 30px) !important;
  overflow: visible !important;
}

.site-header .nav-links a[href="search.html"],
.site-header .nav-links a[href="pricing.html"],
.site-header .nav-links a[href="licensing.html"],
.site-header .nav-links a[href="sell.html"] {
  font-size: clamp(18px, 1.55vw, 22px) !important;
  white-space: nowrap !important;
}

.site-header .nav-right,
.site-header .nav-actions,
.site-header .nav-utility {
  flex: 0 0 auto !important;
  gap: 8px !important;
}

.site-header .nav-utility > .currency-control > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.site-header .nav-utility > .currency-control > span::after {
  content: "" !important;
}

.site-header .currency-control select {
  min-width: 86px !important;
}

.product-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(106px, 1fr)) !important;
  align-items: center !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  gap: 8px !important;
}

.product-actions .add-button,
.product-actions .download-button {
  grid-column: auto !important;
  min-width: 0 !important;
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .download-button,
.product-actions .add-button {
  min-width: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .site-header .nav-links {
    overflow: visible !important;
  }

  .site-header.menu-open .mobile-currency-control span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
  }

  .site-header.menu-open .mobile-currency-control span::after {
    content: ":" !important;
  }

  .product-actions {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  }

  .product-actions .add-button,
  .product-actions .download-button {
    grid-column: auto !important;
  }
}

/* AssetPixels v84 - visible footer contrast and locked A mark red square. */
.brand-mark {
  position: relative !important;
  display: block !important;
  flex: 0 0 64px !important;
  flex-shrink: 0 !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #101722 !important;
}

.brand-mark::before {
  content: "A" !important;
  position: absolute !important;
  left: 47% !important;
  top: 50% !important;
  color: #ffffff !important;
  font-size: 41px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  transform: translate(-50%, -53%) !important;
}

.brand-mark::after {
  content: "" !important;
  position: absolute !important;
  right: 10px !important;
  bottom: 14px !important;
  width: 7px !important;
  min-width: 7px !important;
  max-width: 7px !important;
  height: 7px !important;
  min-height: 7px !important;
  max-height: 7px !important;
  background: #ff1f3d !important;
  border-radius: 1px !important;
  transform: none !important;
}

.site-footer {
  margin-top: 32px !important;
  background: #111827 !important;
  border-top: 1px solid #273142 !important;
  color: #e5e7eb !important;
}

.site-footer .footer-inner {
  padding-top: clamp(34px, 4vw, 52px) !important;
  padding-bottom: clamp(28px, 3vw, 42px) !important;
}

.site-footer p,
.site-footer span,
.site-footer li,
.site-footer a {
  color: #cbd5e1 !important;
}

.site-footer strong,
.site-footer h2,
.site-footer h3,
.site-footer .footer-badge {
  color: #ffffff !important;
}

.site-footer .footer-topline,
.site-footer .footer-bottom {
  border-color: rgba(203, 213, 225, 0.24) !important;
}

.site-footer .footer-badge {
  border-color: rgba(255, 255, 255, 0.32) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.site-footer a:hover {
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .brand-mark {
    flex-basis: 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  .brand-mark::before {
    font-size: 30px !important;
  }

  .brand-mark::after {
    right: 7px !important;
    bottom: 10px !important;
    width: 7px !important;
    min-width: 7px !important;
    max-width: 7px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
  }

  .site-footer .footer-topline,
  .site-footer .footer-bottom {
    gap: 16px !important;
  }
}

/* AssetPixels v86 - final mobile logo dot alignment lock. */
@media (max-width: 760px) {
  .brand-mark::after {
    right: 7px !important;
    bottom: 13px !important;
    width: 7px !important;
    min-width: 7px !important;
    max-width: 7px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
    border-radius: 1px !important;
  }
}

/* AssetPixels v87 - device-proof logo geometry across every page. */
.brand {
  align-items: center !important;
  flex-shrink: 0 !important;
}

.brand-mark {
  --ap-logo-size: 64px;
  --ap-logo-dot-size: 8px;
  position: relative !important;
  display: block !important;
  flex: 0 0 var(--ap-logo-size) !important;
  width: var(--ap-logo-size) !important;
  min-width: var(--ap-logo-size) !important;
  max-width: var(--ap-logo-size) !important;
  height: var(--ap-logo-size) !important;
  min-height: var(--ap-logo-size) !important;
  max-height: var(--ap-logo-size) !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  contain: layout paint !important;
  color: transparent !important;
  background: #101722 !important;
  border: 1px solid #2d3744 !important;
  border-radius: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  transform: none !important;
}

.brand-mark::before {
  content: "A" !important;
  position: absolute !important;
  left: 47% !important;
  top: 50% !important;
  width: auto !important;
  height: auto !important;
  color: #ffffff !important;
  background: transparent !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: calc(var(--ap-logo-size) * 0.64) !important;
  font-weight: 900 !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center !important;
}

.brand-mark::after {
  content: "" !important;
  position: absolute !important;
  right: calc(var(--ap-logo-size) * 0.12) !important;
  bottom: calc(var(--ap-logo-size) * 0.25) !important;
  display: block !important;
  width: var(--ap-logo-dot-size) !important;
  min-width: var(--ap-logo-dot-size) !important;
  max-width: var(--ap-logo-dot-size) !important;
  height: var(--ap-logo-dot-size) !important;
  min-height: var(--ap-logo-dot-size) !important;
  max-height: var(--ap-logo-dot-size) !important;
  aspect-ratio: 1 / 1 !important;
  background: #ff1f3d !important;
  border: 0 !important;
  border-radius: 1px !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .brand-mark {
    --ap-logo-size: 48px;
    --ap-logo-dot-size: 7px;
  }
}

/* AssetPixels v90 - stable header wishlist pill and quiet browse landing. */
.results-count[hidden] {
  display: none !important;
}

.site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
  display: inline-grid !important;
  grid-auto-flow: column !important;
  grid-template-columns: auto auto !important;
  place-items: center !important;
  justify-content: center !important;
  align-content: center !important;
  column-gap: 7px !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border: 1px solid #cfd6df !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--ap-text, #101722) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transform: none !important;
}

.site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span,
.site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  line-height: 1 !important;
  transform: none !important;
}

.site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span {
  width: 20px !important;
  height: 20px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
}

.site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
  width: 11px !important;
  height: 18px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

@media (max-width: 760px) {
  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    flex-basis: 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    column-gap: 5px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span {
    width: 18px !important;
    height: 18px !important;
    font-size: 22px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
    width: 10px !important;
    height: 16px !important;
    font-size: 13px !important;
  }
}

/* AssetPixels v91 - prevent mobile wordmark/menu overlap. */
@media (max-width: 760px) {
  .site-header-inner {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
    gap: 8px !important;
    padding-inline: 12px !important;
    overflow: hidden !important;
  }

  .brand {
    min-width: 0 !important;
    max-width: min(42vw, 190px) !important;
    overflow: hidden !important;
    gap: 8px !important;
  }

  .brand-word {
    display: inline-block !important;
    min-width: 0 !important;
    max-width: calc(100% - 56px) !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .nav {
    min-width: 0 !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cfd6df !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #101722 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    transform: none !important;
  }

  .mobile-menu-button span {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 21px !important;
    line-height: 16px !important;
    text-align: center !important;
    transform: none !important;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: 48px !important;
    gap: 0 !important;
  }

  .brand-word {
    display: none !important;
  }
}

/* AssetPixels v92 - keep the wordmark visible on mobile without overlap. */
@media (max-width: 760px) {
  .site-header-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-inline: 10px !important;
    overflow: hidden !important;
  }

  .brand {
    flex: 0 0 188px !important;
    width: 188px !important;
    min-width: 188px !important;
    max-width: 188px !important;
    gap: 8px !important;
  }

  .brand-word {
    display: inline-flex !important;
    flex: 0 0 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    color: #101722 !important;
    font-size: clamp(19px, 4.3vw, 24px) !important;
    line-height: 1 !important;
  }

  .nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  .nav-right,
  .nav-actions {
    min-width: 0 !important;
    gap: 6px !important;
  }

  .mobile-menu-button {
    flex-basis: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    flex-basis: 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  .site-header .cart-button {
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 8px !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  .site-header .nav-actions > .sign-in-button[href="checkout.html"] {
    flex: 0 0 82px !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 430px) {
  .brand {
    max-width: 146px !important;
    gap: 7px !important;
  }

  .brand-word {
    max-width: 90px !important;
    font-size: 19px !important;
  }

  .site-header .cart-button {
    flex-basis: 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  .site-header .nav-actions > .sign-in-button[href="checkout.html"] {
    flex-basis: 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }
}

/* AssetPixels v95 - real-phone header fit with checkout visible. */
@media (max-width: 430px) {
  .site-header-inner {
    gap: 4px !important;
    padding-inline: 4px !important;
  }

  .brand {
    flex: 0 0 144px !important;
    width: 144px !important;
    min-width: 144px !important;
    max-width: 144px !important;
    gap: 6px !important;
  }

  .brand-mark {
    --ap-logo-size: 40px;
    --ap-logo-dot-size: 6px;
  }

  .brand-word {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    font-size: 17px !important;
  }

  .nav,
  .nav-right,
  .nav-actions {
    gap: 4px !important;
  }

  .mobile-menu-button {
    flex-basis: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  .mobile-menu-button span {
    font-size: 18px !important;
    line-height: 15px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    column-gap: 3px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span {
    width: 15px !important;
    height: 15px !important;
    font-size: 19px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
    width: 8px !important;
    height: 14px !important;
    font-size: 11px !important;
  }

  .site-header .cart-button {
    flex-basis: 62px !important;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 5px !important;
    gap: 3px !important;
    font-size: 11.5px !important;
  }

  .site-header .cart-button strong {
    font-size: 11px !important;
  }

  .site-header .nav-actions > .sign-in-button[href="checkout.html"] {
    flex-basis: 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 5px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 380px) {
  .brand {
    flex-basis: 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }

  .brand-mark {
    --ap-logo-size: 38px;
    --ap-logo-dot-size: 6px;
  }

  .brand-word {
    flex-basis: 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    font-size: 15.5px !important;
  }

  .nav,
  .nav-right,
  .nav-actions {
    gap: 3px !important;
  }

  .mobile-menu-button {
    flex-basis: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }

  .site-header .cart-button {
    flex-basis: 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    font-size: 10.5px !important;
  }

  .site-header .nav-actions > .sign-in-button[href="checkout.html"] {
    flex-basis: 60px !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    font-size: 10.5px !important;
  }
}

/* AssetPixels v96 - desktop wishlist pill matches header control height. */
@media (min-width: 761px) {
  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    flex-basis: 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    column-gap: 5px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span {
    width: 18px !important;
    height: 18px !important;
    font-size: 23px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
    width: 10px !important;
    height: 16px !important;
    font-size: 13px !important;
  }
}

/* AssetPixels v97 - tighter mobile header so Checkout remains visible. */
@media (max-width: 430px) {
  .site-header-inner {
    position: relative !important;
    min-height: 52px !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    padding-inline: 3px !important;
    overflow: visible !important;
  }

  .brand {
    flex: 0 0 128px !important;
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    gap: 5px !important;
  }

  .brand-mark {
    --ap-logo-size: 34px;
    --ap-logo-dot-size: 5px;
  }

  .brand-word {
    flex: 0 0 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    font-size: 15px !important;
  }

  .nav,
  .nav-right,
  .nav-actions {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    overflow: visible !important;
  }

  .mobile-menu-button {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  .mobile-menu-button span {
    font-size: 17px !important;
    line-height: 14px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] {
    position: absolute !important;
    top: 50% !important;
    right: 136px !important;
    z-index: 5 !important;
    display: inline-grid !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    column-gap: 2px !important;
    transform: translateY(-50%) !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] span {
    width: 14px !important;
    height: 14px !important;
    font-size: 18px !important;
  }

  .site-header .nav-actions > .icon-button[aria-label="Open wishlist"] strong {
    width: 8px !important;
    height: 13px !important;
    font-size: 10.5px !important;
  }

  .site-header .cart-button {
    position: absolute !important;
    top: 50% !important;
    right: 66px !important;
    z-index: 5 !important;
    flex: 0 0 66px !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 5px !important;
    gap: 3px !important;
    font-size: 10.5px !important;
    font-variant-numeric: tabular-nums !important;
    transform: translateY(-50%) !important;
  }

  .site-header .cart-button strong {
    display: inline-flex !important;
    min-width: 12px !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    font-variant-numeric: tabular-nums !important;
  }

  .site-header .nav-actions > .sign-in-button[href="checkout.html"] {
    position: absolute !important;
    top: 50% !important;
    right: 3px !important;
    z-index: 5 !important;
    display: inline-flex !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    transform: translateY(-50%) !important;
  }
}

/* AssetPixels v106 - premium marketplace polish, crawlable cards, compact currency, and CWV-safe media. */
.brand-word {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
}

.brand-i {
  position: relative !important;
  display: inline-block !important;
  width: 0.24em !important;
  height: 0.82em !important;
  margin: 0 0.015em !important;
  color: transparent !important;
  line-height: 1 !important;
  transform: translateY(0.02em) !important;
}

.brand-i::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 0.16em !important;
  height: 0.54em !important;
  border-radius: 0.02em !important;
  background: #111827 !important;
  transform: translateX(-50%) !important;
}

.brand-i::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0.13em !important;
  width: 0.16em !important;
  height: 0.16em !important;
  border-radius: 1px !important;
  background: #ff1f3d !important;
  transform: translateX(-50%) !important;
}

.site-header .currency-control {
  min-width: 88px !important;
}

.site-header .currency-control select {
  min-width: 88px !important;
  height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid #cfd6df !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 0 30px 0 14px !important;
}

.product-card,
.mini-asset-card,
.featured-asset-card {
  border: 1px solid #dce2ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.product-card,
.featured-asset-card {
  overflow: hidden !important;
}

.product-card:hover,
.mini-asset-card:hover,
.featured-asset-card:hover,
.asset-category-card:hover,
.resource-grid a:hover,
.license-grid article:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px) !important;
}

.product-visual,
.mini-asset-media,
.featured-asset-card > img {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}

.product-body {
  gap: 10px !important;
  padding: 12px 12px 14px !important;
}

.product-title h3,
.featured-asset-card h3 {
  color: #101827 !important;
  letter-spacing: 0 !important;
}

.product-description,
.featured-asset-card p,
.asset-details span,
.product-meta span,
.resource-grid span {
  color: #536173 !important;
}

.product-meta,
.asset-details,
.purchase-trust {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.product-meta span,
.asset-details span,
.asset-chip,
.purchase-trust span {
  display: inline-flex !important;
  min-height: 24px !important;
  align-items: center !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 0 9px !important;
}

.purchase-trust span {
  border-color: #e6eaf0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 11px !important;
}

.product-actions,
.static-card-actions,
.preview-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.product-actions .preview-button,
.product-actions .quick-button,
.product-actions .add-button,
.product-actions .download-button,
.static-card-actions .preview-button,
.static-card-actions .add-button,
.static-card-actions .download-button,
.preview-actions .quick-button,
.preview-actions .add-button {
  min-height: 38px !important;
  flex: 1 1 96px !important;
  border-radius: 999px !important;
  border: 1px solid #cfd6df !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
}

.product-actions .preview-button,
.product-actions .quick-button,
.static-card-actions .preview-button,
.preview-actions .quick-button {
  background: #ffffff !important;
  color: #111827 !important;
}

.product-actions .add-button,
.product-actions .download-button,
.static-card-actions .add-button,
.static-card-actions .download-button,
.preview-actions .add-button {
  border-color: #101827 !important;
  background: #101827 !important;
  color: #ffffff !important;
}

.product-actions button:hover,
.static-card-actions a:hover,
.preview-actions button:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.filter-bar {
  border: 1px solid #d9e0e8 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04) !important;
  gap: 10px !important;
  padding: 10px !important;
}

.filter-bar label {
  gap: 6px !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.filter-bar select {
  height: 40px !important;
  border-radius: 7px !important;
  border: 1px solid #cfd6df !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

#formatFilter {
  border-color: #b9c3d0 !important;
  background-color: #fbfdff !important;
}

.static-featured-assets .section-head,
.resources-section .section-head {
  max-width: 860px !important;
}

.static-asset-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 16px !important;
}

.featured-asset-card {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 0 !important;
  padding: 10px !important;
}

.featured-asset-card > img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

.featured-asset-card > div {
  display: flex !important;
  min-height: 0 !important;
  flex-direction: column !important;
  gap: 9px !important;
  padding: 12px 4px 2px !important;
}

.asset-card-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: #475569 !important;
  font-size: 13px !important;
}

.asset-card-meta strong {
  color: #101827 !important;
  font-size: 17px !important;
}

.resource-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 14px !important;
}

.resource-grid a {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  min-height: 128px !important;
  border: 1px solid #dce2ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #101827 !important;
  padding: 18px !important;
  text-decoration: none !important;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease !important;
}

.preview-copy {
  gap: 12px !important;
}

.preview-kicker {
  color: #475569 !important;
  font-weight: 800 !important;
}

.preview-trust {
  margin-top: -2px !important;
}

.preview-detail-panel,
.preview-format-panel,
.preview-license-card {
  border-color: #dce2ea !important;
  background: #ffffff !important;
}

.pricing-page .policy-hero {
  border-bottom: 1px solid #e5eaf0 !important;
  padding-bottom: 28px !important;
}

.pricing-page .license-grid {
  align-items: stretch !important;
  gap: 16px !important;
}

.pricing-page .license-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  border: 1px solid #dce2ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 22px !important;
}

.pricing-page .price-range {
  display: block !important;
  margin-bottom: 8px !important;
  color: #101827 !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1 !important;
}

.table-section {
  border: 1px solid #dce2ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.table-section th {
  color: #101827 !important;
  background: #f8fafc !important;
}

@media (max-width: 760px) {
  .product-actions,
  .static-card-actions,
  .preview-actions {
    gap: 6px !important;
  }

  .product-actions .preview-button,
  .product-actions .quick-button,
  .product-actions .add-button,
  .product-actions .download-button,
  .static-card-actions .preview-button,
  .static-card-actions .add-button,
  .static-card-actions .download-button {
    flex: 1 1 calc(50% - 6px) !important;
    min-height: 36px !important;
    padding-inline: 10px !important;
    font-size: 12px !important;
  }

  .static-asset-grid,
  .resource-grid {
    grid-template-columns: 1fr !important;
  }

  .brand-i::after {
    top: 0.13em !important;
  }
}

/* AssetPixels v107 - align crawlable homepage featured cards without touching app logic. */
.static-featured-assets {
  padding-top: clamp(28px, 5vw, 56px) !important;
}

.static-featured-assets .section-head {
  margin-bottom: 18px !important;
}

.static-asset-grid {
  align-items: stretch !important;
}

.featured-asset-card {
  min-height: 486px !important;
  grid-template-rows: 188px 1fr !important;
}

.featured-asset-card > img {
  height: 188px !important;
  min-height: 188px !important;
  max-height: 188px !important;
  object-fit: cover !important;
}

.featured-asset-card > div {
  height: 100% !important;
  min-height: 0 !important;
  padding: 12px 6px 4px !important;
}

.featured-asset-card .asset-chip {
  width: auto !important;
  max-width: max-content !important;
  align-self: flex-start !important;
}

.featured-asset-card h3 {
  min-height: 2.7em !important;
  margin: 0 !important;
  line-height: 1.18 !important;
}

.featured-asset-card p {
  min-height: 3.8em !important;
  margin: 0 !important;
  line-height: 1.22 !important;
}

.featured-asset-card .asset-card-meta {
  min-height: 26px !important;
}

.featured-asset-card .purchase-trust {
  min-height: 54px !important;
  align-content: flex-start !important;
}

.featured-asset-card .purchase-trust span {
  max-width: 100% !important;
}

.static-card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
  margin-top: auto !important;
}

.static-card-actions .preview-button,
.static-card-actions .add-button,
.static-card-actions .download-button {
  display: inline-flex !important;
  min-width: 0 !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  .featured-asset-card {
    min-height: 460px !important;
    grid-template-rows: 174px 1fr !important;
  }

  .featured-asset-card > img {
    height: 174px !important;
    min-height: 174px !important;
    max-height: 174px !important;
  }
}

@media (max-width: 760px) {
  .featured-asset-card {
    min-height: auto !important;
  }

  .featured-asset-card h3,
  .featured-asset-card p,
  .featured-asset-card .purchase-trust {
    min-height: 0 !important;
  }
}

/* AssetPixels v108 - support page polish and contributor application block. */
.apply-contributor-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 22px;
  align-items: center;
  margin: 0 0 24px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.apply-contributor-section h2 {
  margin: 4px 0 8px;
  color: #101827;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.06;
}

.apply-contributor-section p,
.apply-contributor-section span {
  margin: 0;
  color: #536173;
  line-height: 1.55;
}

.apply-contributor-actions,
.contributor-apply-form {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contributor-apply-form {
  width: 100%;
  justify-items: stretch;
}

.contributor-apply-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

.contributor-apply-form input,
.contributor-apply-form select {
  min-height: 38px;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  background: #ffffff;
  color: #101827;
  padding: 0 10px;
  font: inherit;
}

.apply-contributor-actions .primary-link,
.contributor-apply-form .primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #101827;
  color: #ffffff;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 850;
}

.pricing-page .responsive-table table {
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-page .responsive-table th,
.pricing-page .responsive-table td {
  border-bottom: 1px solid #e5eaf0;
  padding: 16px;
}

.pricing-page .responsive-table tr:last-child td {
  border-bottom: 0;
}

.preview-media.is-watermarked::after,
.mini-asset-media.is-watermarked::after,
.product-visual.is-watermarked::after {
  z-index: 4;
  pointer-events: none;
}

@media (max-width: 760px) {
  .apply-contributor-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* AssetPixels v109 - image-based wordmark so the red square does not affect text spacing. */
.brand {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

.brand-wordmark {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(128px, 14vw, 236px) !important;
  min-width: 128px !important;
  max-width: 236px !important;
  height: auto !important;
  aspect-ratio: 430 / 80 !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: translateY(1px) !important;
}

.brand-word,
.brand-i {
  display: none !important;
}

@media (max-width: 760px) {
  .brand-wordmark {
    width: 154px !important;
    min-width: 154px !important;
    max-width: 154px !important;
  }
}

@media (max-width: 430px) {
  .brand {
    flex-basis: 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }

  .brand-wordmark {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
  }
}

@media (max-width: 380px) {
  .brand {
    flex-basis: 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }

  .brand-wordmark {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }
}

/* AssetPixels logo image lock. */
.brand {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

.brand-logo,
.site-logo {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(172px, 18vw, 286px) !important;
  min-width: 172px !important;
  max-width: 286px !important;
  height: auto !important;
  aspect-ratio: 1935 / 428 !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand-mark,
.brand-wordmark {
  display: none !important;
}

@media (max-width: 760px) {
  .brand-logo,
  .site-logo {
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
  }
}

@media (max-width: 430px) {
  .brand {
    flex-basis: 138px !important;
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
  }

  .brand-logo,
  .site-logo {
    width: 134px !important;
    min-width: 134px !important;
    max-width: 134px !important;
  }
}

@media (max-width: 380px) {
  .brand,
  .brand-logo,
  .site-logo {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
  }
}

.pricing-guide-section {
  padding: clamp(18px, 3vw, 28px) !important;
}

.pricing-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pricing-guide-grid article {
  display: grid;
  gap: 9px;
  min-height: 150px;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #ffffff;
  padding: 18px;
}

.pricing-guide-grid span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.pricing-guide-grid strong {
  color: #101827;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}

.pricing-guide-grid p {
  margin: 0;
  color: #536173;
  line-height: 1.45;
}

.category-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.category-hero {
  display: grid;
  gap: 16px;
  max-width: 840px;
  padding-bottom: 28px;
}

.category-hero h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.category-hero p {
  margin: 0;
  max-width: 680px;
  color: #536173;
  font-size: 18px;
  line-height: 1.55;
}

.category-hero .primary-link {
  display: inline-flex;
  min-height: 42px;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #101827;
  color: #ffffff;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 850;
}

.category-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.category-content-grid article {
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #ffffff;
  padding: 20px;
}

.category-content-grid h2 {
  margin: 0 0 8px;
  color: #101827;
}

.category-content-grid p {
  margin: 0;
  color: #536173;
  line-height: 1.5;
}
