:root{
  --bg:#f5f5f7;
  --panel:#ffffff;
  --panel-soft:#fafafc;
  --text:#111111;
  --muted:#6e6e73;
  --line:#dbdbe1;
  --line-soft:#ececf2;
  --shadow:0 28px 70px rgba(17,17,17,.08);
  --shadow-soft:0 14px 30px rgba(17,17,17,.06);
  --radius-xl:34px;
  --radius-lg:26px;
  --radius-md:20px;
  --radius-sm:14px;
  --accent-red:#ff2a2a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top center, rgba(255,255,255,.95), rgba(245,245,247,1) 42%),
    linear-gradient(180deg,#f7f7f8 0%,#f2f2f4 100%);
  overflow:hidden;
}

button,input,select{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}

.app-shell{
  height:100vh;
  padding:16px;
}

.studio-layout{
  height:100%;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.34fr) minmax(0,.66fr);
  gap:16px;
}

.viewer-column{
  min-height:0;
  min-width:0;
  display:grid;
  grid-template-rows:140px minmax(0,1fr);
  gap:12px;
}

.hero-block{
  display:flex;
  align-items:flex-start;
  padding:6px 6px 0;
  min-height:130px;
}

.hero-block__title{
  margin:0;
  max-width:760px;
  font-size:clamp(40px, 4.6vw, 68px);
  line-height:.90;
  letter-spacing:-.05em;
  font-weight:800;
}

.hero-block__accent{
  color:var(--accent-red);
  display:inline-block;
  margin-right:8px;
}

.viewer-shell{
  position:relative;
  min-height:0;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(17,17,17,.06);
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,1) 0%, rgba(247,247,249,1) 48%, rgba(235,235,239,1) 100%);
  box-shadow:var(--shadow);
}

#seatCanvas{
  width:100%;
  height:100%;
  display:block;
  touch-action:none;
  -webkit-tap-highlight-color: transparent;
}

#seatCanvas:focus,
#seatCanvas:active{outline:none}
.viewer-keyboard-indicator{position:absolute;top:12px;left:12px;z-index:1;padding:5px 10px;border:2px solid currentColor;border-radius:999px;background:var(--panel);color:var(--text);font-size:12px;pointer-events:none;opacity:0}
.viewer-shell:has(#seatCanvas:focus-visible) .viewer-keyboard-indicator{opacity:1}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.viewer-notice{
  position:absolute;
  top:18px;
  right:18px;
  max-width:320px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(17,17,17,.82);
  color:#fff;
  font-size:13px;
  line-height:1.4;
  box-shadow:var(--shadow-soft);
  z-index:4;
}

.studio-panel{
  min-height:0;
  min-width:0;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(17,17,17,.06);
  border-radius:30px;
  box-shadow:var(--shadow-soft);
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr;
  overflow:hidden;
  container-name:wd-panel;
  container-type:inline-size;
}

/* WD47: an implicit auto grid column must not inherit a wider header's
   min-content size and then clip every step behind the panel border. */
.studio-panel__top,
.studio-panel__body,
.step-panel,
.model-grid,
.model-card,
.quick-strip__cell{min-width:0}

.studio-panel__top{
  padding:18px;
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(251,251,252,.9));
}

.stepper{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.stepper__item,
.custom-nav__item,
.model-card,
.finish-pill,
.swatch,
.choice-chip{
  transition:.18s ease;
}

.stepper__item{
  min-width:0;
  min-height:58px;
  padding:10px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  text-align:left;
}

.stepper__item strong{
  display:block;
  font-size:18px;
  letter-spacing:-.02em;
}

.stepper__item.is-active{
  background:var(--accent-red);
  border-color:var(--accent-red);
  color:#fff;
}

.quick-strip{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px;
  margin-top:14px;
}

.quick-strip__cell{
  padding:12px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line-soft);
}

.quick-strip__cell span{
  display:block;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.quick-strip__cell strong{
  display:block;
  margin-top:6px;
  font-size:17px;
  letter-spacing:-.02em;
}

.quick-strip__cell--total{
  min-width:120px;
}

.studio-panel__body{
  min-height:0;
  overflow:auto;
  padding:18px;
}

.step-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
}

