/* Presentation only, limited to the customer entrance and template collection.
   Editor, payment, rendering, and owner-mode controls keep their existing styles. */
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]){--bg:#f6f5f1;--surface:#fff;--surface-quiet:#f6f5f1;--text:#242521;--muted:#686a63;--line:#deded6;--line-strong:#b9bdaf;--accent:#30362c;--accent-hover:#c55d2b;--accent-soft:#edeee7;--radius:4px;background:var(--bg);font-family:'Axis Manrope','Segoe UI',Arial,sans-serif;font-size:16px}
:root[data-theme="dark"] body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]){--bg:#1c1f1b;--surface:#252922;--surface-quiet:#30382a;--text:#f2f3ec;--muted:#b8bdb0;--line:#3e4539;--line-strong:#66745a;--accent:#d7e4a0;--accent-hover:#e1ebbc;--accent-soft:#30382a}
.studio-brand .mark img{width:28px;height:28px;object-fit:contain}.studio-shop-link{font-size:13px;color:var(--text);text-decoration:none;padding:10px 7px}.studio-shop-link:hover{text-decoration:underline;text-underline-offset:4px}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"])>header{height:auto;min-height:74px;position:sticky;top:0;z-index:50;background:var(--bg);padding:13px clamp(20px,4.5vw,65px);box-shadow:none}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .customer-flow{background:var(--bg)}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .customer-screen{max-width:1380px;padding:45px clamp(22px,4.5vw,65px) 75px;margin:auto}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .flow-page-heading h1{font-family:'Axis Display','Arial Black',sans-serif;font-weight:700;line-height:1.04;letter-spacing:-.055em;font-size:clamp(2.5rem,5vw,4.4rem);margin:15px 0 20px}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .flow-page-heading p{font-size:1rem;max-width:600px;line-height:1.65}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .eyebrow{font-size:.75rem;color:var(--muted);letter-spacing:.1em}
body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .flow-back{font-size:.875rem;color:var(--muted);margin-bottom:30px;min-height:35px}
body[data-mode="customer"][data-customer-screen="create"] .creation-path-grid{border:0;gap:25px;grid-template-columns:1.2fr .8fr}
body[data-mode="customer"][data-customer-screen="create"] .creation-path{padding:28px;border:1px solid var(--line);border-radius:4px;box-shadow:none;background:var(--surface);min-width:0}
body[data-mode="customer"][data-customer-screen="create"] .creation-path h2{font-family:'Axis Display',sans-serif;font-size:2rem;line-height:1.1;letter-spacing:-.04em;margin:18px 0 13px}
body[data-mode="customer"][data-customer-screen="create"] .creation-path p{font-size:.9375rem;line-height:1.7}
body[data-mode="customer"][data-customer-screen="create"] .path-number{font-family:'Axis Manrope',sans-serif;font-size:.75rem;letter-spacing:.1em;color:var(--muted)}
body[data-mode="customer"][data-customer-screen="create"] .path-meta{font-size:.8125rem;line-height:1.5;color:var(--muted);padding-top:15px}
body[data-mode="customer"][data-customer-screen="create"] .creation-path button{min-height:49px;border-radius:4px;font-size:.875rem}
body[data-mode="customer"][data-customer-screen="create"] .creation-path.temporarily-unavailable{background:var(--accent-soft);border:1px dashed var(--line-strong);cursor:default;position:relative}
body[data-mode="customer"][data-customer-screen="create"] .temporarily-unavailable button{opacity:1;background:transparent;border-color:var(--line-strong);color:var(--muted);cursor:not-allowed}
.studio-path-image{background:#eef1f2;margin:-28px -28px 26px;overflow:hidden;border-radius:4px 4px 0 0}.studio-path-image img{display:block;width:100%;height:300px;object-fit:contain;padding:16px}
.studio-blank-canvas{font-family:'Axis Display',sans-serif;font-size:4rem;line-height:.94;letter-spacing:-.06em;font-weight:700;color:var(--muted);display:flex;align-items:center;min-height:270px;margin:0 0 26px;padding-top:20px}
.studio-coming-badge{align-self:flex-start;font-size:.75rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;background:#d7e4a0;color:#293124;padding:5px 10px;border-radius:2px}
body[data-mode="customer"][data-customer-screen="create"] .creation-showcase{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:35px 0 0;margin-top:40px;border-top:1px solid var(--line)}
body[data-mode="customer"][data-customer-screen="create"] .creation-showcase .section-heading{margin:0;max-width:700px}
body[data-mode="customer"][data-customer-screen="create"] .creation-showcase h2{font-family:'Axis Display',sans-serif;font-size:2rem;line-height:1.1;margin:13px 0;color:var(--text)}
body[data-mode="customer"][data-customer-screen="create"] .creation-showcase p{font-size:.9375rem;margin:0;color:var(--muted)}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-section-heading{background:transparent;padding:22px 0;border-top:1px solid var(--line);border-bottom:0}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-section-heading p{font-size:.875rem}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-card{display:grid;grid-template-rows:260px 1fr;background:transparent;border:0;border-radius:4px;box-shadow:none;transform:none}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-image{height:260px;background:#eef1f2;padding:18px;border:0;border-radius:4px}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-image img{transition:transform .3s}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-card:hover img{transform:scale(1.035)}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-body{padding:20px 0 0}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-kicker{font-size:.75rem;color:var(--muted);letter-spacing:.08em}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-body h2{font-family:'Axis Display',sans-serif;font-weight:700;letter-spacing:-.035em;font-size:1.5rem;margin:9px 0 12px}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-body p{font-size:.875rem;line-height:1.6}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-meta{font-size:.8125rem}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-actions{grid-template-columns:1fr;gap:8px}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-actions button{font-size:.875rem;min-height:46px;border-radius:4px}
body[data-mode="customer"][data-customer-screen="templates"] .public-template-actions .primary{order:-1}
:root[data-theme="dark"] body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"]) .primary:not(:disabled){color:#293124}
@media(max-width:1000px){body[data-mode="customer"][data-customer-screen="templates"] .public-template-section>.public-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"])>header>.sub{display:none}}
@media(max-width:680px){body[data-mode="customer"][data-customer-screen="create"] .creation-path-grid{grid-template-columns:1fr}.studio-path-image img{height:250px}.studio-blank-canvas{min-height:210px;font-size:3.4rem}.studio-shop-link{font-size:12px;padding:9px 3px}body[data-mode="customer"]:is([data-customer-screen="create"],[data-customer-screen="templates"])>header{flex-wrap:wrap;gap:12px}body[data-mode="customer"][data-customer-screen="create"] .creation-showcase{align-items:flex-start;flex-direction:column;gap:15px}body[data-mode="customer"][data-customer-screen="templates"] .public-template-section>.public-template-grid{grid-template-columns:1fr}body[data-mode="customer"][data-customer-screen="templates"] .public-template-image{height:300px}body[data-mode="customer"][data-customer-screen="templates"] .public-template-card{grid-template-rows:300px 1fr}body[data-mode="customer"][data-customer-screen="templates"] .public-template-section-heading{align-items:flex-start;gap:20px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){body[data-mode="customer"][data-customer-screen="templates"] .public-template-image img{transition:none}}

/* Direct links from the storefront use a dedicated bootstrap screen until the
   requested template has been restored. This mode intentionally shares the
   public storefront palette but never exposes the generic template chooser. */
body[data-mode="customer"][data-customer-screen="opening-template"]{--bg:#f6f5f1;--surface:#fff;--text:#242521;--muted:#686a63;--line:#deded6;background:var(--bg);color:var(--text)}
:root[data-theme="dark"] body[data-mode="customer"][data-customer-screen="opening-template"]{--bg:#1c1f1b;--surface:#252922;--text:#f2f3ec;--muted:#b8bdb0;--line:#3e4539}
body[data-mode="customer"][data-customer-screen="opening-template"] .customer-flow{min-height:calc(100vh - 74px);background:var(--bg)}
body[data-mode="customer"][data-customer-screen="opening-template"] .studio-opening-screen{min-height:calc(100vh - 74px);display:grid!important;place-items:center}
body[data-mode="customer"][data-customer-screen="opening-template"] .studio-opening-card{width:min(520px,calc(100vw - 40px));padding:42px 30px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:8px}
body[data-mode="customer"][data-customer-screen="opening-template"] .studio-opening-card h1{color:var(--text)}
body[data-mode="customer"][data-customer-screen="opening-template"] .studio-opening-card p{color:var(--muted)}
