/* Pixel My Vibes visual system. */
:root {
  --ink: #1e293b;
  --muted: #64748b;
  --accent: #2563eb;
  --line: #e5e7eb;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: none;
  padding: 11px max(24px, calc((100vw - 1400px) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .035);
}

.brand {
  font-size: 23px;
  letter-spacing: -.8px;
  color: #0f172a;
}
.brand-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand-logo img { display: block; width: 150px; height: auto; }

.brand-icon, .brand-dot { color: var(--accent); }
.badge {
  color: var(--muted);
  border: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.account-nav { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; }
.account-nav a, .account-nav button { color: var(--accent); text-decoration: none; }
.account-nav a:hover, .account-nav button:hover { text-decoration: underline; }
.account-nav .account-nav-primary { padding: 8px 11px; border: 1px solid #bfdbfe; border-radius: 7px; }
.account-nav form { margin: 0; }
.account-nav button { padding: 0; background: none; border: 0; font: inherit; cursor: pointer; }
.account-identity { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

main { max-width: 1400px; }
.welcome-banner {
  padding: 25px 0 24px;
  border-bottom: 1px solid var(--line);
}
.welcome-banner .eyebrow { margin: 0 0 8px; color: var(--accent); }
.welcome-banner h1 {
  margin: 0 0 7px;
  font: 800 clamp(28px, 3vw, 41px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.welcome-banner h1 span { color: var(--accent); }
.welcome-banner .description {
  margin: 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.6;
}

.hero, .hero.has-preview {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 0 54px;
}
.hero .intro, .hero.has-preview .intro { max-width: none; min-width: 0; }
.upload-form {
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .045);
}
.section-heading, .preview-title {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.step-num {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  border-radius: 50%;
  background: #17212f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.upload-form .file-label { margin-bottom: 7px; color: var(--ink); font-size: 13px; }
.upload-form input[type=file] {
  max-width: none;
  padding: 14px 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  font-size: 13px;
}
.upload-form input::file-selector-button { background: #e8eefb; color: #1d4ed8; }
.upload-hint { margin: 9px 0 0; font-size: 12px; line-height: 1.5; }
.controls { display: block; margin: 12px 0 4px; max-width: none; }
.control, .mode-control {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 0 12px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.mode-control legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.mode-control legend + * { clear: both; }
.control > label:not(.image-choice) {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.control output { color: var(--accent); }
.control p { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.upload-form .image-choice { font-size: 13px; line-height: 1.45; }
.upload-form .image-choice input { accent-color: var(--accent); }
.control input[type=range] { accent-color: var(--accent); }
.grayscale-control { padding-top: 8px; border-top: 0; }
.upload-form > button[type=submit], .purchase-next button, .checkout-form button {
  width: 100%;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.upload-form > button[type=submit]:hover, .purchase-next button:hover, .checkout-form button:hover { background: #1d4ed8; }
.upload-form input:focus-visible, .upload-form button:focus-visible, .recolor-trigger:focus-visible, .purchase-next button:focus-visible, .checkout-form button:focus-visible, .order-card-link:focus-visible, .order-tabs a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.notice {
  margin-top: 12px;
  padding: 12px 14px;
  background: #eff6ff;
  border-color: #dbeafe;
  font-size: 12px;
}
.notice p { font-size: 11px; }
.status-dot { background: var(--accent); }

#preview-result { min-width: 0; }
.comparison { margin: 0; gap: 16px; align-items: stretch; }
.hero .empty-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.empty-preview-card { min-width: 0; }
.empty-preview-surface { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; padding: 28px; border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.empty-preview-surface svg { flex: none; color: #9bbaf2; }
.empty-preview-surface h3 { margin: 22px 0 8px; font: 800 clamp(21px, 2vw, 28px)/1.18 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.empty-preview-surface p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.preview-card, .recolor-panel, .filament-details, .purchase-next, .art-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .045);
}
.comparison > .project-details { grid-column: 1; }
.comparison > .recolor-panel { grid-column: 2; }
.project-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.project-sidebar > .guide-card { grid-column: 1; grid-row: 1 / 3; }
.project-sidebar > .price-card { grid-column: 2; grid-row: 1; }
.project-sidebar > .filament-details { grid-column: 2; grid-row: 2; min-width: 0; }
.project-details, .guide-card, .price-card { min-width: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 18px rgba(15, 23, 42, .045); }
.project-sidebar h2 { margin: 0 0 13px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.project-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
.project-details h2 { margin: 0 0 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.project-details h2, .recolor-panel h2 { display: flex; align-items: center; }
.detail-tile { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 59px; margin-top: 9px; padding: 9px; border: 1px solid #edf0f4; border-radius: 9px; box-shadow: 0 2px 6px rgba(15, 23, 42, .035); }
.project-details .detail-tile { min-height: 64px; margin-top: 0; padding: 10px 14px; }
.project-details .detail-label {
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}
.project-details .detail-tile strong { font-size: 21px; }
.project-details .plate-layout { width: 42px; height: 42px; }
.detail-label { color: #7c8ba3; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.detail-tile strong { margin-left: auto; color: var(--ink); font-size: 19px; line-height: 1.05; text-align: right; white-space: nowrap; }
.detail-tile strong small { display: block; margin-top: 3px; color: #8a9ab2; font-size: 10px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.plate-layout { display: grid; grid-template-columns: repeat(var(--plate-cols), 1fr); grid-template-rows: repeat(var(--plate-rows), 1fr); gap: 1px; width: 42px; height: 42px; flex: none; overflow: hidden; }
.plate-layout span { background: #3b82f6; }
.guide-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.guide-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(.92); transform: scale(1.08); }
.guide-image::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(15,23,42,.28) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,23,42,.28) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.guide-lock { position: absolute; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 4px 14px rgba(15,23,42,.12); }
.guide-card p { margin: 13px 0 5px; font-size: 13px; font-weight: 700; }
.guide-card small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.guide-link { display: inline-block; margin: 12px 0 0; padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; }
.guide-link:hover { text-decoration: underline; }
.price-card { background: #f2f4f8; text-align: center; }
.price-card h2 { margin-bottom: 18px; }
.price-teaser { margin: 0 0 14px; color: #8392aa; font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.price-value { display: block; color: var(--ink); font-size: 23px; }
.price-card > p:not(.price-teaser) { margin: 7px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.price-card button { display: block; width: 100%; padding: 11px 9px; border: 0; border-radius: 7px; background: #123ca0; color: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.price-card button:hover { background: #0b2c80; }
.preview-card { padding: 16px; }
.preview-title { margin-bottom: 12px; }
.preview-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.preview-image img { width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.preview-image .pixelated-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.preview-card figcaption { padding-top: 12px; flex-wrap: wrap; line-height: 1.45; }
.preview-card figcaption strong { color: var(--ink); }
.image-filename, .pick-hint { color: var(--muted); }
.art-card { padding: 16px; transform: none; }
.art-card .pixel-art { max-height: 360px; }
.art-caption { padding-top: 10px; }
.recolor-panel, .filament-details { padding: 18px; }
.recolor-panel { padding: 16px; }
.recolor-panel > p:not(.pick-status) { margin-bottom: 10px; font-size: 12px; }
.recolor-panel .recolor-list { max-height: 236px; gap: 0; }
.recolor-panel .recolor-row { gap: 6px; padding-top: 5px; padding-bottom: 5px; }
.recolor-panel .recolor-trigger { padding: 6px 8px; font-size: 11px; }
.recolor-panel .recolor-row label { font-size: 12px; }
.js-enabled .recolor-panel .recolor-row { grid-template-columns: 16px minmax(66px, 1fr) 12px minmax(110px, 1.15fr); }
.recolor-panel .recolor-row > .filament-swatch { width: 16px; height: 16px; }
.recolor-panel h2, .filament-details h2, .purchase-next h2 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.upload-form .section-heading,
.upload-form .mode-control legend,
.upload-form .control > label:not(.image-choice),
.project-details h2,
.recolor-panel h2,
.preview-title,
.project-sidebar h2 {
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.step-num { font-family: inherit; font-size: 12px; font-weight: 700; }
.recolor-row.is-changed { border-left-color: var(--accent); }
.recolor-row.is-picked { outline-color: var(--accent); background: #eff6ff; }
.reset-recolor { color: var(--accent); border-color: #bfdbfe; }
.reset-recolor:hover { color: #1d4ed8; border-color: #1d4ed8; }
.filament-details { background: #fff; }
.project-sidebar .filament-details h2 { margin-bottom: 9px; }
.project-sidebar .filament-list {
  max-height: 240px;
  padding-top: 0;
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.project-sidebar .reset-recolor {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 16px auto 0;
  padding: 10px 12px;
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  text-align: center;
}
.project-sidebar .reset-recolor:hover { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.purchase-next { padding: 20px; }
.purchase-next p { max-width: 520px; }
.purchase-next button { width: auto; white-space: nowrap; }
.filament-dialog { background: #fff; }
.filament-option[aria-pressed=true] { background: #eff6ff; border-color: var(--accent); }
.filament-option[aria-pressed=true]::after { color: var(--accent); }
footer { max-width: 1400px; }
footer > div { display: grid; gap: 4px; }
footer strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.policy-page { width: min(100%, 940px); min-height: calc(100vh - 220px); padding-top: 58px; padding-bottom: 76px; }
.policy-page h1 { margin-bottom: 8px; font-size: clamp(38px, 6vw, 64px); }
.policy-effective { margin: 0 0 30px; color: var(--muted); font-size: 13px; }
.policy-card { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(15, 23, 42, .05); }
.policy-card > :first-child { margin-top: 0; }
.policy-card > :last-child { margin-bottom: 0; }
.policy-card h2 { margin: 30px 0 9px; font: 800 21px/1.25 Georgia, "Times New Roman", serif; }
.policy-card p, .policy-card li { color: #475569; font-size: 15px; line-height: 1.75; }
.policy-card ul { padding-left: 22px; }
.policy-card a { color: var(--accent); font-weight: 700; }

.orders-page { max-width: 1100px; min-height: calc(100vh - 145px); padding-top: 44px; padding-bottom: 64px; }
.orders-page .eyebrow { margin-bottom: 8px; }
.orders-page h1 { margin: 0 0 8px; font: 800 clamp(30px, 3vw, 42px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.orders-page .description { max-width: none; margin: 0; font-size: 13px; }
.order-tabs { display: flex; gap: 24px; margin: 30px 0 20px; border-bottom: 1px solid var(--line); }
.order-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 0 2px 12px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.order-tabs a.is-active { border-color: var(--accent); color: var(--accent); }
.order-tabs a span { padding: 2px 7px; border-radius: 10px; background: #f1f5f9; color: var(--muted); font-size: 11px; }
.orders-list { display: grid; gap: 14px; }
.order-card { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgba(15, 23, 42, .045); }
.order-card-preview { display: block; width: 110px; height: 110px; object-fit: contain; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.order-card-body { min-width: 0; }
.order-card-date { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.order-card h2 { margin: 0 0 4px; overflow-wrap: anywhere; color: var(--ink); font-size: 17px; }
.order-card-id { margin: 0 0 10px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.order-card-facts, .order-card-status { display: flex; flex-wrap: wrap; gap: 5px 15px; font-size: 12px; line-height: 1.45; }
.order-card-facts { color: var(--muted); }
.order-card-status { margin-top: 12px; gap: 7px; color: var(--muted); }
.order-card-status span { padding: 5px 8px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; }
.order-card-status strong { color: var(--ink); }
.order-card-link, .orders-empty a { display: inline-block; padding: 10px 13px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.order-card-link:hover, .orders-empty a:hover { background: #1d4ed8; }
.orders-empty { padding: 42px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.orders-empty h2 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.orders-empty p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.order-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.order-pagination a { color: var(--accent); font-weight: 800; text-decoration: none; }

.checkout-page { max-width: 1200px; padding-top: 42px; }
.checkout-page h1 { font-family: Georgia, "Times New Roman", serif; }
.checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); }
.checkout-page:not(.confirmation-page) .checkout-grid > .checkout-card:first-child { order: 2; }
.checkout-page:not(.confirmation-page) .checkout-grid > .checkout-card:last-child { order: 1; }
.checkout-card { border-radius: 12px; box-shadow: 0 4px 18px rgba(15, 23, 42, .045); }
.checkout-card h2 { font-family: Georgia, "Times New Roman", serif; }
.checkout-preview { background: #f8fafc; }
.checkout-facts div { border-color: var(--line); font-size: 14px; line-height: 1.4; }
.checkout-note { color: var(--muted); }
.checkout-home-link a { color: var(--accent); }
.order-progress-message { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: #eff6ff; color: #1e3a8a; font-size: 13px; line-height: 1.5; font-weight: 700; }
.order-progress-list { display: grid; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.order-progress-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.order-progress-list li:first-child { border-top: 0; }
.order-progress-list li::before { content: "○"; color: #94a3b8; }
.order-progress-list li span { flex: 1; }
.order-progress-list li.is-done { color: var(--ink); font-weight: 700; }
.order-progress-list li.is-done::before { content: "✓"; color: #2563eb; }
.order-progress-list time { color: var(--muted); font-weight: 400; white-space: nowrap; }
.payment-steps { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.payment-steps h3 { margin: 0 0 9px; font-size: 17px; }
.payment-steps > p { font-size: 13px; line-height: 1.5; }
.payment-instructions { padding: 15px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.payment-note, .payment-success { padding: 12px; border-radius: 7px; background: #f1f5f9; }
.payment-success { background: #eef6ed; color: #365b35; }
.manual-download-link { display: inline-block; margin-top: 2px; padding: 11px 14px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.manual-download-link:hover { background: #1d4ed8; }
.receipt-form { margin-top: 18px; }
.receipt-form .checkout-field { margin-bottom: 12px; }
.receipt-form input[type="file"] { max-width: 100%; }
.account-page { display: grid; place-items: start center; min-height: calc(100vh - 150px); padding-top: 65px; padding-bottom: 65px; }
.account-card { width: min(100%, 440px); padding: 30px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.account-card .eyebrow { margin-bottom: 10px; }
.account-card h1 { margin: 0 0 8px; font: 800 32px/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.account-intro { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.account-form button { width: 100%; margin-top: 8px; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.account-form button:hover { background: #1d4ed8; }
.account-switch { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.account-switch a { color: var(--accent); font-weight: 800; }

@media (min-width: 1350px) {
  .comparison { grid-template-columns: repeat(2, minmax(0, 1fr)) 280px; }
  .comparison > .preview-card:first-child { grid-column: 1; grid-row: 1; }
  .comparison > .preview-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .comparison > .project-details { grid-column: 1; grid-row: 2; }
  .comparison > .recolor-panel { grid-column: 2; grid-row: 2; }
  .comparison > .project-sidebar {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
  }
  .project-sidebar > * { width: 100%; }
  .project-sidebar .filament-list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero, .hero.has-preview { grid-template-columns: 260px minmax(0, 1fr); }
  .comparison { grid-template-columns: 1fr; }
  .hero .empty-comparison { grid-template-columns: 1fr; }
  .empty-preview-surface { min-height: 290px; }
  .comparison > .project-details, .comparison > .recolor-panel { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .header { padding: 12px 18px; flex-wrap: wrap; }
  .brand { white-space: nowrap; }
  .brand-logo img { width: 132px; }
  .account-nav { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
  main { padding: 0 18px; }
  .welcome-banner { padding: 22px 0; }
  .hero, .hero.has-preview { grid-template-columns: 1fr; padding-top: 18px; gap: 18px; }
  .preview-image { height: 350px; }
  .comparison { grid-template-columns: 1fr; }
  .project-sidebar { grid-template-columns: 1fr; }
  .project-sidebar > .guide-card,
  .project-sidebar > .price-card,
  .project-sidebar > .filament-details { grid-column: 1; grid-row: auto; }
  .purchase-next button { width: 100%; }
  .checkout-grid { grid-template-columns: 1fr; }
  .account-nav { gap: 8px; font-size: 11px; }
  .account-identity { max-width: 105px; }
  .account-page { padding-top: 32px; }
  .account-card { padding: 22px; }
  .orders-page { padding-top: 30px; }
  .order-tabs { margin-top: 24px; }
  .order-card { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .order-card-preview { width: 84px; height: 84px; }
  .order-card-link { grid-column: 1 / -1; text-align: center; }
  .account-nav .account-identity { display: none; }
  footer { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .policy-page { padding-top: 34px; padding-bottom: 48px; }
  .checkout-page:not(.confirmation-page) .checkout-grid > .checkout-card:first-child,
  .checkout-page:not(.confirmation-page) .checkout-grid > .checkout-card:last-child { order: initial; }
}
@media (max-width: 480px) {
  .preview-image { height: 300px; }
  .preview-card figcaption { gap: 4px 12px; }
  .order-progress-list li { flex-wrap: wrap; }
  .order-progress-list time { margin-left: 20px; }
  .empty-preview-surface { min-height: 250px; padding: 22px; }
}


