/* Thin app adapter over product-service/static/shared components. */

:root {
  --admin-page-header-gap: 18px;
  --admin-card-section-gap: 16px;
  --admin-card-field-gap: 14px;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(430px, 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-panel);
  box-shadow: var(--shadow-panel);
  padding: 28px;
  backdrop-filter: blur(18px);
}

.login-card .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand-title {
  color: var(--text-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-strong);
  line-height: var(--line-height-tight);
}

.brand-title.large {
  font-size: var(--font-size-lg);
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-snug);
}

.brand-mark-frame {
  overflow: hidden;
  background: var(--surface-control);
  clip-path: inset(0 round var(--radius-sm));
}

.brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-card .brand-mark {
  width: 40px;
  height: 40px;
}

.login-card .admin-form-actions {
  margin-top: var(--admin-card-field-gap);
}

.mt-12 {
  margin-top: 12px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

[data-view-panel] > .admin-topbar {
  margin: 0 0 var(--admin-page-header-gap);
}

.page-header-copy {
  display: grid;
  gap: 4px;
  padding-left: 6px;
}

.admin-main > .zuco-message.visible {
  margin: 0 0 var(--admin-page-header-gap);
}

.admin-main > .zuco-message.visible + [data-view-panel] .admin-topbar {
  margin-top: 0;
}

.stat-grid:empty {
  display: none;
}

.zuco-panel .provider-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zuco-panel .admin-form-grid,
.zuco-panel .admin-field-grid,
.zuco-panel .admin-filter-form {
  gap: var(--admin-card-field-gap);
}

.zuco-panel .zuco-button-row,
.zuco-panel .admin-form-actions {
  gap: 10px;
  margin-top: 0;
}

.zuco-panel .mt-12,
.zuco-panel .admin-form-section {
  margin-top: var(--admin-card-section-gap) !important;
}

.zuco-panel .mb-12 {
  margin-bottom: var(--admin-card-section-gap) !important;
}

.zuco-panel > .zuco-message.visible {
  margin: 0 0 var(--admin-card-section-gap);
}

.zuco-modal-panel .zuco-message.visible {
  margin-bottom: 12px;
}

.empty.error {
  border-color: var(--status-danger-border);
  background: var(--status-danger-bg);
  color: var(--status-danger-text);
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.code-form-stack {
  display: grid;
  gap: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.stat span {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-strong);
}

.stat strong {
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
  font-size: var(--font-size-stat);
  font-weight: var(--font-weight-number);
  font-variant-numeric: tabular-nums;
  line-height: var(--line-height-none);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 10px;
}

.summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row span {
  color: var(--text-muted);
  font-size: inherit;
  font-weight: var(--font-weight-regular);
}

.summary-row strong {
  color: var(--text-primary);
  font-size: inherit;
  font-weight: var(--font-weight-medium);
  overflow-wrap: anywhere;
  text-align: right;
}

.ui-list {
  display: grid;
  gap: 10px;
}

.ui-list-item,
.code-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  padding: 14px;
}

.ui-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ui-list-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.compact-list {
  gap: 8px;
}

.compact-list .ui-list-item,
.compact-list .code-row {
  gap: 7px;
  border-radius: var(--radius-md);
  background: var(--surface-control-raised);
  padding: 10px;
  font-size: var(--font-size-sm);
}

.compact-list .ui-list-head {
  gap: 10px;
}

.compact-list .ui-list-actions {
  gap: 8px;
  justify-content: flex-end;
}

.compact-list .empty {
  min-height: 80px;
}

.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  padding: 10px;
  margin: 12px 0;
}

.site-management-form {
  display: grid;
  gap: 18px;
}

.site-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 1px;
  column-gap: 18px;
  row-gap: 0;
  align-items: start;
  min-width: 0;
}

.site-config-card {
  display: grid;
  align-content: start;
  gap: var(--admin-card-section-gap);
  min-width: 0;
}

.site-config-card .zuco-panel-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.site-config-card .zuco-panel-title-row span {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-copy);
}

.site-category-list {
  min-width: 0;
}

.site-category-strip {
  width: fit-content;
  max-width: 100%;
  align-items: flex-start;
}

.site-category-pill {
  min-width: 0;
  max-width: 100%;
  padding-left: 10px;
  padding-right: 16px;
}

.site-config-card > .site-card-message.visible {
  margin: 0;
}

.site-category-pill:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-category-pill.muted {
  opacity: 0.62;
}

.site-category-pill.dragging {
  opacity: 0.42;
}

.site-category-pill.drag-over {
  box-shadow: inset 0 0 0 1px var(--accent-text), var(--shadow-subtle);
}

.site-category-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  cursor: grab;
}

.site-category-drag-handle svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.site-category-name-text {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.site-category-hidden {
  border-radius: var(--radius-pill);
  background: var(--surface-control-raised);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-strong);
  line-height: 1;
  padding: 5px 8px;
}

