/* 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; }
}
