/* Client-ready brand, typography, and responsive refinements.
   The font files are included locally in /fonts, so these styles work offline. */
:root {
  --font-head: "Haffer", "Euclid Circular A", "Arial Narrow", sans-serif;
  --font-body: "Euclid Circular A", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Haffer", var(--font-head);
  --font-alt: "Euclid Circular A", var(--font-body);
}

/* Existing HTML has a few inline font declarations; keep the supplied families
   consistent across every page and every custom homepage section. */
html body {
  font-family: var(--font-body) !important;
}

#fpsHero,
#fpsFeatures,
#wcu,
.process,
#categories {
  font-family: var(--font-body) !important;
}

#wcu .wcu-btn {
  font-family: var(--font-body) !important;
}

#categories #grid > div > div:first-child > .category-watermark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 68%;
  height: auto;
  object-fit: contain;
  opacity: 0.46;
  transform: translate(-50%, -50%) rotate(-24deg) scale(0.96);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.24));
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  #categories #grid > div:hover > div:first-child > .category-watermark {
    opacity: 0.6;
    transform: translate(-50%, -50%) rotate(-24deg) scale(1);
  }

  #categories #grid > div > div:first-child > img:first-child {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #categories #grid > div:hover > div:first-child > img:first-child {
    transform: scale(1.055);
  }
}

/* Keep all five steps aligned on wide screens; make a readable grid instead
   of a tall, narrow stack on tablets and phones. */
/* .process .steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(0.55rem, 1.25vw, 1rem);
}

.process .step {
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 224px;
  flex: none;
  padding: clamp(1.2rem, 2.1vw, 1.8rem) clamp(0.8rem, 1.4vw, 1.2rem) 2rem;
  border: 1px solid rgba(42, 119, 227, 0.1);
  transition: opacity 0.5s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.process .step h3 {
  margin-top: clamp(0.9rem, 1.8vw, 1.5rem);
  font-family: var(--font-head);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  line-height: 1.15;
  white-space: normal;
}

.process .step p {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.95vw, 0.84rem);
  line-height: 1.5;
}

.process .num {
  font-family: var(--font-head);
  font-size: clamp(2.7rem, 4.5vw, 4rem);
}

.process .dash {
  display: none;
}

.process .icon {
  left: 1rem;
  bottom: -1.2rem;
  width: 3.1rem;
  height: 3.1rem;
}

.process .icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.process .step.in:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(16, 46, 97, 0.16);
}

@media (max-width: 980px) {
  .process .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .process .step {
    min-height: 208px;
  }
}

@media (max-width: 640px) {
  .process {
    padding: 3.2rem 1rem 4.5rem;
  }

  .process .eyebrow {
    gap: 0.7rem;
    font-size: 1rem;
  }

  .process .eyebrow::before,
  .process .eyebrow::after {
    width: clamp(1.5rem, 9vw, 3rem);
  }

  .process h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.45rem);
    line-height: 1.08;
  }

  .process .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.6rem;
  }

  .process .step {
    min-height: 190px;
    padding: 1.1rem 0.8rem 1.8rem;
    border-radius: 14px;
  }

  .process .step h3 {
    margin-top: 0.8rem;
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
  }

  .process .step p {
    font-size: 0.76rem;
  }

  .process .num {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .process .icon {
    left: 0.7rem;
    bottom: -0.8rem;
    width: 2.55rem;
    height: 2.55rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 8px 16px rgba(42, 119, 227, 0.2);
  }

  .process .icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }
}

@media (max-width: 360px) {
  .process .steps {
    gap: 0.65rem;
  }

  .process .step {
    min-height: 178px;
    padding-inline: 0.65rem;
  }

  .process .step p {
    font-size: 0.72rem;
  }
} */

/* A restrained float complements the blue-lit hero without distracting from
   the product photography. */
.fh-mock {
  animation: brand-shirt-float 5.5s ease-in-out infinite;
}

@keyframes brand-shirt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #55a0ff;
  outline-offset: 3px;
}

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


