.admin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFF8F0;
  color: #4A2E3A;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.admin-body,
.admin-body *,
.signin-body,
.signin-body * {
  box-sizing: border-box;
}

.admin-body [hidden] {
  display: none !important;
}

.admin-body a {
  text-decoration: none;
}

.admin-body button,
.admin-body input,
.admin-body select,
.admin-body textarea {
  font-family: inherit;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
  border-bottom: 1px solid #EFDFD6;
}

.admin-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: #C93068;
}

.admin-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #F3E6F6;
  color: #8A4A9C;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-header__actions .button_to {
  display: inline-flex;
  margin: 0;
}

.admin-header__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #4A2E3A;
}

.admin-header__link:hover {
  background: #FCE6EC;
  color: #C93068;
}

.admin-signout {
  padding: 9px 14px;
  border: 1.5px solid #E6D3C8;
  border-radius: 999px;
  background: #FFFFFF;
  font: 700 14px "Quicksand", sans-serif;
  color: #6E5260;
  cursor: pointer;
}

.admin-signout:hover {
  border-color: #C93068;
  color: #C93068;
}

.admin-shell {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 64px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.admin-sidebar {
  flex: 1 1 200px;
  max-width: 240px;
  position: sticky;
  top: 84px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: #4A2E3A;
}

.admin-nav__link:hover,
.admin-nav__link.is-active {
  background: #FCE6EC;
  color: #C93068;
}

.admin-nav__count {
  opacity: .7;
}

.admin-main {
  flex: 999 1 560px;
  min-width: 0;
}

.admin-toast {
  position: fixed;
  left: 50%;
  top: 84px;
  transform: translateX(-50%);
  z-index: 50;
  padding: 12px 20px;
  border-radius: 999px;
  background: #E6F1E0;
  color: #3E5A30;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3);
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.menu-title,
.edit-title {
  margin: 0;
  font-weight: 700;
  font-size: 30px;
  color: #4A2E3A;
}

.menu-lead {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: #6E5260;
  max-width: 560px;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1.5px solid #E6D3C8;
  border-radius: 999px;
  background: #FFFFFF;
  font: 700 14px "Quicksand", sans-serif;
  color: #4A2E3A;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover,
.btn-secondary:hover {
  border-color: #C93068;
  color: #C93068;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #C93068;
  color: #FFF8F0;
  font: 700 15px "Quicksand", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: #8A4A9C;
  color: #FFF8F0;
}

.btn-dashed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1.5px dashed #CFA049;
  border-radius: 999px;
  background: transparent;
  font: 700 14px "Quicksand", sans-serif;
  color: #C93068;
  cursor: pointer;
  text-decoration: none;
}

.btn-dashed:hover {
  background: #FCE6EC;
  color: #C93068;
}

.empty-state {
  background: #FFFFFF;
  border: 1px solid #EFDFD6;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  font-weight: 600;
  color: #6E5260;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid #EFDFD6;
  border-radius: 20px;
  overflow: hidden;
}

.category-card + .category-card {
  margin-top: 20px;
}

.category-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #FFFAF5;
  flex-wrap: wrap;
}

.reorder {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reorder__btn {
  width: 30px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: #FCE6EC;
  color: #8A4A9C;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.reorder__btn:disabled {
  opacity: .4;
  cursor: default;
}

.listing-row .reorder__btn {
  width: 26px;
  height: 20px;
  background: #FFF8F0;
  font-size: 10px;
}

.category-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #FCE6EC;
}

.category-avatar img,
img.category-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-name {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: #C93068;
}

.category-meta {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #6E5260;
}

.pill,
.pill-shown,
.pill-hidden {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  font: 700 13px "Quicksand", sans-serif;
  cursor: pointer;
}

.pill-shown {
  background: #E6F1E0;
  color: #4C6B3C;
}

.pill-hidden {
  background: #F2ECE8;
  color: #7A6870;
}

.listing-row .pill,
.listing-row .pill-shown,
.listing-row .pill-hidden {
  padding: 6px 11px;
  font-size: 12px;
}

.listing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 34px;
  border-top: 1px solid #F5EAE3;
  flex-wrap: wrap;
}

