/* =================== account-quick-order.css =================== */
/* Quick-order page styles only. */

.hc-qo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--hc-sp-5, 28px);
  align-items: start;
}

.hc-qo-main {
  padding: var(--hc-sp-5, 28px);
}

.hc-qo__title {
  margin-bottom: var(--hc-sp-2, 10px);
}

.hc-qo__lede {
  margin: 0;
}

.hc-qo {
  margin-top: var(--hc-sp-5, 28px);
}

.hc-qo__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hc-sp-2, 10px);
  margin-bottom: var(--hc-sp-3, 14px);
}

.hc-qo__upload {
  cursor: pointer;
  position: relative;
}

.hc-qo__file {
  display: none;
}

.hc-qo__hint {
  margin-left: auto;
}

.hc-qo-tbl {
  width: 100%;
  border-collapse: collapse;
}

.hc-qo-tbl thead tr {
  border-bottom: 2px solid rgba(26, 23, 20, 0.1);
}

.hc-qo-tbl__th {
  padding: 8px 4px;
  text-align: left;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-muted, rgba(26, 23, 20, 0.55));
}

.hc-qo-tbl__th--sku {
  width: 30%;
}

.hc-qo-tbl__th--qty {
  width: 100px;
  text-align: right;
}

.hc-qo-tbl__th--rm {
  width: 40px;
}

.hc-qo-tbl__tr {
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
}

.hc-qo-tbl__cell {
  padding: var(--hc-sp-2, 10px) 4px;
  vertical-align: top;
}

.hc-qo-tbl__cell--qty {
  text-align: right;
}

.hc-qo-tbl__cell--rm {
  text-align: center;
}

.hc-qo-tbl__sku-input {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
}

.hc-qo-tbl__qty-input {
  width: 80px;
  text-align: right;
}

.hc-qo-tbl__ok-name {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
}

.hc-qo-tbl__err {
  font-size: 11px;
}

.hc-qo__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--hc-sp-3, 14px);
  margin-top: var(--hc-sp-5, 28px);
}

.hc-qo__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-sp-2, 10px);
}

.hc-qo-hint {
  padding: var(--hc-sp-4, 20px);
}

.hc-qo-hint__text {
  margin-top: var(--hc-sp-2, 10px);
}

.hc-qo-hint__pre {
  margin-top: var(--hc-sp-2, 10px);
  padding: var(--hc-sp-2, 10px);
  border-radius: 8px;
  background: var(--hc-bg, #f8f6f3);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  white-space: pre-wrap;
  word-break: break-word;
}

.hc-qo-hint__note {
  margin-top: var(--hc-sp-2, 10px);
}

@media (max-width: 1024px) {
  .hc-qo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hc-qo-main {
    padding: var(--hc-sp-4, 16px);
  }

  .hc-qo-tbl__th:nth-child(2),
  .hc-qo-tbl__cell:nth-child(2) {
    min-width: 180px;
  }
}
