/* Customer shop (/shop). Loaded after the site's own site.css and uses its colors,
   fonts, buttons and form fields so the shop looks like the rest of the website. */

.c-subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 9; }
.c-subnav-row { display: flex; gap: 6px; align-items: center; min-height: 52px; }
.c-subnav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; }
.c-subnav a:hover { background: var(--bg); }
.c-subnav a.is-on { background: var(--ink); color: #fff; }
.c-cartlink { margin-left: auto; }
.c-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; }
.c-notice { background: #fff8e6; border-bottom: 1px solid #f3d58a; color: #6b4e05; font-size: .9rem; padding: 8px 16px; text-align: center; }

.c-page { padding: 28px 0 56px; }
.c-center { text-align: center; }
.c-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0; }
.c-link { background: none; border: 0; padding: 0; color: var(--navy); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.c-link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.c-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.c-help { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.c-empty { text-align: center; max-width: 560px; margin: 40px auto; }

/* home */
.c-hero { max-width: 720px; margin-bottom: 28px; }
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: inherit; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.c-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(22, 32, 46, .12); }
.c-card h2 { font-size: 1.3rem; margin-bottom: .35em; }
.c-card > p { color: var(--muted); margin-bottom: 12px; }
.c-card-art, .c-head-art, .c-item-art { background: #f4f1ea; border-radius: 10px; padding: 14px 24px; margin-bottom: 14px; }
.c-card-art svg, .c-head-art svg, .c-item-art svg { display: block; width: 100%; height: auto; }
.c-example { margin-top: auto !important; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; min-height: 2.4em; }
.c-example strong { color: var(--ink); font-size: 1.05rem; font-family: Archivo, sans-serif; white-space: nowrap; }
.c-card-go { color: var(--brand); font-weight: 600; margin-top: 10px; }
.c-how { margin-top: 44px; }

/* steps */
.c-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.c-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .92rem; }
.c-step-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--ink); }
.c-steps li.now { border-color: var(--brand); color: var(--ink); font-weight: 600; }
.c-steps li.now .c-step-n { background: var(--brand); border-color: var(--brand); color: #fff; }
.c-steps li.done .c-step-n { background: var(--ok); border-color: var(--ok); color: #fff; }

/* product page */
.c-crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.c-crumbs a { color: var(--navy); }
.c-phead { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.c-phead h1 { margin-bottom: .2em; }
.c-phead .lead { margin: 0; max-width: 640px; }
.c-head-art { width: 120px; flex: none; margin: 0; padding: 10px 16px; background: #fff; border: 1px solid var(--line); }
.c-editbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; background: #eef3fa; border: 1px solid #c9d7ec; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.c-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.c-form { padding: 8px 22px 16px; }
.c-group { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 16px 0 12px; margin: 0; box-shadow: none; }
.c-group:last-child { border-bottom: 0; }
.c-group > legend { padding: 0; margin-bottom: 10px; font-size: 1.08rem; float: left; width: 100%; }
.c-group > legend + * { clear: both; }
.c-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.c-field { margin-bottom: 14px; min-width: 0; border: 0; padding: 0; background: none; }
.c-label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; padding: 0; }
.c-field select, .c-field input, .c-field textarea { margin-top: 0; }
.c-unit { display: flex; align-items: center; gap: 8px; }
.c-unit input { flex: 1; min-width: 0; }
.c-unit span { color: var(--muted); font-size: .92rem; }
.c-len { margin-bottom: 14px; }
.c-len > legend { float: left; width: 100%; }
.c-len-row { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; margin: 0; cursor: pointer; }
.c-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.c-check + .c-help { margin-left: 30px; }
.c-sub { margin: 10px 0 4px 30px; }
.c-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; }
.c-size { margin: 0; text-align: center; font-weight: 700; }
.c-size input { text-align: center; margin-top: 6px; }
.c-dtf-row { display: grid; grid-template-columns: minmax(140px, 2fr) repeat(3, minmax(80px, 1fr)) auto; gap: 0 12px; align-items: end; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.c-remove { margin-bottom: 26px; }

.c-price { position: sticky; top: 132px; }
.c-price-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.c-amount { font-family: Archivo, sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1.1; }
.c-each { color: var(--muted); margin: 2px 0 0; }
.c-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 0; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .93rem; }
.c-specs dt { color: var(--muted); }
.c-specs dd { margin: 0; padding-left: 14px; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.c-specs .c-total { font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; }
.c-tip { background: #eef7f1; border: 1px solid #bfe3cc; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.c-tip p { margin: 0 0 6px; }
.c-film-wrap { margin-bottom: 16px; }
.c-film { background: #f1f5f9; border-radius: 8px; padding: 8px; max-height: 420px; overflow: auto; margin-top: 6px; }
.c-film svg { display: block; width: 100%; height: auto; }
.c-problems { background: #fdecec; border: 1px solid #f2b8b8; color: #7a1f1f; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.c-problems ul, .c-warn ul { margin: 6px 0 0; padding-left: 20px; }
.c-warn { background: #fff8e6; border: 1px solid #f3d58a; border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: .92rem; }

/* cart */
.c-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.c-items { display: grid; gap: 18px; }
.c-item-head { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.c-item-art { padding: 8px 10px; margin: 0; }
.c-item-title h2 { font-size: 1.2rem; margin-bottom: .25em; }
.c-item-spec { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.c-item-price { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.25rem; text-align: right; white-space: nowrap; }
.c-item-links { display: flex; gap: 14px; justify-content: flex-end; margin-top: 6px; font-family: Inter, sans-serif; font-size: .9rem; font-weight: 400; }
.c-status { margin: 0; font-weight: 600; font-size: .92rem; }
.c-status-todo { color: var(--brand-dark); }
.c-status-ok { color: var(--ok); }
.c-art, .c-proof { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.c-art h3, .c-proof h3 { margin: 0 0 10px; }
.c-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 12px; }
.c-slot { border: 2px dashed #c5ccd6; border-radius: 12px; padding: 14px; background: #fafbfc; }
.c-slot.has-file { border-style: solid; border-color: #bfe3cc; background: #f5fbf7; }
.c-slot .c-help:first-of-type { margin: 2px 0 10px; overflow-wrap: anywhere; }
.c-file { margin: 0; cursor: pointer; }
.c-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.c-proof figure { margin: 0; background: #f1f5f9; border-radius: 10px; padding: 10px; }
.c-proof img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #fff; }
.c-proof figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.c-approve { background: #fff5ec; border: 1px solid #f6c9ad; border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.c-btnrow { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.c-change { margin-top: 12px; }
.c-summary { position: sticky; top: 132px; }
.c-summary h2 { font-size: 1.2rem; }
.c-summary .btn { margin-top: 12px; }
.c-todo { padding-left: 18px; font-size: .9rem; margin: 6px 0 0; }

/* toast */
.c-toast-host { position: fixed; left: 16px; right: 16px; bottom: 16px; display: grid; justify-items: center; z-index: 50; pointer-events: none; }
.c-toast { pointer-events: auto; max-width: 560px; width: 100%; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 14px 16px; border-radius: 12px; box-shadow: 0 12px 32px rgba(22, 32, 46, .2); background: var(--ink); color: #fff; }
.c-toast ul { margin: 6px 0 0; padding-left: 18px; }
.c-toast .c-link { color: #fff; }
.c-toast-err { background: #7a1f1f; }

@media (max-width: 900px) {
  .c-layout, .c-cart { grid-template-columns: 1fr; }
  .c-price, .c-summary { position: static; }
}
@media (max-width: 560px) {
  .c-subnav { top: 0; position: static; }
  .c-phead { flex-direction: column; align-items: flex-start; }
  .c-head-art { width: 96px; }
  .c-amount { font-size: 2.1rem; }
  .c-item-head { grid-template-columns: 64px minmax(0, 1fr); }
  .c-item-price { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: baseline; }
  .c-dtf-row { grid-template-columns: 1fr 1fr; }
  .c-dtf-row > .c-field:first-child { grid-column: 1 / -1; }
  .c-steps li { font-size: .82rem; padding: 6px 10px 6px 6px; }
  .c-row { grid-template-columns: 1fr; }
}

.c-changeart { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.c-changeart summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.c-changeart .c-art { border-top: 0; margin-top: 8px; padding-top: 0; }

.c-mobilebar { display: none; }
@media (max-width: 900px) {
  .c-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22, 32, 46, .08); }
  .c-mobilebar strong { display: block; font-family: Archivo, sans-serif; font-size: 1.35rem; }
  .c-mobilebar .c-help { margin: 0; }
  .c-page:has(.c-mobilebar) { padding-bottom: 96px; }
}

/* design online + new products */
.c-design { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #f4f1ea; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.c-design h3 { margin: 0; }
.c-own { margin-top: 6px; }
.c-own > summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 6px 0; }
.c-sample { background: #fff8e6; border: 1px solid #f3d58a; color: #6b4e05; border-radius: 8px; padding: 8px 10px; font-size: .86rem; margin: 8px 0; }
.c-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.c-style { border: 2px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; margin: 0; background: #fff; }
.c-style img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.c-style.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(194, 65, 27, .15); }
.c-style:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.c-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.c-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.c-swatch.is-on { box-shadow: 0 0 0 3px var(--brand); }
.c-swatch:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ---------------- online designer (full screen) ---------------- */
body.dz-open { overflow: hidden; }
.dz { position: fixed; inset: 0; z-index: 1000; background: #eef0f3; display: flex; flex-direction: column; font-family: "IBM Plex Sans", system-ui, sans-serif; color: var(--ink, #16202e); }
.dz-loading { margin: auto; text-align: center; display: grid; gap: 12px; }
.dz-top { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: #fff; border-bottom: 1px solid #dde1e7; flex-wrap: wrap; }
.dz-title { display: flex; flex-direction: column; min-width: 180px; }
.dz-status { font-size: .8rem; color: #64748b; min-height: 1em; }
.dz-locs { display: flex; gap: 4px; margin: 0 auto; background: #eef0f3; padding: 3px; border-radius: 9px; }
.dz-locs button { border: 0; background: none; padding: 6px 16px; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer; color: #475569; }
.dz-locs button.is-on { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.dz-actions { display: flex; gap: 8px; align-items: center; }
.dz-body { flex: 1; display: grid; grid-template-columns: 84px 300px 1fr; min-height: 0; }
.dz-tabs { background: #16202e; display: flex; flex-direction: column; padding: 8px 6px; gap: 4px; overflow-y: auto; }
.dz-tabs button { background: none; border: 0; color: #cbd5e1; font: inherit; font-size: .78rem; font-weight: 600; padding: 12px 4px; border-radius: 8px; cursor: pointer; }
.dz-tabs button.is-on, .dz-tabs button:hover { background: #2b3647; color: #fff; }
.dz-panel { background: #fff; border-right: 1px solid #dde1e7; overflow-y: auto; }
.dz-panel-in { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dz-panel h3 { margin: 0; font-size: 1.05rem; }
.dz-panel h4 { margin: 8px 0 0; font-size: .92rem; }
.dz-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dz-props { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 12px; background: #fff; border-bottom: 1px solid #dde1e7; min-height: 48px; }
.dz-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; user-select: none; }
.dz-canvas { position: absolute; inset: 0; }
.dz-overlay { position: absolute; inset: 0; pointer-events: none; }
.dz-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 6px 12px; background: #fff; border-top: 1px solid #dde1e7; font-size: .85rem; min-height: 34px; align-items: center; }
.dz-sel { position: absolute; border: 1.5px solid #2563eb; pointer-events: none; box-sizing: border-box; }
.dz-h { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #fff; border: 2px solid #2563eb; border-radius: 3px; pointer-events: auto; touch-action: none; }
.dz-h-c { cursor: nwse-resize; }
.dz-h-e { width: 8px; height: 22px; margin: -11px 0 0 -4px; cursor: ew-resize; border-radius: 4px; }
.dz-h-n { width: 22px; height: 8px; margin: -4px 0 0 -11px; cursor: ns-resize; border-radius: 4px; }
.dz-h-rot { border-radius: 50%; width: 18px; height: 18px; margin: 0 0 0 -9px; cursor: grab; }
.dz-typing { position: absolute; pointer-events: auto; background: rgba(255,255,255,.85); border: 1.5px dashed #2563eb; padding: 2px 4px; resize: none; overflow: hidden; outline: none; white-space: pre; }
.dz-ico { min-width: 34px; height: 34px; border: 1px solid #dde1e7; background: #fff; border-radius: 8px; cursor: pointer; font-size: 1rem; display: inline-grid; place-items: center; padding: 0 6px; color: #0f172a; }
.dz-ico:hover { background: #f1f5f9; }
.dz-ico.is-on { background: #16202e; color: #fff; border-color: #16202e; }
.dz-del:hover { background: #fee2e2; }
.dz-input, .dz-search { width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: .92rem; }
.dz-props .dz-input { width: auto; padding: 6px 8px; }
.dz-font { max-width: 180px; }
.dz-num { width: 70px; padding: 6px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.dz-mini { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #475569; margin: 0; }
.dz-mini input[type=range] { width: 80px; }
.dz-color { width: 34px; height: 34px; padding: 2px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; cursor: pointer; }
.dz-color-big { width: 100%; height: 48px; border: 1px solid #cbd5e1; border-radius: 8px; }
.dz-add { text-align: left; border: 1px solid #dde1e7; background: #f8fafc; border-radius: 10px; padding: 12px; cursor: pointer; font: inherit; font-weight: 500; }
.dz-add:hover { background: #eef2ff; }
.dz-add-h { font-size: 1.4rem; font-weight: 800; }
.dz-add-s { font-size: 1.1rem; font-weight: 600; }
.dz-fontlist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dz-fontbtn { border: 1px solid #dde1e7; background: #fff; border-radius: 8px; padding: 8px 6px; cursor: pointer; font-size: 1.05rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dz-tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dz-tpl { border: 1px solid #dde1e7; background: #fff; border-radius: 8px; padding: 4px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-size: .74rem; color: #475569; }
.dz-tpl img { width: 100%; height: auto; border-radius: 4px; background: #f1f5f9; }
.dz-tpl:hover, .dz-art:hover { border-color: #2563eb; }
.dz-agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dz-art { border: 1px solid #dde1e7; background: #f8fafc; border-radius: 8px; padding: 4px; cursor: pointer; aspect-ratio: 1; }
.dz-art img { width: 100%; height: 100%; object-fit: contain; }
.dz-shapes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dz-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-swatch { width: 30px; height: 30px; border-radius: 6px; border: 1px solid #cbd5e1; cursor: pointer; }
.dz-field { display: flex; flex-direction: column; gap: 4px; }
.dz-field label { font-size: .8rem; font-weight: 600; color: #475569; }
.dz-small { font-size: .78rem; align-self: flex-start; }
.dz-layers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.dz-layers li { display: flex; gap: 4px; align-items: center; }
.dz-layers li.is-on .dz-layer { background: #e0e7ff; }
.dz-layer { flex: 1; text-align: left; border: 1px solid #dde1e7; background: #fff; border-radius: 8px; padding: 6px 8px; cursor: pointer; font: inherit; font-size: .85rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dz-warn { color: #92400e; background: #fef3c7; border-radius: 6px; padding: 2px 8px; }
.dz-bad { color: #991b1b; background: #fee2e2; border-radius: 6px; padding: 2px 8px; }
@media (max-width: 900px) {
  .dz-body { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .dz-tabs { flex-direction: row; overflow-x: auto; padding: 4px; }
  .dz-tabs button { white-space: nowrap; padding: 8px 10px; }
  .dz-panel { max-height: 34vh; border-right: 0; border-bottom: 1px solid #dde1e7; }
  .dz-locs { margin: 0; }
  .dz-title { min-width: 0; flex: 1; }
}

/* design store */
.c-feature { margin-top: 44px; }
.c-feature-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.c-feature-head h2 { margin: 0; }
.c-feature-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.c-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.c-tabs a { padding: 10px 16px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.c-tabs a.is-on { color: var(--ink); border-bottom-color: var(--brand); }
.c-dfilter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.c-dsearch { flex: 1 1 240px; max-width: 420px; }
.c-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.c-dtile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; cursor: pointer; font: inherit; text-align: left; transition: transform .12s, box-shadow .12s; }
.c-dtile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22, 32, 46, .12); }
.c-dtile:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.c-dtile-art { border-radius: 8px; background: #f1f5f9; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.c-shirt svg { width: 92%; height: 92%; }
.c-cardart { aspect-ratio: 4 / 3; padding: 10px; }
.c-cardart img { max-width: 100%; max-height: 100%; box-shadow: 0 4px 12px rgba(0,0,0,.18); border-radius: 3px; }
.c-dtile-name { font-size: .88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-more { grid-column: 1 / -1; justify-self: center; }
.c-dpage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.c-dbig { background: #f1f5f9; border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; }
.c-dbig svg { width: 90%; height: 90%; }
.c-dpage h1 { font-size: 1.7rem; margin: 4px 0 12px; }
.c-dpage select { width: 100%; }
.c-chosen { display: flex; gap: 14px; align-items: center; background: #f4f1ea; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.c-chosen img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; }
.c-chosen > div { flex: 1; }
@media (max-width: 760px) { .c-dpage { grid-template-columns: 1fr; } }

.dz-qrprev { display: grid; place-items: center; min-height: 190px; background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px solid #dde1e7; border-radius: 10px; }
.dz-qrprev canvas { width: 180px; height: 180px; image-rendering: pixelated; }
.dz-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ================= 2026-10 redesign (navy + white, orange buy buttons) ================= */
.c-page { padding: 36px 0 72px; }
.c-hero { max-width: 760px; margin-bottom: 20px; }
.c-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 900; font-stretch: 88%; margin: 0 0 8px; }
.c-hero .lead { color: #3d4a5c; font-size: 1.12rem; margin: 0; }
.c-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.c-chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #cfd5dd; background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.c-chip:hover { border-color: var(--navy); }
.c-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.c-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.c-card { padding: 0; overflow: hidden; box-shadow: none; border-radius: 18px; }
.c-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.c-card-link { display: block; }
.c-card-art { margin: 0; border-radius: 0; height: 210px; padding: 16px; display: grid; place-items: center; background: var(--soft); }
.c-card-art svg { width: auto; max-width: 78%; height: 100%; }
.c-card-art.c-shirt svg { max-width: 72%; }
.c-art-apparel { background: #eef2f7; } .c-art-business-cards { background: #f3efe7; } .c-art-hd-banner { background: #fbefe8; } .c-art-coro { background: #fff7dd; }
.c-card-art .c-pic { max-width: 78%; max-height: 82%; border-radius: 6px; box-shadow: 0 10px 20px rgba(16, 33, 58, .2); background: #fff; }
.c-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.c-card h2 { font-size: 1.4rem; margin: 0; font-weight: 800; }
.c-card h2 a { color: var(--ink); text-decoration: none; }
.c-card-body > p { margin: 0; color: #3d4a5c; }
.c-from { color: var(--brand) !important; font-weight: 700; font-size: 1.05rem; margin-top: auto !important; padding-top: 6px; min-height: 1.6em; }
.c-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.c-card-actions .btn { flex: 1 1 auto; text-align: center; }
.c-feature-head h2, .c-how h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.c-steps li.now { border-color: var(--navy); }
.c-steps li.now .c-step-n { background: var(--navy); border-color: var(--navy); }
.c-steps li.done .c-step-n { background: #15803d; border-color: #15803d; }
.c-panel { border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 33, 58, .06); }
.c-head-art { border-radius: 12px; }
.c-amount, .c-item-price, .c-example strong, .c-mobilebar strong { font-family: var(--display); font-weight: 900; }
.c-item-links { font-family: var(--text); }
.c-design, .c-chosen { background: var(--soft); }
.c-dtile { border-radius: 14px; }
.c-dtile-art, .c-dbig { background: var(--soft); }
.c-tabs a.is-on { border-bottom-color: var(--brand); }
.c-slot { background: var(--soft); }
.c-approve { background: #fff7ed; border-color: #fed7aa; }
.c-subnav { top: 72px; }
.mini-banner { width: 78%; background: var(--brand); color: #fff; border-radius: 4px; padding: 20px 12px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 1.7rem; box-shadow: 0 10px 20px rgba(16, 33, 58, .2); }
.mini-sign { display: flex; flex-direction: column; align-items: center; }
.mini-sign div { background: #fff; border: 3px solid var(--navy); border-radius: 4px; padding: 16px 22px; font-family: var(--display); font-weight: 900; font-size: 1.4rem; }
.mini-sign p { display: flex; gap: 46px; margin: 0; }
.mini-sign p span { width: 3px; height: 46px; background: #5b6778; }

/* designer: same colours as the site */
.dz { font-family: var(--text, Figtree, system-ui, sans-serif); background: var(--soft, #f3f5f8); }
.dz-tabs { background: var(--navy, #10213a); }
.dz-tabs button.is-on, .dz-tabs button:hover { background: #1f3657; }
.dz-tabs button.is-on { box-shadow: inset 3px 0 0 var(--sun, #ffc93c); }
.dz-ico.is-on { background: var(--navy, #10213a); border-color: var(--navy, #10213a); }
.dz-add:hover { background: #fff7ed; }
.dz-tpl:hover, .dz-art:hover { border-color: var(--brand, #c2410c); }
.dz-locs button.is-on { color: var(--navy, #10213a); }
@media (max-width: 960px) { .c-subnav { top: 0; position: static; } }
.c-card-link, .c-card-link:hover { text-decoration: none; }
.c-toast { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); border-left: 5px solid var(--sun, #ffc93c); }
.btn.btn-primary[disabled] { background: #e2e6ec; color: #3d4a5c; opacity: 1; }
/* quote-only products (2026-11) */
.c-qart-plate { background: #e7ecf3; } .c-qart-sign { background: #fff7dd; } .c-qart-sticker { background: #f3efe7; } .c-qart-stand { background: #eef2f7; }
.c-q-plate { background: var(--navy, #10213a); color: #fff; border: 4px solid #c3cad4; border-radius: 8px; padding: 18px 22px; font-family: var(--display, Archivo, sans-serif); font-weight: 900; font-size: 1.25rem; text-align: center; }
.c-q-sticker { width: 110px; height: 110px; border-radius: 50%; background: var(--brand, #c2410c); color: #fff; border: 6px solid #fff; box-shadow: 0 8px 18px rgba(16,33,58,.2); display: grid; place-items: center; font-family: var(--display, Archivo, sans-serif); font-weight: 900; font-size: 1.1rem; }
.c-stand { display: flex; flex-direction: column; align-items: center; }
.c-stand span { width: 64px; height: 140px; background: var(--navy, #10213a); color: var(--sun, #ffc93c); border-radius: 3px; display: grid; place-items: center; font-family: var(--display, Archivo, sans-serif); font-weight: 900; font-size: .8rem; writing-mode: vertical-rl; }
.c-stand i { width: 80px; height: 8px; background: #5b6778; border-radius: 3px; }
