@font-face {
  font-family: "DeskThings Inter";
  src: url("/fonts/Inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DeskThings Oswald";
  src: url("/fonts/Oswald.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "DeskThings Roboto Slab";
  src: url("/fonts/RobotoSlab.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DeskThings Caveat";
  src: url("/fonts/Caveat.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #031427;
  --bg-elevated: #0b1c30;
  --bg-panel: #102034;
  --bg-panel-strong: #1b2b3f;
  --bg-panel-high: #26364a;
  --ink: #d3e4fe;
  --muted: #9eb2c5;
  --line: rgba(132, 148, 149, .28);
  --line-strong: rgba(132, 148, 149, .48);
  --paper: #031427;
  --panel: #102034;
  --soft: #0b1c30;
  --accent: #00f0ff;
  --accent-strong: #00dbe9;
  --accent-glow: rgba(0, 240, 255, .24);
  --accent-2: #d6d9e4;
  --dark: #000f21;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(0, 240, 255, .08), transparent 28%),
    linear-gradient(180deg, #031427, #07192d 34%, #031427 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(132, 148, 149, .16);
  background: rgba(3, 20, 39, .8);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
}
.brand, .site-nav, .topbar-actions { display: flex; align-items: center; }
.brand {
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: #002a2f;
  background: linear-gradient(135deg, #7df4ff, #00dbe9);
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0, 240, 255, .18);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  line-height: 1;
}
.brand-copy small {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-nav {
  gap: 26px;
  color: var(--muted);
  font-weight: 650;
}
.site-nav a,
.topbar-link {
  position: relative;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.site-nav a:hover,
.topbar-link:hover {
  color: var(--ink);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav a:hover::after {
  transform: scaleX(1);
}
.topbar-actions {
  gap: 16px;
}

.pricing-region-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.pricing-region-control select {
  max-width: 190px;
  min-height: 38px;
  padding: 8px 32px 8px 12px;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cart-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .02);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}
.cart-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  place-items: center;
  color: #00363a;
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.auth-chip {
  display: inline-grid;
  gap: 1px;
  min-width: 0;
  max-width: 156px;
  padding: 6px 9px;
  border: 1px solid rgba(0, 240, 255, .22);
  border-radius: 999px;
  background: rgba(0, 240, 255, .055);
}
.auth-chip strong,
.auth-chip small {
  display: block;
  line-height: 1.1;
}
.auth-chip strong {
  overflow: hidden;
  color: #72f4ff;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-chip small {
  overflow: hidden;
  color: #7690a7;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.auth-chip-button {
  text-align: left;
  cursor: pointer;
}
.auth-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.auth-link-button:hover {
  color: var(--ink);
}

.storefront-main {
  display: grid;
  gap: 0;
}
.page-shell {
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 40px 0 56px;
}
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 40px;
  align-items: center;
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) 0 36px;
}
.hero-copy {
  max-width: 720px;
  padding: 18px 0;
}
.hero-copy-banner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 34px 24px 34px 28px;
}
.hero-kicker-pill {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(219, 252, 255, .22);
  border-radius: 999px;
  background: rgba(8, 22, 40, .64);
  color: #dffcff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 12px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 8px;
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: 0;
}
.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-copy-banner h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
}
.hero-copy-banner h1 span {
  color: var(--accent);
}
.hero-copy-banner p:not(.hero-kicker-pill) {
  max-width: 460px;
  color: #d9e6f2;
  font-size: 16px;
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 20px;
}
.home-hero-stats span {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(219, 252, 255, .16);
  border-radius: 8px;
  background: rgba(3, 16, 30, .58);
  color: #c9d9e7;
  font-size: 13px;
  line-height: 1.35;
}
.home-hero-stats strong {
  color: #dffcff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #00363a;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .1), 0 10px 28px rgba(0, 240, 255, .18);
}
.button.secondary {
  background: rgba(255, 255, 255, .02);
  border-color: var(--line-strong);
}
.button.dark {
  border-color: rgba(219, 252, 255, .24);
  background: var(--dark);
  color: var(--ink);
}
.button:disabled { opacity: .46; cursor: not-allowed; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 720px;
}
.hero-metric {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.hero-metric span,
.panel-label,
.feature-kicker,
.process-card span,
.product-overline {
  display: block;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-metric strong {
  display: block;
  margin-top: 8px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 16px;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-visual-frame {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}
.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 20, 39, .08), rgba(3, 20, 39, .72));
}
.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.hero-visual-tag {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(219, 252, 255, .22);
  border-radius: 999px;
  background: rgba(3, 20, 39, .65);
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.hero-visual-copy strong {
  max-width: 420px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.25;
}
.home-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 360px;
  padding: 16px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(132, 148, 149, .14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(3, 16, 30, .96), rgba(4, 19, 36, .88));
  box-shadow: var(--shadow);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 30, .92) 0%, rgba(4, 17, 30, .72) 36%, rgba(4, 17, 30, .32) 66%, rgba(4, 17, 30, .18) 100%),
    linear-gradient(180deg, rgba(1, 9, 18, .14), rgba(1, 9, 18, .4));
  pointer-events: none;
}
.home-hero-backdrop {
  position: absolute;
  inset: 0;
}
.home-hero-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(.85) brightness(.42);
}
.home-gallery,
.home-cta {
  padding: 24px 0 32px;
}
.shop-category-strip,
.home-featured-products,
.home-promo-row {
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
}
.shop-category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0 38px;
}
.shop-category-card {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(132, 148, 149, .18);
  border-radius: 12px;
  background: #040b13;
  box-shadow: var(--shadow);
}
.shop-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.72);
  transform: scale(1);
  transition: transform .36s cubic-bezier(.22, 1, .36, 1), filter .36s ease;
}
.shop-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 20, 39, .02), rgba(3, 20, 39, .78));
}
.shop-category-card span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px;
  color: #f0fbff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.shop-category-card span::after {
  content: "->";
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
}
.shop-category-card:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(.82);
}
.home-featured-products {
  padding: 8px 0 42px;
}
.home-featured-products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.favorites-heading {
  margin-bottom: 18px;
}
.favorites-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 2.4vw, 36px);
}
.favorites-heading .eyebrow {
  color: #f2a7ff;
}
.home-featured-products .favorites-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-favorites-gallery .product-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.home-favorites-gallery .product-media {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(219, 252, 255, .24);
  border-radius: 8px;
  background: #11101d;
  box-shadow: none;
}
.home-favorites-gallery .product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0), rgba(3, 7, 14, .9) 70%, rgba(3, 7, 14, .98));
  pointer-events: none;
}
.home-favorites-gallery .product-media img {
  filter: saturate(1.08) contrast(1.02);
}
.home-favorites-gallery .product-card:hover .product-media img {
  transform: scale(1.04);
}
.home-favorites-gallery .product-badges {
  display: none;
}
.home-favorites-gallery .product-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 0;
  padding: 14px 14px 12px;
}
.home-favorites-gallery .product-header {
  display: grid;
  gap: 4px;
}
.home-favorites-gallery .product-overline,
.home-favorites-gallery .product-header p,
.home-favorites-gallery .product-footnote,
.home-favorites-gallery .card-actions {
  display: none;
}
.home-favorites-gallery .product-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}
.home-favorites-gallery .product-title-row strong {
  color: #ffffff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.08;
}
.home-favorites-gallery .product-title-row .product-price {
  flex: 0 0 auto;
  color: #ffffff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}
.home-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 18px;
  padding: 12px 0 32px;
}
.home-promo-main,
.home-promo-side {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.home-promo-main {
  padding: 32px;
}
.home-promo-main p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.home-promo-main .button {
  margin-top: 6px;
}
.home-promo-side {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
}
.home-promo-side span {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.home-promo-side strong {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}
.home-promo-side a {
  color: var(--accent);
  font-weight: 800;
}
.home-cta-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.feature-band,
.process-section,
.employee-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}
.catalog-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}
.feature-band,
.catalog-shell,
.process-section {
  padding: 32px 0 48px;
}
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-tile,
.catalog-panel,
.process-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.feature-tile {
  padding: 22px 24px;
}
.feature-tile strong,
.process-card strong {
  display: block;
  margin: 12px 0 8px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
}
.feature-tile p,
.process-card p,
.section-copy,
.panel-list {
  color: var(--muted);
  line-height: 1.6;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-heading h2 { max-width: 760px; }
.section-copy {
  max-width: 760px;
  margin: 10px 0 0;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-section-heading {
  padding-left: 0;
}
.catalog-panel {
  position: sticky;
  top: 104px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.panel-block + .panel-block {
  margin-top: 22px;
}
.catalog-content {
  min-width: 0;
}
.catalog-results-bar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.catalog-results-copy h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.02;
}
.catalog-results-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.catalog-sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0 14px;
  height: 38px;
  border: 1px solid rgba(219, 252, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #dcecff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.catalog-sort-control select {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
  cursor: pointer;
}
.catalog-sort-control option {
  color: #06111f;
}
.filter-row {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 14px;
}
.category-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.category-option-box {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(219, 252, 255, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
  color: transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.category-option-label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.category-option:hover .category-option-box,
.category-option:focus-visible .category-option-box {
  border-color: rgba(0, 240, 255, .4);
}
.category-option.active .category-option-box {
  border-color: transparent;
  background: rgba(226, 252, 255, .96);
  color: #00363a;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .08);
}
.category-option.active .category-option-label {
  color: #eaf8ff;
}
.price-filter {
  margin-top: 14px;
}
.price-filter input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #dffcff;
}
.price-filter-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #dcecff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}
.chip small {
  color: inherit;
  opacity: .74;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
}
.chip.active {
  color: #00363a;
  border-color: transparent;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .08), 0 0 22px rgba(0, 240, 255, .12);
}
.chip.ghost {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: rgba(226, 232, 240, .82);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}
.product-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(132, 148, 149, .18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, .3);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .06), 0 18px 50px rgba(0, 0, 0, .38);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-panel-high);
}
.product-media img,
.product-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
  transition: transform .35s ease;
}
.product-card:hover .product-media img,
.product-card:hover .product-media video {
  transform: scale(1.04);
}
.product-badges {
  position: absolute;
  inset: 14px 14px auto 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}
