.build-page { background: var(--soft); }
.bp { padding: var(--s6) 0 160px; }
.bp-head h1 { font-size: var(--t-xl); margin-bottom: var(--s4); }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 var(--s6); overflow-x: auto; scrollbar-width: none; }
.steps li { flex: 1 0 auto; }
.steps button { width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 var(--t-xs) var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.steps button[aria-current="step"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps button.done { color: var(--text); border-color: var(--line-2); }
.steps button:disabled { opacity: .5; cursor: default; }
.bp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.bp-main { min-width: 0; }
.bp-main:focus { outline: none; }
.bp-main section { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.bp-main h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: var(--s2); }
.mt { margin-top: var(--s7); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.wide { width: 100%; }

/* Sizes */
.sizes { border: 0; padding: 0; margin: 0 0 var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.size { position: relative; display: flex; flex-direction: column; gap: 4px; padding: var(--s5) var(--s4); background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; margin: 0; font-weight: 400; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.size:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.size input { position: absolute; opacity: 0; }
.size svg { color: var(--faint); margin-bottom: var(--s2); }
.size strong { font-size: var(--t-l); letter-spacing: -0.02em; }
.size span { font-size: var(--t-s); color: var(--muted); }
.size em { font-style: normal; font-size: var(--t-xs); color: var(--faint); }
.size:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.size:has(input:checked) svg { color: var(--accent); }
.size:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.more summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-bottom: var(--s4); }

/* Packages (multi-select) */
.pk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin: var(--s4) 0; }
.pkc { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); align-items: start; text-align: left; padding: var(--s3); background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s; }
.pkc img, .pkc .ph { width: 96px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--soft-2); }
.pkc b { display: block; font-size: var(--t-m); letter-spacing: -0.01em; }
.pkc .d { display: block; font-size: var(--t-xs); color: var(--muted); margin: 2px 0 6px; }
.pkc .p { font-weight: 800; font-size: var(--t-l); } .pkc .sv { font-size: var(--t-xs); font-weight: 700; color: var(--accent); margin-left: 6px; }
.pkc .tick { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; background: #fff; }
.pkc[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.pkc[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pkc .inc { display: block; font-size: var(--t-xs); color: var(--faint); margin-top: 4px; }
.offer-card { display: flex; gap: var(--s3); align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-m); padding: var(--s3) var(--s4); margin: var(--s3) 0; font-size: var(--t-s); }
.offer-card i { font-style: normal; flex: none; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: var(--t-xs); padding: 4px 10px; border-radius: 999px; }
.offer-card.on { box-shadow: 0 0 0 3px var(--accent); }

/* Item list */
.filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: var(--s3) 0 var(--s4); position: sticky; top: 64px; z-index: 5; background: var(--soft); padding: var(--s2) 0; }
.filter button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 var(--t-s) var(--font); color: var(--text); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-h { font-size: var(--t-m); font-weight: 800; margin: var(--s5) 0 var(--s2); letter-spacing: -0.01em; }
.item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s3); background: #fff; border: 2px solid transparent; border-radius: var(--r-m); margin-bottom: 8px; transition: border-color .2s, background .2s; }
.item.on { border-color: var(--accent); }
.item.inc { background: color-mix(in srgb, var(--accent) 5%, #fff); }
.item .th { width: 64px; height: 56px; border-radius: 10px; background: var(--soft-2) center / cover; display: grid; place-items: center; color: var(--faint); }
.item .nm { font-weight: 700; line-height: 1.25; }
.item .badge { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; vertical-align: 2px; }
.item .sub { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 4px; font-size: var(--t-xs); color: var(--muted); }
.item .pr { font-weight: 800; color: var(--text); }
.info-btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--muted); font: 700 13px/1 Georgia, serif; font-style: italic; cursor: pointer; display: inline-grid; place-items: center; }
.info-btn[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.info { grid-column: 2 / -1; font-size: var(--t-s); color: var(--muted); background: var(--soft); border-radius: 10px; padding: var(--s3); margin: 0; }
.add { min-width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: 800 22px/1 var(--font); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), background .2s, color .2s; }
.add:active { transform: scale(.92); }
.add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.add:disabled { opacity: 1; border-color: var(--line-2); color: var(--muted); cursor: default; font-size: 13px; padding: 0 10px; }
.qty { grid-column: 2 / -1; display: flex; align-items: center; gap: var(--s2); font-size: var(--t-s); }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; font-size: 20px; cursor: pointer; }

