:root {
  --bg: #05070d;
  --bg-soft: #090e18;
  --panel: #0d1420;
  --panel-strong: #111a28;
  --text: #f6f8fb;
  --muted: #a7b1bf;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --blue: #117d8f;
  --blue-bright: #49d9d0;
  --steel: #d8dee8;
  --gold: #d4ad62;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
}

body.drawer-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 180px;
  overflow: hidden;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 26, 40, 0.9);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-link.is-signed-in,
.account-link.is-current {
  border-color: rgba(72, 216, 208, 0.62);
  background: rgba(17, 125, 143, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
}

.site-header .brand {
  justify-self: start;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.cart-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 26, 40, 0.9);
  color: var(--text);
}

.admin-add-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(72, 216, 208, 0.62);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 116px clamp(18px, 4vw, 56px) 44px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.78) 42%, rgba(5, 7, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.04) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 28px;
  color: #dbe5f2;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 34px rgba(39, 124, 255, 0.24);
}

.button:disabled,
.button[disabled] {
  cursor: not-allowed;
  transform: none;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  box-shadow: none;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.68);
  color: #dbe5f2;
  font-size: 0.85rem;
}

.shop-section,
.story-section,
.account-section,
.admin-section,
.sync-section,
.drop-list,
.site-footer {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.shop-section {
  background: var(--bg-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.section-heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 26px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #080d16;
  color: var(--muted);
  font-weight: 700;
}

.filter-button.is-active {
  border-color: rgba(72, 216, 255, 0.7);
  background: rgba(39, 124, 255, 0.16);
  color: var(--text);
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.sort-control select,
.checkout-form input,
.signup-form input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070b12;
  color: var(--text);
  outline: none;
}

.sort-control select {
  min-height: 40px;
  padding: 0 36px 0 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.inventory-verification-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(72, 216, 208, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 125, 143, 0.2), rgba(17, 26, 40, 0.92)),
    #05070d;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.inventory-verification-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(72, 216, 208, 0.54);
  border-radius: 50%;
  background: rgba(72, 216, 208, 0.12);
  color: var(--blue-bright);
}

.inventory-verification-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.inventory-verification-copy {
  display: grid;
  gap: 8px;
}

.inventory-verification-copy h2,
.inventory-verification-copy p {
  margin: 0;
}

.inventory-verification-copy h2 {
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.inventory-verification-copy p {
  max-width: 780px;
  color: #d5dee9;
  line-height: 1.55;
}

.inventory-verification-copy strong {
  color: var(--blue-bright);
}

.inventory-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 220px;
}

.inventory-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.78);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.inventory-social-links a:hover,
.inventory-social-links a:focus-visible {
  border-color: rgba(72, 216, 208, 0.8);
  background: rgba(17, 125, 143, 0.28);
  color: var(--blue-bright);
  outline: none;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.product-card.is-hidden-product {
  opacity: 0.68;
}

.product-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-image: url("assets/collectibles-contact-sheet.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-color: #080d16;
}

.product-art.has-image {
  background-image: none;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card {
  background-position: 0% 0%;
}

.art-box {
  background-position: 50% 0%;
}

.art-figure {
  background-position: 100% 0%;
}

.art-comic {
  background-position: 0% 100%;
}

.art-pins {
  background-position: 50% 100%;
}

.art-display {
  background-position: 100% 100%;
}

.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.76);
  color: #e9edf5;
  font-size: 0.74rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.stock-badge.low {
  color: #ffe4ac;
}

.stock-badge.sold-out {
  color: #f8b4b4;
}

.inventory-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.inventory-state strong {
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.inventory-state span {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.55;
}

.inventory-state-error {
  border-color: rgba(248, 180, 180, 0.38);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.product-card p {
  margin: 0;
  font-size: 0.94rem;
}

.product-body > p {
  display: -webkit-box;
  min-height: 4.35em;
  max-height: 4.35em;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-trust-line {
  color: var(--blue-bright);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.product-detail-trust-line {
  margin-top: -4px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 900;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue-bright);
  font-weight: 800;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #060912;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--bg-soft);
}

.account-copy {
  max-width: 620px;
}

.account-card,
.auth-form,
.admin-form,
.admin-product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.account-card {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px;
}

.account-card span {
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-card strong {
  overflow-wrap: anywhere;
}

.account-card.is-admin {
  border-color: rgba(72, 216, 208, 0.6);
  box-shadow: 0 18px 50px rgba(17, 125, 143, 0.18);
}

.auth-form,
.admin-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.auth-form label,
.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070b12;
  color: var(--text);
  outline: none;
}

.admin-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue-bright) 50%) calc(100% - 18px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue-bright) 50%, transparent 50%) calc(100% - 13px) 19px / 7px 7px no-repeat,
    #070b12;
  padding-right: 38px;
}