/* ===== Design Now category cards: 1808 x 2048 ===== */
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cat-card { background: #0b0f16; }
.cat-card .cat-ph { aspect-ratio: 1808 / 2048; width: 100%; border: none; border-radius: 0; }
.cat-card .cat-ph img { object-fit: cover; }
.cat-over { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 3.2rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 55%, transparent 100%); text-align: left; }
.cat-over h3 { font-size: 1.2rem; color: #fff; }
.cat-over p { font-size: .8rem; color: rgba(255,255,255,.78); }
.cat-over .tag { color: #fff; border-color: rgba(255,255,255,.5); }
.cat-btn-wrap { padding: .9rem 1rem 1.1rem; }
@media (max-width: 640px) { .cat-over p { display: none; } .cat-over h3 { font-size: .95rem; } .cat-btn-wrap { padding: .6rem .6rem .8rem; } }

/* ===== Customize page ===== */
.cz-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
.cz-stage-wrap { position: sticky; top: calc(var(--nav-h, 80px) + 16px); }
.cz-stage { position: relative; width: 100%; aspect-ratio: 800 / 920; max-height: 78vh; margin-inline: auto; background: #f4f6fa; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.cz-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.cz-logo { position: absolute; cursor: grab; outline: 1.5px dashed rgba(0,111,232,.0); touch-action: none; }
.cz-logo:hover, .cz-logo.is-active { outline-color: #006BE8; }
.cz-logo.is-active { cursor: grabbing; }
.cz-logo img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; display: block; }
.cz-handle { position: absolute; right: -9px; bottom: -9px; width: 20px; height: 20px; border-radius: 50%; background: #006BE8; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); cursor: nwse-resize; touch-action: none; }
.cz-hint { margin-top: .7rem; font-size: .84rem; text-align: center; color: var(--muted); }
.cz-panel { display: grid; gap: 1.6rem; }
.cz-opt h4 { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: .95rem; letter-spacing: .1em; }
.cz-opt h4 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: #006BE8; color: #fff; }
.cz-link { display: inline-block; margin-top: .7rem; font-size: .84rem; color: var(--red); font-weight: 600; }
.cz-thanks { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 1rem; background: rgba(0,0,0,.72); overflow-y: auto; }
.cz-thanks.show { display: grid; }
.cz-thanks-card { width: min(480px, 100%); padding: 2rem 1.5rem; text-align: center; background: #fff; color: #10131a; border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: fadeSlide .5s var(--ease); }
.cz-thanks-card h3 { color: #10131a; margin: .8rem 0 .5rem; }
.cz-thanks-card p { color: #3a4150; }
.cz-thanks-card .confirm-icon { margin-inline: auto; }
.cz-final { display: block; max-width: 220px; margin: 1.1rem auto 0; border: 1px solid #dde3ee; border-radius: 12px; }
@media (max-width: 860px) { .cz-layout { grid-template-columns: 1fr; } .cz-stage-wrap { position: static; } .cz-stage { max-height: 70vh; max-width: 520px; } }


/* ==========================================================================
   Customize page: quantity option + order details form
   ========================================================================== */
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.qty-control input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.qty-control input[type="number"]::-webkit-outer-spin-button,
.qty-control input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control button:disabled { opacity: .35; cursor: not-allowed; }
.qty-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.qty-chip { min-width: 52px; height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 100px; font-family: var(--font-head); font-size: .9rem; transition: all .3s var(--ease); }
.qty-chip:hover { border-color: #0a6ae8; transform: translateY(-2px); }
.qty-chip.active { background: #0a6ae8; border-color: transparent; color: #fff; }
.qty-total { margin-top: .9rem; font-size: .92rem; color: var(--ink); }
.qty-total strong { color: #006BE8; font-size: 1.1rem; }
.qty-total small { display: block; margin-top: .2rem; font-size: .76rem; color: var(--muted); }

.cz-order { position: fixed; inset: 0; z-index: 1001; display: none; place-items: center; padding: 1rem; background: rgba(0,0,0,.72); overflow-y: auto; }
.cz-order.show { display: grid; }
.cz-order-card { position: relative; width: min(500px, 100%); margin: auto; padding: 1.8rem 1.5rem 1.6rem; background: #fff; color: #10131a; border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: fadeSlide .45s var(--ease); }
.cz-order-card h3 { color: #10131a; margin: 0 2rem .3rem 0; }
.cz-order-sub { color: #3a4150; font-size: .88rem; }
.cz-order-close { position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: #3a4150; transition: background .25s; }
.cz-order-close:hover { background: #eef2f9; }
.cz-order-summary { display: flex; align-items: center; gap: .9rem; margin: 1.1rem 0 .3rem; padding: .7rem; background: #f4f7fc; border: 1px solid #dde3ee; border-radius: var(--r-md); }
.cz-order-summary img { width: 64px; height: 72px; flex: none; object-fit: contain; background: #fff; border: 1px solid #dde3ee; border-radius: 8px; }
.cz-order-summary div { min-width: 0; }
.cz-order-summary strong { display: block; font-size: .95rem; color: #10131a; }
.cz-order-summary span { display: block; font-size: .8rem; color: #3a4150; }
.cz-order-summary .sum-total { color: #006BE8; font-weight: 600; }
.cz-order .field-group label { color: #3a4150; }
.cz-order .field-group textarea { resize: vertical; min-height: 84px; }
.cz-order .field-group.invalid input, .cz-order .field-group.invalid textarea { border-color: #d93025; box-shadow: 0 0 0 3px rgba(217,48,37,.12); }
.field-error { min-height: 0; font-size: .76rem; color: #d93025; }
.cz-thanks-meta { margin-top: .6rem; font-size: .85rem; }
body.cz-lock { overflow: hidden; }

/* Unique product ID labels */
.prod-id { margin: -.1rem 0 .5rem; font-size: .74rem; letter-spacing: .06em; color: var(--muted); font-family: var(--font-head); }
.prod-id-line { margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.prod-id-line strong { color: var(--ink); letter-spacing: .06em; }
