/* Theme-owned v3 tokens and presentation; enabled on Development/UAT Home/Design only. */
body.nuu3d-studio-v3 {
  --v3-paper: #fff;
  --v3-ink: #1d1d1f;
  --v3-surface: #f5f5f7;
  --v3-line: #e5e5e7;
  --v3-muted: #626268;
  --v3-link: #0066cc;
  --v3-action: #0071e3;
  --v3-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --nuu3d-layout-width: 1200px;
  --nuu3d-layout-gutter: 24px;
  background: var(--v3-paper);
  color: var(--v3-ink);
  font-family: var(--v3-font);
}
.nuu3d-studio-v3 :is(h1, h2, h3) { font-family: var(--v3-font); color: var(--v3-ink); }
.nuu3d-studio-v3 :is(.n3d-v3-header, .n3d-v3-catalog, .n3d-v3-shop) { box-sizing: border-box; }
.nuu3d-studio-v3 .n3d-v3-header {
  max-width: var(--nuu3d-layout-width);
  margin: auto;
  padding: 0 var(--nuu3d-layout-gutter);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--v3-line);
}
.nuu3d-studio-v3 .n3d-v3-navlinks { display: flex; align-items: center; gap: 28px; }
.nuu3d-studio-v3 .n3d-v3-navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: inherit; font-size: 14px; text-decoration: none; }
.nuu3d-studio-v3 .n3d-v3-navlink[aria-current="page"] { color: var(--v3-link); }
.nuu3d-studio-v3 .n3d-v3-account { gap: 12px; min-width: 100px; justify-content: flex-end; position: relative; }
.nuu3d-studio-v3 .nuu3d-account-login-label { color: var(--v3-ink); font-size: 14px; font-weight: 400; }
.nuu3d-studio-v3 .nuu3d-account > summary { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.nuu3d-studio-v3 .nuu3d-account-trigger { background: var(--v3-ink); color: var(--v3-paper); }
.nuu3d-studio-v3 .nuu3d-account-primary { background: var(--v3-action); color: var(--v3-paper) !important; }
.nuu3d-studio-v3 .n3d-v3-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; color: var(--v3-paper); background: var(--v3-action); }
.nuu3d-studio-v3 .n3d-v3-skip:focus { top: 40px; }
.nuu3d-studio-v3 .n3d-v3-catalog { width: 100%; max-width: var(--nuu3d-layout-width); padding: 0 var(--nuu3d-layout-gutter); margin: 0 auto; }
.nuu3d-studio-v3 .n3d-v3-intro { text-align: center; padding: 34px 0 28px; }
.nuu3d-studio-v3 .n3d-v3-intro h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; margin: 0 0 10px; }
.nuu3d-studio-v3 .n3d-v3-intro p { font-size: 18px; line-height: 1.5; color: var(--v3-muted); margin: 0; }
.nuu3d-studio-v3 .nuu3d-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nuu3d-studio-v3 .n3d-v3-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 21px; background: var(--v3-action); color: var(--v3-paper); border: 0; border-radius: 30px; font-size: 14px; line-height: 1.4; text-align: center; text-decoration: none; }
.nuu3d-studio-v3 .n3d-v3-button:hover { background: #0066cc; }
.nuu3d-studio-v3 .n3d-v3-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; font-size: 14px; line-height: 1.4; color: var(--v3-link); text-decoration: none; }
.nuu3d-studio-v3 .n3d-v3-link:hover { text-decoration: underline; }
.nuu3d-studio-v3 .n3d-v3-shop { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px; margin: 0 0 34px; border-radius: 18px; background: var(--v3-surface); }
.nuu3d-studio-v3 .n3d-v3-shop h2 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; margin: 0 0 6px; }
.nuu3d-studio-v3 .n3d-v3-shop p { font-size: 16px; line-height: 1.5; color: var(--v3-muted); margin: 0; }
.nuu3d-studio-v3 :is(.n3d-v3-button, .n3d-v3-link, .n3d-v3-navlink, .n3d-site-nav-logo, .nuu3d-studio-card-link):focus-visible { outline: 2px solid var(--v3-link); outline-offset: 4px; }

