.catalog-workflow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #e6efec;
  padding: 18px;
  border-radius: 12px;
  color: #164c50;
  margin: 24px 0;
}
.catalog-workflow span {
  flex: 1;
  min-width: 130px;
  font-weight: 600;
}
.catalog-toolbar,
.catalog-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
}
.catalog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #cdd8d4;
  padding-bottom: 16px;
}
.catalog-tabs button {
  border: 1px solid #cad7d3;
  padding: 12px 18px;
  background: white;
  border-radius: 8px;
  color: #164c50;
  cursor: pointer;
}
.catalog-tabs [aria-selected='true'] {
  background: #164c50;
  color: white;
}
.catalog-panel {
  padding: 24px 0;
}
.catalog-panel[hidden] {
  display: none;
}
.product-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-edit,
.finish-edit,
.history-entry,
.publish-box {
  background: white;
  border: 1px solid #d6dfdb;
  border-radius: 12px;
  padding: 22px;
}
.product-edit header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.product-edit img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f1eb;
}
.product-edit h3 {
  margin: 4px 0;
}
.catalog-panel label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0;
  color: #244d4d;
}
.catalog-panel input:not([type='checkbox']):not([type='color']),
.catalog-panel textarea,
.catalog-panel select {
  display: block;
  width: 100%;
  border: 1px solid #b9cbc5;
  border-radius: 6px;
  background: #fff;
  padding: 11px;
  color: #263f3f;
  margin-top: 6px;
  font: inherit;
}
.catalog-panel textarea {
  min-height: 72px;
  resize: vertical;
}
.edit-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check-label {
  display: flex !important;
  gap: 9px;
  align-items: center;
}
.check-label input {
  width: 18px;
  height: 18px;
  accent-color: #164c50;
}
.finish-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.finish-edit input[type='color'] {
  height: 48px;
  width: 100%;
  border: 0;
  cursor: pointer;
}
.history-entry {
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.publish-box {
  margin-top: 24px;
  max-width: 760px;
}
.change-row {
  padding: 12px 0;
  border-bottom: 1px solid #d9e1de;
}
.change-row small {
  display: block;
  color: #677b74;
  margin-top: 5px;
}
.catalog-preview-bar {
  padding: 16px;
  background: #f7e8ba;
  color: #493f22;
  text-align: center;
  font-weight: bold;
}
.catalog-panel button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a[aria-disabled='true'] {
  pointer-events: none;
  opacity: 0.4;
}
input:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid #8fbab0;
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .product-editor-grid,
  .finish-editor-grid {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar,
  .catalog-section-heading,
  .history-entry {
    align-items: stretch;
    flex-direction: column;
  }
  .edit-two {
    grid-template-columns: 1fr;
  }
  .catalog-tabs button {
    flex: 1;
    font-size: 13px;
    padding: 12px;
  }
  .shop-main h1 {
    font-size: 30px;
  }
}
