:root {
  --navy-deep: #0f1b33;
  --navy-deep-rgb: 15, 27, 51;
  --navy: #182a4d;
  --navy-light: #2c3e63;
  --orange: #f2711a;
  --orange-light: #ffa552;
  --cream: #f7f6f2;
  --paper: #ffffff;
  --ink: #181c24;
  --gray: #63687a;
  --line: #e4e1d8;
  --radius: 14px;
  --maxw: 1180px;
  --hero-grad-1: #1e3459;
  --hero-grad-3: #0a1225;
  --shadow-tint: rgba(242, 113, 26, 0.55);
  --shadow-tint-strong: rgba(242, 113, 26, 0.65);
  color-scheme: light;
}
[data-theme="dark"] {
  --navy-deep: #141110;
  --navy-deep-rgb: 20, 17, 16;
  --navy: #1f1a16;
  --navy-light: #2c231c;
  --orange: #d9a55c;
  --orange-light: #e8c088;
  --cream: #161311;
  --paper: #1d1815;
  --ink: #f2eee7;
  --gray: #b0a79a;
  --line: #332c25;
  --radius: 6px;
  --hero-grad-1: #1f1b16;
  --hero-grad-3: #0a0908;
  --shadow-tint: rgba(217, 165, 92, 0.35);
  --shadow-tint-strong: rgba(217, 165, 92, 0.45);
  color-scheme: dark;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
}
.mono {
  font-family: "JetBrains Mono", monospace;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section {
  position: relative;
}

/* layer-line texture divider, echoes FDM print layers */
.layer-lines {
  height: 26px;
  width: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--line) 0px,
    var(--line) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.6;
}
.layer-lines.dark {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.12) 0px,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 5px
  );
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 27, 51, 0);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}
header.scrolled {
  background: rgba(var(--navy-deep-rgb), 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.4s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: 0.2px;
}
.brand-name span {
  color: var(--orange-light);
}
nav.links {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
nav.links a:hover {
  color: #fff;
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.8;
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(var(--navy-deep-rgb), 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
nav.links .nav-drop-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
}
nav.links .nav-drop-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.mobile-print-submenu {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  margin: -4px 0 4px;
}
.mobile-print-submenu a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 7px 0 !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 6px 18px -6px var(--shadow-tint);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px var(--shadow-tint-strong);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ===== SOCIAL SIDEBAR ===== */
.social-rail {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.social-rail::before,
.social-rail::after {
  content: "";
  width: 1px;
  height: 34px;
  background: var(--line);
}
.social-rail a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  box-shadow: 0 4px 14px -6px rgba(15, 27, 51, 0.18);
}
[data-theme="dark"] .social-rail a {
  color: var(--ink);
}
.social-rail a svg {
  width: 19px;
  height: 19px;
}
.social-rail a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateX(3px) scale(1.06);
}
@media (max-width: 980px) {
  .social-rail {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 12px 0;
    width: 100%;
  }
  .social-rail::before,
  .social-rail::after {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  background: radial-gradient(
    120% 140% at 15% -10%,
    var(--hero-grad-1) 0%,
    var(--navy-deep) 55%,
    var(--hero-grad-3) 100%
  );
  color: #fff;
  padding: 150px 0 90px;
  overflow: hidden;
  position: relative;
  transition: background 0.4s ease;
}
.hex-field {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(
      30deg,
      transparent 24%,
      rgba(255, 255, 255, 0.5) 24.5%,
      rgba(255, 255, 255, 0.5) 25.5%,
      transparent 26%,
      transparent 74%,
      rgba(255, 255, 255, 0.5) 74.5%,
      rgba(255, 255, 255, 0.5) 75.5%,
      transparent 76%
    ),
    linear-gradient(
      150deg,
      transparent 24%,
      rgba(255, 255, 255, 0.5) 24.5%,
      rgba(255, 255, 255, 0.5) 25.5%,
      transparent 26%,
      transparent 74%,
      rgba(255, 255, 255, 0.5) 74.5%,
      rgba(255, 255, 255, 0.5) 75.5%,
      transparent 76%
    );
  background-size: 64px 110px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--orange-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--orange-light);
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange-light);
}
.hero p.lede {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-draw {
  width: 100%;
  max-width: 400px;
}
.hex-draw path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.3s;
}
.hex-draw .inner-z {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw 1.1s ease forwards 2.1s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.stat-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.stat-chip b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}
.chip-1 {
  top: 6%;
  left: -4%;
  animation-delay: 2.4s;
}
.chip-2 {
  bottom: 10%;
  right: -2%;
  animation-delay: 2.6s;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION HEADERS ===== */
.sec-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.sec-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--orange);
}
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--navy-deep);
}
.sec-head p {
  color: var(--gray);
  font-size: 15.5px;
  margin-top: 14px;
  line-height: 1.6;
}

