:root {
  --to-navy: #1e2a43;
  --to-navy-deep: #141c2e;
  --to-gold: #c9a45c;
  --to-gold-soft: #e2c684;
  --to-cream: #fbf8f2;
  --to-sand: #efe2c7;
  --to-ink: #161616;
  --to-muted: #666a73;
  --to-line: rgba(30, 42, 67, 0.12);
  --to-font-display: "Cormorant Garamond", Georgia, serif;
  --to-font-body: "Manrope", system-ui, sans-serif;
  --to-bar: 56px;
  --to-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.to-hub,
body.to-app {
  font-family: var(--to-font-body);
  color: var(--to-ink);
  background: var(--to-cream);
}

.to-hub-bg,
.to-app-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(201, 164, 92, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(30, 42, 67, 0.1), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--to-cream) 40%, #f3ece0 100%);
}
body.to-hub .to-hub-bg { display: none; }

/* Shared path switch on hub + landing pages — segmented control */
.lp-path-switch {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f4f1ea;
  border-bottom: 1px solid var(--to-line);
  padding: 10px 0 12px;
}
.lp-path-switch-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 !important;
  border: 1px solid rgba(30, 42, 67, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(26, 32, 44, 0.06);
}
.lp-path-switch a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  min-height: 58px;
  min-width: 0;
  padding: 10px 8px !important;
  text-align: center;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-right: 1px solid rgba(30, 42, 67, 0.12) !important;
  background: #fff !important;
  color: var(--to-navy) !important;
  box-shadow: none !important;
}
.lp-path-switch a:last-child { border-right: 0 !important; }
.lp-path-switch a strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
}
.lp-path-switch a .path-switch-hint {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--to-muted);
}
.lp-path-switch .path-switch-short { display: none; }
.lp-path-switch .path-switch-full { display: inline; }
.lp-path-switch a:hover { background: rgba(201, 164, 92, 0.12) !important; }
.lp-path-switch a.is-active {
  background: var(--to-navy) !important;
  color: #fff !important;
}
.lp-path-switch a.is-active .path-switch-hint { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 760px) {
  .lp-path-switch { padding: 8px 0 10px; }
  .lp-path-switch-inner {
    width: min(1120px, calc(100% - 20px));
    border-radius: 14px;
  }
  .lp-path-switch a { min-height: 54px; padding: 8px 4px !important; }
  .lp-path-switch a strong { font-size: 0.78rem; letter-spacing: -0.01em; }
  .lp-path-switch a .path-switch-hint { font-size: 0.66rem; }
  .lp-path-switch .path-switch-full { display: none; }
  .lp-path-switch .path-switch-short { display: inline; }
}

body.to-hub .to-top {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 5;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
@media (max-width: 760px) {
  body.to-hub .to-top { top: 70px; }
}
body.to-hub .to-nav a { color: rgba(247, 241, 230, 0.78); }
body.to-hub .to-nav a.active,
body.to-hub .to-nav a:hover { color: #fff; }
body.to-hub .to-lang {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
body.to-hub .to-phone { color: #fff; }
body.to-hub .to-logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.to-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--to-line);
}
.to-logo img { display: block; height: 42px; width: auto; }
.to-nav { display: none; gap: 1rem; }
.to-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--to-muted);
}
.to-nav a.active,
.to-nav a:hover { color: var(--to-navy); }
.to-top-actions { display: flex; align-items: center; gap: 0.75rem; }
.to-lang {
  border: 1px solid var(--to-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--to-navy);
}
.to-phone {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--to-navy);
  white-space: nowrap;
}

.to-hub-hero {
  position: relative;
  min-height: min(88dvh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f1e6;
  isolation: isolate;
}
.to-hub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.to-hub-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  display: block;
  transform: scale(1.04);
  animation: to-hub- ken 18s ease-out forwards;
}
.to-hub-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 18, 28, 0.78) 0%, rgba(14, 18, 28, 0.42) 48%, rgba(14, 18, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(14, 18, 28, 0.2) 0%, rgba(14, 18, 28, 0.72) 100%);
}
.to-hub-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(5.5rem, 14vw, 7.5rem) 0 clamp(2rem, 5vw, 3rem);
  animation: to-hub-rise 0.9s ease-out both;
}
.to-hub-brand {
  margin: 0 0 0.55rem;
  font-family: var(--to-font-display);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--to-gold-soft);
}
.to-hub-hero h1 {
  margin: 0 0 0.7rem;
  max-width: 11ch;
  font-family: var(--to-font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #fff;
}
.to-hub-hero .to-lede {
  margin: 0 0 1.35rem;
  max-width: 28rem;
  color: rgba(247, 241, 230, 0.88);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.45;
  font-weight: 500;
}
.to-hub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.to-hub-cta,
.to-hub-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.to-hub-cta {
  background: var(--to-gold);
  color: var(--to-navy-deep);
  border: 1px solid transparent;
}
.to-hub-cta:hover { transform: translateY(-1px); background: var(--to-gold-soft); }
.to-hub-cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.to-hub-cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}
@keyframes to-hub-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes to-hub-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.to-hub-main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) 0 3rem;
}
.to-price-note {
  max-width: 46rem;
  margin: 0 0 1.75rem;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--to-gold);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 164, 92, 0.1);
  color: var(--to-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}
