.pack-config-view { max-width:1500px; }
.guided-pack-heading { max-width:1100px; margin:0 auto 26px; }
.guided-pack-heading>a { display:inline-flex; min-height:44px; align-items:center; color:#7a4a20; text-decoration:none; font-weight:700; }
.guided-pack-heading .eyebrow { margin:12px 0; }
.guided-pack-heading h1 { max-width:800px; margin:0 0 14px; font:750 clamp(32px,4.5vw,60px)/1.06 var(--font-display); letter-spacing:-.045em; }
.guided-pack-heading>p:last-child { color:#58616b; line-height:1.6; }
.guided-pack-steps { max-width:1100px; margin:0 auto 24px; display:grid; grid-template-columns:repeat(5,1fr); gap:9px; }
.guided-pack-steps button { min-height:52px; border:1px solid #dfd8ce; border-radius:14px; background:#fff; color:#58616b; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; }
.guided-pack-steps button b { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#eee8df; color:#07111b; font-size:12px; }
.guided-pack-steps button[aria-current="step"] { background:#07111b; border-color:#07111b; color:#fff; }
.guided-pack-steps button[aria-current="step"] b { background:#ff7900; }
.guided-pack-steps button.is-complete b { background:#dceee4; color:#176742; }
.guided-pack-steps button:disabled { opacity:.5; cursor:not-allowed; }
.guided-pack-layout { max-width:1360px; margin:auto; display:grid; grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr); gap:28px; align-items:start; }
.guided-pack-preview,.guided-pack-panel { min-width:0; border:1px solid #e2dbd0; border-radius:26px; background:#fff; box-shadow:0 14px 44px #07111b0c; }
.guided-pack-preview { padding:24px; background:#f6f2eb; }
.guided-pack-garments { display:flex; gap:8px; margin-bottom:14px; }
.guided-pack-garments button { flex:1; min-height:46px; padding:8px 12px; border:1px solid #d8d2c9; border-radius:13px; background:#fff; color:#07111b; font-weight:750; cursor:pointer; }
.guided-pack-garments button[aria-pressed="true"] { border-color:#ff7900; background:#fff3e7; box-shadow:inset 0 0 0 1px #ff7900; }
.guided-pack-preview-grid { display:block; }
.guided-pack-preview-grid>section { min-width:0; padding:16px; border-radius:20px; background:#fff; }
.guided-pack-preview-grid>section:not(.is-mobile-active) { display:none; }
.guided-pack-preview h2 { margin:0 0 8px; font:700 19px var(--font-display); text-align:center; }
.guided-pack-preview figure { position:relative; max-width:540px; margin:0 auto 10px; text-align:center; }
.guided-pack-preview canvas[data-preview-canvas] { display:block; width:min(100%,540px); height:auto; max-height:min(620px,70vh); object-fit:contain; margin:auto; }
.guided-pack-detail { display:block; width:170px; height:144px; object-fit:cover; border:2px solid #fff; border-radius:16px; background:#f6f2eb; box-shadow:0 9px 24px #07111b25; }
.guided-pack-preview .guided-pack-detail { position:absolute; right:10px; bottom:34px; }
.guided-pack-detail[hidden] { display:none!important; }
.guided-pack-preview figure[hidden] { display:none; }
.guided-pack-preview figcaption { font-size:13px; font-weight:700; }
.guided-pack-preview>p { color:#59636d; text-align:center; font-size:12px; }
.guided-pack-tabs { display:flex; gap:8px; margin-bottom:12px; }
.guided-pack-tabs button { flex:1; min-height:44px; border:1px solid #d8d2c9; border-radius:12px; background:#fff; font-weight:750; }
.guided-pack-tabs button[aria-selected="true"] { background:#07111b; color:#fff; }
.guided-pack-mobile-color-preview { display:none; }
.guided-pack-panel { position:sticky; top:100px; padding:clamp(22px,3vw,36px); }
.guided-pack-panel-body h2 { margin:0 0 14px; font:750 clamp(28px,2.5vw,38px)/1.1 var(--font-display); letter-spacing:-.03em; }
.guided-pack-panel-body>p { color:#59636d; line-height:1.55; }
.guided-pack-upload { display:grid; gap:10px; place-items:center; text-align:center; margin:22px 0 10px; padding:28px 18px; border:2px dashed #de985a; border-radius:22px; background:#fff8ef; cursor:pointer; position:relative; }
.guided-pack-upload:hover,.guided-pack-upload:focus-within { border-color:#a84400; background:#fff2e1; }
.guided-pack-upload-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:15px; color:#9a3f00; background:#fff; box-shadow:0 4px 16px #07111b12; }
.guided-pack-upload strong { color:#07111b; font-size:17px; }
.guided-pack-upload span,.guided-pack-upload-feedback { color:#66717b; font-size:13px; }
.guided-pack-upload input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.guided-pack-upload:focus-within { outline:3px solid #ff7900; outline-offset:3px; }
.guided-pack-remove { min-height:44px; border:0; background:transparent; color:#a4281d; text-decoration:underline; font-weight:700; cursor:pointer; }
.guided-pack-choice { display:grid; gap:12px; margin:24px 0; }
.guided-pack-choice button { min-height:58px; padding:12px 16px; border:1px solid #d8d2c9; border-radius:15px; background:#fff; text-align:left; font-weight:700; }
.guided-pack-choice button[aria-pressed="true"] { border:2px solid #ff7900; background:#fff3e7; }
.guided-pack-confirm { color:#176742 !important; font-weight:750; }
.guided-pack-back-upload { padding-top:10px; border-top:1px solid #eee5da; }
.guided-pack-back-upload h3 { font:700 21px var(--font-display); }
.guided-pack-text-button { padding:10px 0; border:0; background:transparent; color:#a84400; text-decoration:underline; font-weight:700; }
.guided-pack-colors,.guided-pack-sizes { margin:18px 0; padding:16px; border:1px solid #e2dbd0; border-radius:18px; }
.guided-pack-colors legend,.guided-pack-sizes legend { padding:0 5px; font-weight:750; }
.guided-pack-colors>div { display:flex; flex-wrap:wrap; gap:8px; }
.guided-pack-colors button { display:flex; align-items:center; gap:8px; min-height:44px; padding:5px 10px; border:1px solid #d8d2c9; border-radius:12px; background:#fff; font-size:12px; }
.guided-pack-colors button[aria-pressed="true"] { border:2px solid #ff7900; background:#fff3e7; }
.guided-pack-colors button span { width:25px; height:25px; border:1px solid #bbb; border-radius:50%; background:var(--swatch); }
.guided-pack-colors button img { width:25px; height:25px; border:1px solid #bbb; border-radius:50%; object-fit:cover; }
.guided-pack-sizes>p { color:#59636d; font-size:13px; }
.guided-pack-sizes .size-picker__rows { margin-top:12px; }
.guided-pack-recap dl { display:grid; grid-template-columns:auto 1fr; gap:12px; margin:24px 0; }
.guided-pack-recap dt { font-weight:750; }
.guided-pack-recap dd { margin:0; color:#58616b; overflow-wrap:anywhere; }
.guided-pack-recap dd button { min-height:38px; margin-left:6px; border:0; background:transparent; color:#a84400; text-decoration:underline; font-weight:750; cursor:pointer; }
.guided-pack-recap dd strong { color:#07111b; font-variant-numeric:tabular-nums; }
.guided-pack-actions { display:flex; gap:10px; margin-top:30px; }
.guided-pack-actions button { min-height:54px; padding:10px 18px; border-radius:14px; font-weight:750; }
.guided-pack-actions .primary { flex:1; }
.guided-pack-status { min-height:24px; margin:14px 0 0; font-size:13px; color:#176742; }
.guided-pack-status[role="alert"] { color:#a4281d; }
.guided-pack-unavailable { max-width:700px; margin:70px auto; text-align:center; }
.pack-config-view :is(button,a,input):focus-visible { outline:3px solid #ff7900; outline-offset:3px; }
#cart-view.is-pack-checkout .cart-layout { display:block; max-width:760px; margin:0 auto; }
#cart-view.is-pack-checkout .cart-main { display:none; }
#cart-view.is-pack-checkout .cart-summary { position:static; }
#cart-view.is-pack-checkout .page-heading { max-width:760px; margin-inline:auto; }
.pack-checkout-items { display:grid; gap:10px; margin:18px 0 24px; padding:18px; border:1px solid #e2dbd0; border-radius:16px; background:#f7f4ee; }
.pack-checkout-items h2 { margin:0 0 4px; font:750 18px var(--font-display); }
.pack-checkout-items>div { display:grid; gap:3px; padding-top:10px; border-top:1px solid #e2dbd0; }
.pack-checkout-items a { width:max-content; min-height:40px; display:inline-flex; align-items:center; color:#a84400; font-weight:750; }
.pack-checkout-tax-note { margin:12px 0; color:#58616b; font-size:13px; line-height:1.5; }
@media(max-width:900px) { .guided-pack-layout { grid-template-columns:1fr; } .guided-pack-panel { position:static; } }
@media(max-width:600px) {
  html:has(#pack-config:not([hidden])),body:has(#pack-config:not([hidden])) { overflow-x:clip!important; overflow-y:visible!important; }
  .guided-pack-steps { display:flex; overflow-x:auto; padding-bottom:8px; }
  .guided-pack-steps button { flex:0 0 auto; padding:0 12px; }
  .guided-pack-preview { display:none; }
  .guided-pack-mobile-color-preview { display:block; position:sticky; top:var(--header,72px); z-index:12; margin:0 0 18px; padding:10px; border:1px solid #e2dbd0; border-radius:18px; background:#fff; box-shadow:0 12px 26px #07111b1c; text-align:center; }
  .guided-pack-mobile-color-preview .guided-pack-garments { margin-bottom:7px; }
  .guided-pack-mobile-color-preview .guided-pack-tabs { margin-bottom:4px; }
  .guided-pack-mobile-stage { position:relative; min-height:220px; }
  .guided-pack-mobile-color-preview canvas[data-mobile-preview] { display:block; width:auto; max-width:100%; height:220px; margin:0 auto; }
  .guided-pack-mobile-color-preview canvas[data-mobile-preview][hidden] { display:none; }
  .guided-pack-mobile-color-preview .guided-pack-detail { position:absolute; right:0; bottom:0; width:100px; height:86px; }
  .guided-pack-live-color { display:block; margin-top:4px; font-size:13px; }
  .guided-pack-mobile-color-preview small { display:block; color:#66717b; font-size:11px; }
  .guided-pack-panel { padding:22px 18px; }
}
@media(prefers-reduced-motion:reduce) { .guided-pack-preview canvas,.guided-pack-mobile-color-preview canvas { animation:none!important; transition:none!important; } }
.pack-back-controls { margin-block:20px; padding:18px; border:1px solid var(--line,#e2dbd0); border-radius:16px; background:var(--paper,#faf7f1); }
.pack-back-controls label,.pack-back-controls output { display:block; margin-block:10px; }
.pack-back-controls input { width:100%; min-height:44px; accent-color:var(--orange,#ff7900); }
.pack-back-arrows { display:grid; grid-template-columns:repeat(3,minmax(44px,1fr)); gap:8px; max-width:280px; margin:12px auto 0; }
.pack-back-arrows button { min-height:44px; display:flex; justify-content:center; align-items:center; border:1px solid var(--line,#e2dbd0); border-radius:12px; background:#fff; color:var(--ink,#07111b); }
.pack-back-arrows button:focus-visible { outline:3px solid var(--orange,#ff7900); outline-offset:3px; }
.pack-back-arrows [data-back-move="up"] { grid-column:2; }
.pack-back-arrows [data-back-move="left"] { grid-column:1; }
.pack-back-arrows [data-back-move="down"] { grid-column:2; }
.pack-back-arrows [data-back-move="up"] svg { transform:rotate(-90deg); }
.pack-back-arrows [data-back-move="left"] svg { transform:rotate(180deg); }
.pack-back-arrows [data-back-move="down"] svg { transform:rotate(90deg); }