section.pad {
  padding: 96px 0;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px -18px rgba(15, 27, 51, 0.28);
  border-color: transparent;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 70px;
  height: 70px;
  background: var(--cream);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.svc-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--orange);
}
.svc-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.svc-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.svc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gray);
  opacity: 0.6;
  position: absolute;
  top: 22px;
  right: 20px;
}

/* ===== PRINT IDEAS ===== */
.print-ideas {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.print-idea-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: -22px 0 22px;
}
.print-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 260px;
}
.print-select-wrap label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.print-select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 42px 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray) 50%),
    linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.print-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 113, 26, 0.14);
}
.print-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--gray);
  padding-bottom: 12px;
}
.print-scroll {
  max-height: 470px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 10px 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}
.print-scroll::-webkit-scrollbar {
  width: 8px;
}
.print-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.print-scroll::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
}
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.print-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 342px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.print-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -18px rgba(15, 27, 51, 0.24);
  border-color: transparent;
}
.print-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.print-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.print-card:hover .print-photo img {
  transform: scale(1.04);
}
.print-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.print-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(242, 113, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 14px;
}
.print-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.print-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.print-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.print-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 18px;
}
.print-tags span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--navy-deep);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
}
[data-theme="dark"] .print-card h3 {
  color: var(--ink);
}
[data-theme="dark"] .print-tags span {
  color: var(--ink);
  background: #241e1a;
  border-color: #3d342c;
}
[data-theme="dark"] .sec-head h2,
[data-theme="dark"] .svc-card h3,
[data-theme="dark"] .prod-body h4,
[data-theme="dark"] .about-copy h2,
[data-theme="dark"] .about-loc {
  color: var(--ink);
}
.print-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.print-link:hover {
  color: var(--orange-light);
}

/* ===== PROCESS ===== */
.process-band {
  background: var(--navy-deep);
  padding: 70px 0;
  color: #fff;
  position: relative;
}
.process-head {
  max-width: 620px;
  margin-bottom: 42px;
}
.process-head .sec-eyebrow {
  color: var(--orange-light);
}
.process-head .sec-eyebrow::before {
  background: var(--orange-light);
}
.process-head h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.01em;
}
.process-head > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.65;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proc-step {
  padding: 0 26px;
  position: relative;
}
.proc-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.12);
}
.proc-step .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--orange-light);
  font-size: 13px;
  margin-bottom: 14px;
}
.proc-step h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.proc-step p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

