.project-card h3 a {
  color: inherit;
  text-decoration: none;
}

a.project-visual {
  display: block;
}

.store-page {
  width: min(720px, calc(100% - 48px));
  margin: 140px auto 80px;
}

.store-card {
  padding: 36px 24px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.store-card h1 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  margin: 18px 0 12px;
}

.store-lead,
.store-card p {
  color: var(--muted);
}

.store-empty {
  color: var(--muted);
  grid-column: 1 / -1;
}

.store-alert {
  color: #ffb4b4;
}

.store-ok {
  color: #b8f0c6;
}

.store-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.store-form label,
.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.store-form input,
.store-form textarea,
.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #0b1028;
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

.store-form button {
  justify-self: start;
}

.bank-box {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0b1028;
}

.bank-box h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pdp {
  width: min(var(--content), calc(100% - 48px));
  margin: 130px auto 80px;
}

.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.pdp-crumb a { color: var(--white-blue); }

.pdp-header {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pdp-intro,
.pdp-buy,
.pdp-attrs,
.pdp-desc,
.pdp-related {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--card-radius);
}

.pdp-intro {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdp-kicker {
  color: var(--purple);
  font-size: 13px;
  margin-bottom: 10px;
}

.pdp-intro h1 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.pdp-lead {
  color: var(--white-blue);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.pdp-excerpt { color: var(--muted); }

.pdp-badges {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: var(--white-blue);
  font-size: 14px;
}

.pdp-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #13162d;
  aspect-ratio: 1050 / 520;
  border: 1px solid var(--border);
}

.pdp-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-banner-preview {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #0b1028;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}

.pdp-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 30px;
  margin-top: 36px;
  align-items: start;
}

.pdp-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-bottom: 14px;
}

.pdp-tabs li {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.pdp-tabs li.is-active {
  color: #fff;
  background: #0b1028;
  border-color: rgba(203, 172, 249, 0.35);
}

.pdp-desc { padding: 28px 26px 36px; }

.pdp-desc h2 {
  font-size: 20px;
  margin: 34px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pdp-desc h2:first-child { margin-top: 0; }

.pdp-desc h3 {
  font-size: 16px;
  color: var(--white-blue);
  margin: 20px 0 8px;
}

.pdp-desc p,
.pdp-desc li { color: var(--muted); }

.pdp-desc strong { color: #fff; font-weight: 600; }

.pdp-desc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--purple);
  background: #0b1028;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 6px;
}

.pdp-desc ul,
.pdp-desc ol {
  padding-inline-start: 20px;
  margin: 10px 0 16px;
  display: grid;
  gap: 6px;
}

.pdp-desc blockquote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(203, 172, 249, 0.28);
  border-inline-start: 3px solid var(--purple);
  border-radius: 14px;
  background: #0b1028;
  color: var(--white-blue);
  font-weight: 600;
}

.pdp-note {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(203, 172, 249, 0.22);
  background: rgba(203, 172, 249, 0.08);
  color: var(--white-blue) !important;
}

.pdp-cards,
.pdp-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 16px 0 22px;
}

.pdp-mini,
.pdp-example {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #0b1028;
}

.pdp-mini h3,
.pdp-example h3 {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 15px;
}

.pdp-mini p,
.pdp-example p,
.pdp-mini li,
.pdp-example li {
  font-size: 14px;
}

.pdp-mini ul,
.pdp-example ul {
  margin: 8px 0 0;
}

.pdp-flow {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 28px;
}

.pdp-flow li {
  position: relative;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0b1028;
  color: var(--white-blue);
}

.pdp-flow li + li::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 22px;
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
}

.pdp-buy,
.pdp-attrs { padding: 22px; }

.pdp-buy { position: sticky; top: 90px; display: grid; gap: 12px; }

.pdp-buy-label { color: var(--muted); font-size: 13px; }

.pdp-buy .project-price { font-size: 22px; }

.pdp-buy-note { font-size: 13px; }

.pdp-buy .project-btn { width: 100%; justify-content: center; }

.pdp-buy-points {
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.pdp-attrs h2,
.pdp-related h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.pdp-attrs dl { display: grid; gap: 10px; }

.pdp-attrs dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.pdp-attrs dd { color: var(--white-blue); }

.pdp-related { padding: 22px; margin-top: 20px; }

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

.pdp-related-card {
  display: grid;
  gap: 8px;
  color: inherit;
}

.pdp-related-card img {
  width: 100%;
  aspect-ratio: 2100 / 1040;
  object-fit: cover;
  border-radius: 12px;
  background: #13162d;
}

.pdp-related-card span { color: var(--purple); font-size: 13px; }

@media (max-width: 1023px) {
  .pdp-header,
  .pdp-body { grid-template-columns: 1fr; }
  .pdp-buy { position: static; }
}

@media (max-width: 767px) {
  .pdp-related-grid { grid-template-columns: 1fr; }
  .pdp-cards,
  .pdp-examples { grid-template-columns: 1fr; }
  .pdp-desc { padding: 22px 16px 28px; }
}
