:root {
  --storefront-scale: 1;
  color-scheme: light;
  --ink: #4f5463;
  --muted: #817a91;
  --line: #eadff1;
  --surface: #fff9fc;
  --card: rgba(255, 253, 249, 0.94);
  --panel: rgba(255, 249, 252, 0.84);
  --accent: #b8c8f5;
  --accent-soft: #eef2ff;
  --custom: #f3a8c9;
  --custom-soft: #fde8f3;
  --brand: #7b738f;
  --brand-soft: #f4eefb;
  --shadow: 0 22px 60px rgba(203, 187, 238, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(243, 168, 201, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(191, 192, 241, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(199, 183, 236, 0.08), transparent 32%),
    var(--surface);
}

.storefront-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: calc(100% / var(--storefront-scale));
  height: calc(100vh / var(--storefront-scale));
  height: calc(100dvh / var(--storefront-scale));
  max-height: calc(100vh / var(--storefront-scale));
  max-height: calc(100dvh / var(--storefront-scale));
  transform: scale(var(--storefront-scale));
  transform-origin: top left;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(79, 84, 99, 0.08);
  background: rgba(255, 248, 252, 0.92);
  backdrop-filter: blur(18px);
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandmark-badge {
  width: 70px;
  height: 70px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(243, 168, 201, 0.2);
  background: #fffafc;
  filter: drop-shadow(0 14px 30px rgba(203, 187, 238, 0.28));
}

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

.top-actions button.is-active {
  background: var(--brand);
  color: white;
}

.top-actions .cart-chip {
  background: linear-gradient(135deg, #f8d4e5, #e6ddfb);
  color: var(--brand);
  border: 1px solid rgba(123, 115, 143, 0.18);
}

.top-actions .cart-chip.is-active {
  background: linear-gradient(135deg, #ee9ec3, #8e83bc);
  color: white;
  box-shadow: 0 12px 28px rgba(142, 131, 188, 0.24);
}

.shell {
  width: 100%;
  min-height: 0;
  max-width: 1680px;
  margin: 0 auto;
  padding: 28px clamp(20px, 2.8vw, 40px) 40px;
  overflow-x: hidden;
  overflow-y: auto;
}

.panel-surface,
.panel {
  border: 1px solid rgba(18, 33, 43, 0.09);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

[data-route-view][hidden] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  max-width: 12ch;
}

.lead,
.section-heading p,
.summary-card p,
.info-card p,
.meta,
.status-message,
.detail-copy,
.proof-header p,
.cart-item p,
.cart-item small,
.tool-note,
.canvas-placeholder span,
.floating-card span {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 32px;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  width: min(100%, 980px);
  justify-self: center;
  justify-items: center;
  text-align: center;
}

.hero-copy h1 {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}

.hero-copy h1 > span {
  display: block;
}

.hero-title-brand {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.03em;
}

.hero-title-brand-primary {
  color: #40495a;
}

.hero-title-brand-accent {
  color: #f0a4c6;
}

.hero-title-tagline {
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
  line-height: 1.05;
}

@media (min-width: 980px) {
  .hero-title-tagline {
    white-space: nowrap;
  }
}

.hero-actions,
.hero-stats,
.product-grid,
.info-grid,
.order-summary,
.tracking-grid,
.editor-layout,
.editor-workspace,
.spotlight-grid,
.detail-layout,
.category-strip {
  display: grid;
  gap: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.hero-stats article,
.floating-card,
.cart-item,
.proof-card,
.tool-rail,
.editor-form,
.summary-card,
.info-card,
.product-card,
.preview-card,
.canvas-card,
.inspector-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(18, 33, 43, 0.05);
}

.hero-stats article,
.floating-card {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.hero-visual {
  display: none;
}

.floating-card {
  display: grid;
  gap: 8px;
}

.floating-card.lime {
  background: linear-gradient(180deg, white, var(--brand-soft));
}

.floating-card.peach {
  background: linear-gradient(180deg, white, var(--custom-soft));
}

.panel {
  margin-top: 24px;
  padding: 24px;
}

.storefront-footer {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 22px clamp(20px, 2.8vw, 40px) 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: center;
}

.storefront-footer-copy {
  display: grid;
  gap: 6px;
}

.storefront-footer-copy p,
.storefront-footer-copy small {
  margin: 0;
  color: var(--muted);
}

.storefront-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-link.is-active {
  background: var(--brand);
  color: white;
}

.section-heading {
  margin-bottom: 20px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
}

.category-pill,
.detail-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.category-pill span {
  margin-left: 8px;
  color: var(--muted);
}

.category-pill.is-active {
  background: var(--brand);
  color: white;
}

.category-pill.is-active span {
  color: rgba(255, 255, 255, 0.92);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 1360px) {
  .hero,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .payment-grid,
  .spotlight-grid,
  .editor-workspace {
    gap: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  }

  .cart-layout,
  .checkout-layout,
  .payment-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
  }

  .spotlight-grid {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  }

  .editor-workspace {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  }

  .canvas-artwork {
    width: min(100%, 440px);
  }

  .canvas-artwork img,
  .preview-stage img,
  .modal-preview img {
    width: min(100%, 400px);
  }
}

.product-card,
.summary-card,
.info-card,
.preview-card,
.proof-card,
.canvas-card,
.tool-rail,
.editor-form {
  padding: 18px;
}

.product-card.ready {
  background: linear-gradient(180deg, white, var(--accent-soft));
}

.product-card.custom {
  background: linear-gradient(180deg, white, var(--brand-soft));
}

.product-card.is-selected {
  outline: 2px solid rgba(123, 115, 143, 0.22);
}

.product-illustration {
  min-height: 150px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 6px;
  border-radius: 18px;
  color: var(--ink);
}

.product-illustration.has-image {
  align-content: start;
}

.product-illustration.ready {
  background:
    radial-gradient(circle at 20% 18%, rgba(184, 200, 245, 0.26), transparent 22%),
    linear-gradient(135deg, rgba(184, 200, 245, 0.16), rgba(184, 200, 245, 0.04));
}

.product-illustration.custom {
  background:
    radial-gradient(circle at 78% 22%, rgba(243, 168, 201, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(243, 168, 201, 0.18), rgba(199, 183, 236, 0.08));
}

.product-illustration-badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.product-illustration-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(234, 223, 241, 0.9);
}

.product-card .product-type {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-summary-copy {
  margin: 0 0 10px;
  color: var(--ink);
}

.product-card-highlights {
  margin-bottom: 10px;
}

.price {
  margin: 10px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--custom), #cbbdee);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

button.ghost,
.link-button {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border: 1px solid var(--line);
}

button.secondary {
  background: linear-gradient(135deg, var(--accent), #d5dcff);
}

button.accent,
.checkout-button,
.cart-chip {
  background: var(--brand);
  color: white;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.product-actions,
.spotlight-actions,
.editor-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-head,
.page-head-actions,
.cart-layout,
.checkout-layout,
.payment-grid,
.form-grid {
  display: grid;
  gap: 16px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.checkbox-field input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-field span {
  color: var(--ink);
  font-weight: 600;
}

[data-shipping-name-field][hidden] {
  display: none !important;
}

.page-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 20px;
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-panel {
  display: grid;
  gap: 18px;
}

.legal-hero,
.legal-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(18, 33, 43, 0.05);
}

.legal-hero {
  display: grid;
  gap: 10px;
}

.legal-intro,
.legal-contact,
.legal-section p,
.legal-section li {
  margin: 0;
  color: var(--muted);
}

.legal-contact strong {
  color: var(--ink);
}

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

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.detail-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: start;
}

.cart-layout,
.checkout-layout,
.payment-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.cart-sidebar {
  position: sticky;
  top: 92px;
}

.checkout-sidebar {
  position: static;
  top: auto;
}

.spotlight-grid {
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
}

.spotlight-visual,
.spotlight-copy {
  display: grid;
  gap: 16px;
}

.spotlight-copy {
  align-content: center;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

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

.session-note {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(199, 183, 236, 0.18);
  color: var(--brand);
}

.detail-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cart-panel {
  position: sticky;
  top: 92px;
}

.cart-items,
.checkout-flow {
  display: grid;
  gap: 12px;
}

.checkout-form,
.form-section {
  display: grid;
  gap: 16px;
}

.form-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 16px;
}

.cart-item.empty {
  display: grid;
}

.cart-item.custom {
  background: linear-gradient(180deg, white, var(--custom-soft));
}

.cart-item.ready {
  background: linear-gradient(180deg, white, var(--accent-soft));
}

.cart-item p,
.cart-item small {
  margin: 4px 0 0;
}

.cart-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-item-status-copy {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.cart-item-status-copy small {
  margin: 0;
}

.cart-item-warning {
  display: block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(243, 168, 201, 0.16);
  color: var(--brand);
}

.cart-item-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
}

.checkout-flow {
  display: none;
}

.flow-step {
  padding: 12px 14px 12px 18px;
  border-radius: 16px;
  background: rgba(244, 238, 251, 0.88);
  color: var(--muted);
}

.flow-step.current {
  background: linear-gradient(135deg, var(--custom), #cbbdee);
  color: var(--ink);
}

.cart-summary {
  display: grid;
  gap: 12px;
  margin: 18px 0 14px;
}

.cart-summary p,
.cart-summary strong {
  margin: 0;
}

.price-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.price-breakdown li,
.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.price-breakdown li.is-total,
.cart-total-row {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price-breakdown li.is-total strong,
.cart-total-row strong {
  font-size: 1.05rem;
}

.tracking-form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.editor-panel {
  overflow: hidden;
}

.editor-workspace {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
}

.tool-rail,
.inspector-card {
  display: none;
}

.editor-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tool-rail,
.editor-form,
.canvas-column,
.canvas-card,
.proof-card {
  display: grid;
  gap: 14px;
}

.tool-label {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-button {
  width: 100%;
  justify-content: flex-start;
  border-radius: 18px;
  background: rgba(244, 238, 251, 0.88);
  color: var(--ink);
}

.tool-button.is-active {
  background: linear-gradient(135deg, var(--custom), #cbbdee);
  color: var(--ink);
}

.editor-form label,
.detail-form-grid label,
.tracking-form label {
  display: grid;
  gap: 8px;
}

.checkout-form label:not(.checkbox-field) {
  display: grid;
  gap: 8px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.inspector-card {
  padding: 16px;
}

.canvas-header,
.canvas-footer,
.proof-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.canvas-stage,
.preview-stage,
.modal-preview {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(191, 192, 241, 0.18), rgba(243, 168, 201, 0.12)),
    #fff8fc;
  overflow: hidden;
}

.canvas-artwork {
  position: relative;
  width: min(100%, 360px);
  padding: 22px;
}

.canvas-artwork img,
.preview-stage img,
.modal-preview img {
  width: min(100%, 320px);
  height: auto;
  display: block;
}

.safe-area-tag {
  position: absolute;
  top: 10px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.82rem;
}

.canvas-placeholder {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
}

.editor-product-meta,
.proof-meta {
  margin: 0;
  color: var(--muted);
}

.line-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.line-status-badge--design_pending {
  background: rgba(191, 192, 241, 0.26);
  color: #4f517a;
}

.line-status-badge--rendering {
  background: rgba(244, 210, 130, 0.34);
  color: #72561d;
}

.line-status-badge--proof_ready {
  background: rgba(143, 214, 176, 0.28);
  color: #1f6a3d;
}

.line-status-badge--render_failed {
  background: rgba(217, 117, 162, 0.18);
  color: #9e4a70;
}

.line-item-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 0.88rem;
  text-decoration: none;
}

.line-item-proof-link:hover {
  text-decoration: underline;
}

input,
select {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}

textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  resize: vertical;
}

.action-card {
  display: grid;
  gap: 18px;
}

.tracking-form label {
  min-width: min(100%, 260px);
}

.line-item-stack {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.line-item-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.line-item-card.custom {
  background: linear-gradient(180deg, white, var(--custom-soft));
}

.line-item-card.ready {
  background: linear-gradient(180deg, white, var(--accent-soft));
}

.line-item-main,
.line-item-side {
  display: grid;
  gap: 6px;
}

.line-item-main small {
  margin: 0;
  color: var(--muted);
}

.line-item-side {
  justify-items: end;
  text-align: right;
}

.line-item-side strong {
  margin: 0;
}

.history-list {
  padding-left: 20px;
}

.history-list li {
  margin-bottom: 10px;
}

.payment-methods-block {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.payment-methods-block h4 {
  margin: 0;
}

.payment-method-list {
  display: grid;
  gap: 10px;
}

.payment-method-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.payment-method-card.is-selected {
  border-color: rgba(123, 115, 143, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 238, 251, 0.94));
}

.payment-method-card.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.payment-method-card input {
  margin-top: 3px;
}

.payment-method-card strong,
.payment-method-card p {
  margin: 0;
}

.payment-method-card p {
  margin-top: 4px;
  color: var(--muted);
}

.history-list p {
  margin: 4px 0 0;
}

.error-box {
  padding: 18px;
  border-radius: 18px;
  background: #fde7f0;
  color: #9e4a70;
}

.preview-modal {
  width: min(920px, calc(100vw - 32px));
  border: 1px solid rgba(79, 84, 99, 0.1);
  border-radius: 28px;
  padding: 0;
  background: rgba(255, 250, 252, 0.98);
  box-shadow: 0 28px 90px rgba(203, 187, 238, 0.28);
}

.preview-modal::backdrop {
  background: rgba(18, 33, 43, 0.35);
}

.modal-head,
.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.modal-head {
  border-bottom: 1px solid rgba(18, 33, 43, 0.08);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  padding: 24px;
}

.modal-checks ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.modal-checks li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
}

.modal-checks li.ok {
  background: rgba(191, 192, 241, 0.18);
  color: var(--accent);
}

.modal-checks li.warning {
  background: rgba(243, 168, 201, 0.16);
  color: var(--custom);
}

@media (max-width: 720px) {
  body {
    overflow: visible;
  }

  .storefront-shell {
    width: auto;
    height: auto;
    max-height: none;
    min-height: auto;
    transform: none;
    overflow: visible;
  }

  .shell {
    overflow: visible;
    padding-bottom: 32px;
  }

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

  .top-actions {
    justify-content: stretch;
  }

  .top-actions > * {
    flex: 1 1 140px;
  }

  .panel {
    padding: 18px;
  }

  .hero,
  .detail-layout,
  .page-head,
  .cart-layout,
  .checkout-layout,
  .payment-grid,
  .spotlight-grid,
  .editor-workspace,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cart-panel,
  .cart-sidebar,
  .checkout-sidebar {
    position: static;
  }

  .canvas-header,
  .canvas-footer,
  .proof-header,
  .modal-head,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .tracking-form {
    flex-direction: column;
    align-items: stretch;
  }
}