/* Guided editor: use the storefront skin and preserve the canvas geometry. */
.customiser-guided { margin:0; padding-bottom:80px; background:var(--am-light); color:var(--am-text); font-family:var(--font-primary); }
.customiser-guided *, .customiser-guided *::before { box-sizing:border-box; }
.customiser-guided [hidden] { display:none!important; }
.customiser-guided button, .customiser-guided input, .customiser-guided select, .customiser-guided textarea { font-family:inherit; }
.customiser-guided .customiser-header { padding:14px 24px; background:var(--am-light); color:var(--am-ink); border:0; gap:16px; position:static; box-shadow:none; }
.customiser-guided .customiser-header a { color:var(--am-purple); }
.customiser-guided .customiser-title { font-size:17px; line-height:1.25; font-weight:900; text-transform:uppercase; color:var(--am-purple); }
.customiser-embedded .customiser-back, .customiser-embedded .customiser-header-actions { display:none; }
.customiser-guided .customiser-progress { position:sticky; top:0; z-index:10; display:flex; gap:8px; padding:12px 24px; overflow:auto; background:var(--am-white); border-block:1px solid var(--am-border); }
.customiser-progress button { border:1px solid var(--am-border); background:var(--am-white); color:var(--am-purple); padding:10px 16px; border-radius:0; white-space:nowrap; font-size:13px; line-height:1.3; font-weight:900; text-transform:uppercase; letter-spacing:.02em; cursor:pointer; }
.customiser-progress button[aria-current] { background:linear-gradient(135deg,var(--am-pink),var(--am-purple)); color:var(--am-white); border-color:transparent; }
.customiser-progress button:disabled { color:var(--am-muted); opacity:.5; cursor:default; }
.customiser-guided :is(button,input,select,textarea):focus-visible { outline:3px solid var(--am-cyan); outline-offset:3px; }
.customiser-flow-panel { max-width:1200px; padding:24px; margin:auto; }
.customiser-flow-panel h2 { font-size:clamp(20px,2.5vw,28px); line-height:1.1; font-weight:900; text-transform:uppercase; letter-spacing:-.025em; margin:0 0 20px; color:var(--am-ink); }
.customiser-flow-footer { position:fixed; bottom:0; left:0; right:0; background:var(--am-white); padding:14px 24px; display:flex; justify-content:space-between; border-top:1px solid var(--am-border); z-index:20; box-shadow:0 -8px 24px rgba(8,7,13,.04); }
.customiser-guided .btn-primary { background:linear-gradient(135deg,var(--am-pink),var(--am-purple))!important; color:var(--am-white)!important; border-color:transparent!important; box-shadow:0 8px 20px rgba(236,47,159,.15)!important; }
.customiser-guided .btn-danger { box-shadow:none!important; }
.customiser-guided .btn { min-height:40px; border-radius:0!important; padding:10px 16px; font-size:13px; line-height:1.3; }
.flow-colours { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:14px; }
.flow-colour { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:14px; border:1px solid var(--am-border); background:var(--am-white); font-size:14px; font-weight:700; cursor:pointer; transition:border-color .15s,box-shadow .15s; }
.flow-colour:has(input:checked) { border-color:var(--am-pink); box-shadow:inset 0 -3px var(--am-pink),0 6px 20px rgba(111,45,189,.08); }
.flow-colour:hover { border-color:var(--am-purple); }
.flow-colour img { width:100%; height:120px; object-fit:contain; }
.flow-colour input { accent-color:var(--am-purple); width:18px; height:18px; }
.flow-design-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); gap:20px; align-items:start; }
.flow-design-controls, .flow-review, .customiser-guided .customiser-canvas-area, .customiser-guided .size-qty-wrap, .customiser-guided .price-summary { background:var(--am-white); padding:18px; border:1px solid var(--am-border); border-radius:0; box-shadow:0 12px 30px rgba(8,7,13,.055); }
.customiser-guided .flow-design-controls { order:1; min-width:0; }
.customiser-guided .customiser-canvas-area { display:block; order:0; min-height:0; height:auto; min-width:0; }
.customiser-guided .customiser-sidebar--left { background:transparent; border:0; border-radius:0; padding:0; box-shadow:none; }
.customiser-guided .customiser-step-label { display:none; }
.customiser-guided .form-label { color:var(--am-ink); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.customiser-guided .form-control { border:1px solid var(--am-border); border-radius:0; background:var(--am-white); min-height:42px; padding:10px 12px; font-size:14px; color:var(--am-text); }
.customiser-guided .form-control:focus { border-color:var(--am-purple); box-shadow:0 0 0 2px rgba(111,45,189,.1); }
.customiser-guided .form-control--colour { padding:4px; }
.customiser-guided .form-group { margin-bottom:16px; }
.customiser-guided .tool-tabs { grid-template-columns:1fr 1fr; gap:8px; margin:18px 0; }
.customiser-guided .tool-tab { border:1px solid var(--am-border); border-radius:0; background:var(--am-light); color:var(--am-purple); font-size:13px; font-weight:800; text-transform:uppercase; padding:12px; box-shadow:none; }
.customiser-guided .tool-tab.active { background:var(--am-deep-purple); border-color:var(--am-deep-purple); color:var(--am-white); box-shadow:none; }
.customiser-guided .tool-panel h3, .customiser-guided .size-qty-wrap h4 { font-size:18px; font-weight:900; text-transform:uppercase; margin:0 0 16px; }
.customiser-guided .upload-drop-zone { background:var(--am-light); border:2px dashed var(--am-border); border-radius:0; padding:24px 16px; color:var(--am-purple); }
.customiser-guided .upload-drop-zone p { margin:8px 0; }
.customiser-guided .upload-hint { font-size:12px; color:var(--am-muted); }
.customiser-guided .uploaded-assets button { border:1px solid var(--am-border); background:var(--am-light); color:var(--am-purple); padding:8px 12px; }
.customiser-guided .canvas-container.js-canvas-container { position:relative; width:100%; height:440px; min-height:0; aspect-ratio:auto; border:1px solid var(--am-border); border-radius:0; background:var(--am-white); }
.customiser-guided .garment-bg { position:absolute; inset:0; z-index:0; pointer-events:none; }
.customiser-guided .garment-bg img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; }
.customiser-guided .canvas-container > .canvas-container { position:absolute!important; inset:0; z-index:2; min-height:0; background:transparent; border:0; display:block; border-radius:0; }
.customiser-guided .canvas-container canvas { position:absolute!important; top:0; left:0; }
.customiser-guided .view-toggle-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.customiser-guided .js-view-btn { flex:1; background:var(--am-white)!important; color:var(--am-purple)!important; border:1px solid var(--am-border)!important; box-shadow:none!important; white-space:nowrap; }
.customiser-guided .js-view-btn.active { background:var(--am-black)!important; color:var(--am-white)!important; border-color:var(--am-black)!important; }
.customiser-guided .canvas-controls { display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;padding:10px 0 0; border:0; background:transparent; }
.customiser-guided .canvas-controls .btn, .customiser-guided .text-style-buttons .btn { width:auto!important;flex:0 0 40px;padding:8px; }
.customiser-guided .js-size-qty-table > div { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 0; border-bottom:1px solid var(--am-border); }
.customiser-guided .price-summary { margin-top:20px; }
.customiser-guided .price-summary p, .product-colour-photo-note { font-size:13px; color:var(--am-muted); }
.customiser-guided .price-summary .total-row { font-weight:900; color:var(--am-purple); font-size:20px; border-color:var(--am-border); }
.flow-review { margin-bottom:20px; }
.flow-review p { margin:0 0 10px; }
.flow-review p:last-child { margin:0; }
.customiser-guided .customiser-order-actions { display:grid; gap:12px; }
@media(max-width:700px) {
 .flow-design-grid { grid-template-columns:1fr; gap:14px; }
 .customiser-flow-panel { padding:16px 12px; }
 .customiser-guided .canvas-container.js-canvas-container { height:300px; }
 .customiser-guided .customiser-header { padding:12px; }
 .customiser-guided .customiser-title { font-size:14px; }
 .customiser-guided .customiser-progress { padding:10px 12px; }
 .customiser-progress button { padding:10px 12px; font-size:12px; }
 .customiser-flow-footer { padding:12px; }
 .customiser-guided .view-toggle-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
 .flow-design-controls, .customiser-guided .customiser-canvas-area { padding:12px; }
 .flow-colour img { height:90px; }
}
.customiser-draft-bar { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:var(--am-white);border-bottom:1px solid var(--am-border); }
.customiser-draft-status { flex:1;min-width:0;margin:0;font-size:12px;color:var(--am-muted); }
.customiser-guided .customiser-draft-bar .btn { width:auto!important;font-size:11px;min-height:32px;padding:7px 10px;flex:none; }
@media(max-width:700px){.customiser-draft-bar{padding:10px 12px;align-items:flex-start;}.customiser-draft-status{font-size:11px;}}
