.customer-menu-edit {
  min-width: 0;
  color: var(--ink, #24372f);
}
.cme-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin: 20px 0;
}
.cme-heading h2 {
  margin: 6px 0;
  font-size: 1.5rem;
}
.cme-heading p {
  max-width: 62ch;
  margin: 6px 0;
  color: var(--muted, #6e796f);
}
.cme-status:empty {
  display: none;
}
.cme-status {
  padding: 12px;
  background: #fff4e5;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.cme-current {
  padding: 20px;
  border: 1px solid var(--line, #e3e7e1);
  border-radius: 20px;
  background: #fff;
}
.cme-selected-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line, #e3e7e1);
}
.cme-selected-row img,
.cme-image-placeholder {
  width: 72px;
  height: 72px;
  flex: none;
  object-fit: cover;
  border-radius: 12px;
}
.cme-image-placeholder {
  display: grid;
  place-items: center;
  background: #f5f6f2;
  color: #8c9989;
  font-size: 1.5rem;
}
.cme-selected-copy {
  flex: 1;
  min-width: 0;
}
.cme-selected-copy small {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted, #6e796f);
  margin-top: 3px;
}
.cme-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}
.cme-quantity .btn {
  min-height: 40px;
  min-width: 40px;
}
.cme-current > [data-cme-action="preview"] {
  margin-top: 18px;
}
.cme-preview {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: #f0f7f3;
}
.cme-preview ul {
  list-style: none;
  padding: 0;
}
.cme-preview li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.cme-preview .check-label,
.cme-options .check-label {
  display: flex;
  gap: 8px;
  align-items: start;
  margin: 12px 0;
}
.cme-preview input[type="checkbox"],
.cme-options input[type="checkbox"] {
  width: auto;
  min-height: 20px;
  flex: none;
}
.cme-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
}
.cme-catalogue > section {
  margin-top: 26px;
}
.cme-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line, #e3e7e1);
  border-radius: 18px;
  background: #fff;
}
.cme-product > img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}
.cme-product h4 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.cme-product p {
  font-size: 0.85rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.cme-product > button {
  grid-column: 2;
  justify-self: start;
}
.cme-options {
  width: min(540px, calc(100vw - 24px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid var(--line, #e3e7e1);
  border-radius: 20px;
  padding: 20px;
}
.cme-options::backdrop {
  background: #16292170;
}
.cme-options label {
  display: block;
  margin: 12px 0;
}
.cme-options input,
.cme-options select {
  max-width: 100%;
  min-width: 0;
}
.cme-options fieldset {
  border: 1px solid var(--line, #e3e7e1);
  border-radius: 12px;
}
@media (max-width: 560px) {
  .cme-heading {
    display: block;
  }
  .cme-heading > a {
    margin-top: 10px;
  }
  .cme-current {
    padding: 14px;
  }
  .cme-selected-row {
    flex-wrap: wrap;
  }
  .cme-quantity {
    width: 100%;
    justify-content: end;
  }
  .cme-options {
    padding: 16px;
  }
  .cme-products {
    grid-template-columns: 1fr;
  }
}
