/* CatalogCommerce — order layer over a supplier-published catalog.
   Viewer mirrors the canvas viewer's structure (page renders + positioned product
   cards + Product Information sidebar); ordering is ours. */

:root {
  --paper: #f4f2ee;
  --ink: #1c1b18;
  --ink-soft: #6b675e;
  --line: #e2ded6;
  --line-strong: #cfc9bd;
  --accent: #1e4fd6;
  --accent-deep: #16359c;
  --order: #e0483c;        /* order-now red, the one loud color */
  --order-deep: #b8362c;
  --slip: #fffdf7;
  --slip-rule: #dbe9f6;
  --slip-margin: #e0483c;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --sans: -apple-system, "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  z-index: 5;
}

.topbar-book { display: flex; flex-direction: column; min-width: 0; }
.book-title { font-size: 17px; font-weight: 700; white-space: nowrap; }
.book-supplier { font-size: 12px; color: var(--ink-soft); }

/* Who this copy of the book was prepared for. */
.brand-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.brand-bar .brand-logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.brand-for { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.brand-for strong { color: var(--ink); }

.topbar-brand { margin-left: auto; text-align: right; display: flex; flex-direction: column; line-height: 1.35; }

.setup-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
}
.setup-btn:hover { border-color: var(--accent); color: var(--accent); }
.brand-kicker { font-size: 11px; color: var(--ink-soft); }
.brand-name { font-size: 13px; font-weight: 600; color: var(--accent-deep); }

.orderpad-btn {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.orderpad-btn:hover { background: var(--accent-deep); }

.orderpad-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--order);
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
}

/* ---------- Stage / spread ---------- */

.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  min-height: 0;
}