.badge {
  align-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  color: #00363a;
  background: rgba(125, 244, 255, .92);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.secondary {
  color: var(--ink);
  background: rgba(16, 32, 52, .86);
  border: 1px solid rgba(219, 252, 255, .18);
}
.product-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}
.product-header {
  display: grid;
  gap: 8px;
}
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.product-title-row strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.15;
}
.product-price {
  color: var(--accent);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  min-height: 72px;
}
.product-footnote {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: .08em;
}
.stock-note--low {
  color: #d97706;
}
.stock-note--out {
  color: #dc2626;
}
.product-card[role="link"] {
  cursor: pointer;
}
.product-card[role="link"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions.single { grid-template-columns: 1fr; }
.catalog-product-card .product-media {
  aspect-ratio: 1 / 1;
}
.catalog-product-card .product-body {
  gap: 16px;
  padding: 18px 4px 6px;
}
.catalog-product-top {
  display: grid;
  gap: 8px;
}
.catalog-product-top strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.18;
}
.catalog-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.catalog-price-block {
  display: grid;
  gap: 4px;
}
.catalog-price-label {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
}
.catalog-card-actions.single {
  grid-template-columns: 40px;
}
.catalog-personalize-button {
  min-width: 118px;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 13px;
}
.catalog-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
}
.icon-action-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #dffcff;
  color: #00363a;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .1), 0 10px 28px rgba(0, 240, 255, .18);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.icon-action-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.icon-action-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-new-arrivals,
