/* Customer Order page — matches 2HEX sales invoice XLSX (HX… / SalesInvoiceXlsxService) */
.co-page {
  --co-ink: #222222;
  --co-muted: #728086;
  --co-bullet: #b3afad;
  --co-line: #e4e4e2;
  --co-accent: #fb6b5a;
  --co-paper: #ffffff;
  --co-wash: #f3f3f1;
  --co-block: #f8f8f7;
  --co-bank-red: #ff0000;
  color: var(--co-ink);
  font-family: "BioSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Charcoal linen fabric desk under the white order “paper” */
  background-color: #3a3a3a;
  background-image: url("../img/order-fabric-bg.png");
  background-repeat: repeat;
  background-size: 360px auto;
  background-position: center top;
  /*
   * .header_transparent is position:absolute — pad the page so the orange
   * 2HEX nav stays visible and the black order bars start under it.
   */
  padding: 55px 16px 72px;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

.co-soft-flash {
  position: sticky;
  top: 120px;
  z-index: 40;
  margin: 12px auto;
  max-width: 920px;
  padding: 10px 14px;
  background: #0f766e;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

@media (max-width: 767px) {
  .co-page {
    padding-top: 70px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Full-bleed subnav stack — directly under the main 2HEX header */
.co-chrome {
  --co-chrome-bg: #111111;
  --co-chrome-bg-2: #000000;
  --co-chrome-fg: #ffffff;
  --co-chrome-muted: rgba(255, 255, 255, 0.72);
  --co-chrome-line: rgba(255, 255, 255, 0.16);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Only gap: below admin bar, before the invoice sheet */
  margin-bottom: 36px;
  position: relative;
  z-index: 8;
  background: var(--co-chrome-bg);
  color: var(--co-chrome-fg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.co-subnav {
  max-width: none;
  margin: 0;
  background: var(--co-chrome-bg);
  border: 0;
  box-shadow: none;
  color: var(--co-chrome-fg);
}

.co-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px;
  min-height: 28px;
  box-sizing: border-box;
}

.co-subnav__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.co-subnav__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--co-chrome-fg);
  line-height: 1.2;
}

.co-subnav__count {
  font-size: 12px;
  line-height: 1.2;
  color: var(--co-chrome-muted);
}

.co-subnav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 12px;
}

.co-nav-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.co-nav-link {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0.88;
}

.co-nav-link:hover,
.co-nav-link:focus {
  opacity: 1;
  text-decoration: underline;
  color: #fff;
  outline: none;
}

.co-nav-link--strong {
  font-weight: 700;
  opacity: 1;
}

.co-import-panel {
  border-top: 1px solid var(--co-chrome-line);
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 12px;
  box-sizing: border-box;
}

.co-import-panel.is-collapsed {
  display: none;
}

.co-sheet {
  max-width: 980px;
  margin: 0 auto;
  background: var(--co-paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Paper resting on fabric — soft contact + deeper lift */
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 28px 56px rgba(0, 0, 0, 0.22);
  padding: 28px 34px 24px;
  position: relative;
}

.co-freight-sheets {
  max-width: 980px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.co-sheet--freight {
  page-break-before: always;
}

.co-freight-block {
  margin: 8px 0 18px;
  padding: 16px 18px;
  background: #f8f8f7;
  border-radius: 2px;
}

.co-freight-block__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.co-freight-block__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  align-items: start;
}

.co-freight-block__desc {
  margin: 0 0 8px;
  font-size: 14px;
}

.co-freight-block__line {
  margin: 0 0 4px;
  font-size: 14px;
}

.co-freight-block__muted {
  color: #b3afad;
}

.co-freight-block__prices {
  min-width: 180px;
  text-align: right;
}

.co-freight-block__price-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
}

.co-totals--freight {
  justify-content: flex-end;
}

.co-freight-sheet-dl {
  margin: 12px 0 0;
}

@media (max-width: 767px) {
  .co-freight-block__row {
    grid-template-columns: 1fr;
  }

  .co-freight-block__prices {
    text-align: left;
    min-width: 0;
  }

  .co-freight-block__price-row {
    justify-content: flex-start;
  }
}

/* —— Invoice header (xlsx C/E | G/I | M/O) —— */
.co-inv-top {
  margin-bottom: 22px;
}

.co-inv-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 8px;
}

.co-inv-title-row h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.co-inv-logo {
  --co-logo-h: 46px;
  max-height: var(--co-logo-h);
  width: auto;
  display: block;
  flex: 0 0 auto;
  /* public/img/2hex.png has ~19% transparent right pad — pull glyph flush with seller edge */
  margin-right: calc(-1 * var(--co-logo-h) * 343 / 550);
}

.co-inv-meta {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.95fr;
  gap: 18px 22px;
  font-size: 13px;
  line-height: 1.45;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.co-inv-row {
  display: flex;
  gap: 8px;
  margin-bottom: 3px;
  align-items: flex-start;
}

.co-inv-spacer {
  height: 10px;
}

.co-lbl {
  color: var(--co-muted);
  flex: 0 0 auto;
  min-width: 0;
}

.co-val {
  color: var(--co-ink);
  word-break: break-word;
}

.co-val-multiline {
  white-space: pre-line;
}

.co-val-strong {
  font-weight: 700;
}

.co-inv-col-seller {
  text-align: right;
  color: var(--co-muted);
  font-size: 12px;
  line-height: 1.5;
}

.co-inv-col-seller p {
  margin: 0 0 2px;
}

.co-seller-name {
  color: var(--co-ink) !important;
  font-weight: 700;
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

.co-val-empty {
  color: var(--co-bullet);
}

.co-inv-col-customer {
  border-radius: 2px;
  padding: 6px 8px;
  margin: -6px -8px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  overflow: visible;
  position: relative;
  z-index: 3;
}

.co-inv-col-customer.is-editable {
  cursor: pointer;
}

.co-inv-col-customer.is-editable:hover,
.co-inv-col-customer.is-editable:focus {
  outline: none;
  background: #faf8f7;
  box-shadow: inset 0 0 0 1px #e8ddd9;
}

.co-profile-hint,
.co-login-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--co-accent);
}

.co-profile-hint a,
.co-login-hint a {
  color: var(--co-accent);
  text-decoration: underline;
}

.co-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--co-line);
}