.nav-arrow {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-arrow:hover { border-color: var(--accent); color: var(--accent); }
.nav-arrow:disabled { opacity: 0.25; cursor: default; }

.spread {
  display: flex;
  height: 100%;
  min-width: 0;
  box-shadow: 0 8px 30px rgba(28, 27, 24, 0.16);
}

/* Each page is a positioning context sized to the source page aspect ratio. */
.page {
  position: relative;
  height: 100%;
  background: #fff;
  overflow: hidden;
}

.page-cover {
  position: absolute;
  overflow: hidden;
}

.page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Product cards on the page ---------- */

.pcard {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  padding: 2.2% 2.6%;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.pcard:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 14px rgba(30, 79, 214, 0.22);
}

.pcard-name {
  font-size: clamp(9px, 1.15cqw, 15px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1px;
}

.pcard-sku { font-size: clamp(8px, 0.95cqw, 12px); color: var(--ink-soft); }

.pcard-media {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 0;
}

.pcard-media img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Square product photo with the customer's logo dropped into the supplier's
   decoration area. The wrapper matches the photo box so the rectangle maps 1:1. */
.shot { position: relative; aspect-ratio: 1; max-width: 100%; max-height: 100%; }
.shot > img { width: 100%; height: 100%; object-fit: contain; display: block; }

.shot-imprint {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.shot-imprint img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.pcard-price-label { font-size: clamp(7px, 0.8cqw, 10px); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.pcard-price { font-size: clamp(9px, 1.1cqw, 14px); font-weight: 700; }
.pcard-color { font-size: clamp(8px, 0.9cqw, 11px); color: var(--ink-soft); text-align: right; }

/* The order button — the one thing the supplier's book doesn't have. */
.pcard-order {
  margin-top: 5%;
  width: 100%;
  padding: 5% 0;
  background: var(--order);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: clamp(8px, 1cqw, 13px);
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--order-deep);
}
.pcard-order:hover { background: var(--order-deep); box-shadow: 0 1px 0 var(--order-deep); }

/* ---------- Thumb rail ---------- */

.thumbrail {
  display: flex;
  gap: 6px;
  padding: 8px 14px 12px;
  overflow-x: auto;
  flex-shrink: 0;
  justify-content: safe center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.thumb {
  border: 2px solid transparent;
  border-radius: 2px;
  padding: 0; background: none;
  cursor: pointer; position: relative; flex-shrink: 0;
}
.thumb img { height: 52px; width: auto; display: block; }
.thumb.active { border-color: var(--accent); }

.thumb .thumb-dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--order);
}

/* ---------- Scrims + drawers ---------- */

.scrim { position: fixed; inset: 0; background: rgba(28, 27, 24, 0.45); z-index: 40; }

.product-sidebar, .orderpad {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(540px, 96vw);
  background: #fff;
  z-index: 50;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* A bare `display` on these classes outranks the UA's `[hidden] {display:none}`,
   so the hidden attribute has to be honoured explicitly or the drawers never close. */
.scrim[hidden], .product-sidebar[hidden], .orderpad[hidden] { display: none; }

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.sidebar-title { font-size: 15px; font-weight: 600; }

.sheet-close {
  margin-left: auto;
  width: 32px; height: 32px;
  border: none; background: none;
  font-size: 24px; color: var(--ink-soft);
  cursor: pointer;
}
.sheet-close:hover { color: var(--ink); }

.sidebar-body { flex: 1; overflow-y: auto; padding: 18px 20px 24px; }

/* ---------- Product sidebar content ---------- */

.psb-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 10px;
}
.psb-hero img { max-width: 100%; max-height: 100%; object-fit: contain; }
.psb-hero .shot { height: 100%; }

.psb-strip { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }

.psb-thumb {
  width: 62px; height: 62px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 3px;
  cursor: pointer;
}
.psb-thumb img { width: 100%; height: 100%; object-fit: contain; }
.psb-thumb.active { border-color: var(--accent); border-width: 2px; }

.psb-sku { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.psb-name { font-size: 22px; font-weight: 700; margin: 3px 0 8px; line-height: 1.2; }

.psb-desc { font-size: 13px; line-height: 1.55; color: #45423b; }
.psb-desc p { margin-bottom: 7px; }
.psb-desc ul { margin: 6px 0 8px 18px; }
.psb-desc h4, .psb-desc h5 { margin: 8px 0 4px; font-size: 13.5px; }
.psb-desc.clamped { max-height: 92px; overflow: hidden; position: relative; }
.psb-desc.clamped::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 34px;
  background: linear-gradient(rgba(255,255,255,0), #fff);
}

.psb-more { border: none; background: none; color: var(--order); font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 5px 0; }

hr.psb-rule { border: none; border-top: 1px solid var(--line); margin: 16px 0; }

.psb-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 9px;
}

/* Color swatches — clickable, swap the hero image, like the canvas viewer. */
.psb-swatches { display: flex; flex-wrap: wrap; gap: 8px; }

.swatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  cursor: pointer;
}
.swatch-badge:hover { border-color: var(--line-strong); }
.swatch-badge.active { border-color: var(--accent); border-width: 2px; padding: 4px 11px 4px 5px; font-weight: 600; }

.swatch-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.swatch-dot--img { object-fit: cover; }

/* Sizes */
.psb-sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.size-badge {
  min-width: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.size-badge.active { border-color: var(--accent); border-width: 2px; font-weight: 700; }
.size-badge.static { cursor: default; color: var(--ink-soft); }

/* Pricing grid */
.psb-pricing { overflow-x: auto; }

table.psb-prices { width: 100%; border-collapse: collapse; font-size: 12.5px; }

.psb-prices th, .psb-prices td {
  border: 1px solid var(--line);
  padding: 7px 9px;
  text-align: right;
  white-space: nowrap;
}
.psb-prices th { background: var(--paper); font-weight: 600; }
.psb-prices th:first-child, .psb-prices td:first-child { text-align: left; }
.psb-prices td.tier-active { background: #eef3ff; font-weight: 700; color: var(--accent-deep); }

.psb-moq { font-size: 13px; }

/* ---------- Order grid (colors x sizes) ---------- */

.og-hint { font-size: 12px; color: var(--ink-soft); margin: -4px 0 10px; line-height: 1.45; }

.og-wrap { overflow-x: auto; }

table.og { border-collapse: collapse; font-size: 13px; min-width: 100%; }

.og th, .og td { border: 1px solid var(--line); padding: 0; }

.og thead th {
  background: var(--paper);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 8px;
  text-align: center;
  white-space: nowrap;
}

.og th.og-corner { text-align: left; }

.og .og-rowhead {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  background: #fff;
  min-width: 116px;
}

.og tfoot .og-rowhead { background: var(--paper); }

.og-cell {
  width: 100%;
  min-width: 62px;
  border: none;
  padding: 9px 8px;
  font-family: var(--mono);
  font-size: 14px;
  text-align: center;
  background: transparent;
  color: var(--ink);
  -moz-appearance: textfield;
}

.og-cell::-webkit-outer-spin-button, .og-cell::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.og-cell:focus { outline: 2px solid var(--accent); outline-offset: -2px; background: #f4f7ff; }
.og-cell::placeholder { color: #c9c4b9; }

.og-row-active .og-rowhead { background: #fff8f2; }
.og-row-active .og-cell { font-weight: 600; }

.og-tot {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  background: var(--paper);
  min-width: 56px;
}

.og-grand { background: #ffeceb; color: var(--order-deep); }

/* ---------- Sidebar order footer (sticky) ---------- */

.sidebar-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 20px 16px;
  flex-shrink: 0;
}

.of-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 9px;
  min-height: 24px;
}
.of-summary strong { font-size: 20px; color: var(--ink); font-family: var(--mono); }
.of-muted { color: #a8a49b; }

.of-note { margin-top: 9px; }
.of-note input { width: 100%; font-size: 13px; padding: 9px; border: 1px solid var(--line-strong); border-radius: 4px; }

.of-warn { color: var(--order); font-size: 12px; margin-top: 7px; }

.of-add {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--order);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--order-deep);
}
.of-add:hover { background: var(--order-deep); }
.of-add:disabled { background: var(--line-strong); box-shadow: none; cursor: default; }

.of-added { text-align: center; color: #1a7a3e; font-size: 13px; font-weight: 600; margin-top: 7px; }

/* ---------- Customer setup panel ---------- */

.setup-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(600px, 96vw);
  background: #fff;
  z-index: 50;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.setup-panel[hidden] { display: none; }

.su-intro { font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 18px; }

.su-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 16px 0 7px;
}

.su-input {
  width: 100%;
  font-size: 14px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.su-input-sm { width: 96px; font-family: var(--mono); }

.su-logo-row { display: flex; gap: 14px; align-items: flex-start; }

.su-logo-prev {
  width: 116px; height: 88px;
  flex-shrink: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.su-logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }

.su-logo-actions { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }

.su-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.su-btn:hover { background: var(--accent-deep); }

.su-btn-quiet { background: none; color: var(--ink-soft); border: 1px solid var(--line-strong); }
.su-btn-quiet:hover { background: none; color: var(--order); border-color: var(--order); }

.su-hint { font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; }
.su-hint-block { margin: -3px 0 9px; }

.su-markup { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }

table.su-prices { width: 100%; border-collapse: collapse; font-size: 13px; }

.su-prices th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.su-prices th:not(:first-child), .su-prices td:not(:first-child) { text-align: right; width: 108px; }

.su-prices td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }

.su-pname { font-weight: 600; }
.su-psku { font-family: var(--mono); font-size: 10.5px; color: var(--ink-soft); }
.su-list { font-family: var(--mono); color: var(--ink-soft); }

.su-price {
  width: 100%;
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  text-align: right;
}
.su-price:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

.su-publish {
  margin-top: 14px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.su-pub-step { font-size: 12.5px; line-height: 1.7; }
.su-pub-step code {
  font-family: var(--mono);
  font-size: 11.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
}

.su-pub-link { display: flex; gap: 8px; margin-top: 8px; }
.su-pub-link input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 12px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
}

/* ---------- Order pad ---------- */

.orderpad { background: var(--slip); }

.pad-header { padding: 16px 20px 12px; border-bottom: 2px solid var(--ink); position: relative; display: flex; flex-direction: column; }
.pad-header .sheet-close { position: absolute; top: 10px; right: 12px; margin: 0; }
.pad-title { font-family: var(--mono); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; }
.pad-sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }

.pad-lines {
  flex: 1;
  overflow-y: auto;
  background:
    linear-gradient(to right, transparent 30px, var(--slip-margin) 30px, var(--slip-margin) 31px, transparent 31px),
    repeating-linear-gradient(var(--slip) 0, var(--slip) 27px, var(--slip-rule) 28px);
}

.pad-empty { padding: 30px 40px; font-size: 13px; color: var(--ink-soft); }

.pad-entry { border-bottom: 1px dashed var(--line-strong); background: rgba(255, 253, 247, 0.88); }

.pad-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 6px 40px;
}

.pad-line img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 3px; flex-shrink: 0; }

.pl-info { flex: 1; min-width: 0; }
.pl-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sku { font-family: var(--mono); font-size: 10.5px; color: var(--ink-soft); }
.pl-note { font-size: 11px; color: var(--ink-soft); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pl-money { font-family: var(--mono); font-size: 12px; text-align: right; }
.pl-money .pl-ext { font-weight: 700; font-size: 14px; }

.pl-edit {
  border: none; background: none; color: var(--accent);
  font: 600 11px var(--sans); cursor: pointer; padding: 2px 0;
}
.pl-edit:hover { text-decoration: underline; }

.pl-remove { border: none; background: none; color: var(--ink-soft); font-size: 16px; cursor: pointer; padding: 4px; }
.pl-remove:hover { color: var(--order); }

/* The size/color breakdown — the "12 M Black, 30 L Green" line */
.pl-breakdown { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 14px 10px 40px; }

.pl-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 11.5px;
}
.pl-chip b { font-family: var(--mono); font-size: 12.5px; }
.pl-chip-sku { font-family: var(--mono); font-size: 9.5px; color: var(--ink-soft); }

.pad-footer { border-top: 2px solid var(--ink); padding: 13px 20px 17px; background: var(--slip); flex-shrink: 0; }

.pad-total { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 14px; margin-bottom: 3px; }
.pad-total strong { font-size: 17px; }
.pad-total-note { font-size: 11px; color: var(--ink-soft); margin-bottom: 11px; }

.pad-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.pad-fields input { font-size: 12.5px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; }
.pad-fields input.wide { grid-column: 1 / -1; }

.pad-send {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--order);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--order-deep);
}
.pad-send:hover { background: var(--order-deep); }

.pad-alt {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  font-size: 12px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink-soft);
  cursor: pointer;
}
.pad-alt:hover { border-color: var(--ink-soft); color: var(--ink); }

.pad-sent { text-align: center; font-size: 12.5px; color: #1a7a3e; font-weight: 600; margin-top: 8px; }

.pad-art { margin-bottom: 10px; }
.pad-art .pad-alt { margin-top: 0; }
.pad-art-names { font-family: var(--mono); font-size: 11.5px; margin-top: 7px; }
.pad-art-note { font-size: 11px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }

@media (max-width: 760px) {
  .topbar { gap: 10px; padding: 10px 12px; }
  .topbar-brand { display: none; }
  .nav-arrow { display: none; }
  .pad-fields { grid-template-columns: 1fr; }
  .of-row { flex-wrap: wrap; }
}
