:root {
  /* Warm editorial palette — one fixed theme, no dark mode. */
  --bg: #efece6;
  --bg-panel: #f7f5ef;
  --bg-pill: #f4f2ec;
  --text: #161512;
  --text-dim: rgba(22, 21, 18, 0.6);
  --text-faint: rgba(22, 21, 18, 0.5);
  --border: rgba(22, 21, 18, 0.08);
  --border-strong: rgba(22, 21, 18, 0.18);
  --danger: #b3261e;
  --radius: 12px;
  --max-width: 1440px;
  font-size: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 0.4em; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, select, input, textarea { font-family: inherit; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 56px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.meta { color: var(--text-faint); font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 14px;
  padding: 26px 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 24px;
  font: 700 22px 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.logo svg { width: 22px; height: 22px; flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 12px;
  gap: 22px;
  font: 500 15px 'Manrope', sans-serif;
  color: var(--text);
}
.nav-link {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.nav-link:hover { opacity: 0.7; }
.nav-link.active { font-weight: 700; }

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 12px;
  gap: 14px;
}

.currency-wrap { position: relative; display: inline-flex; align-items: center; }
.currency-wrap::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-faint);
  border-bottom: 1.5px solid var(--text-faint);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
select#currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-pill);
  border: none;
  border-radius: 20px;
  color: var(--text);
  font: 500 13px 'Manrope', sans-serif;
  padding: 8px 20px 8px 14px;
  cursor: pointer;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--text-faint);
  font: 500 14px 'Manrope', sans-serif;
  white-space: nowrap;
}
.search-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.search-pill input {
  border: none;
  background: none;
  outline: none;
  color: var(--text);
  font: inherit;
  width: 150px;
}
.search-pill input::placeholder { color: var(--text-faint); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--bg-pill); }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--text);
  font: 600 14px 'Manrope', sans-serif;
  background: none;
  white-space: nowrap;
}
.cart-link svg { width: 16px; height: 16px; }
.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--text);
  color: #fff;
  font: 700 11px 'Manrope', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
}
.hero-copy {
  padding: 70px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  background: var(--bg-panel);
}
.hero-eyebrow {
  font: 400 15px 'JetBrains Mono', monospace;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-headline {
  font: 400 clamp(2.6rem, 5.2vw, 5.125rem)/1.05 'Instrument Serif', serif;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; }
.hero-sub {
  font: 400 17px/1.55 'Manrope', sans-serif;
  color: var(--text-dim);
  max-width: 400px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  padding: 15px 28px;
  font: 600 15px 'Manrope', sans-serif;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill.filled { background: var(--text); color: #fff; }
.btn-pill.outline { border-color: var(--border-strong); color: var(--text); }
.btn-pill:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.hero-feature {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #d8d5cc;
}
.hero-feature img, .hero-feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font: 500 11px 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-feature .tile-caption { left: 18px; bottom: 18px; font-size: 12px; }
.tile-id {
  position: absolute;
  left: 14px;
  top: 12px;
  font: 500 11px 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 7px;
  border-radius: 6px;
}
.wallpaper-id { color: var(--text-faint); font-size: 0.82em; font-weight: 400; }

/* ---------- Category pills ---------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 32px 56px 8px;
  font: 600 13px 'Manrope', sans-serif;
}
.pill {
  background: none;
  border: none;
  border-radius: 16px;
  padding: 9px 18px;
  color: var(--text-faint);
  cursor: pointer;
  font: inherit;
}
.pill.active { background: var(--text); color: #fff; }

/* ---------- Wallpaper grid ---------- */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
  padding: 24px 56px 64px;
}
.wp-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #d8d5cc;
  aspect-ratio: 16 / 10;
}
.wp-tile.tall { aspect-ratio: 9 / 16; grid-row: span 2; }
.wp-tile img, .wp-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-tile:hover { filter: brightness(1.04); }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 11, 9, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn 0.18s ease;
}
.lightbox-content {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scaleIn 0.2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.lightbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.lightbox-head h3 { font: 600 17px 'Manrope', sans-serif; color: #fff; margin: 0; }
.lightbox-head .meta { font: 400 12.5px 'JetBrains Mono', monospace; color: rgba(255, 255, 255, 0.5); margin-top: 4px; text-transform: capitalize; }

.view-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 4px;
}
.view-toggle button {
  background: none;
  border: none;
  border-radius: 16px;
  padding: 8px 16px;
  font: 600 13px 'Manrope', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.view-toggle button.active { background: #fff; color: var(--text); }

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-header-actions { display: flex; align-items: center; gap: 12px; }

.lightbox-stage { display: flex; justify-content: center; }
.lightbox-image {
  max-width: 900px;
  max-height: 66vh;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.lightbox-image.orientation-desktop { aspect-ratio: 16 / 9; width: 100%; }
.lightbox-image.orientation-mobile { aspect-ratio: 9 / 16; height: 66vh; }
.lightbox-image img, .lightbox-image video { width: 100%; height: 100%; object-fit: cover; }

.lightbox-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.format-tag {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 8px 16px;
  font: 500 13px 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.55);
}
.lightbox-download-note { font-size: 12px; color: rgba(255, 255, 255, 0.4); text-align: center; }

/* ---------- Device preview mockups (used inside the lightbox) ---------- */
.studio-stage {
  position: relative;
  border-radius: 28px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #9a9a9e 0%, #c4c4c8 55%, #eeeeef 100%);
  padding: 64px 0 44px;
  display: flex;
  justify-content: center;
}
.studio-label {
  position: absolute;
  top: 18px;
  left: 24px;
  font: 400 12px 'JetBrains Mono', monospace;
  color: rgba(20, 20, 20, 0.4);
}
.device-frame { position: relative; margin: 0 auto; }

/* CSS-drawn mockup (not a real product photo) — a thin near-black bezel on
   a slim aluminum stand. */
.device-frame.desktop {
  width: 660px;
  max-width: 82%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(165deg, #2b2b2e 0%, #171718 55%, #0c0c0d 100%);
  border-radius: 13px;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.device-frame.desktop .device-screen { width: 100%; height: 100%; border-radius: 3px; overflow: hidden; background: #000; }
.device-frame.desktop::after {
  content: '';
  position: absolute;
  bottom: -76px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 76px;
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0% 100%);
  background:
    radial-gradient(circle 3.5px at 50% 20%, rgba(255, 255, 255, 0.95), transparent 62%),
    linear-gradient(180deg, #ececef 0%, #cfcfd3 45%, #a9a9ae 100%);
}
.device-frame.desktop::before {
  content: '';
  position: absolute;
  bottom: -86px;
  left: 50%;
  transform: translateX(-50%);
  width: 224px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f1f1f4, #bfbfc4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.studio-stage .device-frame.desktop { margin-bottom: 96px; }
.studio-floor-shadow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 16px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.16), transparent 72%);
}

.device-frame.iphone {
  width: 230px;
  max-width: 60%;
  aspect-ratio: 1290 / 2796;
  background: #050506;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.device-frame.iphone .device-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; background: #000; }
.device-frame.iphone::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.device-frame .device-screen img, .device-frame .device-screen video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cart drawer ---------- */
.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 11, 9, 0.4);
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 91;
  width: 420px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.2s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 { margin: 0; font-size: 18px; }
.drawer-close, .drawer-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-pill);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-head-left { display: flex; align-items: center; gap: 12px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-footer { padding: 18px 24px 24px; border-top: 1px solid var(--border); }

.cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #d8d5cc;
}
.cart-row-thumb img, .cart-row-thumb video { width: 100%; height: 100%; object-fit: cover; }
.cart-row-name { font: 600 14px 'Manrope', sans-serif; }
.cart-row-format { font: 400 12px 'JetBrains Mono', monospace; color: var(--text-faint); margin-top: 2px; }
.cart-row-price { font: 700 14px 'Manrope', sans-serif; }
.cart-row-remove {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}
.cart-row-main { flex: 1; min-width: 0; }

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 15px 'Manrope', sans-serif;
  margin-bottom: 16px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font: 400 14px 'Manrope', sans-serif;
  padding: 8px 0;
  color: var(--text-dim);
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font: 700 16px 'Manrope', sans-serif;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.checkout-field {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: 400 14px 'Manrope', sans-serif;
  margin-bottom: 12px;
  background: #fff;
  color: var(--text);
}

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-faint); }

/* ---------- Fixed pricing bar (homepage) ---------- */
.pricing-bar {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 14px 20px 0;
  letter-spacing: .02em;
}

/* ---------- Bundle discount (cart / checkout) ---------- */
.bundle-banner {
  background: var(--bg-pill);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 4px 0 16px;
  text-align: center;
}
.bundle-banner.qualified { background: var(--text); color: #fff; }
.strike { text-decoration: line-through; color: var(--text-faint); font-weight: 400; }

/* ---------- Confirmation (order success page) ---------- */
.confirm-wrap {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 0 24px;
}
.confirm-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.confirm-check svg { width: 28px; height: 28px; }
.confirm-wrap h1 { font: 700 19px 'Manrope', sans-serif; }
.confirm-meta { font: 400 13px 'JetBrains Mono', monospace; color: var(--text-faint); margin-bottom: 28px; }
.confirm-download-list { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.confirm-download-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-panel);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.confirm-account-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}
.confirm-account-title { font: 700 15px 'Manrope', sans-serif; margin: 0 0 4px; }
.confirm-account-form-stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 56px 40px;
  background: var(--bg);
  color: var(--text-faint);
  font-size: 0.85rem;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  text-align: center;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.footer-brand p {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin: 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}
.footer-col a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom span {
  margin: 0;
}

/* ---------- Admin (kept functional, matched to the new palette) ---------- */
.admin-input {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  width: 100%;
}
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 12px; }
.admin-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.admin-file-label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-dim); }
.admin-error { color: var(--danger); font-size: 0.85rem; min-height: 1em; }
.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; font-size: 0.9rem; }
.admin-row-main { display: flex; align-items: center; gap: 12px; }
.admin-row .meta { color: var(--text-faint); font-size: 0.8rem; }
.admin-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); flex-shrink: 0; }
.admin-row button { background: none; border: 1px solid var(--border-strong); color: var(--danger); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.admin-who { color: var(--text-faint); font-size: 0.8rem; }
.admin-header-btn { background: none; border: 1px solid var(--border-strong); color: var(--text); border-radius: 20px; padding: 8px 16px; font-size: 0.85rem; cursor: pointer; }
.admin-hint { color: var(--text-faint); font-size: 0.85rem; margin: -8px 0 20px; }

/* ---------- Account / order lookup (public/orders.html) ---------- */
.account-wrap { padding: 56px 0 80px; }
.auth-tabs { display: flex; gap: 8px; margin: 20px 0; }
.auth-tabs .pill { background: var(--bg-pill); }
.auth-tabs .pill.active { background: var(--text); color: #fff; }
.order-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.order-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.order-card-head .order-number { font: 700 15px 'Manrope', sans-serif; }
.order-status { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 10px; background: var(--bg-pill); color: var(--text-dim); }
.order-status.paid { background: var(--text); color: #fff; }
.order-downloads { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.order-downloads li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-feature { aspect-ratio: 16 / 10; }
  .wallpaper-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 20px; }
  .wrap { padding: 0 20px; }
  .main-nav { display: none; }
  .hero-copy { padding: 40px 20px; gap: 20px; }
  .hero-headline { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .pill-row, .wallpaper-grid { padding-left: 20px; padding-right: 20px; }
  /* Pinterest-style masonry on mobile — CSS columns rather than a separate
     component, per the handoff's "no shared state beyond CSS/viewport". */
  .wallpaper-grid {
    display: block;
    columns: 2;
    column-gap: 10px;
  }
  .wp-tile { break-inside: avoid; margin-bottom: 10px; width: 100%; }
  .wp-tile.tall { grid-row: auto; }
  .cart-drawer { width: 100vw; }

  /* Lightbox content routinely runs taller than a phone viewport — center-align
     clips the top off-screen with no way to reach it, so switch to top-aligned
     + scrollable instead of the desktop centered treatment. */
  .lightbox-overlay { padding: 16px; align-items: flex-start; overflow-y: auto; }
  .lightbox-content { margin-top: 8px; }
  .lightbox-head { flex-wrap: wrap; gap: 12px; }
  .lightbox-image.orientation-mobile { height: 50vh; }
  .studio-stage { padding: 44px 0 28px; }
}