/* ===== PORTFOLIO ===== */
.folio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.folio-card {
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: transform 0.3s ease;
}
.folio-card:hover {
  transform: translateY(-6px);
}
.folio-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.folio-art svg {
  width: 62%;
  height: 62%;
}
.folio-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}
.folio-card h4 {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.folio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

/* ===== STORE ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.featured-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.featured-products-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.prod-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.prod-card:hover {
  box-shadow: 0 18px 34px -18px rgba(15, 27, 51, 0.25);
  transform: translateY(-4px);
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.catalog-search {
  position: relative;
  max-width: 420px;
}
.catalog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--gray);
  pointer-events: none;
}
.catalog-search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.catalog-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 113, 26, 0.14);
}
.catalog-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--gray);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.catalog-pill:hover {
  border-color: var(--orange);
  color: var(--navy-deep);
}
.catalog-pill.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}
[data-theme="dark"] .catalog-pill.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #181410;
}
.catalog-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--gray);
}
.no-results {
  padding: 60px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 14.5px;
  display: none;
}
.no-results.show {
  display: block;
}

/* ===== CORPORATE ===== */
.corp-band {
  background: var(--navy-deep);
  color: #fff;
}
.corp-band .sec-eyebrow {
  color: var(--orange-light);
}
.corp-band .sec-eyebrow::before {
  background: var(--orange-light);
}
.corp-band .sec-head h2 {
  color: #fff;
}
.corp-band .sec-head p {
  color: rgba(255, 255, 255, 0.65);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.tier-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}
.tier-card.selected {
  border-color: var(--orange-light);
  background: rgba(242, 113, 26, 0.08);
}
.tier-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.tier-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tier-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 10px;
}
.tier-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
.tier-card ul {
  list-style: none;
  margin-bottom: 18px;
  flex: 1;
}
.tier-card li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tier-card li:first-child {
  border-top: none;
}
.tier-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  color: #fff;
  margin-bottom: 16px;
}
.tier-price span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.tier-select-btn {
  padding: 10px;
  border-radius: 9px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tier-select-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.tier-card.selected .tier-select-btn {
  background: var(--orange);
  border-color: var(--orange);
}

.corp-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 32px;
}
.corp-divider .line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.corp-divider span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.custom-bulk-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 6px 0 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.custom-bulk-card:hover,
.custom-bulk-card.selected {
  border-color: rgba(255, 255, 255, 0.28);
}
.custom-bulk-card.selected {
  border-color: var(--orange-light);
  background: rgba(242, 113, 26, 0.1);
}
.custom-bulk-card span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.custom-bulk-card p {
  max-width: 660px;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.quote-form {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 30px;
}
.quote-form[hidden] {
  display: none !important;
}
.quote-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quote-form .field {
  margin-bottom: 16px;
}
.quote-form label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 7px;
}
.quote-form .bulk-hint {
  font-size: 12px;
  color: var(--orange-light);
  margin-top: 6px;
}
.quote-form input[type="text"],
.quote-form input[type="number"],
.quote-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 11px 13px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
}
.quote-form textarea {
  min-height: 70px;
  resize: vertical;
}
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--orange-light);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.check-row input {
  accent-color: var(--orange);
  width: 17px;
  height: 17px;
}
.keychain-options {
  flex-wrap: wrap;
}
.keychain-type-field > label {
  white-space: nowrap;
}
.keychain-option {
  white-space: nowrap;
}
.field .keychain-option input[type="radio"] {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
  padding: 0;
}
.selection-summary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 6px 0 18px;
  min-height: 18px;
}
.selection-summary b {
  color: #fff;
}
.corp-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.emp-add-row {
  display: flex;
  gap: 8px;
}
.emp-add-row input {
  flex: 1;
}
.emp-add-btn {
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.emp-add-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.emp-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.emp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
}
.emp-row .emp-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--orange-light);
  font-size: 12px;
  min-width: 32px;
}
.emp-row .emp-name {
  flex: 1;
  color: #fff;
  font-size: 13.5px;
}
.emp-row .emp-remove {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  font-size: 17px;
  line-height: 1;
  padding: 2px 4px;
}
.emp-row .emp-remove:hover {
  color: var(--orange-light);
}
.emp-count-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