.listing-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  background: #FFF8F0;
}

.listing-thumb img,
img.listing-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.listing-name {
  flex: 1 1 160px;
  min-width: 0;
  font-weight: 700;
  font-size: 16px;
  color: #4A2E3A;
}

.listing-price {
  font-weight: 700;
  font-size: 16px;
  color: #8A4A9C;
  min-width: 60px;
  text-align: right;
}

.listing-empty {
  font-size: 14px;
  font-weight: 500;
  color: #6E5260;
}

.back-link {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #8A4A9C;
  margin-bottom: 10px;
}

.back-link:hover {
  color: #C93068;
}

.edit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.view-link {
  font-weight: 700;
  font-size: 14px;
  color: #C93068;
}

.view-link:hover {
  color: #8A4A9C;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-card {
  background: #FFFFFF;
  border: 1px solid #EFDFD6;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label,
.signin-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6E5260;
}

.text-input,
.signin-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E6D3C8;
  border-radius: 12px;
  background: #FFFFFF;
  font: 600 16px "Quicksand", sans-serif;
  color: #4A2E3A;
  outline: none;
}

.signin-input {
  padding: 13px 14px;
}

select.text-input {
  max-width: 360px;
}

.text-input:focus,
.signin-input:focus {
  border-color: #C93068;
  box-shadow: 0 0 0 3px #FCE6EC;
}

.price-field {
  display: flex;
  align-items: center;
  border: 1.5px solid #E6D3C8;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
  max-width: 200px;
}

.price-field:focus-within {
  border-color: #C93068;
  box-shadow: 0 0 0 3px #FCE6EC;
}

.price-prefix {
  padding: 0 0 0 14px;
  font-weight: 700;
  font-size: 16px;
  color: #8A4A9C;
}

.price-field .text-input,
.price-field input {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 12px 14px 12px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 600 16px "Quicksand", sans-serif;
  color: #4A2E3A;
  outline: none;
}

.price-field .text-input:focus,
.price-field input:focus {
  border: 0;
  box-shadow: none;
}

.field-error {
  font-weight: 600;
  font-size: 13px;
  color: #B3261E;
}

.field-help {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #6E5260;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1.5px solid #E6D3C8;
  border-radius: 999px;
  background: #FFFFFF;
  font: 700 13px "Quicksand", sans-serif;
  color: #8A4A9C;
  cursor: pointer;
}

.btn-quiet:hover {
  border-color: #8A4A9C;
}

.rich-field {
  border: 1.5px solid #E6D3C8;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
}

trix-toolbar.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #F5EAE3;
  background: #FFFAF5;
}

trix-toolbar.rich-toolbar .trix-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  margin: 0;
  overflow: visible;
}