.new-arrivals-hero,
.new-arrivals-shell {
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
}
.home-new-arrivals {
  padding: 14px 0 30px;
}
.section-heading-stack {
  margin-bottom: 24px;
}
.section-heading-stack p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.new-arrivals-hero {
  padding: 8px 0 18px;
}
.new-arrivals-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.new-arrivals-shell {
  padding: 20px 0 40px;
}
.new-arrival-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.new-arrival-card {
  display: grid;
  gap: 10px;
}
.new-arrival-card[role="link"] {
  cursor: pointer;
}
.new-arrival-card[role="link"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.new-arrival-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(132, 148, 149, .16);
  border-radius: 16px;
  background: #040b13;
  box-shadow: var(--shadow);
}
.new-arrival-media img,
.new-arrival-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .42s ease;
}
.new-arrival-card:hover .new-arrival-media img,
.new-arrival-card:hover .new-arrival-media video {
  transform: scale(1.08);
  filter: saturate(1.04);
}
.new-arrival-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(219, 252, 255, .18);
  border-radius: 8px;
  background: rgba(16, 32, 52, .82);
  color: #dffcff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.new-arrival-quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #d8f8ff;
  color: #173047;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .28s ease, transform .34s cubic-bezier(.22, 1, .36, 1), filter .18s ease;
  pointer-events: none;
}
.new-arrival-quick-add:hover {
  filter: brightness(1.03);
}
.new-arrival-accent {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 8px;
  border-radius: 999px;
  background: #d8f8ff;
  opacity: .96;
  transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
.new-arrival-card:hover .new-arrival-quick-add,
.new-arrival-card:focus-within .new-arrival-quick-add {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.new-arrival-card:hover .new-arrival-accent,
.new-arrival-card:focus-within .new-arrival-accent {
  opacity: 0;
  transform: translateY(6px);
}
.new-arrival-copy {
  display: grid;
  gap: 6px;
}
.new-arrival-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.new-arrival-title {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
  line-height: 1.15;
}
.new-arrival-title-row .product-price {
  flex: 0 0 auto;
  padding-top: 4px;
  font-size: 15px;
}
.new-arrival-footnote {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .04em;
}
.new-arrivals-empty {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 32px;
  align-items: start;
  padding: 16px 0 40px;
}
.product-detail-gallery,
.product-detail-copy,
.cart-summary-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.product-detail-gallery {
  padding: 24px;
}
.product-detail-image {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: var(--bg-panel-high);
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 88px));
  gap: 12px;
  margin-top: 16px;
}
.product-detail-thumbnail {
  padding: 0;
  border: 1px solid rgba(219, 252, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.product-detail-thumbnail:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 240, 255, .38);
}
.product-detail-thumbnail.active {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .16), 0 0 0 2px rgba(0, 240, 255, .46);
}
.product-detail-thumbnail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.product-detail-thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-detail-copy {
  padding: 28px;
}
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.product-detail-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.product-detail-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-detail-price-row strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 32px;
}
.product-detail-price-row span {
  color: var(--muted);
  text-align: right;
}
.product-detail-stock-tag {
  padding-top: 18px;
}
.product-detail-stock-note {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.detail-highlights {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.detail-highlight {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
}
.detail-highlight span {
  display: block;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.detail-highlight strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
}
.related-products {
  padding-bottom: 32px;
}
.detail-empty {
  padding: 36px 0 48px;
}
.detail-empty p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 20px;
}

.process-heading {
  align-items: start;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.process-card {
  padding: 22px 24px;
}

.cart-page-shell {
  padding: 16px 0 32px;
}
.cart-page-heading {
  align-items: center;
}
.cart-page-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
}
.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.cart-page-list {
  display: grid;
  gap: 18px;
}
.cart-page-summary {
  position: sticky;
  top: 104px;
}
.cart-summary-card {
  padding: 28px;
}
.cart-summary-card h2 {
  margin-bottom: 24px;
  font-size: 28px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: var(--ink);
}
.cart-summary-row.muted {
  color: var(--muted);
}
.cart-summary-row.total {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cart-summary-row.total strong {
  color: var(--accent);
}
.cart-item-copy {
  display: grid;
  gap: 8px;
}
.cart-item-copy strong,
.cart-item-side strong {
  font-size: 20px;
}
.cart-item-side {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.cart-qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}
.qty-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
}
.cart-empty-state {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}

.employee-shell {
  --ink: #102033;
  --muted: #526277;
  --line: rgba(148, 163, 184, .42);
  --line-strong: rgba(71, 85, 105, .36);
  --accent: #0f766e;
  --accent-strong: #0d9488;
  --dark: #16324a;
  margin-top: 24px;
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, .16), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #edf4f7 100%);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(2, 8, 23, .24);
}
.employee-shell .section-heading {
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}
.employee-shell .section-heading h2 {
  color: #0f172a;
}
.employee-shell .eyebrow {
  color: #0f766e;
}
.employee-shell h3 {
  color: #132238;
}
.employee-shell .button.primary {
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .2);
}
.employee-shell .button.secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #16324a;
}
.employee-shell .button.secondary:hover {
  border-color: #0d9488;
  background: #f0fdfa;
}
.employee-shell .auth-panel {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(203, 213, 225, .95);
  color: #102033;
}
.employee-shell .auth-copy {
  color: #526277;
}
.dashboard {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.product-list, .editor {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.product-list { padding: 10px; }
.employee-product {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: transparent;
  color: #18283d;
  text-align: left;
  cursor: pointer;
}
.employee-product:hover {
  background: #eef6f6;
}
.employee-product.active {
  background: #16324a;
  color: white;
}
.employee-product span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.employee-product.active span { color: rgba(255,255,255,.72); }
.editor { padding: 20px; }
.editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.product-flag-check {
  margin-top: 14px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}
label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  background: #fbfcfd;
  color: var(--ink);
}
.employee-shell input,
.employee-shell textarea,
.employee-shell select {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #102033;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .03);
}
.employee-shell input::placeholder,
.employee-shell textarea::placeholder {
  color: #7b8797;
}
.employee-shell input:focus,
.employee-shell textarea:focus,
.employee-shell select:focus {
  border-color: #0d9488;
  outline: 3px solid rgba(13, 148, 136, .18);
}
.employee-shell input[type="range"] {
  accent-color: #0f766e;
  background: transparent;
  box-shadow: none;
}
.employee-shell input[type="checkbox"],
.employee-shell input[type="color"] {
  accent-color: #0f766e;
  box-shadow: none;
}
textarea { resize: vertical; }
.hint { color: var(--muted); font-weight: 600; }
.preset-header, .form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.preset-header p { margin: 0; color: var(--muted); }
.save-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.save-status {
  min-width: 150px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.save-status.error {
  color: #b42318;
}
.model-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 14px;
  background: #f8fafc;
}
.model-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.model-actions input {
  max-width: 260px;
  background: white;
}
.model-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .9fr);
  gap: 14px;
  margin-top: 14px;
}
.lighting-setup {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.lighting-setup .preset-header { margin-top: 0; }
.model-viewer {
  position: relative;
  min-height: 360px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  overflow: hidden;
  background: radial-gradient(circle at 35% 20%, #ffffff, #dfe7ef 54%, #bdc8d4);
}
.model-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.model-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #526277;
  text-align: center;
  font-weight: 750;
  pointer-events: none;
}
.boundary-panel {
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 12px;
  background: white;
}
.employee-shell .preset-header p,
.employee-shell .hint,
.employee-shell .employee-product span {
  color: #526277;
}
.employee-shell .inline-check,
.employee-shell label {
  color: #26364a;
}
.boundary-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.inline-check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.inline-check input { width: auto; }
.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.boundary-grid label {
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  display: grid;
  align-items: center;
}
.boundary-grid input {
  padding: 0;
}
.boundary-grid span {
  color: #526277;
  font-size: 12px;
  text-align: right;
}
.preset-row {
  display: grid;
  gap: 12px;
  padding: 12px;
  margin-top: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .98)),
    #f8fafc;
  border: 1px solid rgba(207, 216, 227, .95);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.preset-card-top {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.preset-preview-wrap {
  display: grid;
  gap: 6px;
}
.preset-index {
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(14, 165, 233, .1);
  color: #0369a1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.preset-preview {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.preset-preview-text {
  display: grid;
  place-items: center;
  padding: 10px;
  background: linear-gradient(160deg, #e0f2fe, #f8fafc);
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.preset-core {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(120px, .7fr) minmax(120px, .7fr);
  gap: 10px;
}
.preset-tuning {
  display: grid;
  grid-template-columns: minmax(90px, .7fr) 76px minmax(96px, .75fr) minmax(96px, .75fr) minmax(120px, .8fr);
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(207, 216, 227, .7);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}
.preset-tuning label,
.preset-core label {
  min-width: 0;
}
.preset-prompt {
  display: grid;
}
.preset-prompt textarea {
  min-height: 62px;
}
.preset-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 2px;
}
.preset-toggle {
  align-self: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(207, 216, 227, .8);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.preset-row-actions .button {
  min-height: 36px;
  padding-inline: 12px;
}
.icon-button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .98);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.preset-remove {
  width: auto;
  padding: 0 12px;
  color: #9f1f17;
}

dialog {
  border: 0;
  padding: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(3, 7, 18, .78); backdrop-filter: blur(10px); }
.customizer {
  width: min(96vw, 1880px);
  height: min(94dvh, 1120px);
  max-width: 96vw;
  max-height: 94dvh;
  margin: auto;
  border-radius: 18px;
  background: #050709;
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}
.customizer-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background:
    radial-gradient(circle at 50% 42%, rgba(125, 149, 178, .38), rgba(14, 18, 24, 0) 34%),
    linear-gradient(180deg, #090d10, #030507 72%);
}
.custom-processing {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, .58);
  backdrop-filter: blur(6px);
}
.custom-processing[hidden] {
  display: none !important;
}
.custom-processing-card {
  min-width: min(92vw, 340px);
  max-width: 420px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(7, 10, 15, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  text-align: center;
}
.custom-processing-card strong {
  color: #fff;
  font-size: 18px;
}
.custom-processing-card p {
  margin: 0;
  color: rgba(226, 232, 240, .78);
  font-size: 14px;
  line-height: 1.5;
}
.custom-processing-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .14);
  border-top-color: var(--accent);
  animation: custom-processing-spin .8s linear infinite;
}
@keyframes custom-processing-spin {
  to { transform: rotate(360deg); }
}
.customizer-topbar {
  position: relative;
  z-index: 21;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: clamp(72px, 7vh, 88px);
  padding: 0 clamp(20px, 2vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .5);
}
.customizer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}
.customizer-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7df4ff, #00dbe9);
  color: #002a2f;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
}
.customizer-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}
.custom-tab {
  min-width: 0;
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(226, 232, 240, .66);
  padding: 14px 8px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
}
.custom-tab.active {
  color: #f8fafc;
  border-top-color: var(--accent);
}
.custom-tab.complete {
  color: #f8fafc;
  border-top-color: rgba(0, 240, 255, .72);
}
.builder-exit {
  border: 1px solid rgba(0, 240, 255, .36);
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}
.customizer-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) clamp(360px, 24vw, 430px);
  overflow: hidden;
}
.custom-viewport {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2vw, 32px);
  overflow: hidden;
}
.custom-viewport-surface {
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: stretch center;
  padding: clamp(12px, 1.4vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 50% 44%, rgba(165, 183, 205, .3), rgba(23, 28, 36, 0) 34%),
    linear-gradient(180deg, rgba(13, 18, 25, .92), rgba(6, 9, 13, 1));
}
.custom-stage-frame {
  width: min(100%, 1360px);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: clamp(18px, 1.8vw, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: 16px;
  overflow: hidden;
}
.custom-operation-switch {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
}
.operation-chip {
  min-width: 132px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: rgba(226, 232, 240, .84);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.operation-chip.active {
  border-color: var(--accent);
  background: rgba(0, 240, 255, .12);
  color: #fff;
}
.operation-chip.blocked {
  border-color: rgba(239, 68, 68, .62);
  background: rgba(239, 68, 68, .12);
  color: #fecaca;
}
.operation-chip.undo-chip:not(:disabled) {
  border-color: rgba(251, 191, 36, .56);
  background: rgba(251, 191, 36, .12);
  color: #fde68a;
}
.operation-chip:disabled,
.custom-tab:disabled,
.builder-exit:disabled,
.button:disabled,
.chip:disabled {
  cursor: wait;
}
.operation-chip.blocked:disabled {
  cursor: not-allowed;
  opacity: .78;
}
.custom-stage-note {
  width: 100%;
  color: rgba(226, 232, 240, .8);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.custom-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  align-self: center;
  justify-self: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.custom-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#customBaseImage {
  z-index: 0;
}
#customRenderImage {
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}
#customPreview {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  align-self: center;
  justify-self: center;
  display: block;
}
.custom-box {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.custom-box svg {
  width: 100%;
  height: 100%;
  display: block;
}
.custom-box polygon {
  fill: rgba(0, 240, 255, .08);
  stroke: rgba(0, 240, 255, .96);
  stroke-width: 2;
  stroke-dasharray: 9 8;
}
.custom-overlay-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 3;
}
.custom-decal {
  position: absolute;
  touch-action: none;
  cursor: move;
}
.custom-decal.active {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3));
}
.custom-decal.applied {
  pointer-events: none;
}
.custom-decal.clear {
  --decal-state: #22c55e;
  --decal-state-soft: rgba(34, 197, 94, .16);
}
.custom-decal.overlap {
  --decal-state: #ef4444;
  --decal-state-soft: rgba(239, 68, 68, .2);
}
.custom-decal img {
  pointer-events: none;
}
.custom-decal-surface {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  transform-origin: 0 0;
  display: block;
}
.preview-surface {
  mix-blend-mode: multiply;
  filter: brightness(.3) contrast(1.12);
}
.custom-decal-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.custom-decal-outline polygon {
  fill: var(--decal-state-soft, rgba(34, 197, 94, .16));
  stroke: var(--decal-state, #22c55e);
  stroke-width: 3;
  stroke-dasharray: 8 5;
  filter: drop-shadow(0 0 7px var(--decal-state-soft, rgba(34, 197, 94, .16)));
}
.custom-decal .handle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--decal-state, var(--accent));
}
.custom-decal .handle.scale {
  cursor: nwse-resize;
}
.custom-decal .handle.rotate {
  cursor: grab;
  background: var(--decal-state, #7df4ff);
}
.custom-decal .handle.rotate::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
  background: #7df4ff;
}
.custom-sidebar {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(2, 6, 12, .98);
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.custom-sidebar-head,
.custom-sidebar-footer {
  padding: clamp(20px, 1.8vw, 28px) clamp(20px, 1.8vw, 28px) 0;
}
.custom-sidebar-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  color: #fff;
}
.custom-sidebar-head p {
  color: rgba(226, 232, 240, .72);
}
.custom-sidebar-body {
  min-height: 0;
  overflow: auto;
  padding: clamp(20px, 1.8vw, 28px);
  display: grid;
  align-content: start;
  gap: 22px;
}
.custom-section {
  display: grid;
  gap: 12px;
}
#customUploadSection {
  order: -1;
}
.custom-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.custom-section-head h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.preset-choice {
  display: grid;
  gap: 10px;
}
.choice-card {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, .03);
  color: #f8fafc;
  cursor: pointer;
}
.choice-card.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .4);
}
.choice-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 12px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}
.alpha-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.preset-alpha-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.customer-operation-sections {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.customer-operation-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}
.customer-operation-title {
  display: block;
  color: rgba(226, 232, 240, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.customer-operation-card .alpha-map-grid,
.customer-operation-card.preset-color-picker {
  margin-top: 10px;
}
.customer-operation-card .text-alpha-card {
  margin-top: 10px;
}
.alpha-map-tile {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  padding: 8px 6px;
  cursor: pointer;
  color: rgba(226, 232, 240, .84);
}
.alpha-map-tile.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .42);
  color: #fff;
}
.alpha-map-tile img {
  width: 72%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 6px;
  background: rgba(255, 255, 255, .03);
}
.alpha-map-tile span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Customer color picker grid (dark customizer theme) */
.preset-color-picker {
  margin-top: 12px;
}
.preset-color-picker-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, .7);
  margin-bottom: 8px;
}
.color-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.color-map-tile {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  border-radius: 6px;
  padding: 8px 6px;
  cursor: pointer;
  color: rgba(226, 232, 240, .84);
}
.color-map-tile.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .42);
  color: #fff;
}
.color-map-tile .color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, .28);
}
.color-map-tile span:last-child {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Employee per-preset color palette editor (light theme) */
.preset-colors {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 10px;
  border: 1px solid rgba(207, 216, 227, .7);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}
.preset-colors-label {
  font-size: 12px;
  font-weight: 800;
  color: #526277;
  white-space: nowrap;
}
.preset-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.preset-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}
.preset-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .2);
}
.preset-color-x {
  color: #b91c1c;
  font-weight: 700;
}
.preset-color-empty {
  font-size: 12px;
  color: var(--muted);
}
.preset-color-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.preset-color-add input[type="color"] {
  width: 38px;
  height: 34px;
  padding: 2px;
}
.preset-color-add .button {
  min-height: 34px;
  padding-inline: 10px;
}
.text-alpha-card {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  padding: 12px;
}
.text-alpha-card.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .42);
}
.text-alpha-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}
.text-alpha-card input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
  min-height: 40px;
}
.fitted-text-card small {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, .66);
  font-size: 11px;
  line-height: 1.4;
}
.fitted-text-control {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.fitted-text-control > span {
  color: rgba(226, 232, 240, .82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fitted-text-control select {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0c1725;
  color: #fff;
}
.fitted-text-size {
  display: grid;
}
.custom-font-upload {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  cursor: pointer;
}
.custom-font-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.custom-font-upload span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 240, 255, .38);
  border-radius: 5px;
  background: rgba(0, 240, 255, .08);
  color: #dffcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.custom-font-upload:hover span {
  border-color: var(--accent);
  background: rgba(0, 240, 255, .14);
}
.custom-decal.locked {
  cursor: default;
}
.text-alpha-size {
  margin-top: 10px;
  gap: 8px;
}
.text-alpha-size span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(226, 232, 240, .82);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.text-alpha-size strong {
  color: #fff;
  font-size: 12px;
}
.text-alpha-size input {
  padding: 0;
}
.choice-card strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.choice-card p {
  margin: 8px 0 0;
  color: rgba(226, 232, 240, .72);
}
.upload-card {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(255, 255, 255, .24);
  border-radius: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
}
.upload-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-card-copy strong,
.upload-preview strong {
  display: block;
  color: #fff;
}
.upload-card-copy small,
.upload-preview p {
  color: rgba(226, 232, 240, .66);
}
.upload-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
}
.upload-preview[hidden] {
  display: none;
}
.upload-preview img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: rgba(255, 255, 255, .04);
}
.custom-summary {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  color: rgba(226, 232, 240, .82);
}
.custom-summary strong {
  display: block;
  color: #fff;
  font-size: 18px;
}
.custom-summary p {
  margin: 8px 0 0;
}
.custom-sidebar-footer {
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(2, 6, 12, .98);
}
.custom-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  color: rgba(226, 232, 240, .78);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.custom-subtotal strong {
  color: #fff;
  font-size: 28px;
}
.custom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.custom-actions .button {
  min-height: 48px;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.cart-shell {
  position: relative;
  width: min(620px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  background: linear-gradient(180deg, #0b1c30, #07192d);
  color: var(--ink);
  border: 1px solid rgba(132, 148, 149, .24);
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(132, 148, 149, .2);
}
.cart-item img {
  width: 92px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}
.cart-item p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.checkout-form { display: grid; gap: 12px; margin-top: 18px; }
.discount-code-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  margin-top: 4px;
}
.discount-code-control .button { min-height: 43px; }
.promotion-message { min-height: 18px; margin: -4px 0 0; color: #24d4c7; font-size: 12px; font-weight: 700; }
.promotion-message.error { color: #fca5a5; }
.promotion-total { color: #34d399; }
.checkout-form label {
  color: var(--ink);
}
.checkout-form input {
  border-color: rgba(132, 148, 149, .3);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
}
.checkout-form select {
  border-color: rgba(132, 148, 149, .3);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
}
.checkout-form input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 240, 255, .16);
}
.checkout-form select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 240, 255, .16);
}
.checkout-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.checkout-address-layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}
.checkout-address-summary {
  position: static;
}
.checkout-address-summary .cart-summary-card {
  margin: 0;
}
.checkout-address-layout .cart-page-list {
  order: 2;
}
.checkout-address-layout .checkout-address-summary {
  order: 1;
}
.checkout-totals {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(132, 148, 149, .18);
}
.checkout-step-copy,
.checkout-help {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.cart-summary-action {
  width: 100%;
  margin-top: 18px;
}
.cart-summary-action.disabled {
  opacity: .46;
  pointer-events: none;
}
.checkout-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.checkout-status.error {
  color: #fecaca;
}
.checkout-status.success {
  color: #99f6e4;
}
.cart-shell label {
  color: var(--ink);
}
.cart-shell input {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(132, 148, 149, .3);
  color: var(--ink);
}
.cart-shell h2 {
  margin-bottom: 16px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 20px;
}
.auth-dialog {
  width: min(92vw, 430px);
  max-width: 430px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0);
  box-shadow: none;
}
.auth-dialog::backdrop {
  background: rgba(2, 8, 19, .74);
  backdrop-filter: blur(10px);
}
.auth-modal {
  padding: 0;
}
.auth-modal-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px 32px 28px;
  border: 1px solid rgba(132, 148, 149, .22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(16, 32, 52, .98), rgba(10, 23, 39, .98)),
    radial-gradient(circle at top, rgba(0, 240, 255, .06), transparent 40%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .48);
}
.auth-account-card {
  gap: 20px;
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.auth-close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}
.auth-kicker {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-modal-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  text-align: center;
}
.auth-subcopy {
  margin: -6px 0 0;
  color: rgba(211, 228, 254, .72);
  text-align: center;
  line-height: 1.6;
}
.auth-modal-form {
  display: grid;
  gap: 14px;
}
.auth-modal-form label {
  display: grid;
  gap: 8px;
  color: rgba(211, 228, 254, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.auth-modal-form input {
  border: 1px solid rgba(132, 148, 149, .32);
  border-radius: 7px;
  padding: 13px 14px;
  background: rgba(4, 15, 28, .92);
  color: var(--ink);
}
.auth-modal-form input::placeholder {
  color: rgba(158, 178, 197, .42);
}
.auth-check {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  color: rgba(211, 228, 254, .82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.auth-check input {
  width: auto;
  margin: 0;
  padding: 0;
}
.auth-submit-button {
  min-height: 48px;
  margin-top: 4px;
  font-size: 15px;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(158, 178, 197, .58);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(132, 148, 149, .22);
}
.auth-provider-list {
  display: grid;
  gap: 10px;
}
.auth-provider-button {
  width: 100%;
  min-height: 50px;
  justify-content: flex-start;
  gap: 12px;
  border-color: rgba(132, 148, 149, .24);
  background: rgba(255, 255, 255, .02);
  color: rgba(211, 228, 254, .9);
  text-transform: uppercase;
}
.auth-provider-button span:last-child {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}
.auth-provider-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}
.auth-provider-google .auth-provider-icon {
  color: #0f172a;
  background: #fff;
}
.auth-provider-facebook .auth-provider-icon {
  color: #fff;
  background: #1877f2;
}
.auth-provider-empty {
  color: rgba(158, 178, 197, .68);
  line-height: 1.6;
  text-align: center;
}
.auth-footer-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: rgba(158, 178, 197, .8);
  font-size: 14px;
}
.auth-inline-action {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}
.auth-primary-actions {
  display: grid;
  gap: 12px;
}
.auth-page-shell {
  padding: 16px 0 40px;
}
.auth-heading {
  align-items: start;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
}
.auth-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
}
.auth-panel h2,
.auth-panel h3 {
  margin-bottom: 12px;
}
.auth-side-panel {
  position: sticky;
  top: 104px;
}
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.auth-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.auth-form-head {
  display: grid;
  gap: 4px;
}
.auth-form-head strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
}
.auth-form-head span,
.auth-copy,
.auth-footnote,
.auth-provider-empty {
  color: var(--muted);
  line-height: 1.6;
}
.auth-check {
  color: var(--ink);
  font-weight: 700;
}
.auth-provider-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.auth-provider-button {
  width: 100%;
  justify-content: flex-start;
}
.auth-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.auth-status.error {
  border: 1px solid rgba(239, 68, 68, .28);
  background: rgba(127, 29, 29, .26);
  color: #fecaca;
}
.auth-status.success {
  border: 1px solid rgba(0, 240, 255, .2);
  background: rgba(0, 240, 255, .08);
  color: #c6fdff;
}
.auth-status.info {
  border: 1px solid rgba(132, 148, 149, .24);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
}
.auth-session {
  display: grid;
  gap: 14px;
}
.auth-role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.employee-auth-shell {
  display: grid;
}
.auth-gate-panel {
  justify-items: start;
}