.admin-form textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.auth-actions,
.admin-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-section {
  background: #060912;
  border-top: 1px solid var(--line);
}

.admin-dashboard {
  border-top: 0;
  background: transparent;
  padding: 0;
}

.admin-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.admin-form-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.admin-form-heading h3,
.admin-form-heading p {
  margin: 0;
}

.admin-form-heading h3 {
  margin-top: 5px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.listing-importer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.4fr) auto;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(72, 216, 208, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.56);
}

.listing-importer h3,
.listing-importer p {
  margin: 0;
}

.listing-importer .form-status {
  grid-column: 1 / -1;
  margin: 0;
}

.html-import-field {
  grid-column: 1 / -1;
}

.product-image-manager {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(72, 216, 208, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.56);
}

.image-manager-heading {
  grid-column: 1 / -1;
}

.image-manager-heading span {
  color: var(--text);
  font-weight: 900;
}

.image-manager-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.image-slot-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.image-slot,
.image-slot-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070b12;
}

.image-slot {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px;
}

.image-slot.is-main {
  border-color: rgba(72, 216, 208, 0.64);
}

.image-slot-thumb {
  position: relative;
  width: 86px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #111a28;
}

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

.image-slot-thumb span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.image-slot-body {
  min-width: 0;
}

.image-slot-body strong,
.image-slot-body p {
  margin: 0;
}