@media (max-width: 980px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .custom-bulk-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .quote-form .row2 {
    grid-template-columns: 1fr;
  }
}
.prod-thumb {
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--paper) 88%, var(--orange) 12%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* padding: 12px; */
}
.prod-thumb svg {
  width: 52%;
  height: 52%;
}
.prod-thumb img {
  width: 100%;
  height: 100%;
  /* object-fit: fill; */
}
.prod-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.prod-body h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy-deep);
}
.prod-body p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
}
.prod-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: var(--orange);
  font-weight: 500;
}
.prod-btn {
  margin-top: 6px;
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  background: var(--cream);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.prod-btn:hover {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
}
[data-theme="dark"] .prod-btn:not(.prod-btn-primary) {
  background: #2a231e;
  color: var(--ink);
  border-color: #493d33;
}
[data-theme="dark"] .prod-btn:not(.prod-btn-primary):hover {
  background: #3a312a;
  color: #ffffff;
  border-color: #8d7c6d;
}

/* ===== PRODUCTS PAGE ===== */
.products-page {
  padding-top: 78px;
}
.products-page header {
  background: rgba(var(--navy-deep-rgb), 0.96);
}
.products-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.products-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.products-mobile-menu {
  display: none;
  flex-direction: column;
  padding-bottom: 18px;
}
.products-mobile-menu a {
  padding: 10px 0;
  color: #fff;
}
.products-hero {
  background:
    radial-gradient(
      circle at 78% 32%,
      rgba(242, 113, 26, 0.18),
      transparent 25%
    ),
    linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-3));
  color: #fff;
  padding: 86px 0 78px;
  overflow: hidden;
}
.products-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 60px;
  align-items: end;
}
.products-hero .sec-eyebrow {
  color: var(--orange-light);
}
.products-hero .sec-eyebrow::before {
  background: var(--orange-light);
}
.products-hero h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.products-hero h1 span {
  color: var(--orange-light);
}
.products-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
}
.products-hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 0 8px 30px;
  display: flex;
  flex-direction: column;
}
.products-hero-stat strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 58px;
  line-height: 1;
  color: var(--orange-light);
}
.products-hero-stat span {
  font-size: 14px;
  color: #fff;
  margin-top: 8px;
}
.products-hero-stat small {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 22px;
}
.products-catalog {
  min-height: 580px;
}
.products-controls {
  display: grid;
  grid-template-columns: minmax(250px, 420px) 1fr auto;
  align-items: center;
  gap: 18px 26px;
}
.products-controls .catalog-search {
  max-width: none;
}
.products-grid {
  margin-top: 10px;
}
.product-photo-card .prod-thumb {
  overflow: hidden;
  background: color-mix(in srgb, var(--paper) 88%, var(--orange) 12%);
}
.product-photo-card .prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.4s ease;
}
.product-photo-card {
  content-visibility: auto;
  contain-intrinsic-size: 390px 560px;
}
.product-photo-card .prod-thumb img {
  aspect-ratio: 4 / 3;
}
.product-photo-card:hover .prod-thumb img {
  transform: none;
}
.store-grid .prod-card:not(.product-photo-card) .prod-thumb {
  background: transparent;
}
.store-grid .prod-card:not(.product-photo-card) .prod-thumb img {
  object-fit: contain;
}
.product-photo-card .prod-body h2 {
  font-size: 17px;
  color: var(--navy-deep);
}
[data-theme="dark"] .product-photo-card .prod-body h2 {
  color: var(--ink);
}
.product-category {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.products-page .no-results a {
  color: var(--orange);
  font-weight: 600;
}
.products-cta {
  background: var(--navy-deep);
  color: #fff;
  padding: 70px 0;
}
.products-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.products-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 10px;
}
.products-cta p {
  color: rgba(255, 255, 255, 0.62);
}
.products-cta .sec-eyebrow {
  color: var(--orange-light);
}
.products-cta .sec-eyebrow::before {
  background: var(--orange-light);
}
.cart-link {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}
.mobile-cart-link {
  position: relative;
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
}
.nav-logout {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.nav-logout:hover {
  border-color: var(--orange-light);
  background: rgba(242, 113, 26, 0.12);
  color: var(--orange-light);
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin-top: 6px;
}
.product-actions .prod-btn {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}
.prod-btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.prod-btn-primary:hover,
.prod-btn-primary.added {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}
.product-detail-section,
.cart-section {
  min-height: 70vh;
  padding: 70px 0 90px;
}
.back-link {
  display: inline-block;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 30px;
}
.back-link:hover {
  color: var(--orange);
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.product-detail-image {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  padding: 18px;
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail-copy h1,
.cart-section > div > h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  margin: 14px 0 18px;
  color: var(--navy-deep);
}
[data-theme="dark"] .product-detail-copy h1,
[data-theme="dark"] .cart-section > div > h1 {
  color: var(--ink);
}
.product-detail-price {
  font-family: "JetBrains Mono", monospace;
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 24px;
}
.product-detail-copy > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}
.product-detail-copy ul {
  list-style: none;
  margin-bottom: 28px;
}
.product-detail-copy li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--gray);
}
.product-detail-copy li::before {
  content: "✓";
  color: var(--orange);
  margin-right: 10px;
}
.quantity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}
.quantity-row input,
.cart-item-controls input {
  width: 70px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-whatsapp {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.add-status {
  min-height: 20px;
  color: var(--orange);
  font-size: 13px;
  margin-top: 14px;
}
.product-missing,
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.product-missing p,
.empty-cart p {
  color: var(--gray);
  margin: 12px 0 24px;
}
.cart-section > div > h1 {
  margin: 14px 0 40px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: start;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-item > img {
  width: 120px;
  height: 110px;
  object-fit: contain;
  background: color-mix(in srgb, var(--paper) 88%, var(--orange) 12%);
  border-radius: 10px;
  padding: 8px;
}
.cart-item h2 {
  font-size: 18px;
  margin: 7px 0 10px;
  color: var(--navy-deep);
}
[data-theme="dark"] .cart-item h2 {
  color: var(--ink);
}
.cart-item-controls {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}
.cart-item-controls label {
  font-size: 12px;
  color: var(--gray);
}
.cart-item-controls button,
.clear-cart {
  border: 0;
  background: none;
  color: var(--gray);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.cart-item-controls button:hover,
.clear-cart:hover {
  color: var(--orange);
}
.cart-summary {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.cart-summary h2 {
  font-size: 21px;
  margin-bottom: 22px;
  color: var(--navy-deep);
}
[data-theme="dark"] .cart-summary h2 {
  color: var(--ink);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cart-summary p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
  margin: 20px 0;
}
.cart-checkout {
  width: 100%;
  justify-content: center;
}
.clear-cart {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 980px) {
  .products-controls {
    grid-template-columns: 1fr;
  }
  .products-hero-inner {
    grid-template-columns: 1fr;
  }
  .products-hero-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px 0 0;
  }
}
@media (max-width: 760px) {
  .products-page {
    padding-top: 68px;
  }
  .products-page .nav {
    height: 68px;
  }
  .products-page nav.links,
  .products-quote {
    display: none;
  }
  .products-page .menu-toggle {
    display: flex;
  }
  .products-mobile-menu.open {
    display: flex;
  }
  .products-hero {
    padding: 62px 0 58px;
  }
  .products-hero h1 {
    font-size: 48px;
  }
  .products-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 86px 1fr;
  }
  .cart-item > img {
    width: 86px;
    height: 86px;
  }
  .cart-item-controls {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cart-summary {
    position: static;
  }
  .product-actions {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT ===== */
.about-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--navy-deep);
  box-shadow: 0 0 0 8px var(--cream);
}
.about-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.about-copy p {
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 560px;
}
.about-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--navy-deep);
  margin-top: 22px;
}

/* ===== CONTACT ===== */
.contact-band {
  background: var(--navy-deep);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 30px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item .ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .ic svg {
  width: 18px;
  height: 18px;
  color: var(--orange-light);
}
.contact-item .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
}
.contact-item .val {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.contact-item .val:hover {
  color: var(--orange-light);
}

.order-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 34px;
}
.order-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}
.order-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 11px 13px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange-light);
  background: rgba(255, 255, 255, 0.09);
}
.field textarea {
  resize: vertical;
  min-height: 70px;
}
.order-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--hero-grad-3);
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 0;
  transition: background 0.4s ease;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-brand img {
  height: 26px;
  width: 26px;
  border-radius: 50%;
}
.foot-brand span {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}
footer .fine {
  font-size: 12.5px;
  font-family: "JetBrains Mono", monospace;
}
.foot-links {
  display: flex;
  gap: 22px;
}
.foot-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.foot-links a:hover {
  color: #fff;
}
.site-footer {
  padding: 0;
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(242, 113, 26, 0.12),
      transparent 25rem
    ),
    var(--hero-grad-3);
}
.site-footer-main {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.4fr) repeat(2, minmax(120px, 0.65fr))
    minmax(190px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  padding-top: 52px;
  padding-bottom: 44px;
}
.site-footer-intro p {
  max-width: 250px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer .foot-brand img {
  width: 34px;
  height: 34px;
}
.site-footer .foot-brand span {
  font-size: 18px;
}
.site-footer-links,
.site-footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}
.site-footer-links > span,
.site-footer-contact > span {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer-links a,
.site-footer-contact a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #fff;
  transform: translateX(2px);
}
.site-footer-contact strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}
.site-footer-contact a {
  margin-top: 8px;
  color: var(--orange-light);
  font-weight: 600;
}
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
}
@media (max-width: 820px) {
  .site-footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .site-footer-contact {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 560px) {
  .site-footer-main {
    grid-template-columns: 1fr 1fr;
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .site-footer-intro,
  .site-footer-contact {
    grid-column: 1 / -1;
  }
  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .services-grid,
  .folio-grid,
  .store-grid,
  .print-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
  .proc-step:nth-child(2)::after {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 300px;
    order: -1;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  nav.links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}
@media (max-width: 640px) {
  .services-grid,
  .folio-grid,
  .store-grid,
  .print-grid {
    grid-template-columns: 1fr;
  }
  .print-idea-controls {
    align-items: stretch;
    flex-direction: column;
    margin: -12px 0 20px;
  }
  .print-select-wrap {
    min-width: 0;
  }
  .print-count {
    padding-bottom: 0;
  }
  .print-scroll {
    max-height: 520px;
    padding-right: 8px;
  }
  .print-photo {
    height: 180px;
  }
  .wrap {
    padding: 0 20px;
  }
  section.pad {
    padding: 64px 0;
  }
  .hero {
    padding: 130px 0 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.checkout-panel,
.order-success {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.checkout-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.checkout-heading h2,
.order-success h2 {
  margin: 8px 0;
  color: var(--navy-deep);
  font-size: clamp(26px, 4vw, 38px);
}
[data-theme="dark"] .checkout-heading h2,
[data-theme="dark"] .order-success h2 {
  color: var(--ink);
}
.checkout-heading p,
.order-success p,
.checkout-account-fields p {
  color: var(--gray);
}
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.checkout-form label > span,
.checkout-account-fields label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.checkout-form input:not([type="checkbox"]):not([type="radio"]),
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(242, 113, 26, 0.15);
}
.checkout-notes {
  display: block;
  margin-top: 18px;
}
.checkout-account-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.checkout-account-toggle input {
  margin-top: 3px;
}
.checkout-account-toggle span {
  margin: 0 !important;
}
.checkout-account-toggle strong,
.checkout-account-toggle small {
  display: block;
}
.checkout-account-toggle small {
  margin-top: 3px;
  color: var(--gray);
  font-weight: 400;
}
.checkout-account-fields {
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
  background: var(--cream);
}
.checkout-account-fields p {
  margin-top: 8px;
  font-size: 12px;
}
.checkout-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #f4b4b4;
  border-radius: 9px;
  background: #fff1f1;
  color: #a51d1d;
  font-size: 13px;
}
.checkout-submit {
  width: auto;
  min-width: 160px;
  justify-content: center;
  margin-top: 20px;
}
.order-success {
  text-align: center;
}
.order-success p {
  margin: 12px auto 24px;
  max-width: 620px;
  line-height: 1.7;
}
.cart-unavailable {
  margin-top: 6px;
  color: #b45309 !important;
  font-size: 12px !important;
  font-weight: 600;
}
@media (max-width: 680px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-heading {
    flex-direction: column;
  }
}
.customer-auth-page,
.customer-account-page,
.customer-order-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: #f6f8fb;
}

.customer-auth-card,
.customer-portal-card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(24, 39, 58, 0.07);
}

.customer-auth-card {
  width: min(460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px;
}
.customer-login-form,
.customer-profile-form,
.address-form {
  display: grid;
  gap: 14px;
}
.customer-login-form label,
.customer-profile-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.customer-login-form input,
.customer-profile-form input,
.address-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd6e2;
  border-radius: 10px;
  font: inherit;
}
.customer-login-note {
  margin-top: 20px;
  color: #64748b;
  font-size: 0.92rem;
}
.customer-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 18px 0 28px;
  padding: 5px;
  border-radius: 12px;
  background: #eef2f7;
}
.customer-auth-tabs button {
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.customer-auth-tabs button.active {
  background: #fff;
  color: #172033;
  box-shadow: 0 2px 8px rgba(24, 39, 58, 0.1);
}
.customer-account-heading {
  margin-bottom: 28px;
}
.customer-account-heading h1,
.customer-order-heading h1 {
  margin: 6px 0;
}
.customer-account-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}
.customer-portal-card {
  padding: 28px;
}
.customer-portal-card h2 {
  margin: 0 0 18px;
}
.customer-address-card .address-form {
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0 14px;
}
.customer-address-card .address-form input:nth-child(2),
.customer-address-card .address-form input:nth-child(3),
.customer-address-card .address-form button {
  grid-column: 1 / -1;
}
.saved-addresses {
  display: grid;
  gap: 10px;
}
.saved-address {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.saved-address p {
  margin: 5px 0 0;
  color: #64748b;
}
.address-remove,
.customer-nav-button {
  border: 0;
  background: transparent;
  color: #e14b3b;
  cursor: pointer;
  font: inherit;
}
.customer-orders-card {
  margin-top: 22px;
}
.past-orders-heading {
  margin-top: 32px !important;
}
.customer-orders {
  display: grid;
  gap: 10px;
}
.customer-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.customer-order-card:hover {
  border-color: #8aa8cc;
  transform: translateY(-1px);
}
.customer-order-card > div {
  display: grid;
  gap: 5px;
}
.customer-order-card span,
.customer-empty {
  color: #64748b;
}
.customer-order-card-end {
  justify-items: end;
}
.order-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #245f9e !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
}
.customer-order-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.customer-order-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.customer-order-summary div {
  display: grid;
  gap: 6px;
  padding: 15px;
  background: #f6f8fb;
  border-radius: 12px;
}
.customer-order-summary span,
.customer-order-item span {
  color: #64748b;
  font-size: 0.88rem;
}
.customer-order-items {
  border-top: 1px solid #e2e8f0;
  margin-bottom: 30px;
}
.customer-order-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}
.customer-order-item > div {
  display: grid;
  gap: 5px;
}
.customer-order-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.customer-order-timeline > div {
  display: flex;
  gap: 13px;
  min-height: 52px;
}
.customer-order-timeline > div > span {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: #3979ba;
  box-shadow: 0 0 0 4px #e8f2ff;
}
.customer-order-timeline p {
  display: grid;
  margin: 0;
  text-transform: capitalize;
}
.customer-order-timeline small {
  color: #64748b;
}
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #3979ba;
  text-decoration: none;
}

