/* ============================================================
   DeMa — Design System & Global Styles
   Refined editorial minimalism for a print studio
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Colors — warm paper / deep ink / vermillion accent */
  --bg: #F5F2EA;
  --bg-alt: #EFEBE0;
  --card: #FFFFFF;
  --ink: #0F0F0F;
  --ink-soft: #2A2A2A;
  --muted: #7A7570;
  --line: #E5E0D5;
  --line-strong: #D6D0BF;
  --accent: #DC4C2C;
  --accent-soft: #F4DDD2;
  --accent-dark: #B83A1F;
  --success: #2F7D4C;
  --warning: #C77D2E;
  --danger: #C73E2C;

  /* Type */
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadows — restrained */
  --shadow-sm: 0 1px 2px rgba(15,15,15,.04), 0 0 0 1px rgba(15,15,15,.04);
  --shadow-md: 0 4px 14px rgba(15,15,15,.06), 0 0 0 1px rgba(15,15,15,.05);
  --shadow-lg: 0 18px 48px rgba(15,15,15,.10), 0 0 0 1px rgba(15,15,15,.05);

  /* Container */
  --container: 1240px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}
.h-display {
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: -0.025em;
  line-height: 0.96;
}
.h-display em {
  font-style: italic;
  color: var(--accent);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 1em; max-width: 62ch; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--muted);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--hero { padding: calc(var(--s-9) + 40px) 0 var(--s-9); }

