body[data-page="configurator"] {
  min-height:100vh; min-height:100svh;
  display:flex; flex-direction:column;
  font:400 16px/1.35 "Leaf Inter",Arial,sans-serif;
  background:var(--leaf-white); color:#101010;
}
body[data-page="configurator"] #site-header {
  position:sticky; top:0; flex:none; background:var(--leaf-white); border-bottom:1px solid #141414;
}
.config-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.config {
  flex:1; display:grid; grid-template-columns:46.35% minmax(0,1fr);
  position:relative; isolation:isolate; outline:none;
}
.choices, .answer { position:relative; min-width:0; }
.choices { display:flex; flex-direction:column; justify-content:center; }
.choices::after, .pack::after {
  content:""; position:absolute; right:0; inset-block:0; width:1px; background:#141414;
  transform-origin:top; animation:draw-rule .6s cubic-bezier(.22,1,.36,1) both;
}
.questions {
  flex:1; display:flex; flex-direction:column; justify-content:center;
  gap:clamp(24px,3.5vh,40px); padding:clamp(36px,7vh,80px) clamp(14px,2.5vw,52px);
}
.choice-group { border:0; padding:0; margin:0; width:100%; min-width:0; text-align:center; }
.choice-group legend {
  display:block; width:100%; margin:0 auto clamp(8px,1.4vh,15px); padding:0;
  font-size:clamp(11px,.67vw,13px); text-transform:uppercase;
}
.choice-row { display:flex; justify-content:center; flex-wrap:wrap; gap:5px; }
.chip, #reset { font:inherit; cursor:pointer; }
.chip {
  min-height:clamp(38px,2.2vw,44px); padding:8px clamp(9px,.8vw,16px);
  border:1px solid #c8c8c8; border-radius:2px; background:var(--leaf-white); color:#101010;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-size:clamp(13px,.84vw,16px); line-height:1.2;
  transition:background-color .18s,color .18s,border-color .18s;
}
.chip svg { width:18px; height:21px; stroke:currentColor; stroke-width:1.35; fill:none; stroke-linecap:round; }
.chip[aria-pressed="true"] { background:#101010; color:var(--leaf-white); border-color:#101010; }
.chip:disabled { color:#999; border-color:#e5e5e5; cursor:default; }
@media(hover:hover){.chip:hover:enabled {border-color:#111}}
.config :focus-visible { outline:2px solid #111; outline-offset:3px; }
.selection-bar {
  display:flex; align-items:center; justify-content:center; gap:14px; border-top:1px dotted #777;
  padding:12px 18px; min-height:44px; color:#585858; font-size:12px; text-align:center;
}
.selection-bar[hidden] { display:none; }
#reset, .result-shortcut { padding:4px; border:0; background:transparent; color:#151515; text-decoration:none; }
.result-shortcut {display:none}
.answer { display:grid; place-items:center; }
.waiting { padding:24px; text-align:center; }
.waiting p { margin:0; text-transform:uppercase; font-size:clamp(13px,.85vw,16px); }
.waiting small { display:block; color:#575757; margin-top:12px; font-size:13px; }
.answer.has-result { grid-template-columns:44.6% minmax(0,1fr); place-items:stretch; }
.pack { position:relative; min-width:0; display:grid; }
.product-link {
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:clamp(18px,4vh,44px); color:inherit; text-decoration:none; padding:36px 12px;
  isolation:isolate; background:var(--leaf-white);
}
.packshot {
  display:block; object-fit:contain; width:100%; max-height:54vh; mask-size:contain; mask-position:center; mask-repeat:no-repeat;
  animation:pack-in .55s cubic-bezier(.2,.7,.2,1) both;
}
.product-link video.packshot {aspect-ratio:1;mix-blend-mode:multiply}
.pack-caption { text-align:center; width:92%; }
.pack-caption h2 { font:400 clamp(12px,.77vw,15px)/1.35 "Leaf Inter",Arial,sans-serif; text-transform:uppercase; margin:0; }
.open-card { display:inline-block; margin-top:12px; font-size:12px; }
.product-link:hover .open-card { color:#666; }
.product-link:focus-visible { outline-offset:-4px; }
.details { align-self:center; text-align:center; padding:42px clamp(16px,2.2vw,44px); }
.detail + .detail { margin-top:clamp(24px,4vh,54px); }
.detail { animation:detail-in .4s ease-out both; }
.detail:nth-child(2) { animation-delay:.06s; }
.detail:nth-child(3) { animation-delay:.12s; }
.detail h3 { font-size:clamp(10px,.57vw,12px); font-weight:400; text-transform:uppercase; margin:0 0 12px; }
.detail p { font-size:clamp(15px,1.03vw,21px); line-height:1.28; letter-spacing:-.035em; margin:0 auto; max-width:37em; text-wrap:pretty; }
body[data-page="configurator"] #catalog-footer { background:var(--leaf-white); color:#101010; border-top:1px dashed currentColor; }
@keyframes draw-rule { from {transform:scaleY(0)} to {transform:scaleY(1)} }
@keyframes pack-in { from {opacity:0;transform:translateY(10px)} to {opacity:1;transform:none} }
@keyframes detail-in { from {opacity:0} to {opacity:1} }
@media(min-width:768px) and (max-width:1100px) {
  .answer.has-result { grid-template-columns:1fr; align-content:center; }
  .pack::after {display:none}
  .product-link {padding:20px 16px 12px;gap:8px}
  .packshot {height:25vh}
  .details {padding:16px 24px 28px}
  .detail + .detail {margin-top:18px}
}
@media(max-width:767px) {
  body[data-page="configurator"] #site-header { position:relative; display:flow-root; min-height:0; height:calc(5.25 * clamp(12px,3.8647343vw,19.9px)); box-sizing:border-box; }
  .config { display:flex; flex-direction:column; }
  .choices::after, .pack::after {display:none}
  .questions {padding:34px 12px;gap:24px}
  .chip {min-height:42px}
  .selection-bar {flex-wrap:wrap;gap:4px 12px;}
  .result-shortcut:not([hidden]) {display:inline}
  .answer {border-top:1px solid #141414; min-height:120px; flex:1; scroll-margin-top:12px;}
  .answer.has-result {display:flex;flex-direction:column}
  .product-link {padding:32px 16px 20px;gap:14px}
  .packshot {height:clamp(180px,52vw,280px)}
  .details {padding:16px 24px 36px}
}
@media(prefers-reduced-motion:reduce) {
  .config *, .config *::after {animation:none!important; transition:none!important}
}

.chip.config-submit { align-self:center; background:#101010; color:var(--leaf-white); border-color:#101010; }
.config-save { margin-top:clamp(20px,3vh,32px); text-decoration:none; }
.config-save:hover { background:#333; }

@media(min-width:768px){.config {min-height:calc(100svh - clamp(60px,5.1vw,86px))}}