.co-freight-btn {
  margin-left: 10px;
  padding: 2px 10px;
  font-size: 12px;
  vertical-align: middle;
}

.co-admin-actions {
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border: 1px solid #f0c36d;
  border-left: 4px solid #e2a01a;
  background: #fff8e8;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.co-admin-actions--hint {
  border-color: var(--co-line);
  border-left-color: #94a3b8;
  background: var(--co-block, #f7f7f5);
}

.co-admin-actions__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--co-ink);
}

.co-admin-actions__note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #3a2e12;
}

.co-admin-actions--hint .co-admin-actions__note {
  color: var(--co-muted);
  margin-bottom: 0;
}

.co-admin-actions__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.co-admin-toolbar {
  display: block;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: var(--co-chrome-bg-2, #000);
  border: 0;
  border-top: 1px solid var(--co-chrome-line, rgba(255, 255, 255, 0.16));
  box-shadow: none;
  position: static;
  z-index: auto;
  color: var(--co-chrome-fg, #fff);
}

.co-admin-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3px 20px;
  min-height: 26px;
  box-sizing: border-box;
}

.co-admin-toolbar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--co-chrome-muted, rgba(255, 255, 255, 0.72));
  margin-right: 2px;
  line-height: 1.2;
}

.co-doc-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 0;
}

.co-doc-kind__btn {
  min-width: 0;
}

.co-doc-kind__btn.is-active,
.co-doc-kind__btn[aria-pressed="true"] {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
}

.co-doc-kind__btn.is-active:hover,
.co-doc-kind__btn.is-active:focus,
.co-doc-kind__btn[aria-pressed="true"]:hover,
.co-doc-kind__btn[aria-pressed="true"]:focus {
  opacity: 1;
  color: #fff;
}

.co-chrome .co-edit-versions__summary {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.88;
}

.co-chrome .co-edit-versions__summary:hover,
.co-chrome .co-edit-versions__summary:focus {
  background: transparent;
  border: 0;
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.co-chrome .co-edit-versions__label {
  color: var(--co-chrome-muted, rgba(255, 255, 255, 0.72));
}

.co-chrome .co-edit-versions__active {
  color: #fff;
}

.co-chrome .co-lock__btn,
.co-chrome .co-lock__static {
  color: inherit;
  border: 0;
  background: transparent;
  padding: 0;
}

.co-chrome .co-lock__btn:hover {
  background: transparent;
  color: inherit;
  opacity: 1;
}

@media (max-width: 991px) {
  .co-soft-flash {
    top: 8px;
  }
}

.co-open-order-modal {
  width: min(520px, 100%);
}

.co-open-order-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--co-ink);
}

.co-open-order-search-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--co-muted);
}

.co-open-order-search-label input {
  font: inherit;
  font-size: 14px;
  color: var(--co-ink);
  border: 1px solid var(--co-line);
  padding: 8px 10px;
  border-radius: 4px;
}

.co-open-order-results {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--co-line);
  border-radius: 4px;
}

.co-open-order-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--co-line);
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.co-open-order-result:last-child {
  border-bottom: 0;
}

.co-open-order-result:hover {
  background: #f8fafc;
}

.co-open-order-result strong {
  font-size: 14px;
  color: var(--co-ink);
}

.co-open-order-result span {
  font-size: 12px;
  color: var(--co-muted);
}

.co-bank-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.co-bank-head .co-bank-title {
  margin: 0;
}

.co-freight-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--co-ink);
}

.co-freight-marks {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--co-muted);
}

.co-freight-marks code {
  font-family: inherit;
  color: var(--co-ink);
  background: var(--co-block);
  padding: 2px 6px;
  border-radius: 3px;
}

.co-freight-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
}

/* Keep Cancel / Create pinned; scroll the fields when the form is tall */
.co-freight-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.co-freight-form .co-modal-body {
  padding: 14px 16px 8px;
}

.co-freight-weight {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--co-line);
  border-radius: 4px;
  background: var(--co-block, #f7f7f5);
}

.co-freight-weight__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px 12px;
  align-items: end;
}

.co-freight-weight__row label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--co-muted);
}

.co-freight-weight__row input {
  font: inherit;
  font-size: 14px;
  color: var(--co-ink);
  border: 1px solid var(--co-line);
  padding: 8px 10px;
  border-radius: 4px;
  background: #fff;
}

.co-freight-weight__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--co-muted);
}

.co-freight-muted {
  font-weight: normal;
  color: var(--co-muted);
  font-size: 11px;
}

.co-freight-calc-modal {
  width: min(720px, 100%);
}

.co-freight-calc-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--co-muted);
}

.co-freight-calc-table-wrap {
  overflow: auto;
  max-height: 50vh;
  border: 1px solid var(--co-line);
  border-radius: 4px;
}

.co-freight-calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.co-freight-calc-table th,
.co-freight-calc-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--co-line);
  text-align: left;
  white-space: nowrap;
}

.co-freight-calc-table thead th {
  background: var(--co-block, #f7f7f5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--co-muted);
}

.co-freight-calc-table tfoot th {
  background: #fff;
  border-bottom: none;
  font-weight: 600;
}

.co-freight-calc-empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--co-muted);
}

@media (max-width: 640px) {
  .co-freight-weight__row {
    grid-template-columns: 1fr 1fr;
  }

  .co-freight-weight__row .co-btn {
    grid-column: 1 / -1;
  }
}

.co-freight-form .co-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.co-freight-form .co-profile-span2 {
  grid-column: 1 / -1;
}

.co-freight-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--co-muted);
}

.co-freight-form input,
.co-freight-form select,
.co-freight-form textarea {
  font: inherit;
  font-size: 14px;
  color: var(--co-ink);
  border: 1px solid var(--co-line);
  padding: 8px 10px;
  border-radius: 4px;
  background: #fff;
}