trix-toolbar.rich-toolbar .trix-button-group,
trix-toolbar.rich-toolbar .trix-button-group:not(:first-child) {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

trix-toolbar.rich-toolbar .trix-dialogs,
trix-toolbar.rich-toolbar .trix-dialog {
  display: none;
}

trix-toolbar.rich-toolbar button,
trix-toolbar.rich-toolbar .trix-button,
trix-toolbar.rich-toolbar .trix-button:not(:first-child),
trix-toolbar.rich-toolbar .trix-button--icon {
  position: static;
  float: none;
  min-height: 34px;
  min-width: 36px;
  width: auto;
  height: auto;
  max-width: none;
  padding: 0 10px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4A2E3A;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1;
  text-indent: 0;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

trix-toolbar.rich-toolbar .trix-button--icon::before {
  content: none;
  background-image: none;
}

trix-toolbar.rich-toolbar button:hover,
trix-toolbar.rich-toolbar button.trix-active,
trix-toolbar.rich-toolbar .trix-button:hover,
trix-toolbar.rich-toolbar .trix-button.trix-active {
  background: #FCE6EC;
  color: #4A2E3A;
}

trix-toolbar.rich-toolbar button[data-trix-attribute="bold"] {
  font-weight: 800;
  font-size: 15px;
  padding: 0;
}

trix-toolbar.rich-toolbar button[data-trix-attribute="italic"] {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  padding: 0;
}

trix-toolbar.rich-toolbar button[data-trix-attribute="heading1"] {
  letter-spacing: .06em;
}

.rich-toolbar__divider {
  width: 1px;
  align-self: stretch;
  margin: 4px;
  background: #EFDFD6;
  flex: none;
}

.rich-field trix-editor {
  display: block;
  min-height: 180px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: #FFFFFF;
  color: #4A2E3A;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.image-card {
  background: #FFFFFF;
  border: 1px solid #EFDFD6;
  border-radius: 20px;
  padding: 24px;
}

.image-card:has(.category-image) {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.category-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #FCE6EC;
  object-fit: cover;
}

.category-image img,
img.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #FFF8F0;
}

.photo-slot img,
img.photo-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slot.is-cover {
  outline: 2px solid #C93068;
  outline-offset: 2px;
}

.photo-slot__label {
  font-weight: 700;
  font-size: 12px;
  color: #C93068;
}

.visibility-row {
  background: #FFFFFF;
  border: 1px solid #EFDFD6;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.visibility-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #C93068;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1.5px solid #F1C9C6;
  border-radius: 999px;
  background: #FFFFFF;
  font: 700 14px "Quicksand", sans-serif;
  color: #B3261E;
  cursor: pointer;
}

.btn-danger:hover {
  background: #FDF0EF;
}

.btn-danger--solid {
  border: 0;
  background: #B3261E;
  color: #FFFFFF;
}

.btn-danger--solid:hover {
  background: #B3261E;
  color: #FFFFFF;
}

.confirm-row {
  color: #B3261E;
  font-weight: 700;
  font-size: 14px;
}

.confirm-row:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.save-bar {
  position: sticky;
  bottom: 16px;
  background: #4A2E3A;
  color: #FFF8F0;
  border-radius: 18px;
  padding: 12px 12px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px -12px rgba(74, 46, 58, .5);
}

.save-bar__status {
  font-weight: 600;
  font-size: 15px;
}

.save-bar__actions {
  display: flex;
  gap: 8px;
}

.btn-discard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 700 15px "Quicksand", sans-serif;
  color: #F3E6F6;
  cursor: pointer;
}

.btn-discard:hover {
  background: rgba(255, 255, 255, .1);
}

.btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: #E0457B;
  font: 700 15px "Quicksand", sans-serif;
  color: #FFFFFF;
  cursor: pointer;
}

.btn-save:hover {
  background: #C93068;
}

.signin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #FFF4F1;
  background-image:
    linear-gradient(90deg, rgba(236, 140, 172, .14) 50%, transparent 50%),
    linear-gradient(rgba(236, 140, 172, .14) 50%, transparent 50%);
  background-size: 32px 32px;
  color: #4A2E3A;
  font-family: "Quicksand", system-ui, sans-serif;
}

.signin-card {
  width: 100%;
  max-width: 400px;
  background: #FFF8F0;
  border-radius: 32px;
  padding: 44px 32px 36px;
  outline: 2px dashed #CFA049;
  outline-offset: -10px;
  box-shadow: 0 0 0 5px #FCE6EC, 0 18px 40px -20px rgba(150, 60, 90, .35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signin-brand {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: #E0457B;
  text-align: center;
}

.signin-kicker {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8A4A9C;
  text-align: center;
}

.signin-submit {
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: #C93068;
  color: #FFF8F0;
  font: 700 16px "Quicksand", sans-serif;
  cursor: pointer;
}

.signin-submit:hover {
  background: #8A4A9C;
}

.signin-back {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #8A4A9C;
  text-decoration: none;
}

.signin-back:hover {
  color: #C93068;
}

.ty-rich {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

.ty-rich p {
  margin: 14px 0 0;
  text-wrap: pretty;
}

.ty-rich h1 {
  margin: 26px 0 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C93068;
}

.ty-rich ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.ty-rich li {
  margin: 6px 0;
  padding-left: 4px;
}

.ty-rich li::marker {
  content: "♥  ";
  color: #E0457B;
  font-size: 13px;
}

.ty-rich strong,
.ty-rich b {
  color: #C93068;
  font-weight: 700;
}

.ty-rich > :first-child {
  margin-top: 0;
}
