/* =========================================================================
   Layer3D Art — Design tokens
   Signature idea: the site is drawn the way an FDM printer draws an object —
   in horizontal layer lines. Hero, cards and dividers all reuse that motif.
   ========================================================================= */
:root {
  /* Core palette */
  --ink: #14161A;         /* graphite — main dark background, like a print bed */
  --ink-2: #1C1F26;        /* raised dark surface (cards on dark) */
  --ink-3: #262A33;        /* borders / hairlines on dark */
  --paper: #F3F4F6;        /* light section background */
  --paper-2: #FFFFFF;      /* card surface on light */
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-soft-dark: rgba(20, 22, 26, 0.10);

  /* Accents — one per product category, teal is primary brand accent */
  --teal: #00C2A8;
  --violet: #7C5CFF;
  --amber: #FFB020;
  --coral: #FF6B8B;
  --sky: #4EA8FF;

  --text-on-dark: #F4F5F7;
  --text-on-dark-muted: #9AA1AD;
  --text-on-light: #14161A;
  --text-on-light-muted: #5B616E;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-md: 0 12px 32px rgba(10, 11, 14, 0.28);
  --shadow-sm: 0 4px 14px rgba(10, 11, 14, 0.18);

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   Layer-line divider — the recurring structural device between sections
   ========================================================================= */
.layer-rule {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--teal) 0 40px,
    var(--violet) 40px 80px,
    var(--amber) 80px 120px,
    var(--coral) 120px 160px,
    var(--sky) 160px 200px
  );
  opacity: 0.9;
}

/* =========================================================================
   Top bar (announcement)
   ========================================================================= */
.topbar {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  font-family: var(--font-mono);
}
.topbar strong { color: var(--teal); }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  color: var(--text-on-dark);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(160deg, var(--teal), var(--violet));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(20,22,26,0.35) 3px 5px);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { color: var(--text-on-dark-muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text-on-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  color: var(--text-on-dark);
  transition: border-color 0.15s, transform 0.15s;
}
.icon-btn:hover { border-color: var(--teal); transform: translateY(-1px); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  display: none;
  align-items: center;
  justify-content: center;
}
.nav-toggle { display: none; }

/* =========================================================================
   Hero — signature "printed layer by layer" build-up
   ========================================================================= */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 76px 24px 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.18);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 700;
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-on-dark-muted);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--ink-3);
}
.hero-stats .stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
}
.hero-stats .stat-label {
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}

/* the build-up visual */
.print-stage {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.print-nozzle {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 34px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px 6px 3px 3px;
  animation: l3d-nozzle-travel 5.2s ease-in-out infinite;
}
.print-nozzle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
@keyframes l3d-nozzle-travel {
  0%, 100% { left: 30%; }
  50% { left: 70%; }
}
.layer-stack {
  position: relative;
  width: 260px;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.layer-stack .layer {
  height: 30px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  animation: l3d-layer-in 0.5s ease forwards;
}
.layer-stack .layer:nth-child(1) { width: 96%; align-self: center; background: var(--teal); animation-delay: 0.05s; }
.layer-stack .layer:nth-child(2) { width: 100%; background: var(--teal); animation-delay: 0.22s; }
.layer-stack .layer:nth-child(3) { width: 92%; align-self: center; background: var(--sky); animation-delay: 0.39s; }
.layer-stack .layer:nth-child(4) { width: 84%; align-self: center; background: var(--sky); animation-delay: 0.56s; }
.layer-stack .layer:nth-child(5) { width: 88%; align-self: center; background: var(--violet); animation-delay: 0.73s; }
.layer-stack .layer:nth-child(6) { width: 74%; align-self: center; background: var(--violet); animation-delay: 0.90s; }
.layer-stack .layer:nth-child(7) { width: 62%; align-self: center; background: var(--amber); animation-delay: 1.07s; }
.layer-stack .layer:nth-child(8) { width: 46%; align-self: center; background: var(--amber); animation-delay: 1.24s; }
.layer-stack .layer:nth-child(9) { width: 26%; align-self: center; background: var(--coral); animation-delay: 1.41s; }
@keyframes l3d-layer-in {
  to { opacity: 1; transform: translateY(0); }
}
.print-caption {
  position: absolute;
  bottom: -6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.03em;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal);
  color: #05201C;
  box-shadow: 0 10px 24px rgba(0, 194, 168, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(0, 194, 168, 0.38); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink-3);
  color: var(--text-on-dark);
}
.btn-ghost:hover { border-color: var(--teal); }
.btn-dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.btn-dark:hover { background: #0D0F13; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-danger { background: var(--coral); color: #2B0410; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* =========================================================================
   Section headings
   ========================================================================= */
.section { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head .kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-light-muted);
  margin-bottom: 8px;
}

/* =========================================================================
   Category strip
   ========================================================================= */
.category-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.category-card {
  background: var(--paper-2);
  border: 1px solid rgba(20,22,26,0.08);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.category-card .cat-swatch {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0B0C0E;
  margin-bottom: 14px;
}
.category-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.category-card p { font-size: 13px; color: var(--text-on-light-muted); }

/* =========================================================================
   Product grid + cards
   ========================================================================= */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(20,22,26,0.12);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-on-light-muted);
  background: var(--paper-2);
  transition: all 0.15s ease;
}
.chip.is-active, .chip:hover { border-color: var(--ink); color: var(--text-on-light); background: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20,22,26,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #0B0C0E;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 16.5px; line-height: 1.3; }
.product-desc {
  font-size: 13px;
  color: var(--text-on-light-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 16.5px; }
.customizable-note {
  font-size: 11.5px;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-on-light-muted);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* =========================================================================
   Value strip / how it works
   ========================================================================= */
.value-strip {
  background: var(--ink);
  color: var(--text-on-dark);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-item { padding: 26px; border: 1px solid var(--ink-3); border-radius: var(--radius-lg); }
.value-item .value-num { font-family: var(--font-mono); color: var(--teal); font-size: 13px; margin-bottom: 14px; }
.value-item h3 { font-size: 17px; margin-bottom: 8px; }
.value-item p { color: var(--text-on-dark-muted); font-size: 13.5px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--text-on-dark); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; font-family: var(--font-mono); }
.footer-grid ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-grid ul a:hover { color: var(--text-on-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink-3);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================================
   Modal (product quick view / customization)
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.62);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-media { background: var(--ink); aspect-ratio: 1; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20,22,26,0.5);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal { position: relative; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text-on-light-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.field textarea, .field input, .field select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20,22,26,0.15);
  font-size: 14px;
  background: #fff;
  resize: vertical;
}
.field textarea:focus, .field input:focus, .field select:focus { border-color: var(--teal); }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid rgba(20,22,26,0.15); border-radius: 999px; }
.qty-control button { width: 34px; height: 34px; background: none; border: none; font-size: 16px; }
.qty-control span { min-width: 28px; text-align: center; font-family: var(--font-mono); font-weight: 700; }