@media (max-height: 840px) {
  .customizer {
    height: min(100dvh, 1120px);
    max-height: 100dvh;
  }
  .customizer-topbar {
    gap: 18px;
    min-height: 68px;
    padding: 0 18px;
  }
  .customizer-brand {
    font-size: 19px;
  }
  .customizer-tabs {
    gap: 10px;
  }
  .custom-tab {
    padding-top: 10px;
    padding-bottom: 8px;
    font-size: 11px;
  }
  .custom-viewport,
  .custom-sidebar-head,
  .custom-sidebar-body,
  .custom-sidebar-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .custom-stage-frame {
    gap: 12px;
    padding: 14px;
  }
  .custom-stage-note {
    font-size: 12px;
    line-height: 1.45;
  }
  .custom-sidebar-head h2 {
    font-size: 28px;
  }
  .custom-sidebar-body {
    gap: 18px;
  }
  .custom-subtotal {
    padding: 14px 0;
  }
  .custom-subtotal strong {
    font-size: 24px;
  }
  .operation-chip,
  .custom-actions .button {
    min-height: 42px;
  }
}

@media (max-height: 620px) {
  .customizer-body {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .custom-viewport {
    padding: 12px;
  }
  .custom-viewport-surface {
    padding: 10px;
  }
  .custom-stage-frame {
    padding: 10px;
    gap: 10px;
  }
  .custom-operation-switch {
    gap: 8px;
  }
  .operation-chip {
    min-width: 108px;
    font-size: 12px;
  }
  .custom-sidebar-head h2 {
    font-size: 24px;
  }
  .custom-sidebar-body {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  .hero,
  .home-hero,
  .catalog-layout,
  .feature-band,
  .shop-category-strip,
  .home-promo-row,
  .new-arrival-grid,
  .product-detail-shell,
  .cart-page-layout,
  .process-grid,
  .dashboard,
  .customizer-body { grid-template-columns: 1fr; }
  .topbar-inner {
    width: min(calc(100vw - 32px), 1280px);
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-nav,
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .auth-layout,
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .auth-side-panel {
    position: static;
  }
  .hero { min-height: auto; }
  .hero-visual { justify-content: stretch; }
  .hero-visual-frame { width: 100%; }
  .home-hero {
    min-height: 360px;
    padding: 0;
  }
  .hero-copy-banner {
    max-width: 100%;
    padding: 34px 22px 36px;
  }
  .home-hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-metrics { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-section-heading { padding-left: 0; }
  .catalog-panel { position: static; }
  .catalog-results-bar {
    align-items: start;
    flex-direction: column;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-featured-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-featured-products .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cart-page-summary { position: static; }
  .checkout-form-grid { grid-template-columns: 1fr; }
  .editor-grid, .preset-row, .model-workspace { grid-template-columns: 1fr; }
  .preset-card-top,
  .preset-core,
  .preset-tuning,
  .preset-colors {
    grid-template-columns: 1fr;
  }
  .preset-card-top {
    align-items: stretch;
  }
  .preset-preview-wrap {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .preset-preview {
    width: 72px;
  }
  .preset-remove,
  .preset-row-actions {
    justify-self: stretch;
  }
  .preset-row-actions .button,
  .preset-remove {
    width: 100%;
  }
  .customizer {
    width: min(100vw, 100%);
    height: min(100dvh, 100%);
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }
  .customizer-topbar {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }
  .customizer-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customizer-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: auto;
    align-content: start;
  }
  .custom-viewport {
    padding: 16px;
    overflow: visible;
  }
  .custom-viewport-surface {
    height: auto;
    overflow: visible;
  }
  .custom-stage-frame {
    width: min(100%, 820px);
    height: auto;
    max-height: none;
    grid-template-rows: auto;
    margin: 0 auto;
    overflow: visible;
  }
  .custom-sidebar {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .custom-sidebar-body {
    overflow: visible;
  }
  .custom-sidebar-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-top: 16px;
    background: linear-gradient(180deg, rgba(2, 6, 12, .78), rgba(2, 6, 12, .98) 24%);
  }
}

@media (max-width: 620px) {
  .discount-code-control { grid-template-columns: 1fr; }
  .topbar-inner { width: min(calc(100vw - 24px), 1280px); }
  .site-nav { gap: 12px; flex-wrap: wrap; }
  .topbar-actions { align-items: stretch; }
  .auth-nav {
    width: 100%;
    justify-content: space-between;
  }
  .auth-nav .topbar-link {
    display: inline-flex;
  }
  .auth-chip {
    flex: 1;
  }
  .topbar-link { display: none; }
  h1 { font-size: 44px; }
  .hero-copy-banner h1 {
    font-size: 36px;
  }
  .hero-copy-banner p:not(.hero-kicker-pill) {
    font-size: 15px;
  }
  .home-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .home-hero-stats span {
    min-height: auto;
    padding: 8px;
    font-size: 11px;
  }
  .home-hero-stats strong {
    font-size: 12px;
  }
  .page-shell,
  .feature-band,
  .catalog-shell,
  .process-section,
  .shop-category-strip,
  .home-featured-products,
  .home-promo-row,
  .home-new-arrivals,
  .new-arrivals-shell,
  .new-arrivals-hero,
  .employee-shell { width: min(calc(100vw - 24px), 1280px); }
  .section-heading-stack p:not(.eyebrow) {
    font-size: 16px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .home-featured-products .product-grid {
    grid-template-columns: 1fr;
  }
  .home-featured-products .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .shop-category-card {
    min-height: 118px;
  }
  .home-promo-main,
  .home-promo-side {
    padding: 20px;
  }
  .catalog-results-copy h1 {
    font-size: 34px;
  }
  .product-detail-copy,
  .product-detail-gallery,
  .cart-summary-card,
  .home-cta-card { padding: 20px; }
  .product-detail-price-row {
    align-items: start;
    flex-direction: column;
  }
  .product-detail-actions {
    flex-direction: column;
  }
  .cart-item {
    grid-template-columns: 1fr;
  }
  .cart-item-side {
    justify-items: start;
  }
  .card-actions, .custom-actions { grid-template-columns: 1fr; }
  .customizer-tabs {
    grid-template-columns: 1fr;
  }
  .customizer-topbar {
    gap: 12px;
  }
  .builder-exit {
    width: 100%;
  }
  .custom-stage-frame {
    padding: 12px;
  }
  .custom-stage-note {
    font-size: 11px;
  }
  .custom-operation-switch {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-sidebar-head,
  .custom-sidebar-body,
  .custom-sidebar-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .custom-sidebar-head h2 {
    font-size: 24px;
  }
  .custom-subtotal strong {
    font-size: 22px;
  }
  .alpha-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none), (pointer: coarse) {
  .new-arrival-quick-add {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .new-arrival-accent {
    opacity: 0;
    transform: translateY(6px);
  }
}



/* Customer payment receipt and order tracking */
.payment-complete-body,
.order-tracking-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 240, 255, .12), transparent 30%),
    linear-gradient(180deg, #031427 0%, #061a2f 48%, #031427 100%);
}
.order-success-page,
.tracking-page-shell {
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 58px) 0 80px;
}
.order-success-hero,
.tracking-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .5fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 380px;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(0, 240, 255, .22);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(0, 240, 255, .08), transparent 44%),
    linear-gradient(145deg, #071d33, #020d1b 76%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .36);
}
.order-success-hero::before,
.tracking-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -110px;
  top: -190px;
  border: 1px solid rgba(0, 240, 255, .16);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(0, 240, 255, .025),
    0 0 0 94px rgba(0, 240, 255, .018);
}
.order-success-hero::after,
.tracking-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 90px;
  opacity: .12;
  background-image:
    linear-gradient(rgba(0, 240, 255, .4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, .4) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(transparent, #000);
}
.order-success-hero--compact { min-height: 330px; }
.order-success-loading { min-height: 360px; }
.order-success-copy { max-width: 720px; }
.order-success-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.order-success-check {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 255, .52);
  border-radius: 50%;
  background: rgba(0, 240, 255, .1);
  box-shadow: 0 0 28px rgba(0, 240, 255, .2);
}
.order-success-copy .eyebrow,
.tracking-hero-copy .eyebrow { color: #87f8ff; }
.order-success-copy h1,
.tracking-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #f7fbff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(38px, 5.7vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
.order-success-copy > p:not(.eyebrow),
.tracking-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #a9bfd1;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
}
.order-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.order-success-actions .button { min-width: 170px; text-align: center; }
.order-success-actions .button.secondary {
  border-color: rgba(211, 228, 254, .26);
  background: rgba(255, 255, 255, .04);
  color: #e7f2ff;
}
.order-success-emblem,
.tracking-hero-badge {
  position: relative;
  justify-self: end;
  width: min(100%, 250px);
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(0, 240, 255, .32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 240, 255, .13), rgba(0, 240, 255, .025) 62%, transparent 63%);
  box-shadow:
    inset 0 0 50px rgba(0, 240, 255, .08),
    0 0 70px rgba(0, 240, 255, .1);
  text-align: center;
}
.order-success-emblem::before,
.tracking-hero-badge::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(0, 240, 255, .2);
  border-radius: inherit;
}
.order-success-emblem span,
.tracking-hero-badge span {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .18em;
}
.order-success-emblem strong,
.tracking-hero-badge strong {
  margin-top: 12px;
  color: #fff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.12;
}
.order-success-reference {
  display: inline-flex;
  gap: 8px;
  margin-top: 20px;
  color: #a9bfd1;
}
.order-success-reference strong { color: #fff; }
.order-success-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -1px 20px 0;
  border: 1px solid rgba(132, 148, 149, .24);
  border-top: 0;
  background: rgba(8, 27, 47, .92);
}
.order-success-meta-strip > div,
.tracking-summary-grid > div {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid rgba(132, 148, 149, .2);
}
.order-success-meta-strip > div:last-child,
.tracking-summary-grid > div:last-child { border-right: 0; }
.order-success-meta-strip span,
.order-success-meta-strip strong,
.tracking-summary-grid span,
.tracking-summary-grid strong { display: block; }
.order-success-meta-strip span,
.tracking-summary-grid span {
  margin-bottom: 7px;
  color: #7992a8;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.order-success-meta-strip strong,
.tracking-summary-grid strong {
  overflow-wrap: anywhere;
  color: #edf7ff;
  font-size: 14px;
}
.order-success-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr);
  gap: 20px;
  margin-top: 24px;
}
.order-receipt-card,
.order-next-card,
.tracking-lookup-card,
.tracking-result-panel {
  border: 1px solid rgba(132, 148, 149, .22);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(16, 32, 52, .96), rgba(6, 23, 41, .98));
  box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
}
.order-receipt-card,
.order-next-card { padding: clamp(22px, 3vw, 34px); }
.order-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.order-card-heading .eyebrow { margin-bottom: 6px; }
.order-card-heading h2,
.order-card-heading h3,
.order-next-card h2,
.tracking-result-header h2 {
  margin: 0;
  color: #f4f9ff;
  font-family: Montserrat, Inter, sans-serif;
}
.order-card-heading h2 { font-size: 26px; }
.order-card-heading h3 { font-size: 20px; }
.order-paid-pill,
.payment-status-pill {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(0, 240, 255, .34);
  border-radius: 999px;
  background: rgba(0, 240, 255, .08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-receipt-items { display: grid; }
.order-receipt-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid rgba(132, 148, 149, .16);
}
.order-receipt-item:first-child { border-top: 0; }
.order-receipt-item img,
.tracking-item-card img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(132, 148, 149, .2);
  border-radius: 6px;
  object-fit: cover;
  background: #0b1c30;
}
.order-receipt-item strong { color: #eef7ff; }
.order-receipt-item span,
.tracking-item-card span {
  display: block;
  margin-top: 4px;
  color: #829ab0;
  font-size: 12px;
}
.order-receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid rgba(132, 148, 149, .2);
  color: #9eb2c5;
}
.order-receipt-total strong { color: #eef7ff; }
.order-receipt-total--grand { color: #fff; font-size: 18px; font-weight: 800; }
.order-receipt-total--grand strong { color: var(--accent); }
.order-next-card { display: flex; flex-direction: column; }
.order-next-card > div:first-child .eyebrow { margin-bottom: 8px; }
.order-next-card h2 { font-size: 25px; line-height: 1.15; }
.order-next-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.order-next-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
}
.order-next-list li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 255, .3);
  border-radius: 50%;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
}
.order-next-list strong { color: #edf7ff; font-size: 14px; }
.order-next-list p {
  margin: 4px 0 0;
  color: #829ab0;
  font-size: 12px;
  line-height: 1.55;
}
.order-delivery-card,
.tracking-privacy-note {
  padding: 16px;
  border: 1px solid rgba(132, 148, 149, .18);
  border-radius: 6px;
  background: rgba(3, 20, 39, .56);
}
.order-delivery-card span,
.tracking-privacy-note span {
  display: block;
  color: #7890a5;
  font-size: 11px;
  text-transform: uppercase;
}
.order-delivery-card strong,
.tracking-privacy-note strong {
  display: block;
  margin-top: 7px;
  color: #edf7ff;
}
.order-delivery-card p {
  margin: 5px 0 0;
  color: #9eb2c5;
  font-size: 13px;
  line-height: 1.55;
}
.order-track-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

/* Customer tracking */
.tracking-page-shell { padding-top: clamp(24px, 3vw, 44px); }
.tracking-hero { min-height: 340px; }
.tracking-hero-copy { max-width: 760px; }
.tracking-hero-copy h1 { font-size: clamp(38px, 5vw, 68px); }
.tracking-hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 240, 255, .1), transparent 30%);
}
.tracking-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 24px;
}
.tracking-lookup-card {
  position: sticky;
  top: 100px;
  padding: 28px;
}
.tracking-lookup-card h2 {
  margin: 7px 0 8px;
  color: #f2f8ff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 25px;
}
.tracking-help {
  margin: 0 0 22px;
  color: #879db1;
  font-size: 13px;
  line-height: 1.6;
}
.tracking-form { display: grid; gap: 15px; }
.tracking-form label {
  display: grid;
  gap: 7px;
  color: #c9daec;
  font-size: 12px;
  font-weight: 700;
}
.tracking-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(132, 148, 149, .28);
  border-radius: 5px;
  outline: 0;
  background: rgba(3, 20, 39, .72);
  color: #f4f9ff;
}
.tracking-form input:focus {
  border-color: rgba(0, 240, 255, .62);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .08);
}
.tracking-form .button { width: 100%; margin-top: 4px; }
.tracking-form-status {
  min-height: 20px;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.5;
}
.tracking-form-status.info { color: #a9bfd1; }
.tracking-form-status.success { color: #77f3d3; }
.tracking-form-status.error { color: #ff98a5; }
.tracking-privacy-note { margin-top: 18px; }
.tracking-privacy-note span {
  margin-top: 6px;
  text-transform: none;
  line-height: 1.5;
}
.tracking-result-panel {
  min-height: 420px;
  padding: clamp(22px, 3vw, 34px);
}
.tracking-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.tracking-result-header .eyebrow { margin-bottom: 8px; }
.tracking-result-header h2 { font-size: clamp(25px, 3vw, 36px); }
.tracking-result-header p {
  margin: 7px 0 0;
  color: #839bb0;
  font-size: 12px;
}
.tracking-progress-ring {
  --tracking-progress: 0;
  width: 94px;
  height: 94px;
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #0d2239 77%, transparent 79% 100%),
    conic-gradient(var(--accent) calc(var(--tracking-progress) * 1%), rgba(132, 148, 149, .18) 0);
  text-align: center;
}
.tracking-progress-ring strong { color: #fff; font-size: 18px; }
.tracking-progress-ring span { color: #7890a5; font-size: 9px; text-transform: uppercase; }
.tracking-progress-bar {
  height: 4px;
  overflow: hidden;
  margin: 24px 0;
  border-radius: 999px;
  background: rgba(132, 148, 149, .15);
}
.tracking-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00b9c7, var(--accent));
  box-shadow: 0 0 18px rgba(0, 240, 255, .36);
}
.tracking-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
  border: 1px solid rgba(132, 148, 149, .18);
  background: rgba(3, 20, 39, .48);
}
.tracking-carrier-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid rgba(0, 240, 255, .22);
  border-radius: 7px;
  background: rgba(0, 240, 255, .055);
}
.tracking-carrier-card h3 { margin: 6px 0; color: #fff; }
.tracking-carrier-card p { margin: 0; color: #8ba2b6; font-size: 12px; }
.tracking-carrier-action { flex: 0 0 auto; }
.tracking-timeline-section,
.tracking-items-section {
  padding-top: 24px;
  border-top: 1px solid rgba(132, 148, 149, .18);
}
.tracking-items-section { margin-top: 28px; }
.customer-tracking-timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.customer-tracking-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  min-height: 96px;
  color: #667e94;
}
.customer-tracking-timeline li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 17px;
  bottom: -1px;
  width: 1px;
  background: rgba(132, 148, 149, .22);
}
.customer-tracking-timeline li:last-child::before { display: none; }
.tracking-stage-marker {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border: 2px solid #486076;
  border-radius: 50%;
  background: #0d2239;
}
.customer-tracking-timeline li.complete .tracking-stage-marker {
  border-color: #50dfc1;
  background: #50dfc1;
  box-shadow: 0 0 0 4px rgba(80, 223, 193, .08);
}
.customer-tracking-timeline li.current .tracking-stage-marker {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 240, 255, .1), 0 0 22px rgba(0, 240, 255, .24);
}
.customer-tracking-timeline strong { color: #71899e; font-size: 14px; }
.customer-tracking-timeline li.complete strong,
.customer-tracking-timeline li.current strong { color: #edf7ff; }
.customer-tracking-timeline p {
  max-width: 620px;
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.55;
}
.customer-tracking-timeline time {
  color: #7590a5;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
}
.tracking-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tracking-item-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(132, 148, 149, .16);
  border-radius: 6px;
  background: rgba(3, 20, 39, .44);
}
.tracking-item-card img { width: 54px; height: 54px; }
.tracking-item-card strong { color: #e9f4ff; font-size: 13px; }

/* Account order history */
.customer-orders-workspace {
  margin-top: 24px;
}
.customer-orders-state,
.customer-orders-browser {
  border: 1px solid rgba(132, 148, 149, .22);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(16, 32, 52, .96), rgba(6, 23, 41, .98));
  box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
}
.customer-orders-state {
  min-height: 360px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 48px 24px;
  text-align: center;
}
.customer-orders-state[hidden],
.customer-orders-browser[hidden] {
  display: none;
}
.customer-orders-state h2 {
  margin: 8px 0;
  color: #f3f9ff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
}
.customer-orders-state > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 22px;
  color: #8ba2b6;
  line-height: 1.65;
}
.customer-orders-state-icon,
.customer-orders-loader {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 240, 255, .3);
  border-radius: 50%;
  background: rgba(0, 240, 255, .07);
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 800;
}
.customer-orders-loader {
  border-color: rgba(132, 148, 149, .18);
  border-top-color: var(--accent);
  animation: customer-orders-spin .8s linear infinite;
}
@keyframes customer-orders-spin {
  to { transform: rotate(360deg); }
}
.customer-orders-browser {
  padding: clamp(20px, 3vw, 34px);
}
.customer-orders-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.customer-orders-heading h2 {
  margin: 7px 0 6px;
  color: #f3f9ff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(27px, 3vw, 38px);
}
.customer-orders-heading p:last-child {
  margin: 0;
  color: #8199ae;
  font-size: 13px;
}
.customer-orders-list {
  display: grid;
  gap: 16px;
}
.customer-order-card {
  overflow: hidden;
  border: 1px solid rgba(132, 148, 149, .2);
  border-radius: 8px;
  background: rgba(3, 20, 39, .58);
  transition: border-color .2s ease, transform .2s ease;
}
.customer-order-card:hover {
  border-color: rgba(0, 240, 255, .34);
  transform: translateY(-2px);
}
.customer-order-card-meta {
  display: grid;
  grid-template-columns: 1fr .75fr 1.2fr 1fr;
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(132, 148, 149, .16);
  background: rgba(132, 148, 149, .055);
}
.customer-order-card-meta span,
.customer-order-card-meta strong {
  display: block;
}
.customer-order-card-meta span {
  margin-bottom: 5px;
  color: #708aa1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.customer-order-card-meta strong {
  overflow-wrap: anywhere;
  color: #dceaf6;
  font-size: 12px;
}
.customer-order-number {
  text-align: right;
}
.customer-order-card-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 154px;
  align-items: center;
  gap: 24px;
  padding: 22px 20px;
}
.customer-order-previews {
  display: flex;
  align-items: center;
  min-height: 92px;
}
.customer-order-previews img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid #0a1d31;
  border-radius: 7px;
  background: #0b1c30;
}
.customer-order-previews img + img {
  margin-left: -48px;
}
.customer-order-card-copy h3 {
  margin: 10px 0 6px;
  color: #edf7ff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
}
.customer-order-card-copy h3 small {
  color: #829ab0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
}
.customer-order-card-copy p {
  margin: 0;
  color: #8199ae;
  font-size: 12px;
  line-height: 1.55;
}
.customer-order-card-actions {
  display: grid;
  gap: 8px;
}
.customer-order-card-actions .button {
  width: 100%;
  min-height: 39px;
  padding: 9px 12px;
  font-size: 11px;
}
.tracking-detail-toolbar {
  margin-bottom: 22px;
}
.tracking-detail-toolbar .button {
  min-height: 38px;
  padding: 8px 13px;
}