.step-panel[hidden]{
  display:none !important;
}

.panel-head h2{
  margin:0;
  font-size:34px;
  line-height:.95;
  letter-spacing:-.04em;
}

.model-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.model-card{
  border:none;
  padding:0;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:2px solid transparent;
  box-shadow:var(--shadow-soft);
  text-align:left;
}

.model-card:hover{
  transform:translateY(-1px);
}

.model-card.is-active{
  border-color:var(--accent-red);
  box-shadow:0 18px 40px rgba(255,42,42,.14);
}

.model-card__visual{
  height:112px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px 0;
  background:#fff;
  border-bottom:1px solid var(--line-soft);
}

.model-card__visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:none;
}

.model-card__body{
  padding:12px 14px 12px;
}

.model-card__body small{
  display:none;
}

.model-card__body h3{
  margin:0;
  font-size:20px;
  letter-spacing:-.02em;
  line-height:1;
  color:var(--accent-red);
}

.model-card__body p{
  margin:8px 0 0;
  min-height:auto;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.model-card__foot{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  color:#3d3d43;
  font-size:13px;
}

.selection-box{
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line-soft);
}

.selection-box span{
  display:block;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.selection-box strong{
  display:block;
  margin-top:6px;
  font-size:24px;
  letter-spacing:-.03em;
}

.selection-box p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.selector-block{
  padding:16px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line-soft);
  display:grid;
  gap:14px;
}

.selector-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
}

.selector-head span{
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.selector-head strong{
  font-size:20px;
  letter-spacing:-.03em;
}

.choice-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.choice-chip{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  font-size:14px;
  font-weight:500;
}

.choice-chip:hover{
  transform:translateY(-1px);
}

.choice-chip.is-active{
  background:var(--accent-red);
  color:#fff;
  border-color:var(--accent-red);
  box-shadow:0 12px 24px rgba(255,42,42,.18);
}

.custom-nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.custom-nav__item{
  min-height:38px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  font-size:13px;
}

.custom-nav__item.is-active{
  background:var(--accent-red);
  color:#fff;
  border-color:var(--accent-red);
}

.custom-stage{
  display:grid;
}

.config-focus{
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line-soft);
}

.config-focus__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.config-focus__head h3{
  margin:0;
  font-size:28px;
  line-height:.95;
  letter-spacing:-.03em;
}

.config-focus__head p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.inline-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fafafb;
  color:var(--muted);
  font-size:13px;
}

.inline-toggle input{
  accent-color:var(--accent-red);
}

.control-card{
  padding:14px;
  margin-top:14px;
  border-radius:18px;
  background:#fafafb;
  border:1px solid var(--line-soft);
}

.control-card h4{
  margin:0;
  font-size:18px;
  letter-spacing:-.02em;
}

.control-card p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.swatch-row,
.finish-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.swatch{
  width:36px;
  height:36px;
  padding:0;
  border:none;
  border-radius:999px;
  background:var(--swatch-color,#fff);
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.12),0 6px 16px rgba(17,17,17,.08);
}

.swatch.is-active{
  transform:scale(1.08);
  box-shadow:
    inset 0 0 0 2px var(--accent-red),
    0 0 0 5px rgba(255,42,42,.10),
    0 8px 18px rgba(255,42,42,.18);
}

.finish-pill{
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  font-size:12px;
}

.finish-pill.is-active{
  background:var(--accent-red);
  color:#fff;
  border-color:var(--accent-red);
}

.summary-stack{
  display:grid;
  gap:8px;
}

.summary-card{
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line-soft);
}

.summary-card__label{
  display:block;
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}

.summary-list{
  margin:0;
  padding-left:16px;
  display:grid;
  gap:4px;
  color:#44444a;
  font-size:13px;
  line-height:1.25;
}

.summary-list li{
  margin:0;
}

.price-box{
  display:grid;
  gap:6px;
}

.price-box__row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#44444a;
  font-size:14px;
}