.co-price-note {
  position: relative;
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 12px 40px 12px 14px;
  border: 1px solid #f0c36d;
  border-left: 4px solid #e2a01a;
  background: #fff8e8;
  color: #3a2e12;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.co-price-note[hidden] {
  display: none !important;
}

.co-price-note__body {
  margin: 0;
}

.co-price-note strong {
  display: inline;
  color: #8a5a00;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12px;
  margin-right: 4px;
}

.co-price-note em {
  font-style: normal;
  font-weight: 700;
}

.co-price-note__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8a5a00;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.co-price-note__close:hover,
.co-price-note__close:focus {
  background: rgba(226, 160, 26, 0.15);
  outline: none;
}

.co-prod-time {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--co-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.co-prod-time[hidden] {
  display: none !important;
}

.co-totals + .co-terms {
  margin-top: 18px;
}

.co-section-head h2 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.co-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.co-count {
  font-weight: 400;
  color: var(--co-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* —— Compact batches (reset shop/cart chrome that causes overlaps) —— */
.co-batches {
  min-height: 48px;
}

.co-batches .cart_page {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--co-block);
  box-shadow: none !important;
  border: 0;
  border-radius: 0;
  margin-bottom: 10px !important;
  padding: 10px 12px 8px !important;
  overflow: visible;
}

.co-batches .cart_page > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.co-batches .cart_page > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  float: none !important;
  width: auto !important;
}

/* Thumbnail column — kill the big black shop square */
.co-batches .cart_page > .row > .col-lg-2,
.co-batches .cart_page > .row > .col-md-3,
.co-batches .cart_page > .row > [class*="col-"]:first-child {
  flex: 0 0 56px !important;
  max-width: 56px !important;
  min-width: 56px !important;
  margin-right: 10px;
}

.co-batches .cart_page > .row > .col-lg-10,
.co-batches .cart_page > .row > .col-md-9,
.co-batches .cart_page > .row > [class*="col-"]:nth-child(2) {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0;
}

.co-batches .single_product,
.co-batches .single_product:hover,
.co-batches .single_product figure {
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

.co-batches .product_thumb,
.co-batches .product_thumb.active,
.co-batches .cart_page .product_thumb {
  position: static !important;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  border: 1px solid #ddd !important;
  margin: 0 !important;
  padding: 2px !important;
  overflow: hidden !important;
  background: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.co-batches .product_thumb a,
.co-batches .product_thumb .primary_img,
.co-batches .cart_page .product_thumb a {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: center;
}

.co-batches .product_thumb img,
.co-batches .cart_page .product_thumb a img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  object-fit: contain;
}

.co-batches h3 {
  font-size: 13px !important;
  line-height: 1.25 !important;
  margin: 0 0 6px !important;
  font-weight: 700;
  font-family: inherit !important;
}

.co-batches h3 a {
  color: var(--co-ink);
}

/* Specs grid: exactly 2 spec columns + 1 price column (never a 4th) */
.co-batches .card-content {
  margin: 0 !important;
  line-height: 1.35 !important;
  position: static !important;
}

.co-batches .card-content > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(110px, 140px);
  gap: 4px 12px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: start;
}

.co-batches .card-content > .row > [class*="col-"] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  margin-left: 0 !important;
}

.co-batches .card-content > .row > .card_footer {
  grid-column: 3 !important;
  grid-row: 1 !important;
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  padding-bottom: 4px;
  justify-self: stretch;
}

.co-batches .card-content > .row > .col-lg-12,
.co-batches .card-content > .row > .col-md-12 {
  grid-column: 1 / -1 !important;
  padding-top: 4px;
}

.co-batches .card-content ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.co-batches .card-content li {
  font-size: 11px !important;
  line-height: 1.35 !important;
  margin: 0 0 1px !important;
  color: var(--co-bullet);
  position: static !important;
}

.co-batches .card-content li span,
.co-batches .card-content li a {
  font-size: 11px !important;
  font-family: inherit !important;
  color: var(--co-ink);
}

.co-batches .card-content li > a {
  color: var(--co-bullet);
}

.co-batches .card-price {
  margin: 0 0 4px !important;
  position: static !important;
}

.co-batches .card-price p,
.co-batches .card_footer p {
  font-size: 11px !important;
  line-height: 1.3 !important;
  margin: 0 0 2px !important;
  font-family: inherit !important;
  color: var(--co-muted) !important;
}

.co-batches .card-price p span,
.co-batches .card_footer span {
  font-size: 12px !important;
  font-family: inherit !important;
  color: var(--co-accent) !important;
}

.co-batches .card-price p span[style],
.co-batches .card-price span[style*="18px"] {
  font-size: 12px !important;
}

/* Actions strip: outside content, full bottom-right of the batch card */
.co-batches .card-buttons,
.co-batches .co-batch-actions {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  width: 100%;
  box-sizing: border-box;
  gap: 0 4px;
  margin: 8px 0 0 !important;
  padding: 6px 0 0 !important;
  border-top: 1px solid var(--co-line);
  background: transparent;
  line-height: 1.2;
  white-space: nowrap;
  z-index: auto;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
}

.co-batches .card-buttons a,
.co-batches .card-buttons button,
.co-batches .co-batch-actions a,
.co-batches .co-batch-actions button {
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: var(--co-muted) !important;
  font-family: inherit !important;
  font-weight: 500;
  border: 0 !important;
  background: transparent !important;
  padding: 0 2px !important;
  margin: 0 !important;
  cursor: pointer;
  text-decoration: none;
}

.co-batches .card-buttons a:hover,
.co-batches .card-buttons button:hover,
.co-batches .co-batch-actions a:hover,
.co-batches .co-batch-actions button:hover {
  color: var(--co-accent) !important;
}

