:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #1aad19;
  --primary-dark: #128c14;
  --accent: #ff7a45;
  --soft: #eaf8eb;
  --warning: #fff7ed;
  --danger: #ef4444;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  --radius: 22px;
  --desktop-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(26, 173, 25, 0.16), transparent 32%),
    linear-gradient(180deg, #f9fff9 0%, var(--bg) 42%, #eef2f7 100%);
  color: var(--text);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button { border: 0; cursor: pointer; }

.hidden { display: none !important; }

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

.app-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.65), 0 24px 80px rgba(15, 23, 42, 0.10);
  position: relative;
  overflow: hidden;
}

.page-pad { padding: 18px 16px 110px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.76);
}

.back-btn,
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
}

.top-title {
  flex: 1;
  min-width: 0;
}

.top-title strong { display: block; font-size: 16px; }
.top-title span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.desktop-nav,
.desktop-upload-cta {
  display: none;
}

.hero {
  position: relative;
  padding: 20px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(26, 173, 25, 0.94), rgba(10, 130, 91, 0.92)),
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='24' cy='22' r='4' fill='white' fill-opacity='.28'/%3E%3Ccircle cx='144' cy='48' r='8' fill='white' fill-opacity='.18'/%3E%3Ccircle cx='82' cy='136' r='6' fill='white' fill-opacity='.16'/%3E%3Cpath d='M16 92c42-26 72-28 119-4 20 11 34 8 42-2' stroke='white' stroke-opacity='.16' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E");
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.brand-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 13px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1.16;
}

.hero p {
  margin: 0;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
  max-width: 320px;
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.20);
  font-size: 13px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 2px 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 20px;
}

.section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.product-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px;
  background: var(--card);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:active { transform: scale(0.99); }

.product-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
}

.product-img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 18px;
  background: #f3f4f6;
}

.product-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
}

.exchange-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.points {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.mini-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.notice-card,
.form-card,
.info-card,
.model-card,
.confirm-card {
  background: var(--card);
  border: 1px solid rgba(229,231,235,0.84);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.notice-card {
  padding: 15px;
  margin-top: 14px;
}

.notice-card strong { display: block; margin-bottom: 5px; }
.notice-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.detail-hero {
  background: var(--card);
  border: 1px solid rgba(229,231,235,0.84);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-img { width: 100%; height: 290px; object-fit: contain; background: #f3f4f6; }

.detail-main { padding: 18px; }

.detail-main h1 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.2;
}

.detail-main p { margin: 0; color: var(--muted); line-height: 1.68; white-space: pre-line; }

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.detail-price b { color: var(--accent); font-size: 22px; }
.detail-price span { color: var(--muted); font-size: 13px; }

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

.model-card { padding: 16px; }

.model-card h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
}

.model-card h3 span {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4b5563;
  line-height: 1.55;
  font-size: 14px;
}

.feature-list li::before {
  content: "✓";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px;
  margin-top: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.step {
  padding: 10px 8px;
  border-radius: 15px;
  text-align: center;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12px;
}

.step.active {
  color: var(--primary-dark);
  background: var(--soft);
  border-color: rgba(26, 173, 25, 0.25);
  font-weight: 800;
}

.form-card { padding: 18px; }

.form-card h1,
.confirm-card h1 {
  margin: 0 0 7px;
  font-size: 24px;
}

.form-card .sub,
.confirm-card .sub {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  color: #374151;
  font-weight: 700;
  font-size: 14px;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px;
  background: #f9fafb;
  color: var(--text);
  outline: none;
  transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.input:focus,
.textarea:focus {
  border-color: rgba(26, 173, 25, 0.70);
  box-shadow: 0 0 0 4px rgba(26, 173, 25, 0.10);
  background: #fff;
}

.textarea { resize: vertical; min-height: 88px; }

.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.code-chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--warning);
  color: #9a3412;
  font-weight: 800;
}

.message {
  min-height: 22px;
  margin: 8px 0 12px;
  font-size: 14px;
}

.message.ok { color: var(--primary-dark); }
.message.error { color: var(--danger); }

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), #12b981);
  color: #fff;
  box-shadow: 0 12px 26px rgba(26, 173, 25, 0.26);
}

.secondary-btn { background: #111827; color: #fff; }
.ghost-btn { background: #f3f4f6; color: #111827; }

.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active { transform: scale(0.985); }

.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.15);
  opacity: 0.68;
  transform: none;
}

.wide { width: 100%; }

