:root {
  --bg: #faf6f1;
  --surface: #fffdfb;
  --surface-soft: #fff3e9;
  --surface-strong: #2b2521;
  --ink: #28231f;
  --muted: #766d66;
  --line: #eadfd6;
  --line-strong: #d9c9bd;
  --orange: #f47a3a;
  --orange-dark: #c84f21;
  --orange-soft: #fee8d8;
  --green: #385444;
  --success: #2f7840;
  --danger: #b93a2f;
  --shadow: 0 26px 80px rgba(87, 55, 36, .10);
  --radius: 16px;
  --radius-lg: 30px;
  --shell: min(1440px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 2%, rgba(244, 122, 58, .13), transparent 27%),
    radial-gradient(ellipse at 94% 24%, rgba(255, 208, 174, .20), transparent 24%),
    var(--bg);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255, 104, 31, .25);
  outline-offset: 2px;
}

.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 241, .78);
  backdrop-filter: blur(22px) saturate(1.15);
  border-bottom: 1px solid rgba(222, 204, 191, .62);
}
.site-header, .breadcrumb { display: none; }
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.045em;
}
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 13px 6px;
  background: linear-gradient(145deg, #ff955f, var(--orange));
  color: white;
  box-shadow: 0 8px 20px rgba(255, 104, 31, .24);
}
.brand-mark svg { width: 23px; height: 23px; fill: currentColor; }
.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}
.nav-links a {
  color: #4e534d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--orange-dark); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-link {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.header-cta {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--surface-strong);
  color: white;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.header-cta:hover { background: var(--orange-dark); }
.menu-button { display: none; border: 0; background: transparent; font-size: 22px; }

.breadcrumb {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: #7d817a;
  font-size: 11px;
  font-weight: 600;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb b { color: var(--ink); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  gap: 42px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 44px;
}

.visual-card {
  position: sticky;
  top: 92px;
  min-width: 0;
  border: 1px solid rgba(227, 210, 198, .78);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .92);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-head {
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(231, 215, 203, .7);
}
.lab-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lab-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(244, 122, 58, .14);
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.live-status i { width: 6px; height: 6px; border-radius: 50%; background: #41a055; }
.visual-tools { margin-left: auto; display: flex; gap: 6px; }
.ghost-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.ghost-button:hover { border-color: var(--orange); color: var(--orange-dark); }
.ghost-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.preview-workspace {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 610px;
  background:
    radial-gradient(ellipse at 55% 43%, #fffdfb 0, #fff8f1 42%, #f4ebe3 100%);
}
.preview-workspace::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 470px;
  left: 29%;
  top: 62px;
  border-radius: 46% 54% 58% 42% / 42% 44% 56% 58%;
  background: rgba(255, 224, 201, .34);
  transform: rotate(8deg);
  filter: blur(.2px);
  pointer-events: none;
}
.preview-workspace::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -105px;
  top: -125px;
  border-radius: 50%;
  border: 54px solid rgba(244, 122, 58, .07);
  pointer-events: none;
}
.thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 10px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  color: var(--muted);
  overflow: hidden;
  cursor: pointer;
}
.thumb:hover { border-color: var(--orange); }
.thumb.is-active { border: 1px solid var(--orange); background: var(--surface-soft); box-shadow: 0 8px 22px rgba(187, 90, 42, .12); }
.thumb svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.thumb .mini-paddle {
  position: relative;
  width: 32px;
  height: 62px;
}
.thumb .mini-paddle::before {
  content: "";
  position: absolute;
  inset: 0 2px 18px;
  border: 2px solid #30332f;
  border-radius: 9px 9px 13px 13px;
  background: linear-gradient(145deg, #fff 48%, var(--orange-soft) 49%);
}
.thumb .mini-paddle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 22px;
  left: 12px;
  bottom: 0;
  border-radius: 2px;
  background: #20221f;
}
.view-paddle {
  position: relative;
  width: 31px;
  height: 58px;
  transform-style: preserve-3d;
}
.view-paddle::before {
  content: "";
  position: absolute;
  inset: 0 2px 17px;
  border: 2px solid #181a17;
  border-radius: 8px 8px 12px 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee8e2;
}
.view-paddle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 21px;
  left: 12px;
  bottom: 0;
  border-radius: 2px;
  background: #20211f;
}
.view-angle { transform: perspective(80px) rotateY(-31deg) rotateZ(-4deg); }
.view-side { transform: perspective(80px) rotateY(-78deg); }
.view-back::before { background: linear-gradient(145deg, #fff 55%, #f3eee9 56%); }
.thumb small {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  font-size: 7px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}
.thumb-upload { border-style: dashed; color: var(--orange-dark); background: rgba(254, 232, 216, .72); }
.viewer { position: relative; min-width: 0; height: 610px; overflow: hidden; }
#glcanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#glcanvas:active { cursor: grabbing; }
.model-loading {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 250, 246, .94);
  transition: .28s ease;
}
.model-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #f1d5c3;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.model-loading b { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.model-loading.is-done { opacity: 0; pointer-events: none; }
.model-loading.is-error { color: var(--danger); }
.model-loading.is-error span { display: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.viewer-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.viewer-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(222, 223, 217, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
  padding: 8px 11px;
  color: #60655e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}
.viewer-hint svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 1.8; }
.side-switch { display: flex; gap: 5px; pointer-events: auto; }
.side-switch button {
  min-width: 58px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
.side-switch button.is-active { border-color: var(--orange); background: var(--orange); color: white; }
.visual-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 9px;
  border-top: 1px solid rgba(231, 215, 203, .7);
  background: #faf4ef;
}
.proof-item {
  min-height: 79px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(231, 215, 203, .56);
  border-radius: 15px;
  background: rgba(255,255,255,.62);
}
.proof-item:last-child { border-right: 1px solid rgba(231, 215, 203, .56); }
.proof-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 34%;
  background: linear-gradient(145deg, #fff0e6, var(--orange-soft));
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
}
.proof-item b { display: block; font-size: 10px; }
.proof-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.35; }

.product-info { min-width: 0; }
.product-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.product-kicker span { padding: 7px 11px; border-radius: 999px; background: rgba(254, 232, 216, .82); }
.product-info h1 {
  max-width: 610px;
  margin: 17px 0 15px;
  font-family: "Poppins", ui-sans-serif, sans-serif;
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.052em;
}
.product-info h1 em { color: var(--orange-dark); font-weight: 500; }
.product-intro { max-width: 600px; margin: 0; color: #665d56; font-size: 14px; line-height: 1.72; }
.rating-row { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0; border-radius: 999px; background: rgba(255,255,255,.56); padding: 7px 11px; color: var(--muted); font-size: 10px; }
.rating-row b { color: #51483f; }
.rating-dot { width: 7px; height: 7px; border-radius: 50%; background: #58a36d; box-shadow: 0 0 0 4px rgba(88,163,109,.13); }
.stars { color: #f6a700; letter-spacing: 1px; font-size: 14px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  margin: 18px 0;
}
.metric { min-height: 76px; padding: 14px 16px; border: 1px solid rgba(226, 209, 196, .72); border-radius: 16px; background: rgba(255,253,251,.76); }
.metric:last-child { border-right: 1px solid rgba(226, 209, 196, .72); }
.metric strong { display: block; color: #342b25; font-size: 17px; font-weight: 750; }
.metric span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.pricing-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(241, 185, 149, .52);
  border-left: 0;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(254,232,216,.82), rgba(255,248,242,.72));
  margin-bottom: 18px;
}
.pricing-note strong { font-size: 13px; }
.pricing-note span { color: #7c563f; font-size: 10px; }

.configurator {
  border: 1px solid rgba(225, 205, 191, .74);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 24px 70px rgba(95, 57, 35, .08);
  overflow: hidden;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 12px;
  padding: 6px;
  border: 0;
  border-radius: 18px;
  background: #f8eee6;
}
.step {
  position: relative;
  border: 0;
  background: transparent;
  min-height: 52px;
  border-radius: 13px;
  padding: 5px 6px;
  color: #a0a49d;
  cursor: pointer;
}
.step::after { display: none; }
.step:last-child::after { display: none; }
.step b {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin: 0 5px 0 0;
  border: 1px solid #d4d7d0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  font-size: 9px;
}
.step span { display: inline; font-size: 9px; font-weight: 750; }
.step.is-active { color: var(--orange-dark); }
.step.is-active { background: rgba(255,255,255,.94); box-shadow: 0 7px 18px rgba(99,61,39,.09); }
.step.is-active b { border-color: var(--orange); background: var(--orange); color: white; box-shadow: none; }
.step.is-done { color: var(--green); }
.step.is-done b { border-color: #c9d9cd; background: #ebf3ed; color: var(--green); }
.config-panel { display: none; padding: 14px 24px 24px; animation: panel-in .24s ease; }
.config-panel.is-active { display: block; }
@keyframes panel-in { from { opacity: .45; transform: translateY(4px); } }
.panel-title { margin: 0 0 15px; font-family: "Poppins", ui-sans-serif, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.panel-lead { margin: -7px 0 15px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.panel-eyebrow {
  margin: 1px 0 8px;
  color: var(--orange-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.palette-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 12px;
  border-radius: 13px;
  background: #fff2e8;
  padding: 9px 11px;
  color: #7a5c49;
  font-size: 8px;
  font-weight: 700;
}
.palette-guide span { display: inline-flex; align-items: center; gap: 7px; }
.palette-guide i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244,122,58,.13); }
.material-grid { display: grid; gap: 8px; }
.material-card {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 17px;
  background: #f8f5f1;
  padding: 9px 12px;
  text-align: left;
  cursor: pointer;
}
.material-card:hover { border-color: #efb08d; background: #fff8f2; transform: translateY(-1px); }
.material-card.is-active { border: 1px solid #ef9f74; background: #fff3ea; padding: 9px 12px; box-shadow: 0 8px 24px rgba(193,87,34,.08); }
.material-card.is-active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 900;
}
.mat-dot {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background: repeating-linear-gradient(45deg, #242724 0 3px, #565b55 3px 6px);
}
.material-card[data-material="Fiberglass"] .mat-dot { background: linear-gradient(145deg, #e3dfd3, #99968d); }
.material-card[data-material="T700 Carbon"] .mat-dot { background: repeating-linear-gradient(135deg, #101311 0 2px, #454b46 2px 4px); }
.material-copy strong { display: block; font-size: 12px; }
.material-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.material-meta { text-align: right; }
.material-meta b { display: block; font-size: 10px; }
.material-meta small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.popular { display: inline-flex; margin-top: 4px; border-radius: 999px; background: #e8f3eb; color: var(--success); padding: 3px 6px; font-size: 7px; font-weight: 900; font-style: normal; }
.option-section { margin-top: 18px; }
.option-section:first-of-type { margin-top: 4px; }
.option-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.option-section-head h3 { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.option-section-head span { color: var(--muted); font-size: 8px; font-weight: 700; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.option-card {
  position: relative;
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #ebe2db;
  border-radius: 15px;
  background: #faf7f3;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.option-card:hover { border-color: #efb08d; background: #fff9f4; transform: translateY(-1px); }
.option-card.is-active { border-color: #ef9462; background: #fff1e6; box-shadow: 0 8px 22px rgba(193,87,34,.08); }
.option-card.is-active::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 7px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}
.option-card:has(.option-price).is-active::after { display: none; }
.option-thumb {
  position: relative;
  width: 46px;
  height: 48px;
  display: block;
  overflow: hidden;
  border: 1px solid #eee5dd;
  border-radius: 11px;
  background: #fff;
}
.option-copy { min-width: 0; }
.option-copy strong { display: block; padding-right: 6px; font-size: 9px; line-height: 1.25; }
.option-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; line-height: 1.3; }
.option-price { align-self: start; margin-top: 2px; color: var(--orange-dark); font-size: 8px; font-weight: 800; }
.shape-thumb { --head-w: 22px; --head-h: 25px; --head-radius: 8px 8px 9px 9px; }
.shape-thumb::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 50%;
  width: var(--head-w);
  height: var(--head-h);
  transform: translateX(-50%);
  border: 1.5px solid #232522;
  border-radius: var(--head-radius);
  background: linear-gradient(145deg, #fff 48%, #fff0e5 49%);
}
.shape-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(4px + var(--head-h));
  width: 5px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 0 0 2px 2px;
  background: #20221f;
}
.shape-thumb i { position: absolute; z-index: 3; left: 50%; bottom: 4px; width: 7px; height: 3px; transform: translateX(-50%); border-radius: 2px; background: #111; }
.shape-standard-flat { --head-radius: 3px 3px 8px 8px; }
.shape-extended-bottom { --head-h: 28px; --head-radius: 8px 8px 11px 11px; }
.shape-hybrid { --head-w: 21px; --head-h: 28px; --head-radius: 9px 9px 6px 6px; }
.shape-standard-widened { --head-w: 26px; --head-h: 24px; }
.shape-elongated { --head-w: 18px; --head-h: 31px; --head-radius: 7px 7px 8px 8px; }
.shape-wide-flat { --head-w: 29px; --head-h: 22px; --head-radius: 3px 3px 8px 8px; }
.shape-wide-rounded { --head-w: 29px; --head-h: 23px; --head-radius: 10px; }
.shape-wide-elongated { --head-w: 25px; --head-h: 28px; --head-radius: 8px; }
.shape-square { --head-w: 27px; --head-h: 24px; --head-radius: 3px; }
.shape-aerodynamic { --head-w: 21px; --head-h: 29px; --head-radius: 11px 11px 5px 5px; }
.shape-aerodynamic::before { clip-path: polygon(15% 4%, 85% 4%, 100% 30%, 82% 100%, 18% 100%, 0 30%); }
.core-thumb::before, .core-thumb::after { content: ""; position: absolute; }
.core-thumb::before { inset: 7px; border-radius: 9px; background: #dedbd2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.core-honeycomb::before { background-color: #e6dfce; background-image: radial-gradient(circle at 4px 4px, transparent 2.3px, #c6bda8 2.5px 3.2px, transparent 3.4px); background-size: 8px 8px; }
.core-honeycomb-gen4::before { background-color: #ddd9ca; background-image: linear-gradient(30deg, #f6c75c 12%, transparent 12.5%, transparent 87%, #f6c75c 87.5%), linear-gradient(150deg, #f6c75c 12%, transparent 12.5%, transparent 87%, #f6c75c 87.5%); background-size: 10px 17px; }
.core-epp::before { background: radial-gradient(circle, #5e625e 1px, transparent 1.5px) 0 0 / 6px 6px, #252824; }
.core-mpp::before { background: radial-gradient(circle at 30% 25%, #f9f8f4 1px, #e5e3de 2px, transparent 2.5px) 0 0 / 8px 8px, #eeece7; }
.core-boomstick::before { background: linear-gradient(90deg, #1c211e 0 18%, #363c38 18% 82%, #1c211e 82%); }
.core-mixed::before { background: linear-gradient(90deg, #222824 0 50%, #eceae5 50%); }
.surface-thumb::after { content: ""; position: absolute; inset: 6px; border-radius: 7px; }
.surface-fiberglass::after { background: repeating-linear-gradient(30deg, #f2f0eb 0 2px, #ddd9d0 2px 4px); }
.surface-carbon::after { background: repeating-linear-gradient(135deg, #151815 0 3px, #3b403b 3px 6px); }
.surface-kevlar::after { background: repeating-linear-gradient(45deg, #2b2a20 0 2px, #5d5840 2px 4px); }
.surface-titanium::after { background: linear-gradient(145deg, #302f2d, #68645a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.press-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #e9f1ec; color: var(--green); font-size: 12px; font-weight: 900; }
.press-symbol.hot { background: #fee4d6; color: var(--orange-dark); }
.press-card { grid-template-columns: 38px minmax(0, 1fr) auto; }
.prototype-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; border-radius: 13px; background: #f6f0ea; padding: 9px 11px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.prototype-note span { flex: 0 0 auto; border-radius: 999px; background: #fff; color: var(--orange-dark); padding: 4px 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.panel-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.primary-button, .secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 17px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button { border: 1px solid var(--orange); background: linear-gradient(135deg, #ff9258, var(--orange)); color: white; box-shadow: 0 12px 26px rgba(207, 79, 28, .18); }
.primary-button:hover { border-color: var(--orange-dark); background: var(--orange-dark); }
.secondary-button { border: 1px solid var(--line-strong); background: white; }
.secondary-button:hover { border-color: var(--orange); color: var(--orange-dark); }
.next { width: 100%; }
.bulk-cta { min-width: 126px; }
.bulk-cta b { display: block; color: var(--orange-dark); font-size: 9px; }
.start-design {
  width: 100%;
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 1px dashed #eaa078;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 5%, #fff, var(--surface-soft));
  color: var(--ink);
  cursor: pointer;
}
.start-design .upload-button-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 50% 50% 50% 36%;
  background: linear-gradient(145deg, #ff965f, var(--orange));
  color: white;
}
.start-design svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.start-design strong { display: block; font-size: 13px; }
.start-design small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.upload-status { min-height: 28px; display: flex; align-items: center; margin-top: 8px; color: var(--muted); font-size: 9px; }
.design-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.design-check {
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 9px;
  background: #f8f4f0;
}
.design-check b { display: block; color: var(--orange-dark); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.design-check span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }

.color-list { display: grid; gap: 9px; }
.color-editor {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 10px 11px;
  background: #f8f4f0;
}
.color-label b { display: block; font-size: 10px; }
.color-label small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.swatch {
  width: 27px;
  height: 27px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1px #cdd0c8;
  cursor: pointer;
}
.swatch:hover { transform: translateY(-1px); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--orange); }
.custom-color { display: flex; align-items: center; gap: 6px; }
.picker-shell {
  width: 33px;
  height: 33px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: white;
}
.picker-shell input { width: 46px; height: 46px; margin: -7px; border: 0; padding: 0; cursor: pointer; }
.hex-field {
  width: 76px;
  height: 33px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: white;
  padding: 0 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-transform: uppercase;
}
.pantone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 10px 11px;
  border-radius: 16px;
  background: var(--surface-soft);
}
.pantone-row label { font-size: 9px; font-weight: 850; white-space: nowrap; }
.pantone-row input { flex: 1; min-width: 0; height: 36px; border: 1px solid #e8b798; border-radius: 11px; background: rgba(255,255,255,.88); padding: 0 10px; font-size: 9px; }
.pantone-row small { max-width: 142px; color: #8c654e; font-size: 7px; line-height: 1.35; }

.summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.summary-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); }
.summary-row b { max-width: 68%; text-align: right; }
.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.field { display: grid; gap: 5px; }
.field.wide { grid-column: 1 / -1; }
.field label { color: #626760; font-size: 8px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,.88);
  padding: 8px 9px;
  font-size: 9px;
}
.field textarea { min-height: 62px; resize: vertical; }
.quote-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 11px; }
.form-status { min-height: 22px; margin: 7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.4; }

.process-section { padding: 62px 0 82px; border-top: 1px solid var(--line); background: #fffdfb; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.section-head span { color: var(--orange-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.section-head h2 { max-width: 650px; margin: 8px 0 0; font-family: "Poppins", ui-sans-serif, sans-serif; font-size: 32px; font-weight: 600; letter-spacing: -.045em; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; border: 0; border-radius: 0; overflow: visible; }
.process-card { min-height: 178px; padding: 22px; border: 1px solid #eadfd6; border-radius: 22px; background: #fbf7f2; }
.process-card:nth-child(2) { background: #fff1e7; transform: translateY(10px); }
.process-card:nth-child(3) { background: #f5f1ea; }
.process-card:nth-child(4) { background: #fff7ef; transform: translateY(10px); }
.process-card:nth-child(5) { background: #f7f1eb; }
.process-card:last-child { border-right: 1px solid #eadfd6; }
.process-number { color: var(--orange); font-size: 11px; font-weight: 900; }
.process-card h3 { margin: 27px 0 8px; font-family: "Poppins", ui-sans-serif, sans-serif; font-size: 16px; font-weight: 600; }
.process-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: #191b18;
  color: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  padding: 11px 15px;
  font-size: 10px;
  font-weight: 800;
  transition: .2s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.design-dialog { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 18px; background: rgba(17, 19, 16, .66); backdrop-filter: blur(5px); }
.design-dialog.is-open { display: grid; }
.design-dialog-card {
  position: relative;
  width: min(1220px, 100%);
  height: min(840px, calc(100vh - 36px));
  display: grid;
  grid-template-columns: 185px 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 26px;
  background: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}
.design-close {
  position: absolute;
  top: 12px;
  right: 13px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 20px;
  cursor: pointer;
}
.design-side { grid-row: 1 / 3; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #faf9f6; }
.design-side-title { min-height: 74px; display: flex; align-items: center; padding: 0 17px; background: linear-gradient(145deg, #ff945c, var(--orange)); color: white; font-family: "Poppins", ui-sans-serif, sans-serif; font-size: 15px; font-weight: 600; }
.design-side-title small { display: block; margin-top: 3px; font-size: 7px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .8; }
.side-choice { min-height: 54px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0 17px; text-align: left; font-size: 10px; font-weight: 900; cursor: pointer; }
.side-choice.is-active { background: var(--orange-soft); color: var(--orange-dark); box-shadow: inset 4px 0 var(--orange); }
.side-links { margin-top: auto; display: grid; gap: 7px; padding: 15px; }
.side-links a { color: #555a54; font-size: 8px; line-height: 1.4; }
.design-editor { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto 1fr auto; background: #292b28; }
.editor-head { min-height: 62px; display: flex; align-items: center; gap: 9px; padding: 9px 62px 9px 13px; border-bottom: 1px solid var(--line); background: white; }
.editor-head button { min-height: 36px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; padding: 0 11px; font-size: 9px; font-weight: 850; cursor: pointer; }
.editor-head span { color: var(--muted); font-size: 8px; }
.editor-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, #50534e, #282a27 74%); }
.editor-empty { width: min(520px, calc(100% - 42px)); height: 280px; border: 1px dashed rgba(255, 255, 255, .34); border-radius: 22px; background: rgba(255, 255, 255, .04); color: white; cursor: pointer; }
.editor-empty i { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50% 50% 50% 36%; background: var(--orange); font-style: normal; font-size: 24px; }
.editor-empty b { display: block; font-size: 20px; }
.editor-empty small { display: block; margin-top: 7px; color: #cbd0c9; font-size: 9px; }
.crop-wrap { position: relative; height: min(60vh, 620px); aspect-ratio: 577 / 857; max-width: calc(100% - 44px); max-height: calc(100% - 22px); background: white; box-shadow: 0 12px 38px rgba(0, 0, 0, .35); cursor: grab; touch-action: none; }
.crop-wrap:active { cursor: grabbing; }
.editor-empty[hidden], .crop-wrap[hidden] { display: none !important; }
#crop-canvas { display: block; width: 100%; height: 100%; background: white; }
.crop-guide { position: absolute; inset: 0; pointer-events: none; background: url('./assets/dink/mask-outside.png') center / 100% 100% no-repeat; opacity: .8; }
.crop-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 33.1%, rgba(255,255,255,.5) 33.3%, transparent 33.5%, transparent 66.4%, rgba(255,255,255,.5) 66.6%, transparent 66.8%), linear-gradient(transparent 33.1%, rgba(255,255,255,.5) 33.3%, transparent 33.5%, transparent 66.4%, rgba(255,255,255,.5) 66.6%, transparent 66.8%); opacity: .5; }
.editor-tools { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 8px 10px; border-top: 1px solid var(--line); background: white; }
.tool-btn { min-height: 36px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; padding: 0 10px; font-size: 9px; font-weight: 800; cursor: pointer; }
.tool-btn:hover, .tool-btn.is-active { border-color: var(--orange); color: var(--orange-dark); background: var(--orange-soft); }
.zoom-control, .editor-input-control { min-height: 36px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 0 9px; color: #565b54; font-size: 8px; }
.zoom-control input[type="range"] { width: 100px; accent-color: var(--orange); }
.editor-input-control input[type="color"] { width: 24px; height: 24px; border: 0; padding: 0; }
.editor-input-control input[type="text"] { width: 112px; height: 27px; border: 0; border-left: 1px solid var(--line); padding-left: 7px; font-size: 8px; }
.tool-divider { width: 1px; height: 28px; background: var(--line); }
.text-add { border-color: #eda57d; background: var(--orange-soft); color: var(--orange-dark); }
.text-content-control input[type="text"] { width: 145px; }
.text-size-control input[type="range"] { width: 78px; }
.angle-control { gap: 3px; }
.angle-control input[type="number"] { width: 47px; height: 27px; border: 0; border-left: 1px solid var(--line); padding-left: 7px; font-size: 8px; }
.angle-control span { color: var(--muted); font-size: 9px; }
.text-delete { color: var(--danger); }
.text-delete:disabled, #text-bold:disabled, .text-content-control:has(input:disabled), .text-size-control:has(input:disabled), .angle-control:has(input:disabled) { opacity: .42; cursor: not-allowed; }
.design-savebar { grid-column: 2; min-height: 105px; display: grid; place-items: center; padding: 11px; border-top: 1px solid var(--line); background: white; }
.same-row { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 9px; }
.same-row input { width: 17px; height: 17px; accent-color: var(--orange); }
.dpi-status { margin-top: 5px; border-radius: 999px; background: #d9eedc; color: #255a31; padding: 4px 10px; text-align: center; font-size: 8px; }
.save-design { display: block; width: min(310px, 100%); min-height: 42px; margin: 7px auto 0; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ff945c, var(--orange)); color: white; font-size: 10px; font-weight: 850; cursor: pointer; }
.save-design:disabled { opacity: .42; cursor: not-allowed; }
body.editor-open { overflow: hidden; }

@media (max-width: 1120px) {
  .product-layout { grid-template-columns: 1fr; }
  .visual-card { position: relative; top: auto; }
  .preview-workspace { min-height: 570px; }
  .viewer { height: 570px; }
  .product-info { max-width: 760px; margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 24px, 1440px); }
  .nav { min-height: 62px; gap: 12px; }
  .nav-links, .header-link { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .header-cta { min-height: 38px; padding-inline: 12px; }
  .breadcrumb { min-height: 42px; }
  .product-layout { gap: 18px; }
  .visual-card { border-radius: 16px; }
  .visual-head { min-height: 58px; padding: 11px 12px; }
  .visual-tools .ghost-button span { display: none; }
  .preview-workspace { grid-template-columns: 1fr; min-height: 500px; }
  .thumbs { order: 2; flex-direction: row; border-right: 0; border-top: 1px solid var(--line); padding: 9px; }
  .thumb { width: 56px; height: 56px; flex: 0 0 56px; }
  .viewer { height: 500px; }
  .visual-footer { display: none; }
  .proof-item:nth-child(2) { border-right: 1px solid rgba(231, 215, 203, .56); }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(231, 215, 203, .56); }
  .product-info h1 { font-size: 36px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 62px; border-right: 1px solid rgba(226, 209, 196, .72); border-bottom: 1px solid rgba(226, 209, 196, .72); }
  .metric:last-child { border-bottom: 1px solid rgba(226, 209, 196, .72); }
  .config-panel { padding: 15px; }
  .steps { gap: 3px; margin: 8px; padding: 4px; }
  .step { min-height: 48px; padding: 4px 2px; }
  .step b { display: grid; margin: 0 auto 2px; }
  .step span { display: block; font-size: 7px; }
  .panel-actions, .quote-actions { grid-template-columns: 1fr; }
  .color-editor { grid-template-columns: 1fr; gap: 8px; }
  .palette-guide { align-items: flex-start; flex-direction: column; }
  .custom-color { justify-content: flex-start; }
  .pantone-row { align-items: flex-start; flex-wrap: wrap; }
  .pantone-row small { max-width: none; }
  .inquiry { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(2), .process-card:nth-child(4) { min-height: 132px; transform: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process-card:last-child { border-bottom: 1px solid var(--line); }
  .design-dialog { padding: 0; }
  .design-dialog-card { width: 100%; height: 100%; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; border-radius: 0; }
  .design-side { grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .design-side-title, .side-links { display: none; }
  .side-choice { min-height: 47px; text-align: center; }
  .side-choice.is-active { box-shadow: inset 0 -3px var(--orange); }
  .design-editor { grid-row: 2; }
  .editor-head { min-height: 50px; padding-right: 55px; }
  .editor-head span { display: none; }
  .crop-wrap { height: min(57vh, 520px); max-width: calc(100% - 20px); }
  .editor-tools { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .design-savebar { grid-column: 1; min-height: 97px; }
}

@media (max-width: 520px) {
  .option-grid { grid-template-columns: 1fr; }
  .option-card { min-height: 61px; }
  .step span { font-size: 6px; }
  .product-kicker { align-items: flex-start; flex-direction: column; }
}

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