/* =========================================================================
   Cart page
   ========================================================================= */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(20,22,26,0.08);
}
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: var(--ink); }
.cart-line h4 { font-size: 15px; margin-bottom: 4px; }
.cart-line .cat-label { font-size: 11.5px; color: var(--text-on-light-muted); text-transform: uppercase; font-family: var(--font-mono); }
.cart-note-input {
  margin-top: 8px;
  width: 100%;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20,22,26,0.14);
}
.cart-line-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.link-remove { font-size: 12.5px; color: var(--coral); font-weight: 600; }
.summary-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(20,22,26,0.08);
  position: sticky;
  top: 96px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--text-on-light-muted); }
.summary-row.total { color: var(--text-on-light); font-weight: 700; font-size: 17px; border-top: 1px solid rgba(20,22,26,0.1); padding-top: 14px; margin-top: 14px; }
.summary-row .amt { font-family: var(--font-mono); }

/* =========================================================================
   Checkout
   ========================================================================= */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: none; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--font-display); font-size: 17px; margin-bottom: 16px; padding: 0; }
.mini-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed rgba(20,22,26,0.12); }
.badge-secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-on-light-muted); margin-top: 14px; }

/* =========================================================================
   Admin
   ========================================================================= */
.admin-shell { min-height: 100vh; background: var(--paper); }
.admin-header { background: var(--ink); color: var(--text-on-dark); padding: 20px 0; }
.admin-header .container { display: flex; align-items: center; justify-content: space-between; }
.admin-tabs { display: flex; gap: 6px; margin: 24px 0; }
.admin-tab { padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; color: var(--text-on-light-muted); background: var(--paper-2); border: 1px solid rgba(20,22,26,0.08); }
.admin-tab.is-active { background: var(--ink); color: #fff; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.card { background: var(--paper-2); border-radius: var(--radius-lg); border: 1px solid rgba(20,22,26,0.08); padding: 24px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(20,22,26,0.08); vertical-align: middle; }
th { font-family: var(--font-mono); text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; color: var(--text-on-light-muted); }
td img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--ink); }
.status-pill { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: capitalize; }
.status-pending { background: #FFF3D6; color: #8A5A00; }
.status-confirmed { background: #DDF3EE; color: #0B7D65; }
.status-printing { background: #E6E0FF; color: #4A2FD8; }
.status-shipped { background: #DCEBFF; color: #1758B8; }
.status-delivered { background: #DFF6DA; color: #1E7A0E; }
.status-cancelled { background: #FBDCE1; color: #A8123B; }
.login-box { max-width: 380px; margin: 90px auto; padding: 32px; }
.row-actions { display: flex; gap: 8px; }

/* =========================================================================
   Toasts
   ========================================================================= */
.toast-stack { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 200; }
.toast {
  background: var(--ink);
  color: #fff;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  border-left: 3px solid var(--teal);
}
.toast--error { border-left-color: var(--coral); }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   Misc pages (empty cart / success)
   ========================================================================= */
.state-page { text-align: center; padding: 100px 24px; }
.state-page .glyph { font-size: 46px; margin-bottom: 18px; }
.state-page h2 { margin-bottom: 10px; }
.state-page p { color: var(--text-on-light-muted); margin-bottom: 26px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .print-stage { height: 280px; order: -1; }
  .category-strip { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16/9; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}