.co-batches .card-buttons form,
.co-batches .co-batch-actions form {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.co-batches .card-dot {
  display: inline !important;
  font-size: 10px !important;
  line-height: 1 !important;
  color: var(--co-line) !important;
  font-family: inherit !important;
  margin: 0 1px !important;
  vertical-align: middle;
}

/* Keep prices in the content column; don't leave an empty actions hole */
.co-batches .card_footer .card-buttons {
  display: none !important;
}

.co-batches .mb-55 {
  margin-bottom: 10px !important;
}

.co-batches hr {
  margin: 6px 0 !important;
}

.co-batches .card-content > .row > .col-lg-12 p {
  font-size: 11px !important;
  margin: 0 !important;
}

.co-empty {
  border: 1px dashed var(--co-line);
  padding: 18px 14px;
  text-align: center;
  color: var(--co-muted);
  margin-bottom: 10px;
  font-size: 13px;
}

/* —— Totals —— */
.co-totals {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--co-line);
  font-size: 13px;
}

.co-totals-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 4px;
  min-width: 220px;
}

.co-totals-left .co-totals-row {
  justify-content: flex-start;
}

.co-totals-grand .co-lbl {
  font-size: 14px;
  align-self: center;
}

.co-total-coral {
  color: var(--co-accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.co-totals-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.co-totals-place {
  margin-top: 2px;
}

.co-totals-place .co-btn {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 16px;
  min-width: 140px;
}


/* —— Terms / Bank / Disclaimer —— */
.co-terms {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--co-line);
  font-size: 12px;
  line-height: 1.45;
}

.co-terms h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.co-terms p {
  margin: 0 0 6px;
  color: var(--co-ink);
}

.co-deposit {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
  font-weight: 700;
}

.co-bank {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.4;
}

.co-bank-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--co-bank-red);
}

.co-bank-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  margin-bottom: 2px;
}

.co-bank-row .co-lbl {
  font-size: 11px;
}

.co-disclaimer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--co-line);
}

.co-disclaimer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--co-muted);
  text-align: center;
}

.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--co-ink);
  background: #fff;
  color: var(--co-ink);
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.co-btn:hover,
.co-btn:focus {
  text-decoration: none;
  color: var(--co-ink);
  background: var(--co-wash);
  border-color: var(--co-ink);
}

/* Same look for every variant — no red / filled accent buttons on /order */
.co-btn-primary,
.co-btn-ghost,
.co-btn-danger,
.co-btn-place,
.co-btn-save-editing,
.co-btn.co-btn-primary,
.co-btn.co-btn-ghost,
.co-btn.co-btn-danger,
.co-btn.co-btn-place,
.co-btn.co-btn-save-editing,
button.co-btn-save-editing,
a.co-btn-primary,
a.co-btn-ghost {
  background: #fff !important;
  border: 1px solid var(--co-ink) !important;
  color: var(--co-ink) !important;
  font-weight: 500 !important;
  min-width: 0 !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.co-btn-primary:hover,
.co-btn-primary:focus,
.co-btn-ghost:hover,
.co-btn-ghost:focus,
.co-btn-danger:hover,
.co-btn-danger:focus,
.co-btn-place:hover,
.co-btn-place:focus,
.co-btn-save-editing:hover,
.co-btn-save-editing:focus,
.co-btn.co-btn-primary:hover,
.co-btn.co-btn-primary:focus,
.co-btn.co-btn-ghost:hover,
.co-btn.co-btn-ghost:focus,
.co-btn.co-btn-danger:hover,
.co-btn.co-btn-danger:focus,
.co-btn.co-btn-place:hover,
.co-btn.co-btn-place:focus,
.co-btn.co-btn-save-editing:hover,
.co-btn.co-btn-save-editing:focus,
button.co-btn-save-editing:hover,
button.co-btn-save-editing:focus {
  background: var(--co-wash) !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
}

.co-btn:disabled,
.co-btn-primary:disabled,
.co-btn-danger:disabled,
.co-btn-save-editing:disabled,
.co-btn.co-btn-primary:disabled,
.co-btn.co-btn-danger:disabled,
.co-btn.co-btn-save-editing:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Product picker + embedded configurator (same popup) */
.co-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.co-overlay.is-open {
  display: flex;
}

.co-modal {
  background: #fff;
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.co-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--co-line);
  flex: 0 0 auto;
}

.co-modal-head-left,
.co-modal-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.co-modal-head h3 {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-modal-back {
  padding: 5px 8px !important;
  font-size: 11px !important;
}

.co-modal-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--co-muted);
  padding: 0 4px;
}

.co-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.co-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
}

.co-product-card {
  border: 1px solid var(--co-line);
  background: #fff;
  cursor: pointer;
  padding: 10px 8px 12px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.co-product-card:hover {
  border-color: var(--co-accent);
  transform: translateY(-1px);
}

.co-product-card img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  margin-bottom: 8px;
}

.co-product-card span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

.co-modal.is-loading .co-product-grid {
  display: none !important;
}

.co-modal.is-loading .co-config-loading {
  display: flex !important;
}

.co-config-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  min-height: 280px;
  background: #fff;
  text-align: center;
}

.co-config-loading[hidden] {
  display: none !important;
}

.co-config-loading__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fb6b5a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.co-config-loading__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.co-config-loading__name span {
  font-weight: 400;
  color: #728086;
  font-size: 13px;
}

.co-config-loading__joke {
  margin: 0 auto;
  max-width: 420px;
  min-height: 3.2em;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
  transition: opacity 0.25s ease;
}

.co-config-loading__joke.is-fading {
  opacity: 0;
}

@media (max-width: 900px) {
  .co-inv-meta {
    grid-template-columns: 1fr 1fr;
  }

  .co-inv-col-seller {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .co-sheet {
    padding: 18px 14px;
  }

  .co-inv-meta {
    grid-template-columns: 1fr;
  }

  .co-inv-title-row {
    gap: 12px;
  }

  .co-inv-logo {
    --co-logo-h: 40px;
  }

  .co-batches .cart_page {
    padding: 8px 8px 8px !important;
  }

  .co-batches .cart_page > .row > .col-lg-2,
  .co-batches .cart_page > .row > .col-md-3,
  .co-batches .cart_page > .row > [class*="col-"]:first-child {
    flex: 0 0 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
  }

  .co-batches .product_thumb,
  .co-batches .product_thumb.active,
  .co-batches .cart_page .product_thumb {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }

  .co-batches .product_thumb img,
  .co-batches .cart_page .product_thumb a img {
    max-width: 38px !important;
    max-height: 38px !important;
  }

  .co-batches .card-content > .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .co-batches .card-content > .row > .card_footer {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .co-bank-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 6px;
  }

  .co-export-hint {
    margin-left: 0;
    width: 100%;
  }

  .co-subnav__inner {
    align-items: flex-start;
  }

  .co-subnav__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 14px;
  }
}