.site-category-detail-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  padding: 18px;
}

.site-category-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.site-category-detail-title-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-category-detail-head h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--font-size-xl);
}

.site-category-detail-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.site-category-visible-switch {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-strong);
}

.site-card-actions {
  justify-content: flex-end;
}

.site-footer-settings.is-disabled {
  background: var(--surface-soft);
}

.site-footer-qr-field {
  display: grid;
  gap: 8px;
}

.site-image-field {
  display: grid;
  gap: 8px;
}

.image-upload-box.site-image-upload {
  grid-template-columns: 92px minmax(0, 1fr);
}

.image-preview.site-image-preview {
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
}

.image-upload-box.site-footer-qr-upload {
  grid-template-columns: 108px minmax(0, 1fr);
}

.image-preview.site-footer-qr-preview {
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
}

.bulk-actions-left,
.check-label,
.code-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.check-label,
.code-select {
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-strong);
}

input[type="checkbox"].check-input {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  width: 16px;
  height: 16px;
  min-height: 16px;
  place-content: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background-color: var(--surface-control);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  box-shadow: var(--shadow-hairline);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

input[type="checkbox"].check-input:hover {
  border-color: var(--text-disabled);
  background-color: var(--surface-page);
}

input[type="checkbox"].check-input:focus-visible {
  border-color: var(--accent-text);
  box-shadow: var(--focus-ring);
  outline: none;
}

input[type="checkbox"].check-input:checked {
  border-color: var(--surface-inverse);
  background-color: var(--surface-inverse);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.2 6.6 11 12.5 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

input[type="checkbox"].check-input:indeterminate {
  border-color: var(--surface-inverse);
  background-color: var(--surface-inverse);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

input[type="checkbox"].check-input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.toggle-switch,
.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.toggle-switch input[type="checkbox"],
.switch-control input[type="checkbox"] {
  position: relative;
  width: 42px;
  min-height: 24px;
  height: 24px;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0;
  background: var(--border-control);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.toggle-switch input[type="checkbox"]::before,
.switch-control input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--surface-control);
  box-shadow: var(--shadow-hairline);
  transition: transform 160ms ease;
}

.toggle-switch input[type="checkbox"]:checked,
.switch-control input[type="checkbox"]:checked {
  border-color: var(--surface-inverse);
  background: var(--surface-inverse);
}

.toggle-switch input[type="checkbox"]:checked::before,
.switch-control input[type="checkbox"]:checked::before {
  transform: translateX(18px);
}

.code-list-panel .code-list {
  max-height: 520px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.code-list-panel .code-line code {
  min-width: 0;
}

.provider-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.inline-code {
  display: inline;
  padding: 2px 5px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--text-primary);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  overflow-wrap: anywhere;
}

.status-help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.status-help-wrap.hidden {
  display: none;
}

.status-help-button {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: help;
}

.status-help-button:hover,
.status-help-button:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.status-help-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.status-help-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 20;
  width: max-content;
  max-width: min(440px, calc(100vw - 48px));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-control);
  box-shadow: var(--shadow-popover);
  color: var(--text-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-copy);
  opacity: 0;
  overflow-wrap: anywhere;
  padding: 12px 8px 12px 14px;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.status-help-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--border-default);
  border-left: 1px solid var(--border-default);
  background: var(--surface-control);
  transform: translateX(-50%) rotate(45deg);
}

.status-help-wrap:hover .status-help-tooltip,
.status-help-wrap:focus-within .status-help-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-form-message {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 0 0 14px;
  box-shadow: var(--shadow-soft);
}

.product-form-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

#product-form textarea {
  min-height: 92px;
}

.field-label {
  line-height: var(--line-height-copy);
}

.stock-reservation-box {
  display: grid;
  gap: 4px;
  border: 1px dashed var(--border-control);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  padding: 12px;
  line-height: var(--line-height-copy);
}

.stock-reservation-box span {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

.tags-field,
.site-category-field,
#product-multi-variant-field {
  grid-column: 1;
}

#product-stock-total-field,
#product-card-stock-field {
  grid-column: 2;
}

#product-form.product-form--multi-variant .tags-field,
#product-form.product-form--multi-variant .site-category-field,
#product-form.product-form--multi-variant #product-stock-total-field,
#product-form.product-form--multi-variant #product-card-stock-field {
  grid-column: auto;
}

.product-additional-button-inputs {
  margin-top: 2px;
  gap: 12px;
}

.product-variants-list {
  display: grid;
  gap: 8px;
}

.product-variant-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(132px, 0.6fr) auto;
  gap: 8px;
  align-items: center;
}

.product-variant-row--stock {
  grid-template-columns: minmax(150px, 1fr) minmax(120px, 0.6fr) minmax(96px, 0.45fr) auto;
}

.variant-actions {
  margin-top: 0;
}