/* Conditions */
.conds { border: 0; padding: 0; margin: var(--s4) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.cond { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; margin: 0; font-weight: 500; min-height: 56px; }
.cond input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.cond:has(input:checked) { border-color: var(--accent); }
.honest { background: #fff; border-radius: var(--r-m); padding: var(--s4); border: 2px solid var(--ink); }

/* Review */
.rv { background: #fff; border-radius: var(--r-l); padding: var(--s5); }
.rv h3 { font-size: var(--t-s); color: var(--muted); font-weight: 700; letter-spacing: 0; margin: var(--s4) 0 var(--s2); }
.rv h3:first-child { margin-top: 0; }
.rv-row { display: flex; justify-content: space-between; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid var(--line); }
.rv-row small { display: block; color: var(--muted); }
.rv-row.save { color: var(--accent); font-weight: 600; }
.rv-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s4); font-weight: 800; font-size: var(--t-l); }
.rv-dep { margin-top: var(--s3); padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }

/* Calendar */
.cal { background: #fff; border-radius: var(--r-l); padding: var(--s4); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.cal-head b { font-size: var(--t-l); letter-spacing: -0.02em; }
.cal-head button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: var(--t-xs); color: var(--muted); font-weight: 700; padding: 4px 0; }
.day { aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; font: 600 var(--t-m) var(--font); color: var(--faint); }
.day.avail { background: var(--soft); color: var(--text); cursor: pointer; position: relative; }
.day.avail::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.time { min-width: 88px; min-height: 48px; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; font: 700 var(--t-m) var(--font); cursor: pointer; }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Nav + sheet */
.nav { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); }
.sheet { position: sticky; top: 84px; }
.sheet-body { background: #fff; border-radius: var(--r-l); padding: var(--s5); box-shadow: var(--shadow); }
.sheet-title { font-size: var(--t-l); margin: 0; }
.sheet-size { color: var(--muted); font-size: var(--t-s); margin: 2px 0 var(--s3); }
.sheet-lines { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; font-size: var(--t-s); }
.sheet-lines li { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 0; }
.sheet-lines li.grp { display: block; font-size: var(--t-xs); font-weight: 800; color: var(--muted); padding-top: var(--s3); }
.sheet-lines li.save { color: var(--accent); font-weight: 600; }
.sheet-totals { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s3); margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1.5px solid var(--ink); }
.sheet-totals dt { color: var(--muted); font-size: var(--t-s); } .sheet-totals dd { margin: 0; text-align: right; font-weight: 600; }
.sheet-totals .big { font-size: var(--t-l); font-weight: 800; color: var(--text); }
.coupon { margin-top: var(--s4); } .coupon-row { display: flex; gap: 6px; } .coupon-row input { min-height: 40px; text-transform: uppercase; }
#sheet-status .notice { margin: var(--s3) 0 0; }
.bar { display: none; }

/* Done */
.done { background: #fff; border-radius: var(--r-l); padding: var(--s7) var(--s5); text-align: center; max-width: 640px; margin: var(--s6) auto; }
.done .tickbig { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin: 0 auto var(--s4); font-size: 36px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done ul { text-align: left; max-width: 420px; margin: var(--s4) auto; }

@media (max-width: 960px) {
  .bp-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 50; }
  .sheet-body { display: none; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 70vh; overflow: auto; box-shadow: 0 -12px 40px -12px rgba(11,13,16,.35); }
  .sheet.open .sheet-body { display: block; }
  .bar { display: flex; gap: var(--s3); align-items: center; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--s4) calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px -16px rgba(11,13,16,.4); }
  .bar-sum { flex: 1; display: flex; flex-direction: column; align-items: flex-start; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
  .bar-label { font-size: var(--t-xs); color: var(--muted); } .bar-label::after { content: " ▴"; }
  .sheet.open .bar-label::after { content: " ▾"; }
  .bar-total { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
  .bar .btn { min-height: 52px; padding: 0 var(--s5); }
  .site-foot { padding-bottom: 120px; }
}
@media (max-width: 640px) {
  .sizes { grid-template-columns: 1fr 1fr; }
  .pk-list, .conds, .grid-2 { grid-template-columns: 1fr; }
  .item { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .item .th { width: 56px; height: 52px; }
  .rv { padding: var(--s4); }
}

.cond-legend { font-weight: 700; margin-bottom: var(--s3); padding: 0; }
.cond-note textarea { min-height: 96px; }
@media (max-width: 640px) {
  .conds { grid-template-columns: 1fr 1fr; }
  .cond { padding: var(--s3); font-size: var(--t-s); min-height: 64px; align-items: flex-start; }
}

/* v4 condition step */
.honesty { display: flex; gap: var(--s3); align-items: flex-start; background: #fff; border-left: 4px solid var(--accent); border-radius: var(--r-m); padding: var(--s4); margin: var(--s4) 0 var(--s5); }
.honesty svg { color: var(--accent); flex: none; margin-top: 2px; } .honesty p { margin: 0; font-size: var(--t-s); }
.grades, .conds { border: 0; padding: 0; margin: 0 0 var(--s5); }
.grades legend, .cond-legend { font-weight: 700; font-size: var(--t-m); margin-bottom: var(--s3); padding: 0; }
.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.grades legend { grid-column: 1 / -1; }
.grade { position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: #fff; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; margin: 0; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.grade input { position: absolute; opacity: 0; }
.grade .g-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 700; font-size: var(--t-s); }
.grade b { display: block; } .grade small { display: block; color: var(--muted); font-size: var(--t-xs); line-height: 1.45; margin-top: 2px; }
.grade:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.grade:has(input:checked) .g-n { background: var(--accent); color: var(--on-accent); }
.grade:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.cond { align-items: flex-start; } .cond b { display: block; font-weight: 600; } .cond small { display: block; color: var(--muted); font-size: var(--t-xs); font-weight: 400; }
.deal { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; background: color-mix(in srgb, var(--accent) 7%, #fff); border: 1.5px solid var(--accent); border-radius: var(--r-m); padding: var(--s3) var(--s4); margin: var(--s3) 0; font-size: var(--t-s); }
.deal-tag { background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: var(--t-xs); padding: 4px 10px; border-radius: 999px; }
.deal b { margin-left: auto; font-size: var(--t-m); color: var(--accent); }
@media (max-width: 900px) { .grades { grid-template-columns: 1fr 1fr; } }