.to-hub-continue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--to-line);
  border-left: 3px solid var(--to-gold);
  border-radius: 12px;
  background: #fff;
  max-width: 52rem;
}
.to-hub-continue[hidden] { display: none !important; }
.to-hub-continue-copy {
  flex: 1 1 16rem;
  min-width: 0;
}
.to-hub-continue-copy strong {
  display: block;
  color: var(--to-navy);
  font-size: 0.95rem;
  font-weight: 800;
}
.to-hub-continue-copy p {
  margin: 0.25rem 0 0;
  color: var(--to-muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}
.to-hub-continue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.to-hub-continue-actions .to-hub-cta,
.to-hub-continue-actions .to-hub-cta-ghost {
  margin: 0;
}
.to-hub-continue-actions button.to-hub-cta-ghost {
  font: inherit;
  cursor: pointer;
}

.to-hub-section { margin: 0 0 clamp(2rem, 5vw, 3.25rem); }
.to-hub-section-head { margin: 0 0 1rem; max-width: 40rem; }
.to-hub-section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--to-font-display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--to-navy);
  letter-spacing: -0.02em;
}
.to-hub-section-head p {
  margin: 0;
  color: var(--to-muted);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.to-product-grid {
  display: grid;
  gap: 0.9rem;
}
.to-product-grid-suits {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
.to-product-grid-pieces {
  grid-template-columns: 1fr 1fr;
}
.to-product {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--to-line);
  border-radius: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.to-product:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 164, 92, 0.55);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 28, 46, 0.1);
}
.to-product-visual {
  padding: 0;
  overflow: hidden;
  gap: 0;
  background: #fff;
}
.to-product-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ece7de;
}
.to-product-grid-pieces .to-product-media { aspect-ratio: 1 / 1; }
.to-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.to-product-visual:hover .to-product-media img { transform: scale(1.04); }
.to-product-body {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem 1.05rem;
}
.to-product h3,
.to-product strong {
  margin: 0;
  font-family: var(--to-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--to-navy);
  line-height: 1.05;
}
.to-product-featured .to-product-body h3,
.to-product-featured strong {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
}
.to-product-desc { color: var(--to-muted); font-size: 0.9rem; font-weight: 500; }
.to-product-meta { color: var(--to-navy); font-weight: 800; font-size: 0.9rem; margin-top: 0.2rem; }