.price-box__row--total{
  margin-top:2px;
  padding-top:8px;
  border-top:1px solid var(--line-soft);
  font-size:18px;
  color:#111;
}

.add-to-cart-btn{
  width:100%;
  min-height:52px;
  margin-top:10px;
  border:none;
  border-radius:16px;
  background:var(--accent-red);
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:-.01em;
  box-shadow:0 12px 24px rgba(255,42,42,.22);
  transition:.18s ease;
}

.add-to-cart-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(255,42,42,.28);
}

.add-to-cart-btn:active{
  transform:translateY(0);
}

@media (max-width:1180px){
  body{overflow:auto}
  .app-shell{
    height:auto;
    min-height:100vh;
  }
  .studio-layout{
    height:auto;
    grid-template-columns:1fr;
  }
  .viewer-column{
    grid-template-rows:auto 480px;
  }
}

@media (max-width:840px){
  .stepper{
    grid-template-columns:repeat(2,1fr);
  }

  .quick-strip,
  .model-grid{
    grid-template-columns:1fr;
  }

  .hero-block__title{
    font-size:46px;
  }
}

@media (max-width:640px){
  body{overflow:auto}
  .app-shell{
    padding:10px;
  }

  .viewer-column{
    grid-template-rows:auto 360px;
  }

  .studio-panel__top,
  .studio-panel__body{
    padding:14px;
  }

  .panel-head h2{
    font-size:28px;
  }

  .hero-block__title{
    font-size:38px;
  }
}
/* Reflow the narrow desktop panel at its own available width. Keep the
   existing stacked/mobile layout, font sizes, padding and thumbnail heights. */