@media (max-width: 760px) {
  .customer-account-grid,
  .customer-order-columns {
    grid-template-columns: 1fr;
  }
  .customer-address-card .address-form,
  .customer-order-summary {
    grid-template-columns: 1fr;
  }
  .customer-address-card .address-form > * {
    grid-column: auto !important;
  }
  .customer-auth-page,
  .customer-account-page,
  .customer-order-page {
    padding-top: 105px;
  }
  .customer-portal-card {
    padding: 20px;
  }
}
.checkout-payment-methods {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  border: 0;
}
.checkout-payment-methods legend {
  margin-bottom: 10px;
  font-weight: 700;
}
.checkout-payment-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  cursor: pointer;
}
.checkout-payment-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.checkout-form .checkout-payment-option > span {
  display: grid;
  gap: 3px;
  margin: 0;
  text-align: left;
  line-height: 1.35;
}
.checkout-payment-option strong {
  font-size: 14px;
  font-weight: 700;
}
.checkout-payment-option small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}
.checkout-pay-now {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f6f8fb;
}
.checkout-pay-now img {
  display: block;
  width: min(280px, 100%);
  margin: 0 auto 18px;
  border-radius: 12px;
}
.checkout-pay-now p {
  color: #64748b;
}
.checkout-pay-now label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}
.checkout-pay-now input[type="file"] {
  padding: 6px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--gray);
  font-size: 13px;
  cursor: pointer;
}
.checkout-pay-now input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 15px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.checkout-pay-now input[type="file"]::file-selector-button:hover {
  filter: brightness(1.06);
}
.checkout-pay-now input[type="file"]:active::file-selector-button {
  transform: translateY(1px);
}
.logged-in-checkout-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #cfe2d7;
  border-radius: 14px;
  background: #f0faf4;
}
.logged-in-checkout-summary > div,
.logged-in-checkout-summary label {
  display: grid;
  gap: 5px;
}
.logged-in-checkout-summary span {
  color: #64748b;
  font-size: 0.84rem;
}
.logged-in-checkout-summary select {
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #bfd2c6;
  border-radius: 9px;
  background: #fff;
  font: inherit;
}
@media (max-width: 640px) {
  .logged-in-checkout-summary {
    align-items: stretch;
    flex-direction: column;
  }
  .logged-in-checkout-summary select {
    min-width: 0;
    width: 100%;
  }
}
.checkout-account-toggle[hidden],
.checkout-account-fields[hidden],
.checkout-customer-field[hidden],
.checkout-address-field[hidden],
.logged-in-checkout-summary[hidden],
#savedAddressPicker[hidden] {
  display: none !important;
}