.to-hub-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.to-hub-steps-list li {
  padding: 1rem 1.05rem 1.05rem;
  border-top: 1px solid rgba(201, 164, 92, 0.45);
}
.to-hub-steps-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--to-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--to-navy);
}
.to-hub-steps-list p {
  margin: 0;
  color: var(--to-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.to-foot {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 1.25rem 0 2.2rem;
  border-top: 1px solid var(--to-line);
  color: var(--to-muted);
  font-size: 0.88rem;
}
.to-foot a { color: var(--to-gold); font-weight: 700; text-decoration: none; }

/* —— App shell —— */
body.to-app { overflow: hidden; height: 100dvh; }
.to-app-shell {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100dvh;
  height: 100svh;
}
.to-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(180deg, var(--to-navy) 0%, var(--to-navy-deep) 100%);
  color: var(--to-cream);
}
body.is-designing .to-steps {
  padding: 0.28rem 0.5rem;
}
body.is-designing .to-step {
  padding: 0.28rem 0.25rem;
  font-size: 0.65rem;
}
body.is-designing .to-panel[data-panel="frame"] {
  padding: 0;
  overflow: hidden;
}
body.is-designing .to-dock {
  grid-template-columns: 1fr 1.5fr;
  grid-template-areas: "back next";
  padding: 0.45rem 0.65rem calc(0.45rem + var(--to-safe-bottom));
  background: rgba(20, 28, 46, 0.88);
  border-top: 0;
}
body.is-designing .to-btn-primary {
  min-height: 42px;
  border-radius: 12px;
}
body.is-designing .to-btn-ghost {
  min-height: 42px;
  background: transparent;
  color: var(--to-cream);
  border-color: rgba(251, 248, 242, 0.28);
}
body.is-designing .to-save-status { display: none; }
body.is-designing .to-frame-hint { display: none; }
body.is-config-loading.is-designing .to-dock {
  grid-template-columns: 1fr;
  grid-template-areas: "back";
}
body.is-config-loading.is-designing #btnNext {
  display: none !important;
}
.to-app-bar a { color: var(--to-sand); text-decoration: none; font-weight: 700; font-size: 0.82rem; }
.to-app-brand {
  font-family: var(--to-font-display);
  color: var(--to-gold);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.to-app-total {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--to-gold-soft);
  white-space: nowrap;
}
.to-steps {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--to-line);
  scrollbar-width: none;
}
.to-steps::-webkit-scrollbar { display: none; }
.to-step {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 0;
  background: transparent;
  padding: 0.3rem 0.2rem;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--to-muted);
  cursor: pointer;
}
.to-step-num {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(30, 42, 67, 0.08);
  font-size: 0.62rem;
  flex: 0 0 auto;
}
.to-step-label {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 4.8rem;
  font-size: 0.62rem;
}
.to-step[aria-current="step"] {
  background: rgba(30, 42, 67, 0.08);
  color: var(--to-navy);
}
.to-step[aria-current="step"] .to-step-num {
  background: var(--to-navy);
  color: var(--to-cream);
}
.to-step.is-done { color: var(--to-navy); }
.to-step.is-done .to-step-num {
  background: rgba(201, 164, 92, 0.35);
  color: var(--to-navy);
}