.tag-combobox {
  position: relative;
  min-width: 0;
}

.tag-combobox input {
  padding-right: 42px;
}

.tag-combobox-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-option);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.tag-combobox-toggle:hover,
.tag-combobox-toggle:focus-visible {
  background: var(--surface-soft);
  color: var(--text-primary);
  outline: none;
}

.tag-combobox.open .tag-combobox-toggle svg {
  transform: rotate(180deg);
}

.tag-combobox-menu {
  z-index: 150;
}

.tag-combobox-empty {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.file-input {
  display: none;
}

.image-upload-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 108px;
  border: 1px dashed var(--border-control);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  padding: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.image-upload-box:hover {
  border-color: var(--accent-text);
  background: var(--surface-control);
  box-shadow: var(--shadow-soft);
}

.image-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-control);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

.image-preview img {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.image-upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-strong);
  line-height: var(--line-height-copy);
}

.image-upload-copy span {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  overflow-wrap: anywhere;
}

.image-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.order-detail-content {
  display: grid;
  gap: 20px;
}

.detail-section {
  display: grid;
  gap: 10px;
}

.detail-section h3 {
  margin: 0;
  padding: 0 4px;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
}

#orders-table table {
  min-width: 0;
  table-layout: fixed;
}

#orders-table th,
#orders-table td {
  overflow-wrap: anywhere;
}

#orders-table th:nth-child(1) {
  width: 20%;
}

#orders-table th:nth-child(2) {
  width: 30%;
}

#orders-table th:nth-child(3) {
  width: 16%;
}

#orders-table th:nth-child(4) {
  width: 16%;
}

#orders-table th:nth-child(5) {
  width: 18%;
}

#orders-table .cell-title {
  min-width: 0;
}

#orders-table .cell-title strong {
  overflow-wrap: anywhere;
}

#orders-table th:nth-child(3),
#orders-table td:nth-child(3) {
  white-space: nowrap;
}

.order-item-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-item-title strong {
  min-width: 0;
}

.order-action-note {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-copy);
  padding: 0 4px;
}

.order-action-section .zuco-button-row {
  margin-top: 0;
}

.detail-actions {
  justify-content: flex-end;
}

.inventory-reservation {
  overflow-wrap: anywhere;
}

.payment-settings-layout {
  display: grid;
  gap: 18px;
}

.email-settings-layout {
  display: grid;
  gap: var(--admin-page-header-gap);
}

.email-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--admin-card-field-gap);
  align-items: center;
}

.email-business-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.email-business-option {
  justify-content: flex-start;
}

.email-business-option .zuco-choice-option-content {
  text-align: left;
}

.email-business-option input[type="checkbox"] {
  justify-self: end;
}

.email-template-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: var(--admin-page-header-gap);
  align-items: stretch;
}

#email-template-html {
  min-height: 420px;
}

.email-template-preview-field {
  grid-template-rows: max-content minmax(420px, 1fr);
  align-self: stretch;
  min-height: 0;
}

.email-template-preview-field .field-label {
  line-height: normal;
}

.email-template-preview-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: stretch;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-control);
  box-shadow: var(--shadow-control);
}

.code-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.code-line code {
  flex: 1 1 180px;
}

tr.clickable {
  cursor: pointer;
}

tr.clickable:hover td {
  background: var(--surface-muted);
}

@media (max-width: 980px) {
  .product-variant-row {
    grid-template-columns: 1fr;
  }

  .product-variant-remove {
    width: 100%;
  }

  .product-form-actions .zuco-button {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .grid-two,
  .site-config-grid,
  .provider-settings-grid,
  .email-template-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-config-grid {
    grid-auto-rows: auto;
    gap: 18px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-header-copy {
    padding-left: 0;
  }

  .login-card {
    padding: 20px;
  }

  .admin-field-grid,
  .admin-filter-form,
  .stat-grid,
  .email-business-list,
  .product-variant-row,
  .image-upload-box {
    grid-template-columns: 1fr;
  }

  .image-upload-box.site-image-upload,
  .image-upload-box.site-footer-qr-upload {
    grid-template-columns: 1fr;
  }

  .site-category-strip {
    width: 100%;
    border-radius: var(--radius-xl);
  }

  .site-category-detail-head {
    flex-direction: column;
  }

  .site-config-card .zuco-panel-head {
    flex-direction: column;
  }

  .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .summary-row strong {
    text-align: left;
  }

  .tags-field,
  .site-category-field,
  #product-multi-variant-field,
  #product-stock-total-field,
  #product-card-stock-field {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  #orders-view .admin-topbar-actions,
  #orders-view .detail-actions,
  #orders-view .zuco-button-row {
    width: 100%;
  }

  #orders-view .admin-topbar-actions .zuco-button,
  #orders-view .detail-actions .zuco-button,
  #orders-view .zuco-button-row .zuco-button {
    width: 100%;
  }
}