@media (min-width:1181px){
  @container wd-panel (max-width:440px){
    .stepper{grid-template-columns:repeat(2,minmax(0,1fr))}
    .quick-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
    .quick-strip__cell--total{min-width:0}
    .quick-strip__cell strong{overflow-wrap:anywhere}
    .model-card__foot,.selector-head,.config-focus__head{flex-wrap:wrap}
  }
}
:root{font-family:Arial,Helvetica,sans-serif}
.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 24px;background:#101820;color:white;font:14px/1.4 Arial,sans-serif}
.demo-banner a{color:white}.demo-banner button{padding:9px 14px;border:1px solid #abb8c5;border-radius:6px;background:white;color:#17202b;cursor:pointer}
.demo-status{margin:0;padding:10px 24px;font:14px/1.5 Arial,sans-serif;background:#e8edf0;color:#17202b}
.demo-rule{font:13px/1.5 Arial,sans-serif;color:#485563;flex-basis:100%}
.finish-pill:disabled{opacity:.4;cursor:not-allowed}.demo-banner button:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #3475ba;outline-offset:3px}
#demoSelection{padding-left:20px;font:14px/1.5 Arial,sans-serif}#demoSelection li{margin:10px 0}
/* The demo banner is part of the layout, never an overlay on the source viewer. */
body{display:flex;flex-direction:column;height:100dvh}
.demo-banner,.demo-status{flex:none}
.app-shell{flex:1;min-height:0;height:auto}
.viewer-column{grid-template-rows:auto minmax(0,1fr)}
.hero-block{min-height:0;padding-bottom:8px}
.hero-block__title{font-size:clamp(36px,3.5vw,56px);line-height:.98}
@media(max-width:1180px){
  body{height:auto;min-height:100dvh;overflow:auto}
  .app-shell{flex:none;min-height:0}
  .viewer-column{grid-template-rows:auto 480px}
}
@media(max-width:640px){
  .demo-banner{padding:10px;gap:8px;font-size:12px}
  .demo-banner span{order:3;flex-basis:100%}
  .demo-status{padding:8px 12px;font-size:12px}
  .viewer-column{grid-template-rows:auto 320px}
  .hero-block__title{font-size:34px}
}

/* WD46 preserves the original studio UI, with the site's system font and isolated themes. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--bg:#111113;--panel:#1d1d1f;--panel-soft:#252529;--text:#f5f5f7;--muted:#b6b6bd;--line:#666670;--line-soft:#39393f}
body{font-size:16px;line-height:1.5;background:var(--bg);color:var(--text)}
.demo-banner,.demo-status,.demo-rule,#demoSelection{font-family:inherit}
.demo-rule{color:var(--muted)}
.demo-banner{background:var(--panel);color:var(--text);padding:10px 16px;border-bottom:1px solid var(--line-soft);font-size:14px}
.demo-banner span{flex:1}.demo-banner button{font:inherit;min-height:42px;background:var(--panel);color:var(--text);border-color:var(--line)}
.demo-status{font-size:13px;padding:8px 16px;background:var(--panel-soft);color:var(--text);line-height:1.45}
.studio-panel,.studio-panel__top,.model-card,.selection-box,.choice-chip,.control-card,.summary-card,.finish-pill,.stepper__item,.custom-nav__item{background:var(--panel);color:var(--text);border-color:var(--line-soft)}
.studio-panel__top{background:var(--panel)}
.quick-strip__cell,.config-focus,.control-card,.selector-block,.inline-toggle{background:var(--panel-soft)}
.model-card__foot,.summary-list,.price-box__row,.price-box__row--total,.quick-strip strong,.selector-head strong{color:var(--text)}
.stepper__item,.choice-chip,.finish-pill{font-size:14px;min-height:42px}
.stepper__item strong{font-size:15px}.panel-head h2{font-size:26px;line-height:1.15}
.stepper__item.is-active,.custom-nav__item.is-active,.finish-pill.is-active{background:#c21d25;color:white;border-color:#c21d25}
.add-to-cart-btn{background:#c21d25}.finish-pill:disabled{opacity:.55}
.thumbnail-pending{font-size:13px;color:#53535a;text-align:center}
[hidden]{display:none!important}
.viewer-column{grid-template-rows:minmax(0,1fr)}
.demo-status:empty{display:none}
.demo-banner:not(:has(#standaloneDemoNote)):not(:has(button:not([hidden]))){display:none}
@media(max-width:1180px){.viewer-column{grid-template-rows:400px}}
@media(max-width:640px){.viewer-column{grid-template-rows:320px}}
@media(max-width:1180px){html[data-embedded="true"] .viewer-column{grid-template-rows:400px}.studio-panel__body{overflow:visible}}
@media(max-width:640px){html[data-embedded="true"] .viewer-column{grid-template-rows:320px}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-card__body{padding:10px}.model-card__foot{flex-wrap:wrap}.demo-banner span{flex-basis:100%;order:0}.camera-tools button{min-height:40px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/*48: real static preview before activation and during an unavailable layout. */
.demo-preview { width:min(1200px,100%); margin:0 auto; padding:20px; text-align:center; }
.demo-preview h1 { font-size:clamp(1.5rem,4vw,2.5rem); }
.demo-preview img { display:block; width:100%; height:auto; margin:16px auto; }
.demo-preview nav { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.demo-preview a, .demo-preview button { display:inline-block; color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:24px; padding:12px 20px; font:inherit; }
.demo-preview a:focus-visible, .demo-preview button:focus-visible { outline:3px solid #45b6fe; outline-offset:3px; }
.demo-preview .button--quote { border-color:transparent; background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(90deg,#45b6fe,#d95bc5) border-box; font-weight:700; text-decoration:none; }
.demo-preview .button--explore { border-color:#d95bc5; background:transparent; color:#993588; font-weight:500; text-decoration:none; }
html[data-theme="dark"] .demo-preview .button--explore { color:#d95bc5; }
.demo-preview .button--quote:active { background:linear-gradient(90deg,#45b6fe,#d95bc5) border-box; color:#1d1d1f; }
.demo-preview .button--explore:active { background:#bb3fa7; color:#fff; }
@media(hover:hover) and (pointer:fine) {
  .demo-preview .button--quote:hover { background:linear-gradient(90deg,#45b6fe,#d95bc5) border-box; color:#1d1d1f; }
  .demo-preview .button--explore:hover { background:#bb3fa7; color:#fff; }
}
@media(forced-colors:active) { .demo-preview :is(.button--quote,.button--explore) { border-color:ButtonText; background:ButtonFace; color:ButtonText; } }