/* ===== CUSTOMER EXPERIENCE POLISH ===== */
header [aria-current="page"]:not(.cart-link) {
  color: #fff;
}
header nav.links > a[aria-current="page"]::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}
.products-mobile-menu a,
.products-mobile-menu .mobile-logout {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 14px;
  text-align: left;
}
.products-mobile-menu a[aria-current="page"] {
  color: var(--orange-light);
  font-weight: 700;
}
.products-mobile-menu .mobile-cart-link {
  gap: 9px;
  padding: 10px 0;
}
.products-mobile-menu .mobile-logout {
  padding: 10px 0;
  color: var(--orange-light);
  cursor: pointer;
}
.customer-auth-page,
.customer-account-page,
.customer-order-page {
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(242, 113, 26, 0.09),
      transparent 28rem
    ),
    var(--cream);
}
.customer-auth-card,
.customer-portal-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(var(--navy-deep-rgb), 0.09);
}
.customer-auth-card {
  position: relative;
  overflow: hidden;
  width: min(480px, calc(100% - 32px));
  padding: clamp(26px, 5vw, 42px);
}
.customer-auth-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  content: "";
}
.customer-auth-card h1 {
  margin: 8px 0;
  color: var(--navy-deep);
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.08;
}
.customer-auth-card > div > p,
.customer-auth-footnote,
.customer-account-heading p {
  color: var(--gray);
  line-height: 1.65;
}
.customer-auth-tabs {
  border: 1px solid var(--line);
  background: var(--cream);
}
.customer-auth-tabs button {
  color: var(--gray);
}
.customer-auth-tabs button:hover {
  color: var(--ink);
}
.customer-auth-tabs button.active {
  background: var(--paper);
  color: var(--navy-deep);
  box-shadow: 0 3px 10px rgba(var(--navy-deep-rgb), 0.1);
}
.customer-login-form,
.customer-profile-form {
  margin-top: 24px;
}
.customer-login-form label,
.customer-profile-form label {
  color: var(--ink);
  font-size: 13px;
}
.customer-login-form input,
.customer-profile-form input,
.address-form input,
.logged-in-checkout-summary select {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.customer-login-form input:focus,
.customer-profile-form input:focus,
.address-form input:focus,
.logged-in-checkout-summary select:focus {
  border-color: var(--orange);
  background: var(--paper);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 113, 26, 0.14);
}
.customer-profile-form input[readonly] {
  cursor: not-allowed;
  opacity: 0.72;
}
.customer-login-form .btn,
.customer-profile-form .btn,
.address-form .btn {
  min-height: 46px;
  justify-content: center;
}
.customer-auth-footnote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
}
.customer-account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.customer-account-heading h1,
.customer-order-heading h1 {
  color: var(--navy-deep);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}