/* Order page header and footer */
.order-page-topbar {
  background: rgba(2, 16, 31, .92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .18);
}
.order-page-topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  min-height: 76px;
}
.order-page-topbar .site-nav {
  justify-self: center;
  padding: 6px;
  border: 1px solid rgba(132, 148, 149, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}
.order-page-topbar .site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 11px;
}
.order-page-topbar .site-nav a::after { display: none; }
.order-page-topbar .site-nav a.active {
  background: rgba(0, 240, 255, .1);
  color: var(--accent);
}
.order-page-topbar .topbar-actions {
  justify-self: end;
  flex-wrap: nowrap;
}
.order-page-topbar .topbar-actions > .topbar-link { display: none; }

.customer-footer {
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid rgba(132, 148, 149, .18);
  background:
    radial-gradient(circle at 18% 0, rgba(0, 240, 255, .07), transparent 28%),
    #020f1f;
}
.customer-footer-main,
.customer-footer-bottom {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}
.customer-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(2, minmax(160px, .55fr));
  gap: clamp(36px, 7vw, 96px);
  padding: 52px 0 44px;
}
.customer-footer-brand > p {
  max-width: 430px;
  margin: 20px 0 14px;
  color: #8299ae;
  font-size: 13px;
  line-height: 1.7;
}
.customer-footer-contact {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.customer-footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}
.customer-footer-column strong {
  margin-bottom: 4px;
  color: #edf7ff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.customer-footer-column a {
  width: max-content;
  max-width: 100%;
  color: #8299ae;
  font-size: 13px;
}
.customer-footer-column a:hover,
.customer-footer-contact:hover { color: #fff; }
.customer-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(132, 148, 149, .14);
  color: #617b91;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.customer-footer-bottom p { margin: 0; }

/* Contact page */
.contact-page-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 68px) 0 0;
}
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(32px, 7vw, 100px);
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid rgba(0, 240, 255, .2);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 30%, rgba(0, 240, 255, .13), transparent 28%),
    linear-gradient(145deg, #0d273c, #041426 72%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}
.contact-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  color: #f5faff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.05em;
}
.contact-hero > div > p:last-child {
  max-width: 660px;
  margin: 0;
  color: #9eb2c5;
  font-size: 16px;
  line-height: 1.7;
}
.contact-response-card,
.contact-help-card,
.contact-form-card {
  border: 1px solid rgba(132, 148, 149, .2);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(16, 32, 52, .97), rgba(6, 23, 41, .99));
}
.contact-response-card { padding: 24px; }
.contact-response-card span {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}
.contact-response-card strong { display: block; margin: 10px 0; color: #f2f8ff; font-size: 20px; }
.contact-response-card p { margin: 0; color: #8098ad; font-size: 12px; line-height: 1.65; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-items: start;
  gap: 20px;
  margin-top: 24px;
}
.contact-form-card { padding: clamp(24px, 4vw, 42px); }
.contact-form-heading h2,
.contact-help-card h2 {
  margin: 8px 0;
  color: #f2f8ff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
}
.contact-form-heading > p:last-child { margin: 0 0 26px; color: #7f98ad; font-size: 12px; }
.contact-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form-card label { display: grid; gap: 8px; color: #d4e3f1; font-size: 12px; font-weight: 700; }
.contact-form-card label > span small { color: #718a9f; font-size: 9px; font-weight: 500; text-transform: uppercase; }
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(132, 148, 149, .28);
  border-radius: 6px;
  outline: 0;
  background: rgba(2, 17, 33, .76);
  color: #eef7ff;
}
.contact-form-card input,
.contact-form-card select { min-height: 48px; padding: 11px 13px; }
.contact-form-card textarea { resize: vertical; min-height: 160px; padding: 13px; line-height: 1.6; }
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: rgba(0, 240, 255, .7);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .08);
}
.contact-form-card input[readonly] { color: #75eff7; background: rgba(0, 240, 255, .055); cursor: default; }
.contact-form-card label > small { color: #6f899f; font-size: 10px; font-weight: 500; }
.contact-message-field { margin-top: 18px; }
.contact-honeypot { position: fixed; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit-row { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.contact-submit-row .button { min-width: 170px; }
.contact-form-status { margin: 0; color: #8ca3b7; font-size: 12px; line-height: 1.5; }
.contact-form-status.success { color: #65e8c9; }
.contact-form-status.error { color: #ff9da8; }
.contact-help-card { position: sticky; top: 100px; padding: 30px; }
.contact-help-card ol { display: grid; gap: 20px; margin: 28px 0; padding: 0; list-style: none; }
.contact-help-card li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.contact-help-card li span { color: var(--accent); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; }
.contact-help-card li p { margin: 0; color: #879fb3; font-size: 12px; line-height: 1.6; }
.contact-help-card .button { width: 100%; }

@media (max-width: 1040px) {
  .order-page-topbar-inner {
    grid-template-columns: auto 1fr;
    padding: 12px 0;
  }
  .order-page-topbar .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
    order: 3;
  }
  .order-page-topbar .topbar-actions { justify-self: end; }
}

@media (max-width: 860px) {
  .customer-order-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-order-number { text-align: left; }
  .customer-order-card-body {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .customer-order-card-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .customer-footer-brand { grid-column: 1 / -1; }
  .contact-hero,
  .contact-layout { grid-template-columns: 1fr; }
  .contact-help-card { position: static; }
}
@media (max-width: 600px) {
  .customer-orders-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-orders-heading .button { width: 100%; }
  .customer-order-card-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .customer-order-card-body {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .customer-order-previews { min-height: 76px; }
  .customer-order-previews img {
    width: 72px;
    height: 72px;
  }
  .customer-order-card-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .order-page-topbar-inner {
    display: flex;
    align-items: stretch;
  }
  .order-page-topbar .brand-copy small { display: none; }
  .order-page-topbar .site-nav {
    order: 2;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .order-page-topbar .topbar-actions {
    order: 3;
    width: 100%;
    justify-self: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .order-page-topbar .pricing-region-control { flex: 1; }
  .order-page-topbar .pricing-region-control select { width: 100%; max-width: none; }
  .order-page-topbar .auth-nav { width: auto; flex: 0 1 auto; justify-content: flex-end; }
  .order-page-topbar .auth-chip { flex: 0 1 156px; }
  .customer-footer-main,
  .customer-footer-bottom {
    width: min(calc(100vw - 28px), 1280px);
  }
  .customer-footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 34px;
  }
  .customer-footer-brand { grid-column: auto; }
  .customer-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .contact-page-shell { width: min(calc(100vw - 24px), 1280px); padding-top: 16px; }
  .contact-hero { padding: 30px 22px; }
  .contact-field-grid { grid-template-columns: 1fr; }
  .contact-submit-row { align-items: stretch; flex-direction: column; }
  .contact-submit-row .button { width: 100%; }
}

@media (max-width: 980px) {
  .order-success-hero,
  .tracking-hero { grid-template-columns: 1fr; min-height: 0; }
  .order-success-emblem,
  .tracking-hero-badge { display: none; }
  .order-success-meta-strip,
  .tracking-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-success-meta-strip > div:nth-child(2),
  .tracking-summary-grid > div:nth-child(2) { border-right: 0; }
  .order-success-meta-strip > div:nth-child(-n+2),
  .tracking-summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(132, 148, 149, .2); }
  .order-success-grid { grid-template-columns: 1fr; }
  .tracking-workspace { grid-template-columns: 1fr; }
  .tracking-lookup-card { position: static; }
}
@media (max-width: 640px) {
  .order-success-page,
  .tracking-page-shell {
    width: min(calc(100% - 24px), 1280px);
    padding-top: 16px;
  }
  .order-success-hero,
  .tracking-hero { padding: 28px 22px; border-radius: 7px; }
  .order-success-copy h1,
  .tracking-hero-copy h1 { font-size: clamp(34px, 12vw, 50px); }
  .order-success-actions { flex-direction: column; }
  .order-success-actions .button { width: 100%; }
  .order-success-meta-strip {
    grid-template-columns: 1fr;
    margin: 0 8px;
  }
  .order-success-meta-strip > div,
  .tracking-summary-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(132, 148, 149, .18);
  }
  .order-success-meta-strip > div:last-child,
  .tracking-summary-grid > div:last-child { border-bottom: 0; }
  .order-receipt-item { grid-template-columns: 54px minmax(0, 1fr); }
  .order-receipt-item > strong { grid-column: 2; }
  .order-receipt-item img { width: 54px; height: 54px; }
  .tracking-result-header { align-items: flex-start; }
  .tracking-progress-ring { width: 78px; height: 78px; }
  .tracking-summary-grid { grid-template-columns: 1fr; }
  .tracking-carrier-card { align-items: stretch; flex-direction: column; }
  .tracking-item-grid { grid-template-columns: 1fr; }
}
.shop-category-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 150px;
  place-items: center;
  background: linear-gradient(145deg, #3b3261, #202532 68%, #31394a);
  color: rgba(255, 255, 255, .82);
  font: 800 clamp(2.5rem, 8vw, 5rem)/1 Montserrat, sans-serif;
}