.image-slot-body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.image-slot-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-slot-empty {
  grid-column: 1 / -1;
  padding: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-description,
.admin-form .form-status,
.admin-actions {
  grid-column: 1 / -1;
}

.toggle-control {
  align-content: center;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.toggle-control input {
  width: 20px;
  min-height: 20px;
}

.admin-list {
  display: grid;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.admin-accounts,
.admin-orders {
  max-width: 1180px;
  margin: clamp(34px, 5vw, 58px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.compact-heading {
  margin-left: 0;
  margin-right: 0;
}

.admin-product {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.account-row {
  grid-template-columns: 52px 1fr auto;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(72, 216, 208, 0.38);
  border-radius: 50%;
  background: rgba(17, 125, 143, 0.18);
  color: var(--text);
  font-weight: 900;
}

.admin-product h3,
.admin-product p {
  margin: 0;
}

.admin-product p {
  font-size: 0.9rem;
}

.manual-tracking-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr)) auto;
  gap: 8px;
  margin-top: 10px;
}

.manual-tracking-form input {
  min-height: 36px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #070b12;
  color: var(--text);
  padding: 0 10px;
  outline: none;
}

.manual-tracking-form input:focus {
  border-color: rgba(72, 216, 208, 0.72);
  box-shadow: 0 0 0 3px rgba(72, 216, 208, 0.12);
}

.text-button.danger {
  color: #f8b4b4;
}

.text-button.is-muted,
.text-button:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.admin-account-status {
  max-width: 1180px;
  margin: 12px auto 0;
}

.confirmation-main {
  align-items: start;
}

.confirmation-panel {
  width: min(980px, 100%);
  margin: 0 auto;
}

.confirmation-panel h1 {
  margin-top: 0;
}

.confirmation-content,
.confirmation-grid,
.confirmation-totals,
.confirmation-summary {
  display: grid;
  gap: 14px;
}

.confirmation-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.confirmation-summary > div,
.confirmation-grid > section,
.confirmation-totals,
.confirmation-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.confirmation-summary > div,
.confirmation-grid > section,
.confirmation-totals {
  padding: 18px;
}

.confirmation-summary span,
.confirmation-item span,
.confirmation-totals span {
  color: var(--muted);
}

.confirmation-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.confirmation-grid h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.confirmation-item,
.confirmation-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.confirmation-item {
  padding: 12px;
  margin-top: 10px;
}

.product-page-main {
  min-height: calc(100svh - 91px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 56px);
  background: var(--bg-soft);
}

.product-detail-page {
  display: grid;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.product-detail-media,
.product-detail-copy {
  min-width: 0;
}

.product-detail-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070d;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-detail-thumbs button {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 0;
}

.product-detail-thumbs button:hover,
.product-detail-thumbs button:focus-visible {
  border-color: rgba(72, 216, 208, 0.72);
  outline: none;
}

.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-copy {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-detail-copy h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
  line-height: 1.08;
}

.product-detail-copy p {
  margin: 0;
}

.product-detail-price {
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.product-detail-stock {
  color: var(--blue-bright);
  font-weight: 900;
}

.product-detail-specs {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail-banner {
  margin-top: 0;
}

.story-copy {
  max-width: 560px;
}

.trust-grid,
.sync-grid {
  display: grid;
  gap: 16px;
}

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

.trust-grid article,
.sync-grid article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.sync-section {
  background: var(--bg-soft);
}

.sync-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.drop-list {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  background: #060912;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signup-form,
.checkout-form {
  display: grid;
  gap: 12px;
}

.signup-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.signup-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.signup-form input,
.checkout-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue-bright);
  font-size: 0.9rem;
}

.signup-form .form-status {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--bg);
}

.footer-copy {
  display: grid;
  gap: 6px;
  max-width: 560px;
  text-align: right;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

.company-line {
  color: var(--blue-bright);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-link {
  color: var(--blue-bright);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-page {
  min-height: 100svh;
}

.login-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.86);
}

.login-header .brand {
  justify-self: center;
}

.login-main {
  display: grid;
  min-height: calc(100svh - 91px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.62)),
    url("assets/hero-collectibles.png") center right / cover;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.editor-main {
  align-items: start;
}

.editor-panel {
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.35fr);
  width: min(1180px, 100%);
}

.editor-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: 0;
}

.editor-denied {
  align-self: start;
}

.login-copy {
  max-width: 620px;
}

.login-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.login-form {
  box-shadow: var(--shadow);
}

.login-form h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.password-reset-card {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.password-reset-card h3,
.password-reset-card p {
  margin: 0;
}

.password-reset-card h3 {
  font-size: 1rem;
}

.password-reset-card p {
  font-size: 0.9rem;
}

.reset-panel .login-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.terms-check {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.terms-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.terms-check a {
  color: var(--blue-bright);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-main {
  padding: clamp(38px, 7vw, 82px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98), rgba(5, 7, 13, 0.74)),
    url("assets/hero-collectibles.png") center right / cover fixed;
}

.terms-document {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 32, 0.94);
  box-shadow: var(--shadow);
}

.terms-document h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
}

.terms-document h2 {
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.terms-document section {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.terms-document section:first-of-type {
  margin-top: 20px;
}

.terms-document p {
  margin-bottom: 10px;
}

.terms-document p:last-child {
  margin-bottom: 0;
}

.terms-updated,
.terms-note {
  color: var(--blue-bright);
  font-weight: 800;
}

.terms-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.quick-view {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  width: min(920px, 100%);
  max-height: min(820px, 92svh);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.quick-image {
  min-height: 100%;
}

.quick-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 40px);
}

.quick-price {
  margin: 0;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 900;
}

.spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
  color: var(--muted);
}

.spec-list dt {
  color: var(--steel);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #080d16;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  justify-items: end;
  background: rgba(0, 0, 0, 0.62);
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(430px, 100%);
  height: 100%;
  padding: 22px;
  background: #080d16;
  border-left: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.cart-thumb {
  width: 74px;
  border-radius: 6px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 0;
  font-size: 0.86rem;
}

.qty-controls {
  display: grid;
  gap: 6px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #070b12;
  color: var(--text);
  font-weight: 900;
}

.empty-cart {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.cart-summary {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--text);
}

.cart-summary .cart-total {
  color: var(--text);
  font-size: 1.12rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .site-header .brand {
    justify-self: center;
  }

  .nav-links {
    display: none;
  }

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

  .inventory-verification-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .inventory-social-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-width: 0;
  }

  .section-heading,
  .story-section,
  .account-section,
  .login-panel,
  .drop-list {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 82svh;
    padding-top: 94px;
    padding-bottom: 28px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.7) 58%, rgba(5, 7, 13, 0.18) 100%),
      linear-gradient(0deg, rgba(5, 7, 13, 0.86) 0%, rgba(5, 7, 13, 0.08) 56%);
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-control {
    justify-content: space-between;
  }

  .product-grid,
  .trust-grid,
  .sync-grid,
  .quick-view,
  .product-detail-layout,
  .confirmation-summary,
  .confirmation-grid {
    grid-template-columns: 1fr;
  }

  .inventory-verification-banner {
    grid-template-columns: 1fr;
  }

  .inventory-verification-icon {
    width: 52px;
    height: 52px;
  }

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

  .listing-importer {
    grid-template-columns: 1fr;
  }

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

  .account-row {
    grid-template-columns: 52px 1fr;
  }

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

  .quick-image {
    min-height: auto;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: 100%;
    border-left: 0;
  }

  .login-header {
    grid-template-columns: 1fr auto;
  }

  .login-header .brand-name {
    display: none;
  }

  .login-header .button {
    display: none;
  }
}

@media (max-width: 460px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 14px;
    gap: 10px;
  }

  .admin-add-trigger {
    grid-column: 3;
    grid-row: 2;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .cart-trigger {
    grid-column: 3;
    grid-row: 1;
    padding: 0 10px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    display: none;
  }

  .account-link {
    max-width: 118px;
    padding: 0 10px;
  }

  .hero {
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.2rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 64px 1fr auto;
  }

  .cart-thumb {
    width: 64px;
  }
}
