:root {
  --bg: #fff8ef;
  --ink: #171a1f;
  --muted: #68717d;
  --panel: #ffffff;
  --line: #d9dde4;
  --dark: #12161c;
  --gold: #b8892f;
  --sun: #f2bd58;
  --coral: #d85f4f;
  --teal: #1e8a8a;
  --violet: #7752a8;
  --green: #2f765d;
  --red: #8d3440;
  --blue: #2f5f86;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(242, 189, 88, 0.22), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(30, 138, 138, 0.13), transparent 24%),
    var(--bg);
  color: var(--ink);
}

a { color: inherit; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, #12161c, #20202c 52%, #2d1e38);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  color: #e7ebf0;
  text-decoration: none;
  font-size: 14px;
}

.inline { display: inline; margin: 0; }

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #f2bd58, #d85f4f);
  color: #17120f;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

button:hover, .button:hover { filter: brightness(0.96); }
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  filter: grayscale(0.35);
}

.button.secondary {
  background: #e7ebf0;
  color: #20252d;
}

.button.small {
  min-height: 30px;
  padding: 6px 10px;
}

.button.wide, button.wide { width: 100%; }

.steam, .steam-link { background: #19324f; color: #fff; }
.steam-link {
  padding: 8px 12px;
  border-radius: 7px;
  background: linear-gradient(135deg, #19324f, #26689b);
}

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: center;
  margin: -32px calc((100% - 100vw) / 2) 34px;
  padding: 40px max(24px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 85% 18%, rgba(242, 189, 88, 0.55), transparent 18%),
    radial-gradient(circle at 70% 78%, rgba(30, 138, 138, 0.35), transparent 26%),
    linear-gradient(120deg, #17131d 0%, #32223c 46%, #7f3d45 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal), var(--violet));
}

.hero h1, .detail h1, .toolbar h1 {
  margin: 6px 0 10px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  font-size: 18px;
  color: #edf0f4;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0;
  color: #ffd678;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0;
}

.hero-market {
  position: relative;
  height: 270px;
  min-width: 300px;
  z-index: 1;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.sun {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  right: 44px;
  top: 10px;
  background: radial-gradient(circle, #ffe09a 0 38%, #f2bd58 40% 70%, rgba(242, 189, 88, 0.08) 72%);
  box-shadow: 0 0 46px rgba(242, 189, 88, 0.62);
}

.castle {
  position: absolute;
  right: 16px;
  bottom: 82px;
  width: 210px;
  height: 120px;
}

.castle span {
  position: absolute;
  bottom: 0;
  background: linear-gradient(#75627e, #45364f);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.castle span:nth-child(1) {
  left: 0;
  width: 68px;
  height: 100px;
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
}

.castle span:nth-child(2) {
  left: 62px;
  width: 92px;
  height: 124px;
  clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%);
}

.castle span:nth-child(3) {
  right: 0;
  width: 68px;
  height: 92px;
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
}

.pennants {
  position: absolute;
  left: 32px;
  right: 38px;
  top: 54px;
  height: 42px;
  border-top: 3px solid rgba(255, 255, 255, 0.65);
  transform: rotate(-5deg);
}

.pennants i {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 12px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 25px solid var(--coral);
}

.pennants i:nth-child(2n) { border-top-color: var(--sun); }
.pennants i:nth-child(3n) { border-top-color: var(--teal); }

.stall {
  position: absolute;
  bottom: 26px;
  width: 174px;
  height: 110px;
  background: linear-gradient(#5b3428, #3b241e);
  border-radius: 8px 8px 4px 4px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.stall::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -34px;
  height: 42px;
  background: repeating-linear-gradient(90deg, #f7e1b2 0 20px, #d85f4f 20px 40px);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  border-radius: 7px 7px 2px 2px;
}

.stall b {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 24px;
  background: linear-gradient(90deg, #f2bd58, #f28d58, #6ed0b8);
  border-radius: 999px;
}

.stall em {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 24px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.stall-a {
  left: 34px;
  transform: rotate(-2deg);
}

.stall-b {
  right: 92px;
  bottom: 16px;
  transform: rotate(2deg) scale(0.9);
}

.stall-b::before {
  background: repeating-linear-gradient(90deg, #f7e1b2 0 20px, #1e8a8a 20px 40px);
}

.coins {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 86px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 22% 48%, #ffe09a 0 8px, transparent 9px),
    radial-gradient(circle at 45% 54%, #f2bd58 0 10px, transparent 11px),
    radial-gradient(circle at 68% 45%, #d89b31 0 9px, transparent 10px);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 18px;
}

.toolbar h1, .toolbar h2 { margin: 0; }

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

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

.product-card, .panel, .center-card, .buy-box, .stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 29, 35, 0.08);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card::before {
  content: "";
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal));
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(25, 29, 35, 0.13);
}

.product-card-body { padding: 20px; flex: 1; }

.product-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.product-card h2 a { text-decoration: none; }
.product-card h2 a:hover { color: var(--coral); }

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

.product-card-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fff7ec);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.detail p {
  font-size: 18px;
  color: #47505b;
}

.buy-box {
  padding: 22px;
  position: sticky;
  top: 86px;
  border-top: 6px solid var(--gold);
}

.price {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
}

.fineprint {
  color: var(--muted);
  font-size: 13px;
}

.notice {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 7px;
  text-align: left;
  border: 1px solid #d8dde5;
  background: #f8fafc;
}

.notice.danger {
  border-color: #e7bdc5;
  background: #fff1f3;
  color: #762634;
}

.notice.warning {
  border-color: #ead486;
  background: #fff8da;
  color: #70571d;
}

.notice.success {
  border-color: #a9dec8;
  background: #eefaf4;
  color: #1f5d45;
}

.panel, .center-card {
  padding: 22px;
  margin-top: 22px;
}

.center-card {
  width: min(520px, 100%);
  margin: 80px auto;
  text-align: center;
}

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

.purchase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.purchase-row h2 { margin: 0 0 4px; }
.purchase-row p { margin: 0; color: var(--muted); }

.purchase-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.purchase-actions form {
  margin: 0;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(25, 29, 35, 0.07);
  padding: 18px;
  margin-bottom: 22px;
}

.account-avatar {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #edf0f4;
}

.account-info h2 {
  margin: 0 0 10px;
}

.account-info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.account-info dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-info dd {
  margin: 2px 0 0;
}

.empty {
  border: 1px dashed #b9c0cb;
  border-radius: 8px;
  padding: 40px 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat {
  padding: 18px;
  border-top: 5px solid var(--teal);
}

.stat strong {
  display: block;
  font-size: 30px;
}

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

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: #edf0f4;
  font-size: 12px;
  text-transform: uppercase;
}

code {
  background: #edf0f4;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 12px;
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7ebf0;
  color: #222832;
  font-size: 12px;
  font-weight: 800;
}

.status.completed { background: #d9f0e7; color: #1e5c45; }
.status.cancelled, .status.failed { background: #f2d9de; color: #7a2632; }
.status.created, .status.creating, .status.approved, .status.pending { background: #f5edce; color: #70571d; }
.status.running { background: #dfe9ff; color: #294f90; }

.result-cell {
  max-width: 360px;
  white-space: pre-wrap;
  word-break: break-word;
}

.form {
  display: grid;
  gap: 16px;
}

.form-section {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.form-section h2 {
  margin: 0;
}

.form-help {
  color: var(--muted);
  font-size: 13px;
  align-self: end;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #cbd1da;
  border-radius: 7px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}

textarea { resize: vertical; }

.market-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr) auto auto;
  gap: 12px;
  align-items: end;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin: -2px 0 20px;
  box-shadow: 0 8px 20px rgba(25, 29, 35, 0.06);
}

.product-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(242, 189, 88, 0.42), transparent 28%),
    linear-gradient(135deg, #32223c, #7f3d45);
  color: #fff;
  text-decoration: none;
}

.product-media img,
.detail-image,
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-media span {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-weight: 900;
  font-size: 18px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff2d1;
  color: #74531a;
  font-size: 12px;
  font-weight: 900;
}

.detail-chip {
  margin-top: 8px;
}

.detail-image {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(25, 29, 35, 0.1);
}

.image-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
}

.image-preview img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.theme-samples {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.sample {
  min-height: 120px;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(25, 29, 35, 0.08);
}

.sample strong,
.sample span {
  display: block;
}

.sample span {
  margin-top: 8px;
  color: inherit;
  opacity: 0.78;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input { width: auto; }

.site-footer {
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: #cbd1da;
  font-size: 14px;
}

body.theme-midnight {
  --bg: #0f1219;
  --ink: #eef3fb;
  --muted: #aab4c5;
  --panel: #181d29;
  --line: #30384a;
  --dark: #090b10;
  --gold: #8cc8ff;
  --coral: #a879ff;
  --teal: #34d6c8;
  color: var(--ink);
}

body.theme-midnight .site-header,
.sample.theme-midnight {
  background: linear-gradient(90deg, #05070b, #171c2b 48%, #2a1742);
  color: #eef3fb;
}

body.theme-midnight .hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(140, 200, 255, 0.34), transparent 19%),
    radial-gradient(circle at 70% 78%, rgba(52, 214, 200, 0.22), transparent 26%),
    linear-gradient(120deg, #07090f 0%, #171c2b 50%, #2a1742 100%);
}

body.theme-midnight .product-card-footer,
body.theme-midnight .market-filters,
body.theme-midnight .image-preview {
  background: #181d29;
}

body.theme-emerald {
  --bg: #f3fbf4;
  --ink: #12241f;
  --muted: #5d7069;
  --panel: #ffffff;
  --line: #cadbd2;
  --gold: #c59b47;
  --coral: #bf5f48;
  --teal: #217b63;
  --violet: #476c58;
}

body.theme-emerald .site-header,
.sample.theme-emerald {
  background: linear-gradient(90deg, #10251f, #1e654f 58%, #7f6a2f);
  color: #f4fff8;
}

body.theme-emerald .hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(197, 155, 71, 0.45), transparent 18%),
    radial-gradient(circle at 70% 78%, rgba(33, 123, 99, 0.42), transparent 26%),
    linear-gradient(120deg, #10251f 0%, #1e654f 50%, #8d5f3a 100%);
}

body.theme-neon {
  --bg: #130f1e;
  --ink: #f8f5ff;
  --muted: #c4bdd4;
  --panel: #211a32;
  --line: #463b63;
  --gold: #ffe66d;
  --coral: #ff4d8d;
  --teal: #25f4ee;
  --violet: #a855f7;
  color: var(--ink);
}

body.theme-neon .site-header,
.sample.theme-neon {
  background: linear-gradient(90deg, #130f1e, #39156b 48%, #931f68);
  color: #fff;
}

body.theme-neon .hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 244, 238, 0.4), transparent 20%),
    radial-gradient(circle at 70% 78%, rgba(255, 77, 141, 0.36), transparent 26%),
    linear-gradient(120deg, #130f1e 0%, #39156b 50%, #931f68 100%);
}

body.theme-neon button,
body.theme-neon .button {
  background: linear-gradient(135deg, #25f4ee, #ff4d8d);
  color: #130f1e;
}

body.theme-neon .product-card-footer,
body.theme-neon .market-filters,
body.theme-neon .image-preview {
  background: #211a32;
}

.sample.theme-sunset {
  background: linear-gradient(135deg, #fff8ef, #ffdba5);
  color: #321d17;
}

@media (max-width: 920px) {
  .product-grid, .detail, .stats-grid, .form-grid, .hero, .market-filters, .theme-samples { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 34px; }
  .hero-market { height: 220px; min-width: 0; }
  .stall-a { left: 10px; }
  .stall-b { right: 42px; }
  .castle { right: 0; transform: scale(0.86); transform-origin: right bottom; }
  .site-header, .toolbar, .product-card-footer, .purchase-row, .account-card, .purchase-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .account-info dl { grid-template-columns: 1fr; }
  nav { width: 100%; }
  .buy-box { position: static; }
  .image-preview { grid-template-columns: 1fr; }
}

/* Crownsworn storefront */
body.theme-crown {
  --bg: #08090b;
  --ink: #f4f0e7;
  --muted: #a8adb7;
  --panel: #111318;
  --line: #292e37;
  --dark: #08090b;
  --gold: #d8b76f;
  --coral: #9f3c3c;
  --teal: #79c99c;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(216, 183, 111, .16), transparent 32rem),
    radial-gradient(circle at 100% 25%, rgba(159, 60, 60, .11), transparent 28rem),
    var(--bg);
  line-height: 1.55;
}

.theme-crown .site-header {
  background: rgba(8, 9, 11, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.theme-crown .brand {
  color: #f1d38e;
  letter-spacing: .16em;
  font-family: Georgia, "Times New Roman", serif;
}

.theme-crown nav a { color: #d8dbe1; }
.theme-crown .page { padding-top: 0; }
.theme-crown h1,
.theme-crown h2 { font-family: Georgia, "Times New Roman", serif; }

.crown-hero {
  margin: 0 calc((100% - 100vw) / 2);
  padding: 88px max(24px, calc((100vw - 1180px) / 2)) 70px;
  border-bottom: 1px solid var(--line);
}

.kicker,
.theme-crown .eyebrow {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.crown-hero h1 {
  max-width: 980px;
  margin: 14px 0 22px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .94;
}

.crown-hero > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.theme-crown button,
.theme-crown .button {
  border: 1px solid var(--gold);
  border-radius: 9px;
  background: var(--gold);
  color: #171109;
}
.theme-crown .button.secondary {
  background: transparent;
  color: #f1d38e;
}
.theme-crown .steam-link { background: #1b3954; color: #fff; border-color: #315d7d; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.hero-proof > div,
.checkout-steps > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 19, 24, .82);
}
.hero-proof strong,
.checkout-steps strong { display: block; color: #f1d38e; }
.hero-proof span,
.checkout-steps span { color: var(--muted); font-size: .88rem; }

.store-section { padding: 68px 0; scroll-margin-top: 70px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { max-width: 650px; margin: 0; color: var(--muted); }
.bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bundle-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 27, 33, .97), rgba(13, 15, 19, .97));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .38);
}
.bundle-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.bundle-card.featured { border-color: rgba(216, 183, 111, .7); }
.bundle-card h3 { margin: 8px 0 0; font-size: 1.55rem; }
.bundle-card h3 a,
.product-card h3 a { text-decoration: none; }
.bundle-card p,
.bundle-card ul { color: var(--muted); }
.bundle-card ul { min-height: 148px; padding-left: 20px; color: #d8dbe1; }
.bundle-price { margin-top: 6px; color: #f1d38e; font-size: 2rem; font-weight: 950; }
.product-badge { color: var(--gold); font-size: .71rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.theme-crown .product-grid { gap: 15px; }
.theme-crown .product-card {
  min-height: 245px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: none;
}
.theme-crown .product-card::before { display: none; }
.theme-crown .product-card.premium { border-color: rgba(216, 183, 111, .55); }
.theme-crown .product-card-body { display: flex; flex: 1; flex-direction: column; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-top .category { color: var(--muted); font-size: .72rem; }
.theme-crown .product-card h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.theme-crown .product-card p { flex: 1; margin: 0; color: var(--muted); }
.theme-crown .product-card-footer { border-color: var(--line); background: transparent; }
.theme-crown .product-card-footer strong { color: #f1d38e; font-size: 1.25rem; }

.theme-crown .market-filters,
.theme-crown input,
.theme-crown select,
.theme-crown .panel,
.theme-crown .buy-box,
.theme-crown .account-card,
.theme-crown .purchase-row,
.theme-crown .center-card {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}
.theme-crown .market-filters { box-shadow: none; }
.theme-crown .product-card-footer,
.theme-crown .market-filters,
.theme-crown .image-preview { background: var(--panel); }
.theme-crown .detail p { color: var(--muted); }
.theme-crown code { border-color: var(--line); background: #1a1d23; color: #f1d38e; }

.checkout-band {
  margin: 0 calc((100% - 100vw) / 2);
  padding: 68px max(24px, calc((100vw - 860px) / 2));
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(216, 183, 111, .08), rgba(216, 183, 111, .02)), var(--panel);
  text-align: center;
}
.checkout-band h2 { margin: 6px 0 14px; font-size: clamp(2.2rem, 5vw, 4rem); }
.checkout-band > p { color: var(--muted); }
.checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; text-align: left; }
.feature-list { padding-left: 20px; color: #d8dbe1; }
.coupon-field { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.coupon-field input { margin-top: 5px; }
.coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-crown .site-footer { border-top: 1px solid var(--line); text-align: center; }

@media (max-width: 900px) {
  .bundle-grid,
  .hero-proof,
  .checkout-steps { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 9px; }
  .coupon-grid { grid-template-columns: 1fr; }
}