/* Profile popup on Order page */
.co-profile-modal {
  width: min(720px, 100%);
  max-height: min(90vh, 920px);
}

.co-profile-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.co-profile-body {
  overflow: auto;
  max-height: min(70vh, 680px);
  padding: 14px 16px 8px;
}

.co-profile-lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--co-muted);
}

.co-profile-error {
  margin: 0 0 12px;
  padding: 8px 10px;
  background: #fff1ef;
  border: 1px solid #f5c2ba;
  color: #a33;
  font-size: 13px;
}

.co-profile-fieldset {
  border: 1px solid var(--co-line);
  margin: 0 0 14px;
  padding: 10px 12px 12px;
}

.co-profile-fieldset legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--co-muted);
}

.co-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.co-profile-span2 {
  grid-column: 1 / -1;
}

.co-profile-grid label,
.co-profile-check {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--co-muted);
}

.co-profile-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--co-ink);
  font-size: 13px;
}

.co-profile-grid input[type="text"],
.co-profile-grid input[type="email"] {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.co-profile-grid input:focus {
  outline: none;
  border-color: var(--co-accent);
}

.co-profile-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--co-line);
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .co-profile-grid {
    grid-template-columns: 1fr;
  }

  .co-profile-span2 {
    grid-column: auto;
  }
}

/* Manual product option */
.co-product-card--manual {
  border-style: dashed;
  border-color: #c9c4c0;
  background: #faf9f7;
}

.co-product-card--manual span {
  font-weight: 600;
}

.co-manual-modal {
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
}

.co-manual-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.co-manual-body {
  overflow: auto;
  max-height: min(70vh, 640px);
  padding: 14px 16px 8px;
}

.co-manual-lead,
.co-manual-price-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--co-muted);
}

.co-optional {
  font-weight: 400;
  color: var(--co-bullet);
  text-transform: none;
  letter-spacing: 0;
}

.co-profile-grid textarea {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
}

.co-profile-grid textarea:focus,
.co-profile-grid input[type="number"]:focus {
  outline: none;
  border-color: var(--co-accent);
}

.co-profile-grid input[type="number"],
.co-profile-grid input[readonly] {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.co-profile-grid input[readonly] {
  background: #f7f7f5;
  color: var(--co-muted);
}

.co-price-pending {
  color: var(--co-accent) !important;
  font-weight: 600;
}

.co-manual-desc {
  white-space: pre-line;
}

/* Excel-like editable cells on manual batches */
.co-xl-sheet .co-xl-title-wrap {
  margin: 0 0 6px !important;
}

.co-xl-cell {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  outline: none;
  padding: 1px 4px;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: 1.35;
  border-radius: 0;
  min-width: 1.25em;
  max-width: 100%;
  vertical-align: baseline;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.co-xl-cell:hover {
  background: rgba(251, 107, 90, 0.06);
}

.co-xl-cell:focus {
  border-color: #fb6b5a;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(251, 107, 90, 0.15);
}

.co-xl-title {
  display: block;
  width: 100%;
  font-size: 13px !important;
  font-weight: 700;
  padding: 2px 4px;
}

.co-xl-row {
  display: flex !important;
  align-items: baseline;
  gap: 2px;
  list-style: none;
}

.co-xl-label {
  flex: 0 1 auto;
  min-width: 3.5em;
  max-width: 42%;
  color: var(--co-muted);
  text-align: left;
}

.co-xl-film-charge {
  flex: 0 0 auto;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
  line-height: 1.35;
  color: var(--co-muted);
  cursor: pointer;
  text-decoration: none;
}

.co-xl-film-charge:hover,
.co-xl-film-charge:focus {
  color: var(--co-ink);
  text-decoration: underline;
  outline: none;
  background: transparent;
  border: 0;
}

.co-xl-row-films .co-xl-value {
  flex: 0 1 3.5em;
  max-width: 4.5em;
}

.co-xl-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--co-ink);
}

.co-xl-sep {
  color: var(--co-muted);
  flex: 0 0 auto;
  padding: 0 1px;
}

.co-xl-price {
  width: 4.8em;
  text-align: left;
  font-weight: 600;
  display: inline-block;
}

.co-xl-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--co-bullet);
}

.co-xl-saved-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #f0c2bb;
  background: #fff7f6;
  font-size: 12px;
  color: var(--co-ink);
}

.co-xl-saved-prompt[hidden] {
  display: none !important;
}

.co-xl-saved-prompt-text {
  font-weight: 600;
  margin-right: 4px;
}

.co-xl-saved-prompt .co-btn {
  padding: 4px 12px;
  font-size: 12px;
  min-height: 0;
  line-height: 1.3;
}

.co-xl-saved-prompt-status {
  font-size: 11px;
  color: var(--co-muted);
}

.co-xl-saved-prompt-status.is-ok {
  color: #1b7a3d;
}

.co-xl-saved-prompt-status.is-error {
  color: #a33;
}

.co-xl-sheet.is-editing {
  box-shadow: inset 0 0 0 1px #e8ddd9;
}

.co-xl-sheet.is-saving .co-xl-hint::after {
  content: " Saving…";
  color: var(--co-muted);
}

.co-xl-sheet.is-saved .co-xl-hint::after {
  content: " Saved";
  color: #2f7d4a;
}

.co-xl-sheet.is-save-error .co-xl-hint::after {
  content: " Couldn’t save";
  color: #a33;
}

.co-batches .co-xl-sheet .card-content li {
  margin-bottom: 2px;
}