.to-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr;
}
.to-panel {
  display: none;
  min-height: 0;
  overflow: auto;
  padding: 1rem 0.9rem calc(5.5rem + var(--to-safe-bottom));
}
.to-panel.is-active { display: block; }
.to-panel h2 {
  margin: 0 0 0.65rem;
  font-family: var(--to-font-display);
  font-size: 1.55rem;
  color: var(--to-navy);
  font-weight: 600;
}
.to-panel p.lead,
.to-lead-quiet {
  margin: 0 0 0.85rem;
  color: var(--to-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 500;
}

.to-frame-wrap {
  position: absolute;
  inset: 0;
  background: #0f1522;
}
.to-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #1c1302;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.to-frame-wrap.is-ready iframe {
  opacity: 1;
}
.to-config-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 164, 92, 0.16), transparent 34%),
    linear-gradient(160deg, #243352 0%, #141c2e 68%, #101624 100%);
  color: var(--to-cream);
  text-align: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.to-frame-wrap.is-ready .to-config-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.to-config-loader strong {
  font-family: var(--to-font-display);
  color: var(--to-gold-soft);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.to-config-loader p {
  margin: 0;
  color: rgba(251, 248, 242, 0.78);
  font-size: 0.76rem;
  font-weight: 600;
}
.to-loader-mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 72px;
  height: 58px;
  margin-bottom: 0.3rem;
}
.to-loader-mark i {
  display: block;
  width: 20px;
  border: 1px solid rgba(226, 198, 132, 0.65);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(226, 198, 132, 0.28), rgba(201, 164, 92, 0.06));
  transform-origin: bottom;
  animation: toSwatch 1.35s ease-in-out infinite;
}
.to-loader-mark i:nth-child(1) { height: 38px; }
.to-loader-mark i:nth-child(2) { height: 52px; animation-delay: 0.16s; }
.to-loader-mark i:nth-child(3) { height: 44px; animation-delay: 0.32s; }
.to-loader-mark span {
  position: absolute;
  left: -8px;
  bottom: 8px;
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--to-gold-soft), transparent);
  animation: toNeedle 1.8s ease-in-out infinite;
}
@keyframes toSwatch {
  0%, 100% { transform: scaleY(0.82); opacity: 0.58; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes toNeedle {
  0%, 100% { transform: translateX(-12px); opacity: 0; }
  25%, 75% { opacity: 1; }
  50% { transform: translateX(12px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .to-loader-mark i,
  .to-loader-mark span { animation: none; }
}
.to-frame-hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(4.6rem + var(--to-safe-bottom));
  z-index: 2;
  max-width: min(420px, calc(100% - 1.5rem));
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 28, 46, 0.72);
  color: rgba(251, 248, 242, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.4s ease;
}
.to-frame-hint.is-faded { opacity: 0; }

.to-choice-grid {
  display: grid;
  gap: 0.6rem;
}
.to-choice {
  text-align: left;
  border: 1px solid var(--to-line);
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.to-choice.is-selected {
  border-color: var(--to-gold);
  box-shadow: 0 0 0 1px var(--to-gold);
}
.to-choice strong {
  display: block;
  font-size: 1rem;
  color: var(--to-navy);
  font-weight: 800;
  font-family: var(--to-font-body);
}
.to-choice-sub,
.to-choice span {
  display: block;
  margin-top: 0.2rem;
  color: var(--to-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.to-form {
  display: grid;
  gap: 0.65rem;
}
.to-form-compact { margin-top: 0.85rem; }
.to-form-row {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 560px) {
  .to-form-row { grid-template-columns: 1fr 1fr; }
}
.to-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--to-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.to-form input,
.to-form textarea,
.to-form select {
  width: 100%;
  border: 1px solid var(--to-line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--to-ink);
  background: #fff;
}
.to-more {
  margin: 0.15rem 0;
  color: var(--to-muted);
  font-size: 0.85rem;
}
.to-more summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--to-muted);
  list-style: none;
}
.to-more summary::-webkit-details-marker { display: none; }
.to-more[open] summary { margin-bottom: 0.55rem; }
.to-more .to-form,
.to-more label { margin-top: 0.45rem; }
.to-check-quiet {
  margin-top: 1rem;
  opacity: 0.92;
}
.to-cart {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-width: 520px;
}
.to-cart-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--to-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.to-cart-row:hover,
.to-cart-row:focus-visible {
  border-color: var(--to-gold);
  box-shadow: 0 0 0 1px var(--to-gold);
  outline: none;
}
.to-cart-row strong {
  display: block;
  color: var(--to-navy);
  font-size: 0.92rem;
}
.to-cart-meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--to-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.to-cart-side {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  flex: 0 0 auto;
}
.to-cart-price {
  font-weight: 800;
  color: var(--to-navy);
  white-space: nowrap;
}
.to-cart-action {
  border: 0;
  background: transparent;
  color: var(--to-navy);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.to-cart-remove {
  color: #8a3b3b;
}
.to-addon-list {
  display: grid;
  gap: 0.45rem;
  max-width: 520px;
  margin-bottom: 0.5rem;
}
.to-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--to-line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.to-addon strong {
  display: block;
  color: var(--to-navy);
  font-size: 0.92rem;
}
.to-addon em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-weight: 800;
  color: var(--to-navy);
}
.to-addon small {
  display: block;
  margin-top: 0.2rem;
  color: var(--to-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}
.to-addon-toggle input {
  margin-top: 0.2rem;
  width: auto;
}
.to-addon-btn:hover,
.to-addon-btn:focus-visible {
  border-color: var(--to-gold);
  box-shadow: 0 0 0 1px var(--to-gold);
  outline: none;
}

/* —— Measures (EU / custom) —— */
.to-seg {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  flex-wrap: wrap;
}
.to-seg-mini { margin-bottom: 0.65rem; }
.to-seg-btn {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--to-line);
  background: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--to-muted);
  cursor: pointer;
}
.to-seg-btn.is-selected {
  background: var(--to-navy);
  border-color: var(--to-navy);
  color: var(--to-cream);
}
.to-seg-quiet {
  flex: 0 1 auto;
  opacity: 0.85;
  font-weight: 700;
}
.to-eu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  max-width: 420px;
}
.to-eu-size {
  border: 1px solid var(--to-line);
  background: #fff;
  border-radius: 10px;
  min-height: 44px;
  font: inherit;
  font-weight: 800;
  color: var(--to-navy);
  cursor: pointer;
}
.to-eu-size.is-selected {
  background: var(--to-gold);
  border-color: var(--to-gold);
  color: var(--to-navy);
}
.to-measure-note {
  margin: 0.75rem 0 0;
  color: var(--to-muted);
  font-size: 0.85rem;
  font-weight: 500;
  max-width: 420px;
}
.to-measure-help {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--to-gold);
  background: rgba(184, 149, 74, 0.08);
  color: var(--to-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.to-measure-h {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--to-font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--to-muted);
}
.to-measure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  max-width: 520px;
}
.to-measure-field {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0.45rem 0.5rem 0.5rem;
  border: 1px solid var(--to-line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--to-muted);
}
.to-measure-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 1.35rem;
}
.to-measure-field-name {
  min-width: 0;
  line-height: 1.2;
  cursor: pointer;
}
.to-measure-play {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--to-line);
  border-radius: 999px;
  background: var(--to-navy);
  color: #fff;
  cursor: pointer;
  line-height: 0;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.to-measure-play:hover,
