/* Logo Preview — real product photos, compact Dappas-style mobile layout */
.cz{--cz-stage:#fff;padding:0 0 64px;background:#fff}
.cz .cz-hero{padding:16px 0 4px;text-align:center}
.cz .cz-hero h1{margin:0 0 4px;font-size:28px;font-weight:600;letter-spacing:-.03em}
.cz .cz-hero .cz-lead{margin:0 auto;max-width:46ch;color:#4b5563;font-size:14px}
.cz-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;width:100%;max-width:100%}
.cz-stage-wrap{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 10px 12px;position:relative;min-width:0;max-width:100%;overflow:hidden}
.cz-stage{position:relative;width:100%;aspect-ratio:1;max-height:min(640px, 52vh);margin:0 auto;border-radius:12px;overflow:hidden;background:#fff;cursor:default}
.cz-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;background:#fff}
.cz-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px;margin:0;-webkit-overflow-scrolling:touch;scrollbar-width:thin;width:100%;max-width:100%;min-width:0}
.cz-tabs button{flex:0 0 auto;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:7px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.cz-tabs button[aria-selected="true"]{background:var(--green);color:#fff;border-color:var(--green)}
.cz-swatch-row{margin:0 0 8px}
.cz-swatches{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:2px 2px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.cz-swatch{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:2px solid #e5e7eb;padding:0;cursor:pointer;position:relative;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.cz-swatch[aria-checked="true"]{border-color:var(--ink);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--green)}
.cz-swatch .ck{display:none;position:absolute;inset:0;place-items:center;color:#fff;font-size:14px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.cz-swatch[aria-checked="true"] .ck{display:grid}
.cz-swatch.is-light .ck{color:#191919;text-shadow:none}
.cz-swatch.rec{box-shadow:0 0 0 2px #fff,0 0 0 3px var(--green)}
.cz-recs{font-size:12px;color:#6b7280;margin:8px 0 0}
.cz-recs[hidden]{display:none}
.cz-size{display:flex;gap:8px;margin:0 0 8px;align-items:center}
.cz-size[hidden]{display:none}
.cz-size span{font-size:13px;font-weight:600;color:#4b5563}
.cz-size button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.cz-size button[aria-selected="true"]{background:var(--green-soft);border-color:var(--green);color:var(--green-dark)}
.cz-panel{background:#fff;min-width:0;max-width:100%;padding:0}
.cz-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cz-actions .btn{text-align:center;padding:12px 14px;font-size:15px}
.cz-file{position:relative;overflow:hidden}
.cz-file input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.cz-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:12px 0 0}
.cz-secondary .btn.alt{padding:8px 14px;font-size:13px}
.cz-toggle{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:600}
.cz-toggle input{width:16px;height:16px;accent-color:var(--green-dark)}
.cz-edit{margin-top:16px;border:1px solid var(--line);border-radius:12px;padding:0 14px}
.cz-edit summary{cursor:pointer;font-weight:650;font-size:14px;padding:12px 0;list-style:none}
.cz-edit summary::-webkit-details-marker{display:none}
.cz-edit summary::after{content:"＋";float:right;color:#6b7280;font-weight:500}
.cz-edit[open] summary::after{content:"–"}
.cz-edit .cz-slider:first-of-type{margin-top:0}
.cz-slider{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;margin:0 0 12px}
.cz-slider label{font-size:14px;font-weight:600;grid-column:1/-1}
.cz-slider input[type=range]{width:100%;accent-color:var(--green-dark)}
.cz-slider output{font-size:13px;color:#6b7280;min-width:3.2ch;text-align:right}
.cz-note{margin:12px 0 0;font-size:12px;color:#9ca3af}
.preview-pill{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:999px;background:var(--green);color:#fff;font-weight:600;font-size:14px;white-space:nowrap}
.preview-pill:hover{background:var(--green-dark);color:#fff}
.preview-handoff{margin:8px 0 16px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--green-soft)}
.preview-handoff img{width:100%;max-width:280px;height:auto;border-radius:10px;background:#fff;margin:8px 0 0}

/* Compact header on the customizer page */
body.page-customize .search-wrap{display:none !important}
body.page-customize .preview-pill{display:none !important}
body.page-customize .logo-row{padding-top:8px;padding-bottom:8px}
body.page-customize header{box-shadow:none;border-bottom:1px solid var(--line)}

@media(min-width:900px){
  .cz .cz-hero{padding:24px 0 8px}
  .cz .cz-hero h1{font-size:40px}
  .cz-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:28px;align-items:start}
  .cz-stage-wrap{position:sticky;top:80px}
  .cz-stage{max-height:min(680px, 70vh)}
  .cz-swatches{flex-wrap:wrap;overflow:visible}
  .cz-panel{padding:4px 0 0}
  .cz-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .preview-pill{display:inline-flex;padding:0 12px;font-size:13px;height:36px}
}
@media(max-width:640px){
  .cz{overflow-x:hidden;padding-bottom:32px}
  .cz .wrap{padding-left:14px;padding-right:14px}
  .cz .cz-hero{padding:8px 0 2px}
  .cz .cz-hero h1{font-size:17px;margin:0;font-weight:650}
  .cz .cz-hero .cz-lead{display:none}
  .cz-stage-wrap{padding:8px 8px 10px;border-radius:14px;border-color:#eee}
  .cz-tabs{padding-bottom:6px;margin-bottom:2px}
  .cz-tabs button{padding:6px 11px;font-size:12px}
  .cz-swatch-row{margin:0 0 6px}
  .cz-swatch{width:28px;height:28px}
  .cz-size{margin-bottom:6px}
  /* Square photo, capped so CTAs stay on the first screen */
  .cz-stage{width:auto;max-width:100%;aspect-ratio:1;height:auto;max-height:38vh;margin:0 auto}
  .cz-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
  .cz-actions .btn{padding:11px 10px;font-size:13.5px}
  .cz-secondary{margin-top:10px;gap:10px}
  .cz-edit{margin-top:12px}
}
