/* Guided studio layer — intentionally scoped to the existing Design Studio. */
.design-flow .colour-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 7px;
  max-height: 264px;
  overflow-y: auto;
  padding: 4px 3px 10px;
}
.design-flow .colour-swatch {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 46px;
  padding: 8px;
  border: 1px solid #d8d6c9;
  border-radius: 4px;
  outline: none;
  background: #fffdf8;
  color: #304b47;
  text-align: left;
  transform: none;
}
.design-flow .colour-swatch:hover { border-color: #6c8880; }
.design-flow .colour-swatch.active { border-color: #4f706c; background: #eaf0e7; box-shadow: inset 0 0 0 1px #4f706c; }
.design-flow .colour-swatch:focus-visible { outline: 2px solid #304b47; outline-offset: 2px; }
.shade-dot {
  flex: 0 0 26px;
  height: 26px;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c4c9bf;
  background-color: var(--colour);
  background-image: var(--shade-photo, none);
  background-position: center;
  background-size: cover;
}
.shade-name { flex: 1; min-width: 0; font: 500 11px/1.3 var(--body); overflow-wrap: anywhere; }
.shade-check { flex: 0 0 10px; font-size: 12px; }
.colour-empty { margin: 0; font-size: 12px; color: #63736b; }
.shade-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 10px; line-height: 1.5; color: #63736b; }
.studio-promise {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  max-width: 390px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 248, 237, .32);
}
.studio-promise > span {
  color: #e8d19c;
  font: 10px var(--mono);
  letter-spacing: .1em;
}
.studio-promise p { margin: 0; }
.studio-promise b,
.studio-promise small { display: block; }
.studio-promise b { color: #fff7ea; font: 600 16px/1.1 var(--display); }
.studio-promise small { margin-top: 5px; color: #dce2d6; font-size: 11px; line-height: 1.45; }

.flow-progress[data-studio-progress] {
  gap: 9px;
  margin-bottom: 22px;
}
.flow-progress[data-studio-progress] span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8b887d;
  white-space: nowrap;
}
.flow-progress[data-studio-progress] span.active { color: #446760; }
.flow-progress[data-studio-progress] b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 8px var(--mono);
}
.flow-progress[data-studio-progress] i { background: rgba(59, 81, 77, .22); }
.studio-flow-intro {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  margin: 0 0 23px;
  padding: 13px 0;
  border-top: 1px solid rgba(60, 79, 74, .18);
  border-bottom: 1px solid rgba(60, 79, 74, .18);
}
.studio-flow-intro > span { color: #54726c; font: 9px var(--mono); letter-spacing: .08em; }
.studio-flow-intro p { margin: 0; color: #5e6b65; font-size: 11px; line-height: 1.45; }

.direction-step { margin: 4px 0 24px; }
.direction-step .field-label { margin-bottom: 10px; }
.direction-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.direction-choice {
  position: relative;
  min-height: 98px;
  overflow: hidden;
  padding: 11px 9px;
  border: 1px solid #c8c4b6;
  background: #fffdf8;
  color: #314849;
  text-align: left;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.direction-choice::after {
  position: absolute;
  right: -12px;
  bottom: -19px;
  width: 64px;
  height: 64px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .14;
}
.direction-choice:hover { transform: translateY(-2px); border-color: #55746d; }
.direction-choice.active { border-color: #42655f; background: #e7ebdf; box-shadow: inset 0 0 0 1px #42655f; }
.direction-choice .direction-symbol { display: block; margin-bottom: 10px; color: var(--direction-colour, #57726b); font: 25px/1 var(--display); }
.direction-choice b,
.direction-choice small { position: relative; z-index: 1; display: block; }
.direction-choice b { font: 600 15px/1 var(--display); letter-spacing: -.03em; }
.direction-choice small { margin-top: 5px; color: #66736c; font-size: 9px; line-height: 1.25; }
.direction-note { min-height: 17px; margin: 9px 0 0; color: #56716a; font-size: 10px; line-height: 1.35; }

.studio-stock-tray {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 14px;
  align-items: center;
  margin: 21px 0 17px;
  padding: 14px;
  border: 1px solid rgba(67, 96, 89, .24);
  background: #edf0e7;
}
.studio-stock-tray > div:first-child > span,
.studio-stock-tray > div:first-child > strong { display: block; }
.studio-stock-tray > div:first-child > span { color: #5c766e; font: 8px var(--mono); letter-spacing: .08em; }
.studio-stock-tray > div:first-child > strong { margin-top: 5px; color: #344c49; font: 600 14px/1.05 var(--display); }
.studio-tray-items { display: flex; min-width: 0; gap: 7px; overflow: hidden; }
.studio-tray-item {
  display: grid;
  flex: 0 0 52px;
  min-height: 52px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.84);
  border-radius: 50%;
  background-color: var(--tray-colour, #e0d6c3);
  background-image: var(--tray-image, none), radial-gradient(circle at 30% 25%, rgba(255,255,255,.74), transparent 31%);
  background-position: center;
  background-size: cover;
  box-shadow: inset 3px 3px 7px rgba(255,255,255,.28), 0 2px 5px rgba(38,57,53,.13);
}
.studio-tray-item > span {
  width: 34px;
  overflow: hidden;
  color: rgba(43,63,60,.78);
  font: 7px/1.1 var(--mono);
  letter-spacing: -.025em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255,255,255,.78);
}
.studio-tray-empty { color: #6d786f; font-size: 10px; }

.suggestion-card .suggestion-craft-note {
  margin: 4px 0 14px;
  padding: 9px 11px;
  border-left: 2px solid #aebd9f;
  background: rgba(230, 234, 220, .65);
  color: #566660;
  font-size: 10px;
  line-height: 1.4;
}
.builder-maker-note {
  display: inline-block;
  max-width: 500px;
  margin: 15px 0 0 !important;
  padding: 9px 12px;
  border-left: 2px solid #b69c62;
  background: rgba(255,253,248,.46);
  color: #53635f;
  font-size: 11px;
  line-height: 1.4;
}
.price-block [data-builder-fit] { margin-top: 4px; color: #576f69; }

.saved-item { position: relative; padding-right: 112px; }
.saved-load {
  position: absolute;
  top: 12px;
  right: 0;
  padding: 6px 7px;
  border: 1px solid rgba(55, 79, 74, .3);
  background: transparent;
  color: #4b6963;
  font: 8px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.saved-load:hover { background: #e7ebdf; }

@media (max-width: 700px) {
  .studio-promise { margin-top: 17px; }
  .flow-progress[data-studio-progress] { overflow-x: auto; padding-bottom: 3px; }
  .flow-progress[data-studio-progress] i { min-width: 10px; }
  .studio-flow-intro { grid-template-columns: 1fr; gap: 5px; }
  .direction-choices { grid-template-columns: repeat(2, 1fr); }
  .direction-choice { min-height: 85px; }
  .studio-stock-tray { grid-template-columns: 1fr; }
  .studio-tray-items { max-width: 100%; }
}

@media (max-width: 390px) {
  .direction-choices { gap: 5px; }
  .direction-choice { padding: 9px 7px; }
  .direction-choice small { font-size: 8px; }
}
.product-story { margin: 0 0 16px; border-top: 1px solid #ded4c5; padding-top: 12px; }
.product-story summary { cursor: pointer; font-size: 13px; color: #435b54; }
.product-story p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