@media (max-width: 768px) {
  .section { padding: var(--s-8) 0; }
  .section--hero { padding: var(--s-7) 0 var(--s-7); }
  :root { --gutter: 18px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245,242,234,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.nav__brand em { font-style: italic; color: var(--accent); }
.nav__brand .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-left: 2px; vertical-align: super;
}
.nav__menu {
  display: flex; align-items: center; gap: var(--s-6);
}
.nav__link {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav__toggle {
  display: none; width: 36px; height: 36px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }

@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { position: sticky !important; top: 0; z-index: 1000 !important; background: var(--bg); }
  .nav__menu.is-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: var(--bg) !important;
    padding: 80px var(--gutter) var(--s-6);
    gap: var(--s-5);
    z-index: 999 !important;
    overflow-y: auto;
  }
  .nav__menu.is-open .nav__link { font-size: 28px; font-family: var(--font-display); }
  /* Prevent body scroll behind open menu */
  body.nav-open { overflow: hidden; position: fixed; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 15px; font-weight: 500;
  border-radius: var(--r-pill);
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink); color: #fff;
}
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(220,76,44,.25); }
.btn--accent {
  background: var(--accent); color: #fff;
}
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.btn--light:hover { border-color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.arrow {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .6; mix-blend-mode: multiply;
}
.hero__inner { position: relative; z-index: 1; }
.hero__lead {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
.hero__title { margin-bottom: var(--s-5); }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub {
  font-size: 18px; color: var(--ink-soft);
  max-width: 42ch; margin-bottom: var(--s-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__meta {
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  font-size: 13px; color: var(--muted);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.hero__meta strong { color: var(--ink); display: block; font-weight: 500; font-size: 14px; }
.hero__visual {
  margin-top: var(--s-7);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  aspect-ratio: 16/8;
}
@media (max-width: 900px) {
  .hero__lead { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__visual { aspect-ratio: 4/3; }
}

/* ---------- Card ---------- */
.card {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: var(--s-6);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card__num {
  font-family: var(--font-display);
  font-size: 14px; color: var(--accent);
  margin-bottom: var(--s-4);
  display: block;
}
.card__title { margin-bottom: var(--s-3); }
.card__body { color: var(--ink-soft); font-size: 15px; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; margin-top: var(--s-4);
  color: var(--accent); font-weight: 500;
}

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

.product {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 360px;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__visual {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product__body { padding: var(--s-5) var(--s-5) var(--s-6); }
.product__tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.product__title { margin-bottom: var(--s-2); font-size: 26px; }
.product__desc { color: var(--ink-soft); font-size: 14px; margin-bottom: var(--s-4); }
.product__cta { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 14px; }
.product__cta .arrow { color: var(--accent); }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature__num {
  font-family: var(--font-display); font-size: 32px;
  color: var(--accent); display: block; line-height: 1;
  margin-bottom: var(--s-3);
}
.feature__title { font-size: 16px; font-weight: 500; margin-bottom: var(--s-2); }
.feature__desc { font-size: 14px; color: var(--muted); }

/* ---------- Section heading ---------- */
.section-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-7);
  align-items: end; margin-bottom: var(--s-7);
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: var(--s-4); } }
.section-head__intro p { font-size: 17px; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: var(--s-6);
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
@media (max-width: 900px) {
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}
.step__num {
  font-family: var(--font-display);
  font-size: 56px; color: var(--accent);
  display: block; line-height: 1;
  margin-bottom: var(--s-4);
}
.step__title { font-size: 18px; font-weight: 500; margin-bottom: var(--s-3); }
.step__desc { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #E8E5DD;
  padding: var(--s-9) 0 var(--s-5);
  margin-top: var(--s-9);
}
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.footer__brand {
  font-family: var(--font-display);
  font-size: 56px; line-height: 1;
  color: #fff;
}
.footer__brand em { font-style: italic; color: var(--accent); }
.footer__tag { color: #B8B4AA; margin-top: var(--s-3); max-width: 32ch; }
.footer h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8B8680; margin-bottom: var(--s-4); font-weight: 500;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: #B8B4AA; transition: color .2s; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  font-size: 13px; color: #8B8680;
}
@media (max-width: 600px) { .footer__bottom { flex-direction: column; gap: var(--s-3); text-align: center; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field__label {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15,15,15,.06);
}
.field__textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Banner / upsell ---------- */
.banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s-5); align-items: center;
}
@media (max-width: 700px) { .banner { grid-template-columns: 1fr; } }
.banner h3 { color: #fff; margin-bottom: 6px; }
.banner p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }
.banner .btn--accent { background: var(--accent); }

/* ---------- Marquee for trust strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.strip__track {
  display: flex; gap: var(--s-8);
  animation: scroll 32s linear infinite;
  white-space: nowrap;
}
.strip__item {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-soft);
  font-style: italic;
}
.strip__item::after {
  content: "✦"; margin-left: var(--s-8);
  color: var(--accent); font-style: normal;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Utility ---------- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.italic { font-style: italic; }
.serif { font-family: var(--font-display); }
.center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); } .gap-5 { gap: var(--s-5); }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff;
  padding: 14px 20px; border-radius: var(--r-pill);
  font-size: 14px; z-index: 1000;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-lg);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,15,15,0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--gutter);
  animation: fadeIn .25s ease;
}
.modal.is-open { display: flex; }
.modal__panel {
  background: var(--card);
  border-radius: var(--r-lg);
  max-width: 520px; width: 100%;
  padding: var(--s-7);
  position: relative;
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
.modal__close {
  position: absolute; top: var(--s-4); right: var(--s-4);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--muted);
}
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- Reveal animation on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- Cart badge ---------- */
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600;
  margin-left: 4px;
}

/* ---------- Print mockup visual ---------- */
.print-mockup {
  position: relative; width: 100%; height: 100%;
  background:
    linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.print-mockup__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: var(--s-5); }
}

.cart-list {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: none; }
.cart-line__thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent);
  border: 1px solid var(--line);
}
.cart-line__title { font-weight: 500; margin-bottom: 4px; }
.cart-line__meta { font-size: 13px; color: var(--muted); }
.cart-line__price { font-weight: 500; }
.cart-line__remove {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff; color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.cart-line__remove:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.cart-empty {
  padding: var(--s-7) var(--s-5);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.cart-empty__icon {
  font-size: 38px; color: var(--accent); margin-bottom: var(--s-3);
}

.cart-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  position: sticky;
  top: 100px;
}
.cart-summary__row {
  display: flex; justify-content: space-between;
  padding: var(--s-2) 0;
  font-size: 14px; color: var(--ink-soft);
}
.cart-summary__row--total {
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  margin-top: var(--s-2);
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  color: var(--ink);
}
.cart-summary h3 {
  margin-bottom: var(--s-3);
  font-family: "Instrument Serif", serif;
  font-size: 22px;
}

/* Checkout form */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 520px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* Order success */
.success-card {
  max-width: 640px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-7) var(--s-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.success-check {
  width: 72px; height: 72px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 10px 24px rgba(220,76,44,.3);
}

/* Stat grid (about page) */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-6) 0;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: "Instrument Serif", serif;
  font-size: 48px; line-height: 1;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.stat__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Custom print page — mockup canvas */
.mockup-stage {
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: var(--s-5);
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
  position: relative;
}
.mockup-tee {
  position: relative;
  width: 380px; height: 440px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.mockup-design {
  position: absolute;
  top: 30%; left: 50%; transform: translateX(-50%);
  width: 40%;
  pointer-events: none;
}
.mockup-design img { width: 100%; display: block; }

/* Two column intro */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-6); align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Utility: hidden ---------- */
.hidden { display: none !important; }

/* ---------- Spinner (button loading) ---------- */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
