/* The original order.css and pick.css stay intact. Every new surface is opt-in. */
.pick-appearance{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;max-width:940px;margin:0 auto 28px;padding:12px 12px 0;border-top:1px solid #e3e7e0;color:#657067;font-size:13px}
.pick-contact-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;line-height:1.6}
.pick-contact-bar a{display:inline-flex;align-items:center;min-height:36px;color:#263d2e;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.pick-appearance-group{display:flex;align-items:center;gap:10px;margin-left:auto}
.pick-appearance-options{display:flex;gap:4px;padding:3px;border:1px solid #dce3d7;border-radius:10px;background:#f5f7f2}
.pick-appearance button{min-height:40px;padding:7px 14px;font-size:13px;background:transparent;border-color:transparent}
.pick-appearance button[aria-pressed=true]{color:#263d2e;background:#fff;border-color:#9aa995;font-weight:700}

html[data-pick-surface="soft"] {
  --pick-surface-paper:#f2f4f0;
  --pick-surface-raised:4px 4px 10px #25382a30,-4px -4px 9px #fff,inset 0 1px 0 #ffffffd9;
  --pick-surface-small:2px 2px 5px #25382a2b,-2px -2px 5px #fff,inset 0 1px 0 #fff;
  --pick-surface-inset:inset 3px 3px 7px #25382a38,inset -3px -3px 7px #ffffffeb;
  --pick-surface-ease:cubic-bezier(.3,1,.3,1);
}
html[data-pick-surface="soft"] :where(button:not(.stage-face,.text-btn,.link,.back)) {
  box-shadow:var(--pick-surface-raised);
  transition:box-shadow 160ms var(--pick-surface-ease),scale 160ms var(--pick-surface-ease),background-color 160ms var(--pick-surface-ease),border-color 160ms var(--pick-surface-ease);
}
html[data-pick-surface="soft"] :where(button:not(.stage-face,.text-btn,.link,.back,.primary)) {
  background-image:linear-gradient(145deg,#fff,var(--pick-surface-paper));
}
html[data-pick-surface="soft"] :is(.design-strip .tile,.search-designs .tile,.sw,.pick-appearance button) {
  box-shadow:var(--pick-surface-small);
}
html[data-pick-surface="soft"] :is(.garment-tabs button,.pos-tab,.tile,.series-choice,.dialog-sides button,.sw,.pick-appearance button):is([aria-selected=true],[aria-pressed=true],[aria-checked=true]) {
  box-shadow:var(--pick-surface-inset);
  background-image:none;
  background-color:var(--selected,#e7eee1);
  border-color:var(--accent,#4c644d);
}

/* The full-width colour/size controls and active quantity cards share the same depth. */
html[data-pick-surface="soft"] .fold-toggle {padding-inline:12px;border-radius:8px}
html[data-pick-surface="soft"] .fold-toggle[aria-expanded=true] {
  background-image:none;
  background-color:var(--selected,#e7eee1);
  box-shadow:var(--pick-surface-inset);
}
html[data-pick-surface="soft"] .fold+.fold {margin-top:8px}
html[data-pick-surface="soft"] .fold-body {padding-top:12px}
html[data-pick-surface="soft"] .size {box-shadow:var(--pick-surface-small)}
html[data-pick-surface="soft"] .size.has {box-shadow:var(--pick-surface-inset)}
html[data-pick-surface="soft"] :is(.co-form input:not([type=checkbox]):not([type=radio]),.co-form textarea,.series-search input) {
  background-color:#f7f9f5;
  box-shadow:inset 2px 2px 5px #25382a1f,inset -2px -2px 5px #fff;
}
html[data-pick-surface="soft"] .stepper input {box-shadow:inset 1px 1px 3px #25382a14,inset -1px -1px 3px #ffffffa6}
html[data-pick-surface="soft"] .sw-dot {box-shadow:inset 0 1px 2px #ffffff80,1px 2px 3px #25382a20}
html[data-pick-surface="soft"] .sw[aria-checked=true] .sw-dot {box-shadow:inset 1px 1px 3px #0005,inset -1px -1px 3px #ffffff80}
html[data-pick-surface="soft"] .agree input {box-shadow:1px 1px 3px #25382a30,-1px -1px 3px #fff}
html[data-pick-surface="soft"] dialog {box-shadow:16px 20px 60px #18291f2b,inset 0 1px 0 #fff}

/* Keep dark primary fills and readable white text. */
html[data-pick-surface="soft"] :is(.pick-frame,dialog) .primary {
  box-shadow:4px 4px 10px #17291f33,-3px -3px 8px #fff,inset 0 1px 0 #ffffff40;
}
html[data-pick-surface="soft"] :where(button:not(.stage-face,.text-btn,.link,.back)):active:not(:disabled):not([aria-disabled=true]) {
  box-shadow:var(--pick-surface-inset);
  scale:.98;
}
html[data-pick-surface="soft"] .pick-frame .primary:active:not(:disabled) {
  box-shadow:inset 3px 3px 7px #14251ba6,inset -2px -2px 5px #ffffff26;
}
html[data-pick-surface="soft"] .design-strip.is-dragging .tile {scale:1}
html[data-pick-surface="soft"] :is(.order-header,.pick-frame,dialog,.pick-appearance) button:is(:disabled,[aria-disabled=true]) {
  box-shadow:none!important;
  background-image:none!important;
}
@media(hover:hover) and (pointer:fine) {
  html[data-pick-surface="soft"] :is(.cart-btn,.panel-done,.strip-nav button):hover:not(:disabled) {
    box-shadow:5px 5px 12px #25382a30,-4px -4px 10px #fff,inset 0 1px 0 #fff;
  }
}
@media(prefers-reduced-motion:reduce) {
  html[data-pick-surface="soft"] :is(.order-header,.pick-frame,dialog,.pick-appearance) button {transition:none;scale:1}
  html[data-pick-surface="soft"] :is(.order-header,.pick-frame,dialog,.pick-appearance) button:active {scale:1!important}
}
@media(forced-colors:active) {
  html[data-pick-surface="soft"] :is(.order-header,.pick-frame,dialog,.pick-appearance) button {background-image:none;box-shadow:none}
}