.to-measure-play:focus-visible {
  background: #1a2f4a;
  border-color: var(--to-gold);
  outline: none;
  transform: scale(1.06);
}
.to-measure-play svg {
  display: block;
  margin-left: 1px;
}
.to-measure-field input {
  width: 100%;
  border: 0;
  padding: 0.15rem 0 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--to-navy);
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
}
.to-measure-field input:focus {
  outline: none;
}
.to-measure-field:focus-within {
  border-color: var(--to-gold);
  box-shadow: 0 0 0 1px var(--to-gold);
}
.to-measure-video {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.to-measure-video[hidden] {
  display: none !important;
}
.to-measure-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, 0.72);
}
.to-measure-video-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: #0f1724;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.to-measure-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}
.to-measure-video-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.to-measure-video-close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.to-measure-video-close:hover,
.to-measure-video-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
.to-measure-video-el {
  display: block;
  width: 100%;
  max-height: min(70vh, 420px);
  background: #000;
  vertical-align: top;
}
body.to-measure-video-open {
  overflow: hidden;
}
@media (max-width: 380px) {
  .to-measure-grid { grid-template-columns: repeat(2, 1fr); }
  .to-eu-grid { grid-template-columns: repeat(4, 1fr); }
}
.to-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--to-ink) !important;
}
.to-check input { width: auto; margin-top: 0.2rem; }

.to-summary {
  display: grid;
  gap: 0.75rem;
}
.to-summary-card {
  background: #fff;
  border: 1px solid var(--to-line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}
.to-summary-compact { box-shadow: none; }
.to-summary-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--to-font-display);
  font-size: 1.35rem;
  color: var(--to-navy);
}
.to-price-rows { display: grid; gap: 0.35rem; font-size: 0.95rem; }
.to-price-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.to-price-rows .total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--to-line);
  font-weight: 800;
  color: var(--to-navy);
}

.to-dock {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-areas:
    "back next"
    "status status";
  gap: 0.55rem;
  padding: 0.7rem 0.85rem calc(0.7rem + var(--to-safe-bottom));
  background: rgba(251, 248, 242, 0.94);
  border-top: 1px solid var(--to-line);
  backdrop-filter: blur(10px);
}
.to-dock #btnBack { grid-area: back; }
.to-dock #btnNext { grid-area: next; }
.to-btn {
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.to-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.to-btn-ghost {
  background: #fff;
  color: var(--to-navy);
  border: 1px solid var(--to-line);
}
.to-btn-primary {
  background: linear-gradient(135deg, var(--to-gold), var(--to-gold-soft));
  color: var(--to-navy);
}
.to-save-status {
  grid-area: status;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--to-muted);
  min-height: 0;
}

.to-success {
  text-align: center;
  padding: 1rem 0.5rem;
}
.to-success img {
  width: min(220px, 70vw);
  height: auto;
  margin: 0.75rem auto;
  display: block;
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem;
}

@media (min-width: 820px) {
  .to-nav { display: flex; }
  .to-product-grid-suits { grid-template-columns: repeat(2, 1fr); }
  .to-product-grid-pieces { grid-template-columns: repeat(4, 1fr); }
  .to-hub-steps-list { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .to-hub-steps-list li { border-top: 0; border-left: 1px solid rgba(201, 164, 92, 0.45); padding-left: 1rem; }
  .to-hub-steps-list li:first-child { border-left: 0; padding-left: 0; }
  .to-panel { padding: 1.25rem 1.5rem calc(5.5rem + var(--to-safe-bottom)); }
  .to-form { max-width: 520px; }
  .to-choice-grid { max-width: 520px; }
  .to-summary-card { max-width: 520px; }
  .to-dock {
    grid-template-columns: 1fr 1.5fr;
    grid-template-areas: "back next";
  }
  body:not(.is-designing) .to-dock {
    grid-template-areas:
      "back next"
      "status status";
  }
}

/* force-deploy 20260730213451 */

/* path-switch polish 20260730e */
