/* Brand: matches emboss.clothing (Shopify Dawn theme: Roboto, square corners, #121212 header, #00AEEF buttons) */
@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/roboto-400.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/roboto-700.woff2) format("woff2"); }
:root {
  --bg: #fff; --surface: #fff; --text: #222; --muted: #6b6b6b; --line: #e2e2e2;
  --dark: #121212; --dark-2: #222; --taupe: #efdfc9;
  --accent: #00aeef; --accent-hover: #0096cf; --accent-soft: #e5f7fd; --accent-text: #0a7fae;
  --ok: #1e7b4a; --ok-soft: #e6f4ec; --err: #b42318; --err-soft: #fdecea; --warn: #9a6700; --warn-soft: #fff4d6;
  --radius: 0; --shadow: 0 0 0 1px var(--line);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .02em; background: var(--bg); color: var(--text); }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
h1, h2, legend { font-weight: 400; letter-spacing: .06em; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: .2em 0 .5em; }
h2 { font-size: 1.15rem; margin: 1.2em 0 .5em; }
code { background: var(--accent-soft); padding: 1px 5px; font-size: .9em; }
code.block { display: block; padding: 10px; overflow-x: auto; white-space: pre; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.main { padding-bottom: 56px; min-height: 60vh; }
.page { padding-top: 24px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.prewrap { white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
[hidden] { display: none !important; }

/* Announcement bar */
.announcement { background: #fff; font-size: .82rem; border-bottom: 1px solid var(--line); }
.announcement-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.usps { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.usps li { display: flex; align-items: center; gap: 6px; }
.usps img { width: 15px; height: 15px; }
.announcement-contact a { color: var(--text); text-decoration: none; }
.announcement-contact a:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.brand-tag { color: var(--taupe); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; border: 1px solid var(--taupe); padding: 2px 8px; }
.nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; flex: 1; }
.nav a, .nav summary, .nav-link { color: #fff; text-decoration: none; font-size: .95rem; cursor: pointer; }
.nav a:hover, .nav summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .linklike { color: #fff; text-decoration: none; }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav-menu-panel { position: absolute; top: calc(100% + 18px); left: -16px; background: var(--dark); padding: 14px 18px; min-width: 520px; max-height: 70vh; overflow-y: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav-menu-panel a { font-size: .88rem; color: #ddd; }
.basket-link { position: relative; color: #fff; display: flex; padding: 6px; margin-left: auto; }
.basket-link .badge { position: absolute; top: -2px; right: -6px; }
.badge { display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }

/* Footer */
.site-footer { background: var(--dark-2); color: #fff; padding: 48px 0 20px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,.75); max-width: 360px; margin: 0; }
.site-footer h2 { font-size: .95rem; margin: 0 0 12px; }
.site-footer a { display: block; color: rgba(255,255,255,.8); text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 16px; color: rgba(255,255,255,.6); font-size: .78rem; text-align: center; }

/* Homepage */
.hero-banner { width: 100vw; margin: -24px calc(50% - 50vw) 32px; background: #b9b2a8; }
.hero-banner img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: left center; }
.section-head { text-align: center; margin-bottom: 8px; }
.section-head h1 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.section-head p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.danger { color: var(--err); }
form.inline { display: inline; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], select, textarea, input:not([type]) {
  width: 100%; padding: 10px 12px; border: 1px solid #cfd0cb; border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field > span:first-child { font-weight: 600; font-size: .9rem; }
.field.has-error input { border-color: var(--err); }
.error { color: var(--err); font-size: .85rem; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; }
.check input { margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fields .wide, .fields .check, .fields .actions { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks label { display: flex; gap: 6px; align-items: center; font-size: .9rem; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }

/* Alerts */
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; }
.alert-success { background: var(--ok-soft); color: var(--ok); }
.alert-error { background: var(--err-soft); color: var(--err); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* Catalogue */
.hero { padding: 8px 0 12px; }
.hero p { color: var(--muted); margin: 0; max-width: 640px; }
.filters { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.filters input[type=search] { flex: 1 1 260px; }
.filters select { flex: 0 1 220px; width: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; overflow: hidden; display: flex; flex-direction: column; transition: transform .12s; }
.card:hover { transform: translateY(-2px); }
.card-img { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 12px 14px 16px; border-top: 1px solid var(--line); }
.card-vendor { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-size: 1rem; margin: 4px 0 8px; }
.card-meta { display: flex; justify-content: space-between; font-size: .9rem; gap: 8px; }
.price { font-weight: 700; } .price.big { font-size: 1.3rem; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 28px; }
.crumbs { font-size: .875rem; color: var(--muted); margin: 0 0 12px; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.gallery { position: sticky; top: 104px; }
.gallery-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 64px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; }
.thumb.is-active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.details { background: var(--surface); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 2px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); font-size: .9rem; background: #fff; }
.swatch img { width: 34px; height: 34px; object-fit: cover; border-radius: 5px; }
.swatch.is-active { border-color: var(--accent); background: var(--accent-soft); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.size-cell { border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.size-name { font-weight: 700; } .size-price { font-size: .8rem; color: var(--muted); }
.size-cell input { margin-top: 4px; padding: 6px 8px; }
.placement { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.placement.is-on { border-color: var(--accent); background: var(--accent-soft); }
.placement-head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.placement-name { font-weight: 600; flex: 1; }
.placement-price { font-size: .85rem; color: var(--muted); }
.placement-desc { margin-left: 26px; }
.placement-body { display: none; margin-top: 10px; gap: 8px; flex-direction: column; }
.placement.is-on .placement-body { display: flex; }
.placement-body label { display: flex; flex-direction: column; gap: 4px; }
.placement-body input[type=file] { font-size: .9rem; }
.artwork-preview { max-height: 90px; max-width: 160px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/14px 14px; border-radius: 6px; }
.summary-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.description { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; font-size: .95rem; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: .9rem; }
.specs dt { font-weight: 600; } .specs dd { margin: 0; }

/* Basket & checkout */
.basket { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.basket-line { display: grid; grid-template-columns: 80px 1fr 110px 120px; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.basket-img img { width: 80px; height: 80px; object-fit: contain; background: #fff; }
.basket-qty input { width: 80px; padding: 6px 8px; }
.basket-qty { display: flex; flex-direction: column; gap: 8px; }
.basket-total { text-align: right; font-weight: 700; }
.placements-list { list-style: none; padding: 0; margin: 8px 0 0; }
.placements-list li { margin-bottom: 6px; }
.art-thumb { width: 40px; height: 40px; object-fit: contain; display: inline-block; vertical-align: middle; margin-right: 6px; border: 1px solid var(--line); border-radius: 4px;
  background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/10px 10px; }
.basket-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.totals { min-width: 280px; display: flex; flex-direction: column; gap: 6px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 6px; }
.totals .btn { margin-top: 8px; }
.checkout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.checkout-form, .order-summary, .panel, .auth-box, .complete { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.checkout-form h2:first-of-type { margin-top: 0; }
.order-summary { position: sticky; top: 104px; }
.order-summary h2 { margin-top: 0; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.complete { max-width: 640px; margin: 20px auto; text-align: center; }
.ref { font-size: 1.2rem; letter-spacing: .05em; }
.auth-box { max-width: 420px; margin: 32px auto; }

/* Admin */
.panel { margin-bottom: 16px; }
.panel h2:first-child { margin-top: 0; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tabs a { padding: 6px 12px; border-radius: 18px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .9rem; }
.tabs a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: #fafaf8; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table tr.sub td { background: #fafaf8; }
.table tfoot td, .table tfoot th { text-align: right; }
.table tfoot td:last-child, .table tfoot th:last-child { text-align: left; }
.art-row { padding: 4px 0; }
.status { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: .78rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.status-new, .status-running { background: var(--warn-soft); color: var(--warn); }
.status-completed, .status-complete, .status-dispatched { background: var(--ok-soft); color: var(--ok); }
.status-cancelled, .status-failed { background: var(--err-soft); color: var(--err); }
.placement-edit summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.placement-edit form.fields { margin-top: 16px; }
.progress { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; margin: 12px 0 6px; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }

@media (max-width: 860px) {
  .product, .checkout, .admin-cols { grid-template-columns: 1fr; }
  .gallery, .order-summary { position: static; }
  .basket-line { grid-template-columns: 64px 1fr; }
  .basket-img img { width: 64px; height: 64px; }
  .basket-qty { grid-column: 2; flex-direction: row; align-items: center; }
  .basket-total { grid-column: 2; text-align: left; }
  .fields { grid-template-columns: 1fr; }
  h1 { font-size: 1.45rem; }
  .details { padding: 16px; }
}

/* Mockups (logo positions are % of the image, so they scale with it) */
.mockup { position: relative; display: inline-block; max-width: 100%; line-height: 0; background: #fff; border-radius: 6px; overflow: hidden; }
.mockup .mockup-base { display: block; width: 100%; height: auto; }
.mockup.is-mirror .mockup-base, .stage.is-mirror .mockup-base { transform: scaleX(-1); }
.mockup-logo { position: absolute; transform: translate(-50%, -50%); line-height: 0; }
.mockup-logo img { width: 100%; height: auto; display: block; }
.logo-file { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 18px; background: rgba(31,78,121,.18);
  border: 1.5px dashed var(--accent); color: var(--accent); font: 700 11px/1 system-ui, sans-serif; letter-spacing: .04em; }
.basket-img { display: flex; flex-direction: column; gap: 6px; }
.basket-img .mockup { width: 80px; border: 1px solid var(--line); }
.basket-line { grid-template-columns: 90px 1fr 110px 120px; }
.design-summary:empty { display: none; }
.design-summary { margin-bottom: 12px; }
.summary-mockups { display: flex; gap: 12px; flex-wrap: wrap; }
.summary-fig { margin: 0; width: 150px; }
.summary-fig .mockup { width: 150px; border: 1px solid var(--line); }
.summary-fig figcaption { margin-top: 4px; line-height: 1.3; }

/* Designer modal */
html.has-modal { overflow: hidden; }
.designer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--text); background: var(--surface); overflow: hidden; }
.designer[open] { display: flex; flex-direction: column; }
.designer::backdrop { background: rgba(20,24,30,.6); }
.designer-head, .designer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.designer-foot { border-bottom: 0; border-top: 1px solid var(--line); }
.designer-head h2 { margin: 0; font-size: 1.15rem; }
.designer-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.designer-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; flex: 1; overflow: hidden; }
.designer-main { padding: 14px; background: #f1f1ee; display: flex; flex-direction: column; align-items: center; overflow: auto; }
.designer-side { padding: 14px 16px; overflow-y: auto; border-left: 1px solid var(--line); }
.designer-side h3 { font-size: .95rem; margin: 0 0 6px; }
.side-block { margin-bottom: 18px; }
.upload-btn { width: 100%; cursor: pointer; }
.view-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.view-tab { padding: 6px 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.view-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.stage { position: relative; display: inline-block; max-width: 100%; line-height: 0; background: #fff; border-radius: 8px; box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; }
.stage .mockup-base { display: block; max-width: 100%; max-height: calc(100vh - 260px); width: auto; height: auto; pointer-events: none; }
.stage-layers { position: absolute; inset: 0; }
.stage-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.92); padding: 10px 14px; border-radius: 8px;
  font: 600 .95rem/1.3 system-ui, sans-serif; color: var(--muted); pointer-events: none; white-space: nowrap; }
.layer { position: absolute; transform: translate(-50%, -50%); cursor: move; touch-action: none; outline: 1px dashed transparent; line-height: 0; }
.layer img { width: 100%; height: auto; display: block; pointer-events: none; }
.layer:hover { outline-color: rgba(31,78,121,.5); }
.layer.is-selected, .layer:focus-visible { outline: 2px dashed var(--accent); outline-offset: 2px; }
.layer-handle { position: absolute; right: -9px; bottom: -9px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  cursor: nwse-resize; display: none; touch-action: none; }
.layer.is-selected .layer-handle { display: block; }
.layer-size { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); background: var(--accent); color: #fff; font: 600 11px/1 system-ui, sans-serif;
  padding: 4px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.view-note { margin: 8px 0 0; text-align: center; }
.library-list { display: flex; flex-wrap: wrap; gap: 6px; }
.library-item { width: 58px; height: 58px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/10px 10px; display: flex; align-items: center; justify-content: center; }
.library-item:hover { border-color: var(--accent); }
.library-item img { max-width: 100%; max-height: 100%; }
.library-item .logo-file, .layer-thumb .logo-file { height: 40px; }
.layer-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: start; padding: 8px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; cursor: pointer; }
.layer-row.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.layer-thumb { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/10px 10px; border-radius: 6px; }
.layer-thumb img { max-width: 100%; max-height: 100%; }
.layer-name { font-weight: 600; font-size: .88rem; word-break: break-all; }
.layer-notes { margin-top: 6px; padding: 6px 8px !important; font-size: .85rem !important; }
.upload-status.error { color: var(--err); }
.designer-total { font-weight: 600; }

/* Admin order mockups */
.item-mockups { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
.item-mockups figure { margin: 0; width: 220px; }
.item-mockups .mockup { width: 220px; border: 1px solid var(--line); }
.spec { font-size: .85rem; }
.spec td, .spec th { padding: 4px 8px; border-bottom: 1px solid var(--line); text-align: left; }

@media (max-width: 860px) {
  .designer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .designer-body { grid-template-columns: 1fr; overflow-y: auto; }
  .designer-main { overflow: visible; }
  .designer-side { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .stage .mockup-base { max-height: 60vh; }
  .basket-line { grid-template-columns: 70px 1fr; }
  .basket-img .mockup { width: 64px; }
}
.inline-num { width: 90px !important; display: inline-block; padding: 4px 8px !important; }
.mock-upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.mock-upload input[type=file] { font-size: .85rem; }
.mock-thumb { width: 160px; height: 160px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }

/* Brand overrides: square, flat Dawn look */
.btn { border-radius: 0; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: .88rem; padding: 12px 22px; border: 1px solid var(--text); background: #fff; color: var(--text); }
.btn:hover { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: none; }
.btn-ghost { background: #fff; }
.btn-lg { padding: 15px 30px; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], select, textarea, input:not([type]) { border-radius: 0; border-color: #8f8f8f; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); }
.alert, .placement, .size-cell, .swatch, .thumb, .layer-row, .library-item, .layer-thumb, .tabs a, .view-tab, .status, .designer, .stage, .mockup, .art-thumb, .mock-thumb, .gallery-main, .swatch img { border-radius: 0 !important; }
.card { box-shadow: none; transition: none; }
.card:hover { transform: none; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.card-img { background: #fff; overflow: hidden; border: 1px solid #f0f0f0; }
.card-img img { min-height: 0; }
.card-body { border-top: 0; padding: 12px 2px 4px; }
.card-title { font-size: .95rem; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }
.card-vendor { font-size: .72rem; letter-spacing: .1em; }
.price { font-weight: 400; } .price.big { font-size: 1.35rem; }
.grid { gap: 28px 16px; }
.filters { justify-content: center; margin: 18px 0 26px; }
.details, .checkout-form, .order-summary, .panel, .auth-box, .complete, .basket, .table-wrap { box-shadow: none; border: 1px solid var(--line); }
.details h1 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.6rem; }
legend { text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.swatch.is-active, .placement.is-on, .layer-row.is-selected { border-color: var(--text); background: #f5f5f5; }
.view-tab.is-active, .tabs a.is-active { background: var(--text); border-color: var(--text); }
.layer.is-selected, .layer:focus-visible { outline-color: var(--accent); }
.layer-handle { border-color: var(--accent); }
.layer-size { background: var(--dark); }
.crumbs a { color: var(--muted); }
.designer-main { background: #f3f3f3; }

@media (max-width: 860px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: 10px 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand img { width: 110px; }
  .nav { order: 3; flex-basis: 100%; gap: 18px; font-size: .9rem; }
  .nav-menu { position: static; }
  .nav-menu-panel { min-width: 0; left: 16px; right: 16px; top: auto; margin-top: 10px; grid-template-columns: repeat(2, 1fr); }
  .announcement-contact { display: none; }
  .usps { gap: 12px; font-size: .74rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-banner img { max-height: none; object-fit: contain; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card-title { font-size: .82rem; }
  .card-meta { flex-direction: column; gap: 0; font-size: .82rem; }
  .filters select { flex: 1 1 140px; }
}

/* Accounts */
.account-link { color: #fff; display: flex; align-items: center; gap: 6px; padding: 6px; margin-left: auto; text-decoration: none; font-size: .9rem; }
.account-link + .basket-link { margin-left: 0; }
.account-link:hover .account-text { text-decoration: underline; text-underline-offset: 4px; }
.btn-block { width: 100%; }
.auth-alt { text-align: center; margin: 12px 0 0; }
.auth-box h1 { text-transform: uppercase; letter-spacing: .1em; font-size: 1.4rem; }
input.readonly { background: #f4f4f4; color: var(--muted); }
.verified { color: var(--ok); font-weight: 700; }
.alert-warn { background: var(--warn-soft); color: #5c4300; border: 1px solid #f0d58a; }
.verify-banner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.verify-banner > div { flex: 1 1 320px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.account-head h1 { margin-bottom: 0; }
.order-cards { display: grid; gap: 12px; }
.order-card { display: block; border: 1px solid var(--line); padding: 14px 16px; color: inherit; text-decoration: none; }
.order-card:hover { border-color: var(--text); }
.order-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.account-item { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.account-item .item-mockups { margin: 0; }
.account-item .item-mockups figure, .account-item .item-mockups .mockup { width: 130px; }
.totals-right { margin: 16px 0 0 auto; max-width: 320px; }

/* Order progress tracker */
.steps { list-style: none; display: flex; margin: 6px 0; padding: 0; counter-reset: s; }
.step { flex: 1; position: relative; text-align: center; font-size: .85rem; color: var(--muted); }
.step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.step:first-child::before { display: none; }
.step-done::before, .step-current::before { background: var(--text); }
.step-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.step-done .step-dot { background: var(--text); border-color: var(--text); color: #fff; }
.step-current .step-dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.step-current .step-label { color: var(--text); font-weight: 700; }
.step-done .step-label { color: var(--text); }
.step-label { display: block; line-height: 1.3; }
.steps-compact { margin-top: 12px; }
.steps-compact .step-dot { width: 20px; height: 20px; font-size: .65rem; border-width: 2px; margin-bottom: 2px; }
.steps-compact .step::before { top: 9px; }
.steps-compact .step-label { font-size: .7rem; }
.progress-cancelled { padding: 10px 14px; background: var(--err-soft); color: var(--err); }

/* Notes timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-item { border-left: 3px solid var(--line); padding: 4px 0 14px 14px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.timeline-status::before { background: var(--text); }
.timeline-customer { border-left-color: var(--accent); }
.timeline-customer::before { background: var(--accent); }
.timeline-internal { border-left-color: #c9a227; }
.timeline-internal::before { background: #c9a227; }
.timeline-meta { font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.timeline-label { font-weight: 700; font-size: .9rem; }
.note-badge { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: 1px 6px; margin-right: 6px; color: #fff; background: var(--text); }
.note-internal { background: #8a6d00; }
.note-customer { background: var(--accent-text); }
.status-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.status-form select { width: auto; flex: 1 1 180px; }
.status-form .check { flex-basis: 100%; margin: 0; }
.note-form { display: grid; gap: 10px; }
.note-form .check { margin: 0; }
.note-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.note-kind { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); padding: 10px; cursor: pointer; line-height: 1.3; }
.note-kind:has(input:checked) { border-color: var(--text); background: #f5f5f5; }
.note-kind input { margin-top: 3px; }

@media (max-width: 860px) {
  .account-text { display: none; }
  .steps .step-label { font-size: .68rem; }
  .note-kinds { grid-template-columns: 1fr; }
}

/* ===== Basket & checkout layout (final rules; override earlier ones) ===== */
.basket { border: 1px solid var(--line); }
.basket-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px 130px; grid-template-areas: "img info qty total";
  gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: start; }
.basket-line:last-child { border-bottom: 0; }
.basket-img { grid-area: img; display: flex; flex-direction: column; gap: 6px; }
.basket-img .mockup { width: 96px; border: 1px solid var(--line); }
.basket-info { grid-area: info; min-width: 0; }
.basket-info > a { color: var(--text); text-decoration: none; }
.basket-info > a:hover { text-decoration: underline; }
.basket-info .placements-list li { overflow-wrap: anywhere; }
.basket-qty { grid-area: qty; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.basket-qty label { display: flex; align-items: center; gap: 8px; }
.basket-qty input { width: 80px; padding: 8px 10px; }
.basket-total { grid-area: total; text-align: right; font-weight: 700; }
.basket-total .small { font-weight: 400; }
.basket-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 20px; }
.basket-footer > .btn { flex-shrink: 0; }
.basket-footer .totals { width: 360px; max-width: 100%; border: 1px solid var(--line); padding: 18px 20px; }
.totals { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.totals .btn { margin-top: 8px; width: 100%; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout-form { padding: 24px; }
.checkout-form h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; margin: 26px 0 12px; }
.checkout-form h2:first-of-type { margin-top: 0; }
.checkout-form .fields { gap: 0 16px; }
.checkout-form textarea { resize: vertical; min-height: 90px; }
.checkout-form .check { align-items: flex-start; line-height: 1.4; }
.checkout-form .check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--text); }
.checkout-form .btn-lg { margin-top: 6px; }
.checkout-form .btn-primary:disabled { background: #e6e6e6; border-color: #cfcfcf; color: #6b6b6b; opacity: 1; cursor: not-allowed; }
.checkout-form > .error { display: block; margin-top: 8px; }
.order-summary { padding: 22px; position: sticky; top: 104px; }
.order-summary h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; margin: 0 0 8px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary-line > div:last-child { white-space: nowrap; }
.order-summary .totals { margin: 12px 0 10px; }
.verify-banner .btn { white-space: nowrap; }

/* Tablet */
@media (max-width: 1000px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .basket-line { grid-template-columns: 96px minmax(0, 1fr) 130px; grid-template-areas: "img info total" "img qty total"; }
}

/* Phone */
@media (max-width: 720px) {
  .checkout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }   /* summary first, so customers see what they're ordering */
  .checkout-form, .order-summary { padding: 16px; }
  .checkout-form .fields { grid-template-columns: 1fr; }
  .checkout-form .btn-lg { width: 100%; }
  .verify-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .verify-banner > div { flex: none; }
  .verify-banner .btn { width: 100%; }

  .basket-line { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img info" "img qty" "img total"; gap: 10px 14px; padding: 14px; }
  .basket-img .mockup { width: 72px; }
  .basket-qty { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .basket-total { text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .basket-footer { flex-direction: column-reverse; align-items: stretch; }
  .basket-footer .totals { width: 100%; }
  .basket-footer > .btn { width: 100%; }
  h1 { font-size: 1.5rem; }
}

/* Homepage category tiles (Dawn-style: square photo with an uppercase label band) */
.filters-search { max-width: 640px; margin-left: auto; margin-right: auto; }
.filters-search { flex-wrap: nowrap; }
.filters-search input[type=search] { flex: 1 1 0; width: auto; min-width: 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-tile { position: relative; display: block; color: var(--text); text-decoration: none; border: 1px solid #f0f0f0; background: #fff; overflow: hidden; }
.category-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.category-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.category-tile:hover .category-img img { transform: scale(1.04); }
.category-name { position: absolute; left: 0; right: 0; bottom: 14%; padding: 10px 14px; background: rgba(255,255,255,.82);
  text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.category-name span { font-weight: 400; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.category-tile:hover .category-name { text-decoration: underline; text-underline-offset: 3px; }
.category-all { background: var(--dark); border-color: var(--dark); }
.category-all .category-img { background: var(--dark); padding: 18%; }
.category-all .category-img img { object-fit: contain; }
.category-all .category-name { background: rgba(255,255,255,.92); }

@media (max-width: 720px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-name { font-size: .74rem; padding: 7px 9px; bottom: 8%; letter-spacing: .05em; }
  .category-name span { font-size: .66rem; }
}

/* Footer social icons */
.social-links { list-style: none; display: flex; gap: 6px; margin: 14px 0 0; padding: 0; flex-wrap: wrap; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; color: #fff; }
.social-links a:hover { color: var(--taupe); transform: scale(1.08); }
.social-label { display: inline-flex; align-items: center; gap: 6px; }

/* Logo placement disclaimer */
.placement-disclaimer { background: #f6f6f6; border-left: 3px solid var(--accent); padding: 8px 12px; margin: 8px 0 12px; line-height: 1.45; }
.designer-main .placement-disclaimer { max-width: 560px; margin: 8px auto 0; text-align: left; }
.field-hint { font-size: .82rem; color: var(--muted); font-weight: 400; line-height: 1.4; }

/* Admin: categories & CSV upload */
.type-filter { max-width: 320px; margin-bottom: 10px; }
.is-hidden-type td:first-child { color: var(--muted); text-decoration: line-through; }
.sticky-save { position: sticky; bottom: 0; background: rgba(255,255,255,.95); padding: 12px 0; border-top: 1px solid var(--line); z-index: 5; }
#csvUpload .upload-btn { width: auto; }
.csv-status.error { color: var(--err); }
.csv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* =====================================================================
   Editorial theme (layout inspired by craftkingsltd.co.uk, Emboss branding):
   serif display headings, small uppercase eyebrows, dark hero & CTA bands,
   card-style categories, numbered process. Overrides earlier rules.
   ===================================================================== */
:root {
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --ink: #121212; --ink-2: #2a2a2a; --cream: #efdfc9; --cream-2: #e6d3b8; --tint: #f7f4ef; --card-line: #e7e2d9;
}
h1, h2, .display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-transform: none; }
.display { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 .4em; color: var(--ink); }
.eyebrow { font: 600 .7rem/1.4 Roboto, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.link-arrow { color: inherit; text-decoration: none; font-weight: 500; font-size: .9rem; border-bottom: 1px solid currentColor; padding-bottom: 6px; display: inline-flex; gap: 10px; align-items: center; }
.link-arrow:hover { opacity: .75; }

/* Buttons: charcoal on light, cream/white on dark */
.btn { border-radius: 2px; text-transform: none; letter-spacing: .02em; font-weight: 500; font-size: .92rem; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-light { background: #fff; border: 1px solid #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); box-shadow: none; }
.badge { background: var(--cream); color: var(--ink); font-weight: 700; }

/* Announcement + header */
.announcement { background: #000; color: #fff; border-bottom: 0; }
.announcement-inner { justify-content: center; min-height: 34px; }
.usps { font-weight: 600; font-size: .8rem; letter-spacing: .02em; gap: 28px; justify-content: center; }
.usps img { filter: invert(1); }
.site-header { background: var(--ink); border-bottom: 1px solid #262626; }
.header-inner { min-height: 96px; gap: 36px; }
.brand img { width: 140px; }
.nav { gap: 28px; }
.nav a, .nav summary, .nav-link { font-weight: 600; font-size: .95rem; }
.header-search { position: relative; margin-left: auto; }
.header-search summary { list-style: none; cursor: pointer; color: #fff; display: flex; padding: 6px; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search-form { position: absolute; right: -8px; top: calc(100% + 26px); width: min(420px, calc(100vw - 32px)); display: flex; gap: 8px;
  background: var(--ink); padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); z-index: 30; }
.header-search-form input { flex: 1; min-width: 0; width: auto; }
.header-search + .account-link { margin-left: 4px; }

/* Full-width homepage sections */
.page-full { padding-top: 0; }
.flash-wrap { padding-top: 16px; }
.section { padding: 76px 0; }
.section-tint { background: var(--tint); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title-row .display { margin: 0; }
.section-title-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.mini-search { display: flex; gap: 8px; width: 360px; max-width: 100%; }
.mini-search input { flex: 1; min-width: 0; width: auto; padding: 9px 12px; }
.mini-search .btn { padding: 9px 16px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 40%, #2b2723 0%, var(--ink) 60%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero .eyebrow { color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; margin: 0 0 22px; color: #fff; }
.hero-lead { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.86); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-actions .btn { padding: 15px 26px; }
.hero-note { margin: 22px 0 0; font-size: .8rem; color: rgba(255,255,255,.65); }
.hero-visual { display: block; text-decoration: none; position: relative; justify-self: center; width: 100%; max-width: 480px; }
.hero-garment { position: relative; background: var(--tint); border-radius: 4px; padding: 6%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-garment-img { width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-garment-logo { position: absolute; left: 61%; top: 28%; width: 13%; height: auto; transform: translate(-50%, -50%); }
.hero-tag { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); background: var(--cream); color: var(--ink); font-size: .78rem; font-weight: 600;
  padding: 8px 14px; border-radius: 2px; white-space: nowrap; }

/* Category cards */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; border: 1px solid var(--card-line); border-radius: 4px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.09); transform: translateY(-2px); }
.cat-card-img { aspect-ratio: 4 / 3; background: #f6f4f0; display: flex; align-items: center; justify-content: center; padding: 18px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-card-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin: 0 0 8px; }
.cat-card-body p { margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.cat-card-cta { margin-top: auto; border-top: 1px solid currentColor; padding-top: 14px; display: flex; justify-content: space-between; font-weight: 600; font-size: .85rem; }
.cat-card.is-feature .cat-card-body { background: var(--ink); color: #fff; }
.cat-card.is-feature h3 { color: var(--cream); }
.cat-card.is-feature p { color: rgba(255,255,255,.75); }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 36px 0 0; }
.process li { border-top: 2px solid var(--ink); padding-top: 24px; }
.process-num { font-family: var(--serif); font-size: 1.8rem; display: block; margin-bottom: 18px; }
.process h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.process p { margin: 0; color: #4b4b4b; line-height: 1.7; font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band .eyebrow { color: var(--cream); }
.cta-band .display { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Listings & product cards */
.listing-head { text-align: left; margin: 8px 0 4px; }
.listing-head .display { margin-bottom: 4px; }
.filters { justify-content: flex-start; }
.card { border: 1px solid #e6e6e6; border-radius: 4px; overflow: hidden; background: #fff; }
.card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.card-img { border: 0; border-bottom: 1px solid #f0f0f0; padding: 10px; }
.card-body { padding: 12px 14px 14px; }
.card-title { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.details h1 { font-family: var(--serif); text-transform: none; letter-spacing: -.01em; font-size: 2rem; }
.auth-box h1, .account-head h1 { font-family: var(--serif); text-transform: none; letter-spacing: -.01em; }
.page > h1 { font-family: var(--serif); }

/* Footer */
.site-footer { background: #0b0b0b; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero-visual { max-width: 380px; }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .section-title-side { align-items: flex-start; width: 100%; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 64px; gap: 10px 14px; }
  .brand img { width: 108px; }
  .header-search { margin-left: auto; }
  .header-search-form { position: fixed; left: 16px; right: 16px; top: auto; width: auto; margin-top: 18px; }
  .usps { gap: 14px; font-size: .72rem; }
  .section { padding: 52px 0; }
  .hero h1 { font-size: 2.5rem; }
  .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-card-img { padding: 10px; }
  .cat-card-body { padding: 14px; }
  .cat-card-body h3 { font-size: 1.15rem; }
  .cat-card-body p { font-size: .76rem; margin-bottom: 12px; }
  .cat-card-cta { font-size: .78rem; padding-top: 10px; }
  .mini-search { width: 100%; }
  .cta-inner { padding-top: 48px; padding-bottom: 48px; }
}

#categories { scroll-margin-top: 110px; }
.more-cats { text-align: center; margin-top: 32px; }
.listing-head h1.display { font-size: clamp(2rem, 3.4vw, 2.6rem); text-transform: none; letter-spacing: -.01em; margin: 0 0 4px; }
.listing-head p.eyebrow { font-size: .7rem; color: var(--ink); margin-bottom: 10px; }
.card-title { font-family: Roboto, Arial, sans-serif; }

/* Bundles */
.bundle-img { background: radial-gradient(120% 90% at 50% 30%, #fbf9f5 0%, #ece6dc 100%) !important; }
.bundle-img img { mix-blend-mode: normal !important; object-fit: contain; }
.cat-card-img.bundle-img { aspect-ratio: 7 / 5; padding: 8px; }
.gallery-main.bundle-img { aspect-ratio: 7 / 5; padding: 12px; }
.bundle-preview { background: radial-gradient(120% 90% at 50% 30%, #fbf9f5 0%, #ece6dc 100%); border: 1px solid var(--card-line); margin-bottom: 14px; }
.bundle-preview img { width: 100%; height: auto; }
.bundle-price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bundle-price strong { font-size: 1.15rem; color: inherit; }
.bundle-price span { font-size: .8rem; }
.bundle-includes { font-weight: 600; color: var(--ok); }
.bundle-item { border: 1px solid var(--line); padding: 14px; margin-bottom: 12px; display: grid; gap: 10px; }
.bundle-item-head { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.bundle-thumb { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.bundle-item label.small { display: flex; flex-direction: column; gap: 4px; }
.bundle-count { font-size: .8rem; font-weight: 700; padding: 4px 8px; background: #f2f2f2; white-space: nowrap; }
.bundle-count.is-done { background: var(--ok-soft); color: var(--ok); }
.bundle-count.is-over { background: var(--err-soft); color: var(--err); }
.bundle-thumb-sm { width: 96px; height: auto; background: radial-gradient(#fbf9f5, #ece6dc); border: 1px solid var(--line); }
tr.bundle-child td { background: #fafafa; font-size: .88rem; }
tr.bundle-child td:first-child { padding-left: 28px; }
.account-item.bundle-child { padding: 4px 0 4px 18px; border-bottom: 0; color: var(--muted); }
.bundle-edit textarea { resize: vertical; }
@media (max-width: 720px) { .bundle-item-head { grid-template-columns: 48px 1fr; } .bundle-count { grid-column: 1 / -1; justify-self: start; } }

.bundle-danger { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.archived-bundles { margin-top: 32px; }
.archived-bundles .bundle-thumb-sm { width: 72px; }

/* One-size items in bundles: shown but locked */
.size-cell.is-fixed { background: #f6f6f6; }
.size-cell.is-fixed input[readonly] { background: #ececec; color: var(--ink); border-color: #d5d5d5; cursor: not-allowed; pointer-events: none; font-weight: 700; }

.preview-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.markup-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.markup-form .field { margin-bottom: 0; }

/* Homepage bundles section */
.section-bundles + #categories { padding-top: 24px; }
.section-bundles { padding-bottom: 40px; }

/* Admin bundle editor: product picker */
.bundle-picker { position: relative; margin-bottom: 14px; }
.picker-search { display: flex; gap: 8px; }
.picker-search .picker-q { flex: 1 1 auto; width: auto; min-width: 0; }
.picker-search .picker-type { width: 200px; flex: 0 0 auto; }
.picker-results { position: absolute; left: 0; right: 0; top: 46px; z-index: 15; background: #fff; border: 1px solid var(--text);
  max-height: 380px; overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.picker-msg { padding: 10px 12px; margin: 0; }
.picker-result { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 6px 10px;
  border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.picker-result:hover, .picker-result:focus { background: #f5f5f5; outline: none; }
.picker-result img { width: 48px; height: 48px; object-fit: contain; }
.picker-result > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.picker-result strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-add { font-weight: 700; white-space: nowrap; }
.picker-items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: pi; }
.picker-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; border: 1px solid var(--line);
  padding: 8px 10px; background: #fff; transition: background .3s; }
.picker-item.is-flash { background: var(--warn-soft); }
.picker-item img { width: 56px; height: 56px; object-fit: contain; }
.picker-item-info { display: flex; flex-direction: column; min-width: 0; }
.picker-item-info strong { font-size: .92rem; }
.picker-item label { display: flex; flex-direction: column; gap: 2px; }
.picker-item select { width: 150px; padding: 6px 8px; }
.picker-item-actions { display: flex; gap: 10px; align-items: center; }
.picker-item-actions .linklike[disabled] { opacity: .3; cursor: default; }
.picker-total { margin: 8px 0 0; font-weight: 600; }
@media (max-width: 860px) {
  .picker-search { flex-wrap: wrap; } .picker-search .picker-type { width: 100%; }
  .picker-item { grid-template-columns: 48px 1fr; }
  .picker-item label, .picker-item-actions { grid-column: 2; }
}
/* Picker items: photo + title on top, controls underneath (fits narrow and wide columns) */
.picker-item { grid-template-columns: 56px minmax(0, 1fr); }
.picker-item-controls { grid-column: 2; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.picker-item-controls label { display: flex; flex-direction: column; gap: 2px; }
.picker-item-controls .picker-item-actions { margin-left: auto; }
@media (max-width: 860px) { .picker-item-controls .picker-item-actions { margin-left: 0; } }

/* Embroidery estimate badges */
.emb { display: block; font-size: .78rem; font-weight: 600; margin-top: 3px; }
.emb::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: currentColor; }
.emb-easy { color: var(--ok); }
.emb-moderate { color: #9a6700; }
.emb-complex { color: #c2410c; }
.emb-review { color: var(--muted); }
.emb-notes { font-weight: 400; color: var(--muted); }
/* Bundle page: one row of sizes per colour */
.bundle-colour-row { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 8px; }
.bundle-colour-row:first-of-type { border-top: 0; padding-top: 0; }
.bundle-colour-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bundle-colour-add { justify-self: start; max-width: 100%; width: auto; }
/* Payments */
.pay-methods { display: grid; gap: 8px; margin-bottom: 8px; }
.pay-methods.has-error .pay-method { border-color: var(--err); }
.pay-method { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 12px 14px; cursor: pointer; background: #fff; }
.pay-method:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-method input { margin-top: 3px; }
.pay-status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; background: #f2f2f2; }
.pay-status.pay-paid { background: var(--ok-soft); color: var(--ok); }
.pay-status.pay-unpaid { background: #fff4d6; color: #8a5a00; }
.pay-status.pay-refunded { background: #eee; color: var(--muted); }
.pay-instructions { border: 1px solid var(--line); border-left: 4px solid var(--ink); padding: 12px 16px; background: #fafafa; margin: 12px 0; text-align: left; }
.pay-instructions h2 { margin: 0 0 6px; font-size: 1.05rem; }
.pay-instructions p { margin: 0; }
.pay-ok { font-weight: 600; color: var(--ok); }
.pay-now { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pay-settings .panel h2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pay-settings details { margin-top: 10px; }
.pay-settings code { word-break: break-all; }
.field.narrow { max-width: 220px; }
/* Admin: marketplaces on the product page */
.market-row { border-top: 1px solid var(--line); padding: 12px 0; }
.market-row:first-of-type { border-top: 0; padding-top: 0; }
.market-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.market-colours { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; margin: 8px 0; }
/* Admin: product filters */
.admin-filters { background: #fafafa; border: 1px solid var(--line); padding: 14px; margin: 16px 0 10px; display: grid; gap: 12px; }
.admin-filters-row { display: flex; gap: 10px; }
.admin-filters-row input[type=search] { flex: 1 1 auto; min-width: 0; }
.admin-filters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 12px; }
.admin-filters-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; }
.admin-filters-grid select { width: 100%; font-weight: 400; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 8px; }
.filter-chips .chip { background: #fff; border: 1px solid var(--line); padding: 3px 10px; text-decoration: none; color: inherit; }
.filter-chips .chip:hover { border-color: var(--ink); }
tr.row-muted td { opacity: .6; }
.pager-current { padding: 0 4px; }
/* Home hero: light, warm panel so it separates from the black header (was black on black) */
.hero { background: linear-gradient(115deg, #f7efe3 0%, var(--cream) 55%, var(--cream-2) 100%); color: var(--ink); border-bottom: 1px solid var(--card-line); }
.hero .eyebrow { color: var(--ink); opacity: .75; }
.hero h1 { color: var(--ink); }
.hero-lead { color: #3d3a36; }
.hero-note { color: #6b645b; }
.hero-actions .link-arrow { color: var(--ink); }
.hero-garment { background: #fff; box-shadow: 0 24px 50px rgba(60, 45, 25, .16); }
.hero-tag { background: var(--ink); color: #fff; }
/* Bundle cards: same light style as category cards, marked with a small flag */
.bundle-card .cat-card-img { position: relative; }
.bundle-flag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; z-index: 1; }
.bundle-card .bundle-price strong { color: var(--ink); }
/* CTA band: cream (like the hero) so it contrasts with the black footer, and sits flush on it */
.cta-band { background: linear-gradient(115deg, #f7efe3 0%, var(--cream) 60%, var(--cream-2) 100%); color: var(--ink); border-top: 1px solid var(--card-line); }
.cta-band .eyebrow { color: var(--ink); opacity: .75; }
.cta-band .display { color: var(--ink); }
.cta-band p { color: #3d3a36; }
.cta-band .link-arrow { color: var(--ink); }
.main:has(.cta-band) { padding-bottom: 0; }
/* Admin: category images */
.catimg-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.catimg-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.catimg-stage { position: relative; cursor: crosshair; line-height: 0; }
.catimg-stage img, .catimg-current img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.catimg-current { background: #f6f4f0; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.catimg-current img { max-height: 260px; width: auto; border: 0; mix-blend-mode: multiply; }
.catimg-marker { position: absolute; transform: translate(-50%, -50%); border: 2px dashed #e0b13c; background: rgba(224, 177, 60, .18); pointer-events: none; }
.catimg-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.catimg-controls label { display: flex; align-items: center; gap: 8px; }
.catimg-prompt textarea { width: 100%; font-size: .8rem; margin: 8px 0; }
@media (max-width: 760px) { .catimg-body { grid-template-columns: 1fr; } }
/* Category cards / homepage with an uploaded photo of someone wearing the item */
.cat-card-img.has-photo { padding: 0; background: #ddd; }
.cat-card-img.has-photo img { object-fit: cover; mix-blend-mode: normal; }
.hero-photo { display: block; width: 100%; border-radius: 4px; box-shadow: 0 24px 50px rgba(60, 45, 25, .18); }
.hero-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
.hero-visual.hero-photo-wrap { max-width: 620px; }
/* "Contact sales for bulk orders" block */
.bulk-wrap { margin-top: 28px; }
.bulk-contact { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--card-line); border-left: 4px solid var(--ink); background: var(--tint); padding: 16px 20px; margin: 0 0 20px; }
.bulk-contact strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.bulk-contact span { color: #3d3a36; font-size: .92rem; }
.bulk-contact a:not(.btn) { color: var(--ink); font-weight: 600; }
.bulk-contact.is-compact { padding: 12px 16px; margin: 14px 0 18px; }
.bulk-contact.is-compact strong { font-size: .92rem; }
.bulk-contact.is-compact span { font-size: .85rem; }
/* Admin products: move to category bar */
.move-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; padding: 10px 12px; border: 1px solid var(--line); background: #fafafa; }
.move-bar input[type=text] { flex: 1 1 220px; width: auto; min-width: 0; }
/* Logo designer fallback for browsers without a working <dialog> (older Safari) */
.designer.is-fallback[open] { position: fixed; inset: 16px; margin: auto; z-index: 1000; height: auto; box-shadow: 0 0 0 100vmax rgba(20,24,30,.6); }
@media (max-width: 760px) { .designer.is-fallback[open] { inset: 0; } }
/* Home banner image (buttons painted into the image; transparent links laid over them) */
.hero-banner { background: #0b1322; }
.hero-banner-img { position: relative; line-height: 0; }
.hero-banner-img img { width: 100%; height: auto; display: block; }
.hero-hot { position: absolute; top: 65%; height: 6.6%; color: transparent; font-size: 0; border-radius: 6px; }
.hero-hot-cat { left: 5.1%; width: 15.6%; }
.hero-hot-all { left: 22.1%; width: 17%; }
.hero-hot:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.hero-copy-mobile { display: none; }
.services-strip { background: var(--ink); color: #fff; font-size: .85rem; }
.services-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-top: 12px; padding-bottom: 12px; }
.services-strip strong { color: var(--cream); }
@media (max-width: 760px) {
  .hero-hot { display: none; }
  .hero-copy-mobile { display: block; padding: 28px 0 32px; }
  .hero-copy-mobile h1 { font-size: 2.3rem; }
  .services-strip .wrap { justify-content: flex-start; gap: 4px 16px; font-size: .8rem; }
}
/* On desktop the heading is part of the image – keep it for screen readers and search engines */
@media (min-width: 761px) {
  .hero-copy-mobile { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-copy-mobile .hero-actions { display: none; }
}
/* Admin: audit log and changelog */
.audit-table td { vertical-align: top; }
.audit-table .nowrap { white-space: nowrap; }
.audit-table tr.audit-delete td:first-child { box-shadow: inset 3px 0 0 var(--err); }
.audit-details { max-width: 420px; max-height: 260px; overflow: auto; font-size: .75rem; background: #f6f6f6; padding: 8px; white-space: pre-wrap; word-break: break-word; }
.changelog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.changelog-head h2 { margin: 0; }
.changelog-list { margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.change-tag { display: inline-block; min-width: 70px; text-align: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 6px; margin-right: 6px; background: #eee; }
.change-added { background: var(--ok-soft); color: var(--ok); }
.change-fixed { background: #fff4d6; color: #8a5a00; }
.change-security { background: var(--err-soft); color: var(--err); }
.method-note { background: var(--tint); border: 1px solid var(--card-line); padding: 8px 12px; }
/* Banner buttons: real links sized and placed (in % of the 1672×940 image) exactly over the painted ones,
   so they look the same but hover, focus and click like normal buttons at every width. */
.hero-hot { display: none !important; }
.hero-cta { position: absolute; top: 64.6%; height: 7.4%; display: flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 clamp(9px, .98vw, 19px)/1 'Roboto', Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
  border-radius: .42vw; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.hero-cta span { font-size: 1.35em; font-weight: 400; transition: transform .15s; }
.hero-cta:hover span, .hero-cta:focus-visible span { transform: translateX(3px); }
.hero-cta-solid { left: 4.85%; width: 16.1%; background: #eddbc7; color: #111; border: 1px solid #eddbc7; }
.hero-cta-solid:hover { background: #fff; border-color: #fff; }
.hero-cta-outline { left: 21.95%; width: 17.35%; background: #07131f; color: #fff; border: 1.5px solid rgba(255, 255, 255, .92); }
.hero-cta-outline:hover { background: #fff; color: #111; }
.hero-cta:focus-visible { outline: 3px solid #eddbc7; outline-offset: 3px; }
@media (max-width: 760px) { .hero-cta { display: none; } }
/* Override the old banner rule (.hero-banner img max-height/cover) so the image keeps its true proportions and the buttons line up */
.hero-banner .hero-banner-img img { max-height: none; object-fit: fill; aspect-ratio: 1672 / 940; }
@media (max-width: 760px) { .hero-banner .hero-banner-img img { aspect-ratio: 900 / 850; } }
/* Safari fix: the designer body used flex-basis 0 inside a dialog with only a max-height, which Safari
   collapses to zero height (only the header and "No logos yet" bar showed). Give the dialog a definite
   height and let the body size from its content. */
.designer[open] { height: min(860px, calc(100vh - 32px)); }
.designer-body { flex: 1 1 auto; min-height: 0; }
.designer-head, .designer-foot { flex: 0 0 auto; }
@media (max-width: 760px) {
  .designer[open] { height: 100vh; height: 100dvh; max-height: none; }
}
.designer.is-fallback[open] { height: auto; }
.hero-copy-mobile .hero-lead + .hero-lead { margin-top: -14px; }
/* Phone banner text: more breathing room */
@media (max-width: 760px) {
  .hero-copy-mobile { padding: 40px 0 44px; }
  .hero-copy-mobile .eyebrow { margin-bottom: 16px; line-height: 1.7; }
  .hero-copy-mobile h1 { margin: 0 0 20px; line-height: 1.12; }
  .hero-copy-mobile .hero-lead { margin: 0 0 18px; }
  .hero-copy-mobile .hero-lead + .hero-lead { margin-top: 0; }
  .hero-copy-mobile .hero-actions { margin-top: 30px; gap: 22px; }
}
/* Admin order: company name */
.order-company { font-weight: 400; color: var(--muted); }
.order-company-name { font-size: 1.05rem; }