/* XLSX download under the white invoice sheet */
.co-xlsx-bar {
  max-width: 980px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 2px;
}

.co-xlsx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.co-dl-icon {
  font-size: 14px;
  line-height: 1;
}

.co-xlsx-link:hover,
.co-xlsx-link:focus {
  background: #fb6b5a;
  border-color: #fb6b5a;
  color: #fff;
  text-decoration: none;
}

.co-xlsx-note {
  font-size: 12px;
  color: var(--co-muted);
}

/* Admin invoice customer: same look as read-only contact block */
.co-inv-col-customer.is-admin-customer {
  cursor: default;
}

.co-user-pick {
  position: relative;
  margin: 0 0 4px;
}

.co-user-pick-input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 2px;
  margin: 0 0 2px;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  color: var(--co-muted);
  background: transparent;
}

.co-user-pick-input::placeholder {
  color: var(--co-bullet);
}

.co-user-pick-input:focus {
  outline: none;
  border-bottom-color: var(--co-line);
  color: var(--co-ink);
}

.co-user-pick-clear {
  position: absolute;
  right: 0;
  top: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 11px;
  color: var(--co-accent);
  cursor: pointer;
}

.co-user-pick-clear[hidden] {
  display: none !important;
}

.co-user-pick-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--co-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.co-user-pick-results[hidden] {
  display: none !important;
}

.co-user-pick-item {
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0efed;
}

.co-user-pick-item:hover,
.co-user-pick-item:focus {
  background: #faf8f7;
  color: #222;
}

.co-user-pick-empty {
  color: var(--co-muted);
  cursor: default;
}

.co-user-pick-empty:hover,
.co-user-pick-empty:focus {
  background: #fff;
}

.co-cust-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--co-ink);
  line-height: inherit;
  width: 100%;
  box-sizing: border-box;
  resize: none;
  appearance: none;
  border-radius: 0;
}

textarea.co-cust-input {
  min-height: 2.6em;
  overflow: hidden;
  white-space: pre-line;
}

.co-cust-input:hover,
.co-cust-input:focus {
  outline: none;
  background: transparent;
}

/* Manual product image upload inside grey thumb */
.co-batches .co-manual-thumb {
  cursor: pointer;
  position: relative !important;
}

.co-batches .co-manual-thumb.is-uploading {
  opacity: 0.65;
  pointer-events: none;
}

.co-batches .co-manual-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.co-batches .co-manual-thumb-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

/* —— Re-add saved batches —— */
.co-readd-modal {
  width: min(640px, 100%);
  max-height: min(88vh, 920px);
}

.co-readd-body {
  padding: 14px 16px 8px;
  gap: 10px;
  /* Keep list scrolling; footer stays pinned below */
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.co-readd-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--co-line);
  background: #fff;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06);
}

.co-readd-foot-spacer {
  flex: 1 1 auto;
}

.co-btn-danger {
  /* unified with .co-btn — kept for markup compatibility */
}

.co-btn-danger:hover,
.co-btn-danger:focus {
  /* unified with .co-btn */
}

.co-btn-danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Beat site-wide button overrides — keep white/black like all /order buttons */
.co-readd-foot .co-btn.co-btn-primary,
.co-readd-foot .co-btn-primary {
  background: #fff !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
  min-width: 0;
  font-weight: 500;
}

.co-readd-foot .co-btn.co-btn-primary:hover,
.co-readd-foot .co-btn.co-btn-primary:focus,
.co-readd-foot .co-btn-primary:hover,
.co-readd-foot .co-btn-primary:focus {
  background: var(--co-wash) !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
}

.co-readd-foot .co-btn.co-btn-primary:disabled,
.co-readd-foot .co-btn-primary:disabled {
  background: #fff !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
  opacity: 0.45;
  cursor: not-allowed;
}

.co-readd-owner-label {
  display: block;
  font-size: 12px;
  color: var(--co-muted);
  margin-bottom: 6px;
}

.co-readd-filter {
  flex: 0 0 auto;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-readd-keyword {
  width: 100%;
}

.co-readd-select-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.co-readd-select-bar .co-btn {
  padding: 4px 10px;
  font-size: 12px;
}

.co-readd-select-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--co-muted);
}

.co-readd-owner-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.co-readd-user-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--co-line);
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
}

.co-readd-self-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.co-readd-user-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--co-line);
  background: #fff;
  max-height: 180px;
  overflow: auto;
}

.co-readd-user-results li {
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0ee;
}

.co-readd-user-results li:last-child {
  border-bottom: 0;
}

.co-readd-user-results li:hover,
.co-readd-user-results li:focus {
  background: #faf8f7;
  outline: none;
}

.co-readd-user-results .co-readd-user-empty {
  color: var(--co-muted);
  cursor: default;
}

.co-readd-owner-current {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--co-muted);
}

.co-readd-status {
  margin: 0;
  font-size: 13px;
  color: var(--co-muted);
}

.co-readd-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.co-readd-group-title {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--co-muted);
}

.co-readd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--co-line);
  background: var(--co-block);
  margin-bottom: 6px;
}

.co-readd-item:hover {
  border-color: #d8d0cc;
}

.co-readd-item.is-selected {
  background: #f3f8ff;
  border-color: #93c5fd;
}

.co-readd-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  cursor: pointer;
  margin: 0;
}

.co-readd-item-main input {
  flex: 0 0 auto;
  margin: 0;
}

.co-readd-item-delete {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 12px;
  padding: 4px 6px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.co-readd-item-delete:hover,
.co-readd-item-delete:focus {
  color: #912018;
}

.co-readd-item-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid #e4deda;
  background: #eee;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.co-readd-item-thumb.is-empty {
  background: repeating-linear-gradient(
    -45deg,
    #f0eeec,
    #f0eeec 4px,
    #e8e4e0 4px,
    #e8e4e0 8px
  );
}

.co-readd-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.co-readd-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.co-readd-item-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--co-ink);
}

.co-readd-item-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--co-muted);
  word-break: break-word;
}