.fixed-action {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 40;
  width: min(100%, 480px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(229,231,235,0.78);
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.fixed-action.two { grid-template-columns: 1fr 1.25fr; }

.info-card { padding: 16px; margin-top: 14px; }
.info-card h3 { margin: 0 0 12px; font-size: 17px; }

.confirm-card { padding: 20px; }

.success-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 34px;
  margin-bottom: 16px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.summary-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  line-height: 1.55;
}

.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); }
.summary-row b { font-weight: 800; }

.delivery-box {
  margin-top: 15px;
  padding: 15px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid rgba(26, 173, 25, 0.18);
}

.delivery-box strong { display: block; color: var(--primary-dark); margin-bottom: 6px; }
.delivery-box p { margin: 0; color: #276749; line-height: 1.6; font-size: 14px; }

.bottom-note {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  margin: 22px 0 0;
}

.empty {
  padding: 28px 18px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.empty p { color: var(--muted); line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.upload-hero {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(229,231,235,0.84);
  box-shadow: var(--shadow);
}

.upload-hero h1 {
  margin: 12px 0 8px;
  font-size: 27px;
  line-height: 1.2;
}

.upload-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.upload-stats {
  display: grid;
  gap: 2px;
  align-content: center;
  justify-items: start;
  padding: 16px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid rgba(26,173,25,0.16);
}

.upload-stats strong {
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1;
}

.upload-stats span {
  color: #276749;
  font-size: 13px;
}

.upload-layout {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.upload-form-panel {
  padding: 18px;
}

.upload-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}

.upload-preview img {
  display: none;
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.upload-preview.has-image {
  border-style: solid;
  background: #fff;
}

.upload-preview.has-image img {
  display: block;
}

.upload-preview.has-image span {
  display: none;
}

.upload-library {
  min-width: 0;
}

.section-head.compact {
  margin-top: 0;
}

.upload-library-grid {
  display: grid;
  gap: 13px;
}

.upload-product-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  background: #fff;
  border: 1px solid rgba(229,231,235,0.84);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.upload-card-main {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  color: inherit;
}

.upload-product-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
}

.upload-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.upload-card-title h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.upload-card-title span {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.upload-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.upload-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upload-form-actions {
  display: grid;
  gap: 8px;
}

.upload-card-actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.upload-card-actions button:hover {
  background: #e5e7eb;
}

.upload-card-actions button.danger {
  background: #fff1f2;
  color: #be123c;
}

.upload-card-actions button.danger:hover {
  background: #ffe4e6;
}

.qr-page {
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% -20%, rgba(26,173,25,0.22), transparent 34%),
    linear-gradient(180deg, #f9fff9, #eef2f7);
}

.qr-shell { width: min(100%, 430px); }

.qr-card {
  padding: 28px 22px;
  border-radius: 30px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
  text-align: center;
}

.qr-card .brand-line {
  background: var(--soft);
  color: var(--primary-dark);
  border-color: rgba(26,173,25,0.16);
}

.qr-card .brand-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(26,173,25,0.14); }
.qr-card h1 { margin: 18px 0 8px; line-height: 1.2; }
.qr-card p { color: var(--muted); line-height: 1.65; }

.qr-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.big-qr {
  width: 230px;
  height: 230px;
  margin: 18px auto;
  border-radius: 24px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.muted { color: var(--muted); }
.small { font-size: 12px; }

@media (max-width: 380px) {
  .product-card { grid-template-columns: 96px 1fr; gap: 12px; }
  .product-img { width: 96px; height: 96px; }
  .hero h1 { font-size: 24px; }
  .detail-img { height: 245px; }
  .summary-row { grid-template-columns: 76px 1fr; }
}

@media (min-width: 760px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); border-radius: 34px; }
  .topbar { border-top-left-radius: 34px; border-top-right-radius: 34px; }
  .fixed-action { border-radius: 24px 24px 0 0; }
}

@media (min-width: 900px) {
  body {
    padding: 0;
    background:
      radial-gradient(circle at 12% 4%, rgba(26, 173, 25, 0.13), transparent 28%),
      radial-gradient(circle at 86% 8%, rgba(255, 122, 69, 0.12), transparent 26%),
      linear-gradient(180deg, #fbfffb 0%, var(--bg) 44%, #edf2f7 100%);
  }

  .app-shell {
    width: min(calc(100% - 56px), var(--desktop-max));
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.36);
    box-shadow: none;
    overflow: visible;
  }

  .page-pad {
    padding: 28px 0 56px;
  }

  .topbar {
    min-height: 72px;
    padding: 14px 0;
    background: rgba(255,255,255,0.78);
    border-bottom-color: rgba(229, 231, 235, 0.9);
  }

  .top-title strong { font-size: 18px; }
  .top-title span { font-size: 13px; }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(229,231,235,0.9);
    border-radius: 999px;
    background: rgba(255,255,255,0.76);
  }

  .desktop-nav a,
  .desktop-upload-cta {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }

  .desktop-nav a:hover,
  .desktop-upload-cta:hover {
    color: var(--primary-dark);
    background: var(--soft);
  }

  .desktop-upload-cta {
    display: inline-flex;
    border: 1px solid rgba(26,173,25,0.2);
    background: var(--soft);
    color: var(--primary-dark);
  }

  .back-btn,
  .icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero {
    min-height: 320px;
    padding: 44px 48px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero::after {
    right: 48px;
    bottom: 30px;
    width: 230px;
    height: 230px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 46px;
  }

  .hero p {
    max-width: 560px;
    font-size: 17px;
  }

  .notice-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 22px;
    border-radius: 8px;
  }

  .notice-card strong { margin-bottom: 0; }
  .notice-card p { font-size: 14px; }

  .section-head {
    margin-top: 34px;
    margin-bottom: 16px;
  }

  .section-head h2 { font-size: 24px; }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .product-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 14px;
    border-radius: 8px;
  }

  .product-card:active { transform: none; }

  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
  }

  .product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.78;
    border-radius: 6px;
  }

  .product-body {
    display: flex;
    min-height: 184px;
    flex-direction: column;
  }

  .product-body h3 { font-size: 18px; }
  .product-body p { font-size: 14px; }

  .tag-row { margin-top: auto; }

  .detail-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) 1fr;
    border-radius: 8px;
  }

  .detail-img {
    height: 100%;
    min-height: 420px;
  }

  .detail-main {
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .detail-main h1 { font-size: 36px; }
  .detail-main p { font-size: 16px; }

  .detail-price {
    margin-top: 22px;
    padding-top: 20px;
  }

  .model-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .model-card,
  .info-card,
  .form-card,
  .confirm-card {
    border-radius: 8px;
  }

  .model-card { padding: 22px; }

  .steps {
    width: min(100%, 720px);
    margin: 0 auto 18px;
  }

  .form-card,
  .confirm-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 30px;
  }

  .form-card h1,
  .confirm-card h1 {
    font-size: 30px;
  }

  .field {
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 16px;
  }

  .field label {
    text-align: right;
  }

  .field:has(.textarea) {
    align-items: start;
  }

  .field:has(.textarea) label {
    padding-top: 13px;
  }

  .code-row,
  .message,
  .form-card .wide {
    width: calc(100% - 126px);
    margin-left: 126px;
  }

  .summary-row {
    grid-template-columns: 130px 1fr;
  }

  .fixed-action {
    position: static;
    left: auto;
    bottom: 0;
    transform: none;
    width: min(calc(100% - 56px), var(--desktop-max));
    margin: 0 auto;
    padding: 14px 0 20px;
    background: rgba(255,255,255,0.84);
    border-radius: 0;
  }

  .fixed-action.two {
    grid-template-columns: 180px 220px;
    justify-content: end;
  }

  .bottom-note {
    font-size: 13px;
    text-align: left;
  }

  .upload-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: stretch;
    padding: 34px 38px;
    border-radius: 8px;
  }

  .upload-hero h1 {
    max-width: 660px;
    font-size: 36px;
  }

  .upload-hero p {
    max-width: 680px;
    font-size: 16px;
  }

  .upload-stats {
    justify-items: center;
    text-align: center;
    border-radius: 8px;
  }

  .upload-layout {
    grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
  }

  .upload-form-panel {
    width: 100%;
    padding: 26px;
  }

  .upload-preview {
    border-radius: 8px;
  }

  .upload-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .upload-product-card {
    grid-template-columns: 1fr;
    align-items: start;
    border-radius: 8px;
    padding: 14px;
  }

  .upload-card-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .upload-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.72;
    border-radius: 6px;
  }

  .upload-form-actions {
    width: calc(100% - 126px);
    margin-left: 126px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upload-form-actions .wide {
    width: 100%;
    margin-left: 0;
  }

  .qr-page {
    min-height: 100vh;
  }

  .qr-shell {
    width: min(100%, 920px);
  }

  .qr-card {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    align-items: center;
    text-align: left;
    border-radius: 8px;
    padding: 42px;
  }

  .qr-copy {
    justify-items: start;
  }

  .qr-copy .wide {
    width: auto;
    min-width: 180px;
  }

  .big-qr {
    width: 280px;
    height: 280px;
    margin: 0;
    border-radius: 8px;
  }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 40px;
  }
}