.customer-account-grid {
  align-items: start;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}
.customer-portal-card {
  padding: clamp(20px, 3vw, 30px);
}
.customer-portal-card h2 {
  color: var(--navy-deep);
  font-size: 20px;
}
.saved-address {
  align-items: flex-start;
  border-color: var(--line);
  background: var(--cream);
}
.saved-address strong,
.logged-in-checkout-summary strong {
  color: var(--navy-deep);
}
.saved-address p,
.customer-order-card span,
.customer-empty,
.customer-order-summary span,
.customer-order-item span,
.customer-order-timeline small,
.checkout-payment-option small,
.checkout-pay-now p,
.logged-in-checkout-summary span {
  color: var(--gray);
}
.address-remove,
.customer-nav-button {
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--orange-light);
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.address-remove:hover,
.customer-nav-button:hover {
  background: rgba(242, 113, 26, 0.1);
  color: var(--orange);
}
.customer-address-status {
  min-height: 20px;
  margin-top: 4px;
  color: #258454;
  font-size: 13px;
  font-weight: 600;
}
.customer-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--cream);
  text-align: center;
}
.customer-order-card {
  border-color: var(--line);
  background: var(--paper);
}
.customer-order-card:hover {
  border-color: var(--orange-light);
  box-shadow: 0 8px 22px rgba(var(--navy-deep-rgb), 0.07);
}
.order-status {
  background: rgba(242, 113, 26, 0.12);
  color: #b84d08 !important;
}
.customer-order-summary div {
  border: 1px solid var(--line);
  background: var(--cream);
}
.customer-order-items,
.customer-order-item {
  border-color: var(--line);
}
.customer-order-timeline > div > span {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 113, 26, 0.13);
}
.back-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--orange);
  font-weight: 600;
}
.checkout-panel,
.order-success {
  box-shadow: 0 18px 44px rgba(var(--navy-deep-rgb), 0.08);
}
.checkout-payment-option {
  position: relative;
  border-color: var(--line);
  background: var(--paper);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.checkout-payment-option:hover {
  border-color: var(--orange-light);
}
.checkout-payment-option:has(input:checked) {
  border-color: var(--orange);
  background: rgba(242, 113, 26, 0.055);
  box-shadow: 0 0 0 3px rgba(242, 113, 26, 0.1);
}
.checkout-payment-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}
.checkout-payment-option input {
  accent-color: var(--orange);
}
.checkout-pay-now {
  border: 1px solid var(--line);
  background: var(--cream);
}
.checkout-pay-now img {
  border: 10px solid var(--paper);
  box-shadow: 0 8px 24px rgba(var(--navy-deep-rgb), 0.1);
}
.logged-in-checkout-summary {
  align-items: center;
  border-color: #9bc9ad;
  background: #eef9f2;
}
.checkout-error {
  line-height: 1.5;
}
[data-theme="dark"] .customer-auth-card h1,
[data-theme="dark"] .customer-account-heading h1,
[data-theme="dark"] .customer-order-heading h1,
[data-theme="dark"] .customer-portal-card h2,
[data-theme="dark"] .saved-address strong,
[data-theme="dark"] .logged-in-checkout-summary strong,
[data-theme="dark"] .customer-auth-tabs button.active {
  color: var(--ink);
}
[data-theme="dark"] .logged-in-checkout-summary {
  border-color: #315d44;
  background: #172b20;
}
@media (max-width: 760px) {
  .customer-auth-page,
  .customer-account-page,
  .customer-order-page {
    padding-bottom: 48px;
  }
  .customer-account-grid {
    grid-template-columns: 1fr;
  }
  .customer-order-card,
  .customer-order-item,
  .customer-order-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-order-card-end {
    width: 100%;
    justify-items: start;
  }
  .customer-order-summary {
    gap: 8px;
  }
}
@media (max-width: 560px) {
  .customer-auth-page,
  .customer-account-page,
  .customer-order-page {
    padding-top: 94px;
  }
  .customer-auth-card {
    width: calc(100% - 24px);
  }
  .customer-portal-card {
    border-radius: 12px;
  }
  .customer-account-page > .wrap,
  .customer-order-page > .wrap {
    padding-inline: 12px;
  }
  .customer-account-page nav.links,
  .customer-order-page nav.links,
  .customer-auth-page nav.links {
    gap: 12px;
  }
  .customer-order-summary {
    grid-template-columns: 1fr;
  }
  .saved-address {
    flex-direction: column;
  }
  .address-remove {
    align-self: flex-start;
  }
}