/* Keep the native catalogue and controls; the theme owns their compact presentation. */
body.nuu3d-studio-v3 .nuu3d-catalog { padding: 0; margin: 0 auto 28px !important; min-height: 0; }
.nuu3d-studio-v3 .nuu3d-catalog__sort { background: transparent; padding: 0; gap: 12px; margin: 0 0 18px; }
.nuu3d-studio-v3 .nuu3d-catalog__sort.n3d-v3-sort-ready > :is(span, button) { display: none; }
.nuu3d-studio-v3 .n3d-v3-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nuu3d-studio-v3 .n3d-v3-sort select { min-height: 44px; max-width: 100%; padding: 8px 28px 8px 12px; font: inherit; color: var(--v3-ink); background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 10px; }
.nuu3d-studio-v3 .nuu3d-catalog__tools { gap: 12px; }
.nuu3d-studio-v3 .nuu3d-catalog__search input { min-height: 44px; max-width: 100%; background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 10px; font-size: 16px; }
.nuu3d-studio-v3 .nuu3d-catalog__peer.wp-element-button { min-height: 44px; border: 0; padding: 0; color: var(--v3-link); background: transparent; font-size: 14px; font-weight: 400; }
.nuu3d-studio-v3 .nuu3d-preset-card { display: flex; flex-direction: column; background: var(--v3-surface); border-radius: 16px; overflow: hidden; gap: 0; align-content: start; }
.nuu3d-studio-v3 .nuu3d-preset-card__media { border-radius: 0; }
.nuu3d-studio-v3 .nuu3d-studio-card-link { height: auto; flex: 1; gap: 0; }
.nuu3d-studio-v3 .nuu3d-preset-card__details { padding: 14px 8px 0; }
.nuu3d-studio-v3 .nuu3d-preset-card__details strong { font: 600 19px/1.3 var(--v3-font); letter-spacing: -.02em; }
.nuu3d-studio-v3 .nuu3d-studio-card-action { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 14px auto 18px; color: var(--v3-paper); font-weight: 500; width: fit-content; }
.nuu3d-studio-v3 .nuu3d-preset-card .wp-element-button[disabled], .nuu3d-studio-v3 .nuu3d-preset-card .wp-element-button[aria-disabled="true"] { color: var(--v3-muted); background: transparent; border: 0; font-size: 14px; font-weight: 400; min-height: 44px; padding: 8px 4px; }
.nuu3d-studio-v3 .nuu3d-preset-card__details small { color: var(--v3-muted); font-size: 12px; }
.nuu3d-studio-v3 .n3d-studio-footer-shell { background: var(--v3-paper); border-top-color: var(--v3-line); }
.nuu3d-studio-v3 .n3d-studio-footer { color: var(--v3-muted); }
.nuu3d-studio-v3 .n3d-studio-footer :is(a, strong, h2) { color: var(--v3-ink); }

@media (max-width: 900px) {
  .nuu3d-studio-v3 .nuu3d-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.nuu3d-studio-v3 { --nuu3d-layout-gutter: 14px; }
  .nuu3d-studio-v3 .n3d-v3-header { min-height: 58px; gap: 8px; }
  .nuu3d-studio-v3 .n3d-v3-navlinks { gap: 3px; }
  .nuu3d-studio-v3 .n3d-v3-navlink { padding: 0 6px; }
  .nuu3d-studio-v3 .n3d-v3-account { min-width: 48px; }
  .nuu3d-studio-v3 .nuu3d-account > [role="menu"] { max-width: calc(100vw - 28px); }
  .nuu3d-studio-v3 .n3d-v3-intro { padding: 25px 0 22px; }
  .nuu3d-studio-v3 .n3d-v3-intro p { font-size: 15px; }
  .nuu3d-studio-v3 .nuu3d-card-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nuu3d-studio-v3 .n3d-v3-button { padding: 0 17px; }
  .nuu3d-studio-v3 .n3d-v3-shop { flex-direction: column; text-align: center; padding: 25px 16px; gap: 18px; }
  .nuu3d-studio-v3 .n3d-v3-shop h2 { font-size: 26px; }
  body.nuu3d-studio-v3 .nuu3d-catalog { margin-top: 0 !important; }
  .nuu3d-studio-v3 .nuu3d-catalog__sort { gap: 10px; }
  .nuu3d-studio-v3 .n3d-v3-sort { width: 100%; justify-content: space-between; }
  .nuu3d-studio-v3 .n3d-v3-sort select { flex: 1; font-size: 16px; }
  .nuu3d-studio-v3 .nuu3d-catalog__tools { display: flex; width: 100%; margin: 0; }
  .nuu3d-studio-v3 .nuu3d-catalog__search { min-width: 0; flex: 1; }
  .nuu3d-studio-v3 .nuu3d-catalog__search input { width: 100%; }
  .nuu3d-studio-v3 .nuu3d-preset-card__details strong { font-size: 17px; }
  .nuu3d-studio-v3 .nuu3d-preset-card__details { padding: 12px 5px 0; }
}
@media (max-width: 360px) {
  .nuu3d-studio-v3 .n3d-v3-header { gap: 4px; }
  .nuu3d-studio-v3 .n3d-site-nav-logo { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .nuu3d-studio-v3 .nuu3d-preset-card img { transition: none; }
}

.nuu3d-studio-v3 .nuu3d-launcher > summary { width: 44px !important; height: 44px !important; transform: none; }
@media (max-width: 600px) {
  .nuu3d-studio-v3 .n3d-v3-header { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .nuu3d-studio-v3 .n3d-v3-navlinks { order: 3; width: 100%; justify-content: center; margin-top: -8px; }
}
