/* The bag configurator (wizard.js). Uses the page's tokens (:root in index.html). */

.wiz-sec-head { display: grid; gap: 10px; margin-bottom: clamp(20px, 3vw, 32px); }
.wiz-sec-head h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.wiz-sec-head p { color: var(--muted); max-width: 60ch; }
.wiz-promise { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.wiz-promise li { position: relative; padding-left: 18px; }
.wiz-promise li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--accent); }

.wiz {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -40px rgba(15, 40, 28, .45);
}

/* Progress */
.wiz-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.wiz-steps { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; min-width: 0; }
.wiz-step { flex: 1; min-width: 0; }
.wiz-step button {
  width: 100%; min-height: 44px; display: grid; gap: 7px; align-content: start; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 .74rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.wiz-step button::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .3s var(--ease); }
.wiz-step.is-done button::before { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.wiz-step.is-current button::before { background: var(--accent); }
.wiz-step.is-current button { color: var(--ink); }
.wiz-step button[disabled] { cursor: default; opacity: .55; }
.wiz-step-n { display: none; }
.wiz-step-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-count { font-size: .8rem; color: var(--muted); white-space: nowrap; display: none; }

.wiz-body { display: grid; }

/* The stage: the live drawing on a soft studio backdrop. */
.wiz-stage-wrap {
  position: relative; min-width: 0;
  background:
    radial-gradient(120% 70% at 50% 35%, #ffffff 0%, #f1f1ee 55%, #e6e6e1 100%);
  border-bottom: 1px solid var(--line);
}
.wiz-stage { display: grid; place-items: center; padding: 18px 12px 0; min-height: 0; }
/* The chosen bag's own picture (wizard/model-*.jpg, a 4:5 studio shot). */
.wiz-stage .wiz-photo { display: block; width: auto; height: 340px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .35); }
.wiz-stage-empty { display: grid; place-items: center; text-align: center; gap: 4px; height: 240px; color: var(--muted); }
.wiz-stage-empty span { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.wiz-stage-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 14px; }
.wiz-caption { font-size: .82rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.wiz-total { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.wiz-total strong { color: var(--ink); font-size: .95rem; }
.wiz-real { display: none; }

/* The panel */
.wiz-main { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.wiz-panel { padding: clamp(20px, 3.4vw, 34px) clamp(16px, 3.4vw, 34px) 24px; display: grid; gap: 22px; align-content: start; }
.wiz-head { display: grid; gap: 6px; }
.wiz-head h3 { font-size: clamp(1.5rem, 4vw, 2rem); outline: none; }
.wiz-head p { color: var(--muted); font-size: .95rem; }
.wiz-label { font-weight: 700; font-size: .95rem; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.wiz-label-sm { margin-top: 14px; font-size: .88rem; }
.wiz-opt { font-weight: 500; color: var(--muted); font-size: .86rem; }
.wiz-hint, .wiz-note { color: var(--muted); font-size: .86rem; }
.wiz-hint { margin-top: 8px; }
.wiz-sub { margin-top: 18px; }
.wiz-block { display: grid; gap: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.wiz-block:first-of-type { border-top: 0; padding-top: 0; }

/* Selected-state check, shared by the photo cards. */
.wiz-check {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.6);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wiz-check::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.is-on > .wiz-check { opacity: 1; transform: none; }

/* Models */
.wiz-models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wiz-model {
  position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; text-align: left; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; color: inherit; font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.wiz-model:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-2px); }
.wiz-model.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-model-img { display: block; aspect-ratio: 4 / 5; background: var(--plate); overflow: hidden; }
/* The model pictures are full 4:5 studio shots (Higgsfield, 2026-10-28): they fill the tile. */
.wiz-model-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wiz-model:hover .wiz-model-img img { transform: scale(1.04); }
.wiz-model-txt { display: grid; gap: 3px; padding: 12px 14px 14px; }
.wiz-model-txt strong { font-size: 1rem; }
.wiz-model-txt small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.wiz-price { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* Materials */
.wiz-mats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wiz-mat {
  position: relative; display: grid; gap: 2px; align-content: start; padding: 0 0 12px; text-align: left; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-mat:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.wiz-mat.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-mat-img { display: block; aspect-ratio: 16 / 10; background: var(--plate); overflow: hidden; margin-bottom: 8px; }
.wiz-mat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wiz-mat:hover .wiz-mat-img img { transform: scale(1.05); }
.wiz-mat strong { font-size: .9rem; padding: 0 12px; }
.wiz-mat small { font-size: .76rem; color: var(--muted); padding: 0 12px; line-height: 1.35; }

/* Chips */
.wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
  font: 500 .92rem/1 var(--body); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.wiz-chip:hover { border-color: var(--accent); }
.wiz-chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wiz-q { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Swatches */
.wiz-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-sw {
  position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.wiz-sw span {
  position: absolute; inset: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), inset 0 -6px 10px rgba(0, 0, 0, .12), inset 0 5px 8px rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease);
}
.wiz-sw::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s var(--ease); }
.wiz-sw:hover span { transform: scale(1.08); }
.wiz-sw.is-on::after { border-color: var(--ink); }
.wiz-sw em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wiz-swatches.is-wide .wiz-sw { width: auto; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 6px; border: 1.5px solid var(--line); }
.wiz-swatches.is-wide .wiz-sw span { position: static; display: block; width: 30px; height: 30px; flex: none; }
.wiz-swatches.is-wide .wiz-sw em { position: static; width: auto; height: auto; overflow: visible; clip: auto; font: 500 .88rem/1 var(--body); font-style: normal; color: var(--ink); }
.wiz-swatches.is-wide .wiz-sw::after { display: none; }
.wiz-swatches.is-wide .wiz-sw.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-part + .wiz-part { margin-top: -2px; }

/* Looks */
.wiz-looks { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.wiz-looks::-webkit-scrollbar { display: none; }
.wiz-look {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 10px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--plate); color: var(--ink); font: 600 .86rem/1 var(--body);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.wiz-look:hover { border-color: var(--accent); transform: translateY(-1px); }
.wiz-look-dots { display: inline-flex; }
.wiz-look-dots i { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px var(--plate), inset 0 0 0 1px rgba(0, 0, 0, .15); }
.wiz-look-dots i + i { margin-left: -6px; }

/* Inputs */
.wiz-input {
  width: 100%; min-height: 50px; padding: 12px 14px; margin-bottom: 10px;
  font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--muted); border-radius: var(--r-input);
}
.wiz-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-extra-in { display: grid; gap: 6px; margin-top: 12px; font-size: .86rem; font-weight: 600; }
.wiz-extra-in .wiz-input { margin: 0; }

/* Upload */
.wiz-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 14px; background: var(--accent-soft);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.wiz-drop:hover, .wiz-drop.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.wiz-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wiz-drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.wiz-drop-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; }
.wiz-drop-icon svg { width: 22px; height: 22px; }
.wiz-drop strong { display: block; font-size: .95rem; }
.wiz-drop small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.wiz-files { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.wiz-files:empty { display: none; }
.wiz-files li { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; }
.wiz-files img, .wiz-file-ext { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--plate); }
.wiz-file-ext { display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: var(--muted); }
.wiz-file-name { font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-file-name small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.wiz-files li.is-done small { color: var(--accent); }
.wiz-files li.is-error small { color: var(--error); white-space: normal; }
.wiz-files li.is-busy small::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 6px; vertical-align: -1px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: cal-spin .9s linear infinite; }
.wiz-files button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; border-radius: 50%; }
.wiz-files button:hover { background: var(--plate); color: var(--ink); }

/* Add-ons */
.wiz-addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wiz-addon {
  position: relative; display: grid; gap: 2px; padding: 0 0 12px; text-align: left; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-addon:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.wiz-addon.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-addon-img { display: block; aspect-ratio: 4 / 3; background: var(--plate); margin-bottom: 8px; overflow: hidden; }
.wiz-addon-img img { width: 100%; height: 100%; object-fit: cover; }
.wiz-addon strong { font-size: .9rem; padding: 0 12px; }
.wiz-addon small { font-size: .78rem; color: var(--muted); padding: 0 12px; }

/* Timeline + summary */
.wiz-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wiz-tier {
  display: grid; gap: 4px; justify-items: start; padding: 14px; text-align: left; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; color: inherit; font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-tier:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.wiz-tier.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-tier-days { font: 750 1.9rem/1 var(--display); font-stretch: 116%; letter-spacing: -.02em; }
.wiz-tier-days small { font: 600 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 4px; }
.wiz-tier strong { font-size: .9rem; }
.wiz-summary { background: var(--plate); border-radius: 16px; padding: 18px; }
.wiz-summary dl { margin: 0; display: grid; }
.wiz-summary dl > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.wiz-summary dl > div:first-child { border-top: 0; padding-top: 0; }
.wiz-summary dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); grid-column: 1; }
.wiz-summary dd { margin: 0; font-size: .92rem; grid-column: 1; }
.wiz-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--accent); font: 600 .86rem/1 var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wiz-est { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: .92rem; }
.wiz-est strong { font-size: 1.05rem; }

/* Footer nav */
.wiz-nav {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px clamp(14px, 3vw, 28px) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  border-radius: 0 0 20px 20px;
}
.wiz-nav .btn { min-height: 50px; }
.wiz-nav [data-wiz-next] { flex: 1; }
.wiz-nav [data-wiz-back] { padding: 0 1.1em; }
.wiz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Phones: the drawing stays in view while the options scroll under it, but only on a screen tall
   enough to keep room for them (not in landscape), and never on the Send step, where the inputs
   and the keyboard need the space. */
@media (max-width: 899px) {
  .wiz-stage-wrap { border-radius: 0; }
  .wiz-stage { height: min(196px, 24svh); min-height: 150px; padding-top: 10px; }
  .wiz-stage .wiz-photo { height: max(140px, min(186px, calc(24svh - 10px))); }
  .wiz-panel .field, .wiz-panel .wiz-q { scroll-margin-top: 120px; }
  .wiz.is-empty .wiz-stage-wrap { display: none; }
  .wiz-stage-meta { padding: 6px 14px 10px; }
  .wiz-step-name { font-size: .66rem; }
}
@media (max-width: 899px) and (min-height: 600px) {
  .wiz:not([data-step="4"]) .wiz-stage-wrap { position: sticky; top: 64px; z-index: 2; }
  .wiz-panel .field, .wiz-panel .wiz-q { scroll-margin-top: 330px; }
}
@media (max-width: 420px) {
  .wiz-step-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wiz-count { display: block; }
  .wiz-tiers { grid-template-columns: 1fr; }
  .wiz-tier { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
}
@media (min-width: 560px) {
  .wiz-mats { grid-template-columns: repeat(3, 1fr); }
  .wiz-addons { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop: drawing left (sticky), options right. */
@media (min-width: 900px) {
  .wiz-body { grid-template-columns: minmax(320px, 5fr) 7fr; }
  .wiz-stage-wrap { border-bottom: 0; border-right: 1px solid var(--line); border-radius: 0 0 0 20px; }
  .wiz-stage-sticky { position: sticky; top: 80px; }
  .wiz-stage { height: min(560px, 68vh); padding: 28px 24px 0; }
  .wiz-stage .wiz-photo { height: min(360px, calc(46vh - 40px)); }
  .wiz-stage { height: auto; }
  .wiz-stage svg { max-height: none; }
  .wiz-real { display: flex; align-items: center; gap: 12px; margin: 4px 20px 22px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
  .wiz-real[hidden] { display: none; }
  .wiz-real img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
  .wiz-real span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
  .wiz-models { grid-template-columns: repeat(4, 1fr); }
  .wiz-nav { border-radius: 0 0 20px 0; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .wiz-models { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .wiz-model, .wiz-model-img img, .wiz-mat-img img, .wiz-check, .wiz-sw span { transition: none; }
}

/* "Design this bag" under each style card above the configurator. */
.bag-link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; margin-top: 4px; font-weight: 600; font-size: .95rem; color: var(--accent); text-decoration: none; }
.bag-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 899px) { .wiz-caption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } }

/* "Your idea": the free-text request. */
.wiz-idea { width: 100%; min-height: 120px; }

/* The three AI design concepts on the thank-you card (wizard.js startDesigns). */
.ai-designs { display: grid; gap: 12px; margin: 0 0 clamp(20px, 3vw, 28px); padding: clamp(16px, 3vw, 22px); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--plate); }
.ai-title { font-size: 1.15rem; }
.ai-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin: 0; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-tile { position: relative; display: grid; gap: 6px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--bg); overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); text-align: center; aspect-ratio: 4 / 5; }
button.ai-tile { aspect-ratio: auto; padding-bottom: 8px; }
.ai-tile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ai-tile span { font-size: .8rem; font-weight: 600; }
.ai-tile:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.ai-tile.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ai-tile.is-busy { cursor: default; background: linear-gradient(100deg, var(--bg) 30%, var(--surface) 50%, var(--bg) 70%) 0 0 / 300% 100%; animation: ai-shimmer 1.6s linear infinite; }
@keyframes ai-shimmer { to { background-position: -300% 0; } }
.ai-note { color: var(--muted); font-size: .82rem; margin: 0; }
@media (max-width: 520px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .ai-tile.is-busy { animation: none; } }

/* Step 3: the colours of the chosen style. Stock swatches are pictures of the supplier's
   cards; smooth colours, finishes and the trim are painted. */
.wiz-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.wiz-choice {
  display: grid; gap: 6px; align-content: start; padding: 6px 6px 8px; cursor: pointer; text-align: center;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-choice:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.wiz-choice.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wiz-choice-face { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--plate); }
.wiz-choice-face img, .wiz-choice-face i { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.wiz-choice-face i.is-text { display: grid; place-items: center; font: 600 1.4rem/1 var(--body); font-style: normal; color: var(--muted); background: var(--surface); }
.wiz-choice-name { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.wiz-choice-name small { display: block; font-weight: 400; color: var(--muted); font-size: .7rem; }
.wiz-choice-sel { font-weight: 400; color: var(--muted); }
@media (max-width: 420px) { .wiz-choices { grid-template-columns: repeat(3, 1fr); } }

/* The list of choices under the bag's picture (wizard.js renderPicks). */
.wiz-picks { list-style: none; margin: 0; padding: 0 16px 16px; display: grid; gap: 6px; }
.wiz-picks button {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 6px 10px 6px 6px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.wiz-picks button:hover { border-color: var(--accent); }
.wiz-pick-face { width: 34px; height: 34px; border-radius: 7px; overflow: hidden; background: var(--surface); }
.wiz-pick-face img, .wiz-pick-face i { display: block; width: 100%; height: 100%; object-fit: cover; }
.wiz-pick-face i.is-idea { display: grid; place-items: center; font: 600 1.1rem/1 var(--body); font-style: normal; color: var(--accent-text-sm, #247A73); }
.wiz-pick-txt { display: grid; font-size: .84rem; font-weight: 600; line-height: 1.25; min-width: 0; }
.wiz-pick-txt small { font-size: .68rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wiz-pick-edit { font-size: .74rem; color: var(--accent-text-sm, #247A73); font-weight: 600; }
@media (max-width: 899px) { .wiz-picks { display: none; } }

/* The three designs as A, B, C (big letters under each, as in the owner's example). */
.ai-tile .ai-letter { font: 800 1.6rem/1 var(--display); color: var(--ink); letter-spacing: .02em; padding: 2px 0 4px; }

/* "Try again" under the designs, and the booking button. */
.ai-retry { display: grid; gap: 8px; }
.ai-retry .wiz-label { margin: 0; }
.ai-retry-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ai-retry-row small { color: var(--muted); font-size: .8rem; }
.ai-book { margin: 4px 0 0; }

/* After the send (wizard.js startDesigns): the page is only the designs and the booking
   calendar. Everything else, the header's "Start my design", the dock and the chat go away. */
html.lp-done main > section:not(#design):not(.ig-sec), html.lp-done #design .wiz-sec-head,
html.lp-done .top .top-actions, html.lp-done .dock, html.lp-done .ace-chat { display: none !important; }
html.lp-done #design { padding-top: clamp(24px, 4vw, 48px); }

/* The designs' loading bar and the lookbook button while they draw. */
.ai-bar { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.ai-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .9s var(--ease); }
.ai-bar.is-done i { background: var(--accent); }
.ai-wait { margin: 0; }
/* After the send the Instagram videos stay, under the booking calendar. */
html.lp-done .ig-sec { padding-top: clamp(16px, 3vw, 32px); }

/* The lookbook strip above "Four bag styles": the bags slide left to right on their own. */
.lb-strip { overflow: hidden; padding: 8px 0 28px; background: var(--bg); }
.lb-track { display: flex; gap: 14px; width: max-content; animation: lb-slide 60s linear infinite; }
.lb-strip:hover .lb-track { animation-play-state: paused; }
.lb-track figure { margin: 0; width: 200px; height: 250px; border-radius: 14px; overflow: hidden; background: var(--plate); flex: none; }
.lb-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes lb-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 599px) { .lb-track figure { width: 150px; height: 188px; } }
@media (prefers-reduced-motion: reduce) { .lb-track { animation: none; } }

/* Step 2: the picked design from every angle (one wide sheet). */
.ai-build { display: grid; gap: 8px; }
.ai-build .wiz-label { margin: 0; }
.ai-angles { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.ai-sheet img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--bg); }
.ai-sheet a { display: block; }
.ai-sheet-busy { aspect-ratio: 21 / 9; }
button.ai-tile:disabled { opacity: .45; cursor: default; }