/* Admin: drop HX invoice Excel → saved batches */
.co-import-drop {
  margin: 0;
  padding: 14px 16px;
  border: 1.5px dashed #c9c2bd;
  background: #fbfaf9;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 1fr);
  gap: 14px 18px;
  align-items: start;
  outline: none;
}

.co-chrome .co-import-drop {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.co-import-drop.is-dragover {
  border-color: var(--co-accent, #fb6b5a);
  background: #fff8f6;
}

.co-chrome .co-import-drop.is-dragover {
  border-color: #fb6b5a;
  background: rgba(251, 107, 90, 0.16);
}

.co-import-drop.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

.co-import-drop-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-ink);
  margin-bottom: 4px;
}

.co-chrome .co-import-drop-title {
  color: #fff;
}

.co-import-drop-sub {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--co-muted);
}

.co-chrome .co-import-drop-sub,
.co-chrome .co-import-owner-label,
.co-chrome .co-import-owner-current,
.co-chrome .co-import-also,
.co-chrome .co-import-status {
  color: var(--co-chrome-muted, rgba(255, 255, 255, 0.72));
}

.co-import-owner-label {
  display: block;
  font-size: 11px;
  color: var(--co-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.co-import-owner-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.co-import-user-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--co-line);
  padding: 7px 9px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}

.co-import-user-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--co-line);
  background: #fff;
  max-height: 160px;
  overflow: auto;
}

.co-import-user-results li {
  padding: 7px 9px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0ee;
}

.co-import-user-results li:last-child {
  border-bottom: 0;
}

.co-import-user-results li:hover {
  background: #faf8f7;
}

.co-import-user-results .co-import-user-empty {
  color: var(--co-muted);
  cursor: default;
}

.co-import-owner-current {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--co-muted);
}

.co-import-also {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--co-ink);
  cursor: pointer;
}

.co-import-also input {
  margin-top: 2px;
}

.co-import-status {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--co-muted);
}

.co-import-status.is-ok {
  color: #2f6b3a;
}

.co-import-status.is-error {
  color: #b42318;
}

@media (max-width: 720px) {
  .co-import-drop {
    grid-template-columns: 1fr;
  }
}

.co-edit-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: #444;
  font-size: 11px;
  line-height: 1.15;
  max-width: min(420px, 100%);
  min-width: 0;
}

.co-edit-banner--inline {
  flex: 1 1 auto;
  min-width: 0;
}

.co-edit-banner strong {
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.co-edit-banner__hint {
  color: #6a6a6a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.co-edit-banner__main {
  display: contents;
}

.co-edit-banner__actions {
  display: none;
}

.co-admin-toolbar .co-edit-banner {
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid #cfcfcf;
}

.co-bank-pending {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px dashed #fca5a5;
  background: #fff7f7;
  border-radius: 8px;
}

.co-bank-pending__title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--co-bank-red);
}

.co-bank-pending__note {
  margin: 0 0 0.85rem;
  color: var(--co-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 42rem;
}

.co-iban-toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.co-iban-toggle:hover,
.co-iban-toggle:focus {
  color: var(--co-bank-red);
}

.co-iban-hint {
  margin: 0 0 6px 158px;
  font-size: 10px;
  color: var(--co-muted);
}

.co-pay-extra-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
}

.co-pay-extra {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.4;
  background: #f0f0f0;
  border: 1px solid #e2e2e2;
  padding: 12px 14px;
  min-width: 0;
}

.co-pay-extra__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--co-bank-red);
}

.co-pay-extra__link,
.co-pay-extra__mono {
  margin: 0;
  word-break: break-all;
  font-size: 12px;
  color: var(--co-ink);
}

.co-pay-extra__note,
.co-pay-extra__why {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--co-muted);
}

.co-pay-bitcoin__save {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  font-weight: 700;
}

.co-pay-bitcoin__pct {
  font-weight: 400;
  color: var(--co-muted);
  font-size: 11px;
}

@media (max-width: 720px) {
  .co-pay-extra-row {
    grid-template-columns: 1fr;
  }
}

.co-payment-modal {
  max-width: 560px;
}

.co-payment-picker__intro {
  margin: 0 0 1rem;
  color: var(--co-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.co-payment-picker__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.co-payment-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--co-line, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.co-payment-option:hover {
  border-color: #cbd5e1;
}

.co-payment-option.is-added {
  opacity: 0.72;
  cursor: default;
  background: #f8fafc;
}

.co-payment-option input {
  margin-top: 0.2rem;
}

.co-payment-option__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.co-payment-option__label {
  font-weight: 700;
  font-size: 0.95rem;
}

.co-payment-option__label em {
  font-weight: 500;
  font-style: normal;
  color: var(--co-muted);
}

.co-payment-option__badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

.co-payment-option__note {
  font-size: 0.85rem;
  color: #9a3412;
  line-height: 1.4;
}

.co-payment-picker__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--co-line, #e2e8f0);
}

.co-contact-add-btn {
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 12px;
  vertical-align: middle;
}

.co-inv-invoice-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.co-invoice-edit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.co-invoice-edit[hidden] {
  display: none !important;
}

.co-invoice-edit input {
  font: inherit;
  font-size: 14px;
  min-width: 160px;
  padding: 4px 8px;
  border: 1px solid var(--co-line);
  border-radius: 4px;
}

.co-invoice-edit-hint {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--co-muted);
  line-height: 1.35;
}

.co-btn-sm {
  padding: 2px 8px;
  font-size: 12px;
}

.co-contact-modal {
  width: min(480px, 100%);
}

.co-contact-picker__intro {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--co-ink);
}

.co-contact-picker__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-contact-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--co-line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.co-contact-option:hover {
  border-color: #94a3b8;
}

.co-contact-option.is-selected {
  border-color: #334155;
  background: #f8fafc;
}

.co-contact-option input {
  margin-top: 3px;
}

.co-contact-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.co-contact-option__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--co-ink);
}

.co-contact-option__meta {
  font-size: 12px;
  color: var(--co-muted);
  word-break: break-word;
}

.co-contact-picker__empty {
  margin: 0;
  font-size: 13px;
  color: var(--co-muted);
}

.co-contact-picker__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--co-line, #e2e8f0);
}

.co-edit-save-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--co-line, #e2e8f0);
}

/* Save changes uses the same white/black narrow button as everything else */
.co-btn.co-btn-save-editing,
.co-btn-save-editing,
button.co-btn-save-editing {
  background: #fff !important;
  border: 1px solid var(--co-ink) !important;
  color: var(--co-ink) !important;
  font-weight: 500 !important;
  min-width: 0;
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.co-btn.co-btn-save-editing:hover,
.co-btn.co-btn-save-editing:focus,
.co-btn-save-editing:hover,
.co-btn-save-editing:focus,
button.co-btn-save-editing:hover,
button.co-btn-save-editing:focus {
  background: var(--co-wash) !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
}

.co-btn.co-btn-save-editing:disabled,
.co-btn-save-editing:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.co-edit-versions {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
}

.co-edit-versions__summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  user-select: none;
}

.co-edit-versions__summary::-webkit-details-marker {
  display: none;
}

.co-edit-versions__summary::after {
  content: "▾";
  font-size: 9px;
  opacity: 0.7;
}

.co-edit-versions[open] > .co-edit-versions__summary::after {
  content: "▴";
}

.co-edit-versions__label {
  display: inline;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a6a6a;
  margin: 0;
}

.co-edit-versions__active {
  color: #222;
  white-space: nowrap;
}

.co-edit-versions__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  min-width: 220px;
  background: #fff;
  border: 1px solid #222;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.co-edit-versions__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #222;
  padding: 2px 2px;
}

.co-edit-versions__badge {
  font-size: 10px;
  padding: 1px 5px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  border-radius: 0;
  white-space: nowrap;
}

.co-btn-place {
  /* unified with .co-btn */
}

.co-btn-place:hover,
.co-btn-place:focus {
  /* unified with .co-btn */
}

.co-place-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.co-place-overlay[hidden] {
  display: none !important;
}

.co-place-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  padding: 1.35rem 1.35rem 1rem;
}

.co-place-close {
  position: absolute;
  top: .65rem;
  right: .75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.co-place-dialog h2 {
  margin: 0 0 .65rem;
  font-size: 1.25rem;
}

.co-place-lead {
  margin: 0 0 .75rem;
  color: #334155;
}

.co-place-list {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  color: #334155;
}

.co-place-list li {
  margin-bottom: .45rem;
}

.co-place-invoice {
  margin: 0 0 .85rem;
  font-size: .98rem;
  font-weight: 600;
  color: #0f172a;
}

.co-place-note {
  margin: 0 0 1rem;
  font-size: .92rem;
  color: #64748b;
}

.co-place-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  font-size: .95rem;
  color: #0f172a;
}

.co-place-check input {
  margin-top: .2rem;
}

.co-place-error {
  margin: 0 0 .75rem;
  color: #b42318;
  font-size: .92rem;
}

.co-place-foot {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  flex-wrap: wrap;
  padding-top: .35rem;
}

/* Place-order modal buttons — same white/black as the rest of /order */
.co-place-foot .co-btn.co-btn-primary,
.co-place-foot .co-btn-primary {
  background: #fff !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
  font-weight: 500;
}

.co-place-foot .co-btn.co-btn-primary:hover,
.co-place-foot .co-btn.co-btn-primary:focus,
.co-place-foot .co-btn-primary:hover,
.co-place-foot .co-btn-primary:focus {
  background: var(--co-wash) !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
}

.co-place-foot .co-btn.co-btn-primary:disabled,
.co-place-foot .co-btn-primary:disabled {
  background: #fff !important;
  border-color: var(--co-ink) !important;
  color: var(--co-ink) !important;
  opacity: 0.45;
  cursor: not-allowed;
}


/* First-batch onboarding modal */
.co-first-batch-modal {
  max-width: 520px;
}
.co-first-batch-lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--co-ink);
}
.co-first-batch-list {
  margin: 0;
  padding-left: 22px;
}
.co-first-batch-list li {
  margin: 0 0 12px;
}
.co-first-batch-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--co-accent);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.co-first-batch-link:hover,
.co-first-batch-link:focus {
  color: #e45545;
}

/* Order lock open / closed (order form + shipping profile) — icon only, text-sized */
.co-lock {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  vertical-align: middle;
  line-height: 1.2;
  color: inherit;
}
.co-lock__btn,
.co-lock__static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  height: 1.2em;
  width: 1.2em;
  cursor: default;
}
.co-lock__btn {
  cursor: pointer;
  font: inherit;
}
.co-lock__btn:hover {
  opacity: 0.85;
}
.co-lock.is-locked .co-lock__btn,
.co-lock.is-locked .co-lock__static {
  color: #f0b4ad;
}
.co-lock.is-unlocked .co-lock__btn,
.co-lock.is-unlocked .co-lock__static {
  color: #9dcea0;
}
.co-modal-head .co-lock.is-locked .co-lock__btn,
.co-modal-head .co-lock.is-locked .co-lock__static {
  color: #b33b2e;
}
.co-modal-head .co-lock.is-unlocked .co-lock__btn,
.co-modal-head .co-lock.is-unlocked .co-lock__static {
  color: #2f6b2c;
}
.co-lock__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 1em;
  height: 1em;
}
.co-lock__icon svg {
  width: 1em;
  height: 1em;
  display: block;
}
.co-lock-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #f0b4ad;
  border-radius: 6px;
  background: #fff5f3;
  color: #7a2e26;
  font-size: 13px;
  line-height: 1.4;
}
.co-lock-banner--page {
  margin: 8px 16px 0;
}
.co-page.is-order-locked .co-sheet {
  opacity: 0.92;
}
.co-modal-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.co-profile-form[data-co-locked="1"] input,
.co-profile-form[data-co-locked="1"] textarea,
.co-profile-form[data-co-locked="1"] select,
.co-profile-form[data-co-locked="1"] button[type="submit"] {
  pointer-events: none;
  opacity: 0.65;
}
