@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
.aside__header, .aside__header .itemContainer, .tabs, a.menuItem {
  display: -webkit-flex;
  flex-direction: -webkit-row;
  justify-content: -webkit-start;
  align-items: -webkit-center;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}

.login-page__main, .clothe-show__image, .clothe-show__placeholder, .clothe-show__highlight-preview, .clothe-image-picker__item span, .clothe-bestseller-list__preview, .category-show__image, .category-form__preview, .category-show__collection-placeholder, .collection-show__image, .collection-show__clothe-placeholder, .avatar-show__media, .avatar-show__side-frame, .layout__header .header__sidetoggle, .layout__header .header__themetoggle, .product-grid-card__checkmark, .product-grid-card__media, .product-grid-card__placeholder, .product-grid-card__button, .tabs .tab {
  display: -webkit-flex;
  flex-direction: -webkit-row;
  justify-content: -webkit-center;
  align-items: -webkit-center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.config-collection__header, .layout__header, .menuItem__header {
  display: -webkit-flex;
  flex-direction: -webkit-row;
  justify-content: -webkit-space-between;
  align-items: -webkit-center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.aside__menu, .menuItem__children {
  display: -webkit-flex;
  flex-direction: -webkit-column;
  justify-content: -webkit-start;
  align-items: -webkit-start;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.customer-show, .customer-show__card, .customer-show__form, .customer-show__form label:not(.customer-show__checkbox), .customer-show__danger-zone, .customer-show__orders, .login-card__header, .login-form,
.login-form__field, .config-hub, .config-page, .config-card, .config-field, .config-group, .config-page-list__item div, .config-collection, .config-collection__items, .config-collection__item, .config-collection__item > div, .config-image-field, .config-cropper, .clothe-show, .clothe-show__header,
.clothe-show__section,
.clothe-show__gallery-section,
.clothe-show__meta, .clothe-show__presentation, .clothe-show__meta dd, .clothe-show__information,
.clothe-show__description, .clothe-show__size,
.clothe-show__highlight-card, .clothe-show__variant-group, .clothe-show__variant-toggles > div,
.clothe-show__presentation-toggles > div,
.clothe-show__variant-sizes, .clothe-show__seo div, .clothe-show__variant-card, .clothe-show__stock-main,
.clothe-show__stock-availability,
.clothe-show__stock-value,
.clothe-show__stock-toggle, .modal__body, .clothe-image-upload, .clothe-bestseller-list, .clothe-bestseller-list__content, .collection-form, .collection-form__section, .collection-form__field, .collection-form__clothe-placeholder, .collection-form__clothes-list, .collection-form__image-order, .clothe-create, .clothe-show__related-card, .category-show, .category-show__content, .category-show__image-section,
.category-show__meta,
.category-show__section,
.category-show__upload, .category-show__upload label, .category-form__field, .category-show__collection div, .collection-show, .collection-show__image-section,
.collection-show__content,
.collection-show__meta,
.collection-show__section, .collection-show__clothe div, .avatar-page, .avatar-page__header, .avatar-upload, .avatar-upload__list, .avatar-upload__file, .avatar-rename__queue,
.avatar-rename__validated,
.avatar-rename__panel, .avatar-rename__card-button, .avatar-rename__field, .avatar-show, .avatar-show__header, .avatar-show__side, .avatar-show__similar, .avatar-show__card, .main, .admin-page, .data-table, .data-table__filter, .data-table__search, .library__search, .filters .filter, .product-grid, .product-grid__header {
  display: -webkit-flex;
  flex-direction: -webkit-column;
  justify-content: -webkit-start;
  align-items: -webkit-stretch;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
}

.product-grid-card {
  display: -webkit-flex;
  flex-direction: -webkit-column;
  justify-content: -webkit-center;
  align-items: -webkit-stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.config-hub, .config-page, .config-card, .config-field input,
.config-field textarea,
.config-field select,
.config-collection input, .orders-config-tabs, .orders-config-tabs__nav, .orders-config-tabs__tab, .orders-config-tabs__panel, .config-collection__item, .config-collection__add,
.config-collection__remove, .config-file__zone, .clothe-create, .clothe-create__header, .clothe-create__eyebrow, .clothe-create__section, .clothe-create__section-heading h2, .clothe-create__section-heading p, .clothe-create__step, .clothe-create__field label,
.clothe-create__variant-fields label,
.clothe-create__variant-fields legend, .clothe-create__field input,
.clothe-create__field select,
.clothe-create__variant-fields input:not([type=checkbox]):not([type=radio]),
.clothe-create__variant-fields select,
.clothe-create__variant-fields textarea, .collection-form__variant, .collection-form__variant > legend, .clothe-create__variant-fields .form-help, .clothe-create__variant-fields input[type=file]::file-selector-button, .clothe-create__size-input + label, .clothe-create__add,
.clothe-create__remove, .clothe-create__submit-help, .clothe-create__submit, .clothe-publication__summary, .main, .layout__header .header__sidetoggle, .layout__header .header__themetoggle, .layout__header .header__sidetoggle svg, .layout__header .header__themetoggle svg, .aside__header .itemContainer, .overlay, .badge, .product-grid-card, .product-grid-card__button, .library__search-input, .filters .filter__select, .product-grid__action, .tabs, .tabs .tab, .breadcrumb a, .breadcrumb span, .menuItem__header, .menuItem__child, body {
  transition: color 0.25s ease-out, background-color 0.25s ease-out, border 200ms ease-out;
}

*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}
:root[data-theme=dark] {
  --bg-dark: hsl(242, 68%, 3%);
  --bg: hsl(240, 43%, 8%);
  --bg-light: hsl(238, 28%, 11%);
  --text: hsl(236, 100%, 100%);
  --text-muted: hsl(236, 36%, 76%);
  --hoverlight: hsl(237, 17%, 44%);
  --border: hsl(238, 22%, 33%);
  --border-muted: hsl(240, 29%, 23%);
  --primary: hsl(238, 70%, 80%);
  --secondary: hsl(55, 100%, 28%);
  --danger: hsl(7, 94%, 66%);
  --warning: hsl(53, 100%, 24%);
  --success: hsl(163, 100%, 26%);
  --info: hsl(217, 100%, 70%);
}
:root[data-theme=light] {
  --bg-dark: hsl(25, 64%, 89%);
  --bg: hsl(25, 100%, 94%);
  --bg-light: oklch(100% 0.00011 271.152);
  --text: hsl(12, 100%, 5%);
  --text-muted: hsl(26, 43%, 26%);
  --hoverlight: hsl(25, 100%, 99%);
  --border: hsl(25, 25%, 49%);
  --border-muted: hsl(25, 33%, 61%);
  --primary: hsl(197, 100%, 19%);
  --secondary: hsl(31, 100%, 21%);
  --danger: hsl(6, 60%, 41%);
  --warning: hsl(49, 100%, 24%);
  --success: hsl(153, 100%, 24%);
  --info: hsl(217, 63%, 44%);
}

html {
  overflow: hidden;
}

body {
  min-height: 100dvh;
  width: 100%;
  background-color: var(--bg-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, li {
  list-style: none;
}

.menuItem {
  width: 100%;
}
.menuItem__header {
  width: 100%;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border-radius: 1rem;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 100%;
  background-color: var(--bg);
}
.menuItem__header.open, .menuItem__header.active {
  background-color: var(--bg-light);
  color: var(--text);
}
.menuItem__header.open svg {
  transform: rotate(90deg);
}
.menuItem__header svg {
  transition: transform 0.5s ease;
}
.menuItem__header:hover {
  cursor: pointer;
  background-color: var(--bg-light);
  color: var(--text);
}
.menuItem__children {
  gap: 1rem;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  color: var(--text-muted);
}
.menuItem__children.collapsed {
  overflow: hidden;
  height: 0;
  padding: 0;
}
.menuItem__child:hover {
  color: var(--text);
}
.menuItem__child.active {
  color: var(--text);
  font-weight: 700;
}

a.menuItem {
  gap: 1rem;
  width: 100%;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border-radius: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color 180ms ease-in-out, background-color 180ms ease-in-out;
}
a.menuItem:hover, a.menuItem.active {
  background-color: var(--bg-light);
  color: var(--text);
}

.breadcrumb {
  padding: 0 0.5rem;
}
.breadcrumb a, .breadcrumb span {
  color: var(--text-muted);
}
.breadcrumb a:hover, .breadcrumb span:hover {
  color: var(--text);
}
.breadcrumb a {
  font-weight: 600;
}
.breadcrumb a:not(:last-child)::after {
  display: inline-block;
  margin: 0 0.25rem;
  content: "→";
}

.tabs {
  align-self: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--bg-dark);
  padding-inline: 1rem;
  padding-block: 1rem;
  border-radius: 1rem;
}
.tabs .tab {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-muted);
  background-color: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
}
.tabs .tab:hover {
  color: var(--text);
  border-color: var(--border);
  background-color: var(--bg-light);
}
.tabs .tab.active {
  color: var(--text);
  border-color: var(--border);
  background-color: var(--bg-light);
}

.product-grid {
  width: 100%;
  gap: 1rem;
}
.product-grid__header {
  gap: 0.75rem;
}
.product-grid__title {
  text-align: center;
  color: var(--text);
  font-size: 1.25rem;
}
.product-grid__selection-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.5rem;
  background: var(--bg-light);
}
.product-grid__selection-actions[hidden] {
  display: none;
}
.product-grid__selection-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-inline-end: auto;
}
.product-grid__action {
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}
.product-grid__action:hover, .product-grid__action:focus-visible {
  border-color: var(--primary);
  outline: none;
}
.product-grid__action--delete:hover, .product-grid__action--delete:focus-visible {
  border-color: #b42318;
  color: #b42318;
}

.product-grid-catalogue {
  height: 55dvh;
  overflow: scroll;
}
.product-grid-catalogue__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
  padding-block-end: 3rem;
}
.product-grid-catalogue__notFounded {
  grid-template-columns: 1fr;
  place-items: center;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.filters .filter {
  gap: 0.4rem;
  min-width: 150px;
}
.filters .filter__label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}
.filters .filter__select {
  width: 100%;
  border-radius: 0.6rem;
  border: 2px solid var(--border-muted);
  background-color: var(--bg);
  color: var(--text-muted);
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  cursor: pointer;
}
.filters .filter__select:hover {
  outline: none;
  color: var(--text);
  border-color: var(--border);
}
.filters .filter__select:focus {
  outline: 2px var(--border) solid;
  color: var(--text-muted);
  border-color: var(--border);
  background-color: var(--bg-light);
}

.library__search-input {
  width: 100%;
  border-radius: 0.6rem;
  border: 2px solid var(--border-muted);
  background-color: var(--bg);
  color: var(--text-muted);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
}
.library__search-input::placeholder {
  color: var(--text-muted);
}
.library__search-input:hover {
  outline: none;
  border-color: var(--border);
  color: var(--text);
  background-color: var(--bg);
}
.library__search-input:hover::placeholder {
  color: var(--text);
}
.library__search-input:focus {
  outline: 2px solid var(--border);
  border-color: var(--border);
  background-color: var(--bg-light);
}

.product-grid-card {
  position: relative;
  gap: 0.5rem;
  border: 2px solid var(--border-muted);
  border-radius: 8px;
  background-color: var(--bg-dark);
  padding: 0.5rem;
  cursor: pointer;
  outline: none;
}
.product-grid-card__checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.product-grid-card__checkmark {
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-end: 0.6rem;
  inline-size: 1.6rem;
  block-size: 1.6rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: white;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  z-index: 1;
}
.product-grid-card__checkmark::after {
  content: "";
  inline-size: 0.45rem;
  block-size: 0.75rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}
.product-grid-card__title {
  width: 100%;
  text-align: center;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-grid-card__media {
  position: relative;
  height: 150px;
  width: 100%;
}
.product-grid-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-grid-card__status-list {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-inline-size: calc(100% - 1rem);
}
.product-grid-card__placeholder {
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
.product-grid-card__button {
  padding-block: 0.5rem;
  background-color: var(--bg);
  border: 2px solid var(--border-muted);
  border-radius: 0.5rem;
  color: var(--text-muted);
  font-weight: 400;
}
.product-grid-card__button:hover {
  background-color: var(--bg);
  border-color: var(--primary);
  color: var(--text);
}
.product-grid-card__actions {
  display: none;
}
.product-grid-card__notFounded p {
  color: var(--text);
  font-weight: 600;
}
.product-grid-card:hover, .product-grid-card:focus-visible {
  background-color: var(--bg-light);
  border-color: var(--border);
  color: var(--text);
}
.product-grid-card.is-selected {
  background-color: color-mix(in srgb, var(--primary) 12%, var(--bg-light));
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}
.product-grid-card.is-selected .product-grid-card__checkmark {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--bg-dark);
}
.product-grid-card.is-selected .product-grid-card__checkmark::after {
  transform: rotate(45deg) scale(1);
}

.admin-page {
  gap: 1rem;
}

.admin-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-page__action {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
}

.admin-page__action--primary {
  border-color: var(--primary);
  color: var(--primary);
}

.data-table {
  gap: 0.75rem;
}

.data-table__toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.data-table__filters {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.data-table__filter {
  gap: 0.35rem;
  color: var(--text);
}

.data-table__filter select {
  min-inline-size: 12rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
}

.data-table__search {
  gap: 0.35rem;
  inline-size: 100%;
  color: var(--text);
}

.data-table__search-control {
  position: relative;
  display: flex;
  align-items: center;
  inline-size: 100%;
}

.data-table__search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  inline-size: 1.1rem;
  block-size: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.data-table__search input {
  inline-size: 100%;
  min-block-size: 2.75rem;
  padding: 0.7rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  outline: none;
  background: var(--bg-light);
  color: var(--text);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.data-table__search input::placeholder {
  color: var(--text-muted);
}

.data-table__search input:hover {
  border-color: var(--primary);
}

.data-table__search input:focus {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.data-table__search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.data-table__viewport {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.data-table__table {
  inline-size: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.data-table__table th,
.data-table__table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-muted);
  text-align: left;
  white-space: nowrap;
}

.data-table__table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.data-table__sort-indicator {
  inline-size: 1.2rem;
  color: var(--primary);
  text-align: center;
}

.data-table__empty {
  color: var(--text-muted);
  text-align: center;
}

.data-table__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.data-table__actions form {
  margin: 0;
}

.data-table__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.data-table__action svg {
  inline-size: 1rem;
  block-size: 1rem;
}

.data-table__action--danger {
  border-color: var(--danger);
  color: var(--danger);
}

.data-table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.data-table-pagination p,
.data-table-pagination__single {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.data-table-pagination__actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.data-table-pagination button {
  min-inline-size: 2rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.3rem;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.data-table-pagination button:hover:not(:disabled),
.data-table-pagination button.is-active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
}

.data-table-pagination button.is-active:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.data-table-pagination button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.data-table-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@container main (max-width: 720px) {
  .data-table-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .data-table__table,
  .data-table__table thead,
  .data-table__table tbody,
  .data-table__table th,
  .data-table__table td,
  .data-table__table tr {
    display: block;
  }
  .data-table__table thead {
    display: none;
  }
  .data-table__table tr {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-muted);
  }
  .data-table__table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 0;
    white-space: normal;
  }
  .data-table__table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-weight: 700;
  }
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.toggle__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.toggle__track {
  position: relative;
  inline-size: 2.6rem;
  block-size: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.toggle__thumb {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0.15rem;
  inline-size: 1rem;
  block-size: 1rem;
  border-radius: 999px;
  background: var(--text-muted);
  transform: translateY(-50%);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.toggle__input:checked + .toggle__track {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 22%, var(--bg));
}

.toggle__input:checked + .toggle__track .toggle__thumb {
  background: var(--primary);
  transform: translate(1.2rem, -50%);
}

.toggle__input:focus-visible + .toggle__track {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.toggle__input:disabled + .toggle__track,
.toggle__input:disabled ~ .toggle__label {
  opacity: 0.55;
  cursor: not-allowed;
}

.toggle.is-loading {
  cursor: progress;
}

.flash-messages {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 1000;
  display: grid;
  gap: 0.75rem;
  width: min(24rem, 100vw - 2rem);
  transform: translateX(-50%);
}

.flash-messages__item {
  position: relative;
  margin: 0;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.12);
}

.flash-messages__item p {
  margin: 0;
}

.flash-messages__close {
  position: absolute;
  top: 0.25rem;
  right: 0.4rem;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.flash-messages__item--success {
  color: #166534;
}

.flash-messages__item--error {
  color: #991b1b;
}

.flash-messages__item--warning {
  color: #92400e;
}

.flash-messages__item--info {
  color: #1d4ed8;
}

.badge {
  display: inline-flex;
  align-items: center;
  inline-size: fit-content;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  background: color-mix(in srgb, var(--bg-dark) 82%, transparent);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.badge--online,
.badge--success-filled {
  border-color: var(--success);
  background: var(--success);
  color: var(--bg-light);
}

.badge--publishable,
.badge--primary {
  color: var(--primary);
}

.badge--scheduled,
.badge--warning {
  color: var(--warning);
}

.badge--draft,
.badge--offline,
.badge--default {
  color: var(--text-muted);
}

.badge--archived,
.badge--danger {
  color: var(--danger);
}

.layout {
  display: grid;
  height: 100dvh;
  transition: grid-template-columns 0.3s ease-in-out;
}
.layout--open {
  grid-template-columns: 300px 1fr;
}
.layout--close {
  grid-template-columns: 0 1fr;
}
@media screen and (max-width: 1068px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .layout.layout--toggleOn, .layout.layout--close {
    grid-template-columns: 1fr;
  }
}

.aside {
  height: 100dvh;
  background-color: var(--bg);
  border-inline-end: var(--border-muted) 2px solid;
  box-shadow: 2px 0 10px 4px hsla(from var(--border-muted) h s l/25%);
  overflow: hidden;
  transition: padding 0.3s ease-in-out;
}
.aside--open {
  padding-inline: 1rem;
}
.aside--close {
  padding-inline: 0px;
  border-inline-end: var(--border-muted) 0px solid;
}
.aside__header {
  height: 5rem;
}
.aside__header .itemContainer {
  gap: 1rem;
  width: 100%;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border-radius: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}
.aside__header .itemContainer:hover {
  background-color: var(--bg-light);
  cursor: pointer;
  color: var(--text);
}
.aside__header svg {
  height: 1.5rem;
  width: 1.5rem;
}
.aside__menu {
  gap: 1rem;
  padding-block: 2rem;
}
@media screen and (max-width: 1068px) {
  .aside {
    position: absolute;
    top: 0;
    left: -300px;
    width: 300px;
    transition: left 0.5s ease-in-out;
    z-index: 2;
  }
  .aside--open {
    left: 0px;
  }
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  background-color: hsla(from var(--bg-light) h s l/0%);
  z-index: 1;
  width: 0;
  left: 0;
}
@media screen and (max-width: 1068px) {
  .overlay--open {
    width: 100%;
    height: 100%;
    background-color: hsla(from var(--bg-light) h s l/60%);
  }
  .overlay--close {
    width: 0%;
    height: 0%;
  }
}

.layout__header {
  padding-inline: 2rem;
  width: 100%;
  height: 5rem;
  background-color: var(--bg);
  border-block-end: var(--border-muted) 2px solid;
  box-shadow: 0px 2px 10px 4px hsla(from var(--border-muted) h s l/25%);
}
.layout__header .header__sidetoggle, .layout__header .header__themetoggle {
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border-muted);
  background-color: var(--bg);
  color: var(--text-muted);
}
.layout__header .header__sidetoggle svg, .layout__header .header__themetoggle svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: height 0.3s ease, width 0.3s ease;
}
.layout__header .header__sidetoggle:hover, .layout__header .header__themetoggle:hover {
  border: 2px solid var(--border);
  background-color: var(--bg-light);
  color: var(--text);
}
.layout__header .header__themetoggle.dark svg.icon--dark {
  height: 0rem;
  width: 0rem;
}
.layout__header .header__themetoggle.dark svg.icon--light {
  height: 1.5rem;
  width: 1.5rem;
}
.layout__header .header__themetoggle.light svg.icon--dark {
  height: 1.5rem;
  width: 1.5rem;
}
.layout__header .header__themetoggle.light svg.icon--light {
  height: 0rem;
  width: 0rem;
}

.main {
  height: calc(100dvh - 5rem);
  width: 100%;
  max-width: calc(1440px + 4rem);
  padding: 2rem;
  margin-inline: auto;
  overflow: auto;
  container-type: inline-size;
  container-name: main;
  gap: 2rem;
}
@media screen and (max-width: 1068px) {
  .main {
    padding-inline: clamp(0.3rem, -0.4273rem + 3.6364vw, 2rem);
  }
}

.title {
  color: var(--text);
}

.avatar-page {
  gap: 1.5rem;
}

.avatar-page--rename {
  height: 100%;
  min-height: 0;
}

.avatar-page__header {
  gap: 0.4rem;
}

.avatar-page__subtitle {
  color: var(--text-muted);
  max-width: 70ch;
}

.avatar-color-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-muted);
}

.avatar-color-tabs__item {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.avatar-color-tabs__item:hover,
.avatar-color-tabs__item:focus-visible,
.avatar-color-tabs__item.is-active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, var(--bg));
  color: var(--primary);
  outline: none;
}

.avatar-colors {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avatar-colors__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: var(--bg-light);
}

.avatar-colors__swatch {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--bg);
}

.avatar-colors__content {
  display: flex;
  min-inline-size: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.avatar-colors__content strong {
  overflow-wrap: anywhere;
  color: var(--text);
}

.avatar-colors__content small {
  color: var(--text-muted);
}

.avatar-colors__delete,
.avatar-colors__close {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.avatar-colors__delete {
  border-color: var(--danger);
  color: var(--danger);
}

.avatar-colors__delete:hover,
.avatar-colors__delete:focus-visible {
  background: color-mix(in srgb, var(--danger) 12%, var(--bg));
  outline: none;
}

@media (max-width: 38rem) {
  .avatar-colors__item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .avatar-colors__item form {
    grid-column: 1/-1;
  }
  .avatar-colors__delete {
    inline-size: 100%;
  }
}
.avatar-upload {
  gap: 1rem;
}

.avatar-upload__dropzone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.avatar-upload__dropzone:hover,
.avatar-upload__dropzone:focus-visible,
.avatar-upload__dropzone.is-drag-over {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
  outline: none;
}

.avatar-upload__dropzone.is-drag-over {
  background: color-mix(in srgb, var(--primary) 8%, var(--bg));
}

.avatar-upload__dropzone.is-disabled {
  cursor: wait;
  opacity: 0.7;
}

.avatar-upload__input {
  position: absolute;
  top: 0;
  left: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  z-index: 1;
}
.avatar-upload__input:hover {
  cursor: pointer;
}

.avatar-upload__title {
  color: var(--text);
  font-weight: 700;
}

.avatar-upload__hint,
.avatar-upload__file-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.avatar-upload__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.avatar-upload__count {
  color: var(--text);
  font-size: 1rem;
}

.avatar-upload__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.avatar-upload__button,
.avatar-upload__remove {
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 0.25rem;
  cursor: pointer;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
}

.avatar-upload__button--secondary,
.avatar-upload__remove {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}

.avatar-upload__button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.avatar-upload__button--secondary:hover:not(:disabled), .avatar-upload__remove:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--bg);
  color: var(--primary);
}

.avatar-upload__button:focus-visible, .avatar-upload__remove:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.avatar-upload__button:disabled,
.avatar-upload__remove:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.avatar-upload__list {
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.avatar-upload__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.avatar-upload__preview {
  flex: 0 0 4rem;
  inline-size: 4rem;
  block-size: 4rem;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--bg);
}

.avatar-upload__file {
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
}

.avatar-upload__file-name {
  color: var(--text);
  overflow-wrap: anywhere;
}

.avatar-upload__file-error {
  color: #b42318;
  font-size: 0.9rem;
}

.image-deformation {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  align-items: start;
  gap: 1.25rem;
}

.image-deformation__card,
.image-deformation__specs {
  border: 1px solid var(--border-muted);
  border-radius: 0.65rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.image-deformation__card {
  padding: clamp(1rem, 3vw, 1.75rem);
}

.image-deformation__card-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-block-end: 1.25rem;
}
.image-deformation__card-header h2 {
  color: var(--text);
}
.image-deformation__card-header p {
  color: var(--text-muted);
  max-inline-size: 62ch;
}

.image-deformation__eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-deformation__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-deformation__dropzone {
  position: relative;
  display: flex;
  min-block-size: 13rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2rem;
  overflow: hidden;
  border: 2px dashed var(--border);
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.image-deformation__dropzone:hover, .image-deformation__dropzone:focus-within {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 9%, var(--bg));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.image-deformation__upload-icon {
  display: grid;
  inline-size: 3rem;
  block-size: 3rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg));
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.image-deformation__upload-title {
  font-weight: 700;
}

.image-deformation__upload-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.image-deformation__file-input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  cursor: pointer;
}

.image-deformation__selection {
  color: var(--text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.image-deformation__button {
  display: inline-flex;
  min-block-size: 2.75rem;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.65rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 0.4rem;
  background: var(--primary);
  color: var(--bg-light);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.image-deformation__button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}
.image-deformation__button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.image-deformation__button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.image-deformation__button--download {
  background: color-mix(in srgb, var(--success) 16%, var(--bg-light));
  border-color: var(--success);
  color: var(--success);
}

.image-deformation__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-top: 1px solid var(--border-muted);
}

.image-deformation__status {
  color: var(--text-muted);
}

.image-deformation__specs {
  padding: 1.25rem;
}
.image-deformation__specs h2 {
  margin-block-end: 1rem;
  color: var(--text);
  font-size: 1rem;
}
.image-deformation__specs dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.image-deformation__specs dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border-muted);
}
.image-deformation__specs dl div:last-child {
  border-bottom: 0;
}
.image-deformation__specs dt {
  color: var(--text-muted);
}
.image-deformation__specs dd {
  color: var(--text);
  font-weight: 700;
  text-align: end;
}

@media (max-width: 52rem) {
  .image-deformation {
    grid-template-columns: 1fr;
  }
  .image-deformation__button {
    inline-size: 100%;
  }
}
.avatar-rename {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.avatar-rename__queue,
.avatar-rename__validated,
.avatar-rename__panel {
  gap: 0.75rem;
}

.avatar-rename__validated {
  margin-top: 1.25rem;
}

.avatar-rename__title {
  color: var(--text);
  font-size: 1rem;
}

.avatar-rename__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.avatar-rename__card {
  position: relative;
}

.avatar-rename__delete {
  display: none;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.avatar-rename__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-rename__delete:hover,
.avatar-rename__delete:focus-visible {
  border-color: #b42318;
  color: #b42318;
  outline: none;
}

.avatar-rename__card-button {
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  min-height: 8rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s, background-color 0.2s;
}

.avatar-rename__card-button span {
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-rename__card-button:hover,
.avatar-rename__card-button:focus-visible,
.avatar-rename__card.is-selected .avatar-rename__card-button {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
  outline: none;
}

.avatar-rename__card.is-validated .avatar-rename__card-button {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 8%, var(--bg-light));
}

.avatar-rename__card.is-validated::after {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.avatar-rename__card.is-validated::after {
  content: "Validee";
  background: var(--success);
  color: white;
}

.avatar-rename__rejected {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--danger) 55%, var(--border));
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--danger) 7%, var(--bg-light));
}

.avatar-rename__rejected-header {
  margin-bottom: 0.75rem;
}

.avatar-rename__rejected-header p {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
}

.avatar-rename__rejected-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avatar-rename__error {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border));
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.avatar-rename__error-thumb {
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: 0.25rem;
  background: var(--bg);
  object-fit: contain;
}

.avatar-rename__error-content {
  display: flex;
  min-inline-size: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.avatar-rename__error-content strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-rename__error-content small {
  color: var(--danger);
}

.avatar-rename__error-actions {
  display: flex;
  gap: 0.4rem;
}

.avatar-rename__error button {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--primary);
  border-radius: 0.3rem;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.avatar-rename__error .avatar-rename__retry:hover,
.avatar-rename__error .avatar-rename__retry:focus-visible {
  background: var(--primary);
  color: white;
  outline: none;
}

.avatar-rename__error .avatar-rename__remove {
  border-color: var(--danger);
  color: var(--danger);
}

.avatar-rename__error .avatar-rename__remove:hover,
.avatar-rename__error .avatar-rename__remove:focus-visible {
  background: var(--danger);
  color: white;
  outline: none;
}

@media (max-width: 38rem) {
  .avatar-rename__error {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
  .avatar-rename__error-actions {
    grid-column: 1/-1;
  }
}
.avatar-rename__thumb,
.avatar-rename__preview {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg);
  border-radius: 0.25rem;
}

.avatar-rename__panel {
  position: absolute;
  top: 0;
  right: -500px;
  z-index: 20;
  width: min(24rem, 100%);
  height: 100%;
  gap: 0;
  overflow: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--text) 16%, transparent);
  transition: right 0.28s ease;
}

.avatar-rename__panel.is-open {
  right: 0;
}

.avatar-rename__panel-close {
  flex: 0 0 auto;
  inline-size: 2rem;
  block-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.avatar-rename__panel-header,
.avatar-rename__panel-footer {
  position: sticky;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--bg-light) 94%, transparent);
  backdrop-filter: blur(10px);
}

.avatar-rename__panel-header {
  top: 0;
  border-bottom: 1px solid var(--border-muted);
}

.avatar-rename__panel-header h2 {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-size: 1.1rem;
}

.avatar-rename__panel-kicker,
.avatar-rename__result > span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.avatar-rename__panel-content {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.15rem 1.25rem;
}

.avatar-rename__panel-media {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.55rem;
  background: var(--bg);
}

.avatar-rename__panel-media .avatar-rename__preview {
  max-block-size: 15rem;
}

.avatar-rename__current {
  color: var(--text-muted);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.avatar-rename__panel-form,
.avatar-rename__filters {
  display: grid;
  gap: 0.85rem;
}

.avatar-rename__panel-footer {
  bottom: 0;
  justify-content: stretch;
  border-top: 1px solid var(--border-muted);
}

.avatar-rename__panel-footer .avatar-rename__button {
  width: 100%;
}

.avatar-rename__panel-close:hover,
.avatar-rename__panel-close:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.avatar-rename__confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--bg-dark) 58%, transparent);
  backdrop-filter: blur(5px);
}

.avatar-rename__confirm {
  inline-size: min(28rem, 100%);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
}

.avatar-rename__confirm header,
.avatar-rename__confirm-actions {
  padding: 1rem;
  border-bottom: 1px solid var(--border-muted);
}

.avatar-rename__confirm h2 {
  font-size: 1.1rem;
}

.avatar-rename__confirm-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.avatar-rename__confirm-body img {
  inline-size: 100%;
  max-block-size: 18rem;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.avatar-rename__confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid var(--border-muted);
  border-bottom: 0;
}

.avatar-rename__confirm-actions button {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.55rem 0.8rem;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.avatar-rename__confirm-actions form button {
  border-color: #b42318;
  background: color-mix(in srgb, #b42318 12%, var(--bg));
  color: #b42318;
}

.avatar-rename__field {
  gap: 0.35rem;
  color: var(--text);
}

.avatar-rename__field > span {
  font-size: 0.82rem;
  font-weight: 650;
}

.avatar-rename__field select,
.avatar-rename__field input {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avatar-rename__field select:focus,
.avatar-rename__field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
  outline: none;
}

.avatar-rename__new-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.avatar-rename__new-filter[hidden] {
  display: none;
}

.avatar-rename__new-filter input[type=color] {
  inline-size: 3rem;
  min-inline-size: 3rem;
  block-size: 2.55rem;
  padding: 0.2rem;
  cursor: pointer;
}

.avatar-rename__color-picker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem;
  min-inline-size: 7.5rem;
}

.avatar-rename__color-value {
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.78rem;
}

.avatar-rename__result {
  display: grid;
  gap: 0.4rem;
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
}

.avatar-rename__generated {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.avatar-rename__button,
.avatar-rename__finish {
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
  cursor: pointer;
}

.avatar-rename__button:hover, .avatar-rename__finish:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.avatar-rename__button:focus-visible, .avatar-rename__finish:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.avatar-rename__finish {
  justify-self: start;
}

.avatar-show {
  gap: 1.5rem;
}

.avatar-show__header {
  gap: 0.5rem;
}

.avatar-show__back {
  color: var(--text-muted);
  text-decoration: none;
}

.avatar-show__back:hover {
  color: var(--text);
}

.avatar-show__main {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.avatar-show__media {
  min-height: 18rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.avatar-show__media--sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.75rem;
}

.avatar-show__side {
  gap: 0.5rem;
  margin: 0;
  min-width: 0;
}

.avatar-show__side-frame {
  aspect-ratio: 1;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.avatar-show__side figcaption,
.avatar-show__placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.avatar-show__media img,
.avatar-show__side-frame img,
.avatar-show__card img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.avatar-show__details {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  color: var(--text);
}

.avatar-show__details div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border-muted);
}

.avatar-show__details dt {
  color: var(--text-muted);
  font-weight: 700;
}

.avatar-show__details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.avatar-show__color-value {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.avatar-show__color-swatch {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--text) 24%, var(--border));
  border-radius: 999px;
  background: var(--avatar-color);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, white 32%, transparent);
}

.avatar-show__color-value small {
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.75rem;
}

.avatar-show__similar {
  gap: 0.75rem;
}

.avatar-show__similar h2 {
  color: var(--text);
  font-size: 1.1rem;
}

.avatar-show__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.avatar-show__card {
  gap: 0.5rem;
  min-height: 10rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
}

.avatar-show__card img {
  aspect-ratio: 1;
}

.avatar-show__card:hover {
  border-color: var(--primary);
}

.avatar-show__empty {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .avatar-show__main {
    grid-template-columns: 1fr;
  }
  .avatar-show__details div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.clothe-show {
  gap: 1.5rem;
  color: var(--text);
}

.clothe-show h1,
.clothe-show h2,
.clothe-show h3,
.clothe-show dt,
.clothe-show dd,
.clothe-show strong {
  color: var(--text);
}

.clothe-show__meta a,
.clothe-show__seo a {
  color: var(--primary);
}

.clothe-show__header,
.clothe-show__section,
.clothe-show__gallery-section,
.clothe-show__meta {
  gap: 0.75rem;
}

.clothe-show__subtitle,
.clothe-show__empty,
.clothe-show__placeholder {
  color: var(--text-muted);
}

.clothe-show__header-status {
  display: flex;
  margin-block-start: 0.5rem;
}

.clothe-show__summary {
  display: grid;
  grid-template-columns: minmax(18rem, 34rem) minmax(16rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.clothe-show__presentation {
  gap: 1rem;
}

.clothe-show__presentation-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 34rem) minmax(18rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.clothe-show__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.75rem;
}

.clothe-show__image,
.clothe-show__placeholder,
.clothe-show__related-card {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.clothe-show__image {
  aspect-ratio: 1;
  max-block-size: 12rem;
  margin: 0;
  padding: 0.5rem;
}

.clothe-show__image img,
.clothe-show__related-card img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.clothe-show__placeholder {
  min-height: 14rem;
}

.clothe-show__meta {
  margin: 0;
  color: var(--text);
}

.clothe-show__meta div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border-muted);
}

.clothe-show__meta dt {
  color: var(--text-muted);
  font-weight: 700;
}

.clothe-show__meta dd {
  gap: 0.35rem;
  margin: 0;
}

.clothe-show__information,
.clothe-show__description {
  gap: 0.75rem;
}

.clothe-show__description {
  padding-block-start: 0.5rem;
}

.clothe-show__description h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.clothe-show__description p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.clothe-show__inline-action,
.clothe-show__button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.clothe-show__button--danger {
  color: var(--danger);
}

.clothe-show__action {
  justify-self: end;
  inline-size: fit-content;
  border: 1px solid var(--primary);
  border-radius: 0.35rem;
  padding: 0.65rem 1rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.clothe-show__action:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.clothe-show__action:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.clothe-show__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.clothe-show__section h2 {
  color: var(--text);
  font-size: 1.1rem;
}

.clothe-show__sizes,
.clothe-show__related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.clothe-show__highlight-images {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.clothe-show__size,
.clothe-show__highlight-card {
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
}

.clothe-show__highlight-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.clothe-show__highlight-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block-end: 0.65rem;
  border-block-end: 1px solid var(--border-muted);
}

.clothe-show__variant-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
}

.clothe-show__variant-group {
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
}

.clothe-show__variant-group-header,
.clothe-show__variant-size,
.clothe-show__variant-toggles,
.clothe-show__presentation-toggles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.clothe-show__variant-group-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.clothe-show__variant-group-header p,
.clothe-show__variant-size span,
.clothe-show__variant-toggles span,
.clothe-show__presentation-toggles span {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.clothe-show__variant-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.clothe-show__variant-image {
  inline-size: min(120px, 100%);
  max-inline-size: 120px;
  flex: 0 0 min(120px, 100%);
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.clothe-show__variant-image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.clothe-show__variant-toggles,
.clothe-show__presentation-toggles {
  align-items: stretch;
}

.clothe-show__variant-toggles > div,
.clothe-show__presentation-toggles > div,
.clothe-show__variant-sizes {
  gap: 0.5rem;
}

.clothe-show__presentation-toggles {
  padding-block-start: 0.5rem;
}

.clothe-show__variant-size {
  padding: 0.65rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.clothe-show__variant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.clothe-show__seo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.75rem;
  margin: 0;
}

.clothe-show__seo div {
  gap: 0.45rem;
  min-block-size: 6rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 45%, transparent);
}

.clothe-show__seo dt {
  color: var(--text-muted);
  font-weight: 700;
}

.clothe-show__seo dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.clothe-show__stock-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.75rem;
}

.clothe-show__variant-card {
  gap: 0.85rem;
  min-block-size: 12rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 45%, transparent);
}

.clothe-show__stock-main,
.clothe-show__stock-availability,
.clothe-show__stock-value,
.clothe-show__stock-toggle {
  gap: 0.25rem;
}

.clothe-show__stock-main strong,
.clothe-show__stock-value strong {
  font-size: 1.25rem;
}

.clothe-show__stock-main span,
.clothe-show__stock-value span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.clothe-show__card-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.clothe-show__status {
  inline-size: fit-content;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.clothe-show__status--available {
  border-color: var(--success);
  color: var(--success);
}

.clothe-show__highlight-preview {
  inline-size: 100%;
  aspect-ratio: 16/9;
  min-height: 12rem;
  overflow: hidden;
  border: 1px dashed var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text-muted);
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.clothe-show__highlight-media {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(18rem, 1.3fr);
  gap: 1rem;
  align-items: stretch;
}

.clothe-show__highlight-preview img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.clothe-show__highlight-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-block-size: 12rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.clothe-show__highlight-dropzone small {
  color: var(--text-muted);
}

.clothe-show__highlight-dropzone input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.clothe-show__highlight-dropzone:hover,
.clothe-show__highlight-dropzone.is-drag-over,
.clothe-show__highlight-dropzone:focus-visible {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, var(--bg));
}

.clothe-show__highlight-dropzone.is-drag-over,
.clothe-show__highlight-dropzone:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.clothe-show__highlight-preview > span {
  max-inline-size: 22rem;
  padding: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.clothe-show__highlight-card[aria-busy=true] {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 42rem) {
  .clothe-show__highlight-media {
    grid-template-columns: minmax(0, 1fr);
  }
}
.clothe-show__table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 55%, transparent);
}

.clothe-show__size-guide-form {
  display: grid;
  gap: 1rem;
}

.clothe-show__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6rem, 10rem);
  gap: 1rem;
}

.clothe-show__form-row--column {
  grid-template-columns: minmax(0, 1fr);
}

.clothe-show__form-row label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.clothe-show__form-row input,
.clothe-show__size-guide input {
  inline-size: 100%;
  min-inline-size: 5rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: var(--bg);
  color: var(--text);
}

.clothe-show__measurement-types {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.85rem;
}

.clothe-show__measurement-types legend {
  padding-inline: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.clothe-show__measurement-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.clothe-show__measurement-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  background: var(--bg-light);
  color: var(--text);
  font-size: 0.85rem;
}

.clothe-show__measurement-type input {
  inline-size: auto;
  min-inline-size: auto;
}

.clothe-show__size-guide {
  inline-size: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.clothe-show__size-guide th,
.clothe-show__size-guide td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-muted);
  text-align: start;
  white-space: nowrap;
}

.clothe-show__size-guide thead th {
  color: var(--text-muted);
  font-weight: 700;
}

.clothe-show__size-guide tbody tr:last-child th,
.clothe-show__size-guide tbody tr:last-child td {
  border-bottom: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--bg-dark) 54%, transparent);
  backdrop-filter: blur(5px);
}

.modal {
  inline-size: min(34rem, 100%);
  max-block-size: min(42rem, 100vh - 2rem);
  overflow: auto;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
}

.modal--wide {
  inline-size: min(46rem, 100%);
}

.modal__header,
.modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-muted);
}

.modal__actions {
  border-top: 1px solid var(--border-muted);
  border-bottom: 0;
}

.modal__body {
  gap: 1rem;
  padding: 1rem;
}

.modal__subtitle {
  color: var(--text-muted);
}

.modal__error {
  padding: 0.75rem;
  border: 1px solid var(--danger);
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--danger) 14%, var(--bg));
  color: var(--danger);
  font-weight: 700;
}

.modal__close {
  inline-size: 2rem;
  block-size: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.size-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  border: 0;
}

.size-tags legend {
  inline-size: 100%;
  margin-block-end: 0.5rem;
  color: var(--text-muted);
  font-weight: 700;
}

.size-tag input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.size-tag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 3rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.size-tag input:checked + span {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 18%, var(--bg));
  color: var(--primary);
}

.size-tag input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.size-stocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.75rem;
  margin-block-start: 1.25rem;
}

.size-stocks h3 {
  grid-column: 1/-1;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.size-stock {
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
  font-weight: 700;
}

.size-stock input {
  min-inline-size: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: var(--bg-light);
  color: var(--text);
}

.size-stock input:focus-visible {
  border-color: var(--primary);
  outline: 2px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.clothe-image-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
  gap: 0.75rem;
  padding: 0;
  border: 0;
}

.clothe-image-picker legend {
  grid-column: 1/-1;
  color: var(--text-muted);
  font-weight: 700;
}

.clothe-image-picker__item input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.clothe-image-picker__item span {
  aspect-ratio: 1;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  cursor: pointer;
}

.clothe-image-picker__item img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.clothe-image-picker__item input:checked + span {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.clothe-image-upload {
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
}

.clothe-image-order {
  display: grid;
  gap: 0.75rem;
}

.clothe-image-order__item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.clothe-image-order__item img {
  inline-size: 5rem;
  block-size: 5rem;
  object-fit: contain;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.clothe-image-order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.clothe-image-order__actions button {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.clothe-bestseller-list {
  gap: 0.65rem;
  padding: 0;
  border: 0;
}

.clothe-bestseller-list__item {
  display: grid;
  grid-template-columns: auto 4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.clothe-bestseller-list__preview {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.clothe-bestseller-list__preview img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.clothe-bestseller-list__content {
  gap: 0.2rem;
  min-inline-size: 0;
}

.clothe-bestseller-list__content strong,
.clothe-bestseller-list__content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clothe-bestseller-list__content small {
  color: var(--text-muted);
}

.collection-form {
  gap: 1rem;
}

.collection-form__section {
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
}

.collection-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.collection-form__field {
  gap: 0.4rem;
  color: var(--text);
}
.collection-form__field input[type=color] {
  min-block-size: 2.75rem;
  padding-block: 0.25rem;
}

.collection-form__field[hidden],
.collection-form__clothe-placeholder[hidden] {
  display: none;
}

.collection-form__field span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.collection-form__field input,
.collection-form__field select,
.collection-form__field textarea {
  inline-size: 100%;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  color: var(--text);
}

.collection-form__field textarea {
  resize: vertical;
}

.collection-form__section-header,
.collection-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.collection-form__clothe-placeholder {
  gap: 1rem;
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
}

.collection-form__clothes-list {
  gap: 0.65rem;
}

.collection-form__clothe-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
}

.collection-form__clothe-summary button {
  border: 1px solid var(--danger);
  border-radius: 0.35rem;
  padding: 0.4rem 0.65rem;
  background: color-mix(in srgb, var(--danger) 12%, var(--bg));
  color: var(--danger);
  cursor: pointer;
}

.collection-form__image-order {
  gap: 0.5rem;
}

.collection-form__image-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
}

.collection-form__image-item span {
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-form__image-item div {
  display: flex;
  gap: 0.35rem;
}

.collection-form__image-item button {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.35rem 0.5rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.clothe-create {
  gap: 1.5rem;
  color: var(--text);
}

.clothe-create__header {
  padding-block-end: 1rem;
  border-block-end: 1px solid var(--border-muted);
}

.clothe-create__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clothe-create__form {
  gap: 1.25rem;
}

.clothe-create__section {
  gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-color: var(--border-muted);
  box-shadow: 0 0.15rem 0.75rem color-mix(in srgb, var(--bg-dark) 12%, transparent);
}

.clothe-create__section-heading {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.clothe-create__section-heading h2,
.clothe-create__section-heading p {
  margin: 0;
}

.clothe-create__section-heading h2 {
  color: var(--text);
  font-size: 1.1rem;
}

.clothe-create__section-heading p {
  margin-block-start: 0.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.clothe-create__step {
  display: inline-grid;
  flex: 0 0 2.25rem;
  place-items: center;
  min-block-size: 2.25rem;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, var(--border));
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg));
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
}

.clothe-create__main-fields {
  grid-template-columns: minmax(14rem, 1.35fr) minmax(11rem, 0.65fr) minmax(14rem, 1fr);
}

.clothe-create__field {
  display: grid;
  gap: 0.45rem;
}

.clothe-create__field label,
.clothe-create__variant-fields label,
.clothe-create__variant-fields legend {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.clothe-create__field input,
.clothe-create__field select,
.clothe-create__variant-fields input:not([type=checkbox]):not([type=radio]),
.clothe-create__variant-fields select,
.clothe-create__variant-fields textarea {
  inline-size: 100%;
  min-block-size: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: color 0.25s ease-out, background-color 0.25s ease-out, border 200ms ease-out, box-shadow 150ms ease;
}

.clothe-create__field input:focus-visible,
.clothe-create__field select:focus-visible,
.clothe-create__variant-fields input:focus-visible,
.clothe-create__variant-fields select:focus-visible,
.clothe-create__variant-fields textarea:focus-visible {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}

.clothe-create__variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1rem;
}

.collection-form__variant {
  min-inline-size: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--text);
}

.collection-form__variant > legend {
  padding-inline: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.clothe-create__variant-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clothe-create__variant-fields > div {
  display: grid;
  gap: 0.4rem;
  min-inline-size: 0;
}

.clothe-create__variant-fields [data-clothe-new-color-field][hidden] {
  display: none;
}

.clothe-create__variant-fields .form-help {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.clothe-create__variant-fields > div:nth-last-child(-n+3) {
  grid-column: 1/-1;
}

.clothe-create__variant-fields textarea {
  min-block-size: 6.5rem;
  resize: vertical;
}

.clothe-create__variant-fields input[type=file] {
  min-block-size: 7rem;
  padding: 1rem;
  border-style: dashed;
  background: color-mix(in srgb, var(--primary) 5%, var(--bg-light));
  cursor: pointer;
}

.clothe-create__variant-fields input[type=file]::file-selector-button {
  margin-inline-end: 0.75rem;
  border: 1px solid var(--primary);
  border-radius: 0.35rem;
  padding: 0.5rem 0.7rem;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg));
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.clothe-create__variant-fields input[type=checkbox] {
  accent-color: var(--primary);
}

.clothe-create__variant-fields [data-clothe-sizes-field] {
  grid-column: 1/-1;
}

.clothe-create__variant-fields [data-clothe-sizes-field] > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.clothe-create__variant-fields [data-clothe-sizes-field] > div > div {
  position: relative;
}

.clothe-create__size-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.clothe-create__size-input + label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 3rem;
  min-block-size: 2.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
}

.clothe-create__size-input + label:hover {
  border-color: var(--primary);
  color: var(--text);
}

.clothe-create__size-input:checked + label {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 18%, var(--bg));
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.clothe-create__size-input:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.clothe-create__size-input:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}

.clothe-create__add,
.clothe-create__remove {
  inline-size: fit-content;
  border-radius: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.clothe-create__add {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.clothe-create__add:hover {
  background: color-mix(in srgb, var(--primary) 12%, var(--bg));
}

.clothe-create__remove {
  margin-block-start: 1rem;
  border: 1px solid color-mix(in srgb, var(--danger) 65%, var(--border));
  color: var(--danger);
}

.clothe-create__remove:hover {
  background: color-mix(in srgb, var(--danger) 10%, var(--bg));
}

.clothe-create__submit-help {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.clothe-create__submit {
  min-inline-size: 11rem;
  text-align: center;
}

@media (max-width: 52rem) {
  .clothe-create__main-fields,
  .clothe-create__variant-fields {
    grid-template-columns: 1fr;
  }
  .clothe-create__variant-fields > div:nth-last-child(-n+3) {
    grid-column: auto;
  }
  .collection-form__section-header,
  .collection-form__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .clothe-create__add,
  .clothe-create__submit {
    inline-size: 100%;
    justify-content: center;
  }
}
.clothe-show__related {
  padding: 0;
  list-style: none;
}

.clothe-show__related-card {
  gap: 0.5rem;
  min-height: 10rem;
  padding: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.clothe-show__related-card img {
  aspect-ratio: 1;
}

.category-show {
  gap: 1.5rem;
}

.category-show__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-show__subtitle,
.category-show__empty {
  color: var(--text-muted);
}

.category-show__summary {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.category-show__content {
  gap: 1rem;
  min-inline-size: 0;
}

.category-show__image-section,
.category-show__meta,
.category-show__section,
.category-show__upload {
  gap: 0.75rem;
}

.category-show__section-title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.category-show__section:focus-within .category-show__section-title,
.category-show__section:hover .category-show__section-title {
  color: var(--primary);
}

.category-show__image {
  inline-size: 100%;
  aspect-ratio: 4/3;
  min-block-size: 12rem;
  max-block-size: 28rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text-muted);
}

.category-show__image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.category-show__upload {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.category-show__upload label {
  gap: 0.4rem;
  color: var(--text);
}

.category-show__upload input {
  min-inline-size: 0;
  inline-size: 100%;
}

.category-form__field {
  gap: 0.4rem;
  color: var(--text);
}

.category-form__field input,
.category-form__field select,
.category-form__field textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
}

.category-form__preview {
  max-inline-size: 12rem;
  aspect-ratio: 1;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.category-form__preview img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.category-show__button {
  align-self: flex-start;
  inline-size: fit-content;
  max-inline-size: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--primary);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--primary);
  cursor: pointer;
}

.category-show__meta {
  inline-size: 100%;
  margin: 0;
  color: var(--text);
}

.category-show__meta div {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.category-show__meta dt {
  color: var(--text-muted);
  font-weight: 700;
}

.category-show__meta dd {
  margin: 0;
}

.category-publication {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
}

.category-publication__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.category-publication__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.category-publication__summary {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.category-publication__summary--valid {
  color: var(--success);
}

.category-publication__summary--invalid {
  color: var(--danger);
}

.category-publication__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-publication__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.4rem;
  background: var(--bg);
}

.category-publication__indicator {
  display: grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
}

.category-publication__item--valid .category-publication__indicator {
  color: var(--success);
}

.category-publication__item--invalid .category-publication__indicator {
  color: var(--danger);
}

.category-publication__item div {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  gap: 0.15rem;
}

.category-publication__item strong {
  color: var(--text);
  font-size: 0.9rem;
}

.category-publication__item div span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.clothe-publication {
  display: grid;
  gap: 1rem;
  color: var(--text);
}

.clothe-publication__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.clothe-publication__header h2 {
  margin: 0;
  color: var(--text);
}

.clothe-publication__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.clothe-publication__summary {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.clothe-publication__summary--valid {
  color: var(--success);
}

.clothe-publication__summary--invalid {
  color: var(--danger);
}

.clothe-publication__warning {
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border));
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--danger) 8%, var(--bg));
  color: var(--text);
}

.clothe-publication__warning strong {
  color: var(--danger);
}

.clothe-publication__warning ul {
  display: grid;
  gap: 0.3rem;
  margin: 0.5rem 0 0;
  padding-inline-start: 1.15rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.clothe-publication__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 45%, transparent);
}

.clothe-publication__table {
  inline-size: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.clothe-publication__table th,
.clothe-publication__table td {
  padding: 0.85rem 1rem;
  border-block-end: 1px solid var(--border-muted);
  text-align: start;
  vertical-align: middle;
}

.clothe-publication__table th {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.clothe-publication__table tbody tr:last-child td {
  border-block-end: 0;
}

.clothe-publication__table td:first-child,
.clothe-publication__table td:nth-child(2) {
  min-inline-size: 11rem;
}

.clothe-publication__table td:first-child strong,
.clothe-publication__table td:first-child span,
.clothe-publication__table td:nth-child(2) small {
  display: block;
}

.clothe-publication__table td:first-child span,
.clothe-publication__table td:nth-child(2) small {
  margin-block-start: 0.3rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.clothe-publication__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.clothe-publication__action-form {
  display: flex;
}

.clothe-publication__action {
  min-block-size: 2.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.clothe-publication__action:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.clothe-publication__action--primary {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg));
  color: var(--primary);
}

.clothe-publication__action--danger {
  border-color: var(--danger);
  color: var(--danger);
}

.clothe-publication__action:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 34rem) {
  .clothe-publication__header {
    align-items: stretch;
    flex-direction: column;
  }
  .clothe-publication__summary {
    inline-size: fit-content;
  }
}
.clothe-schedule__variants {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.clothe-schedule__variants legend {
  margin-block-end: 0.2rem;
  color: var(--text);
  font-weight: 700;
}

.clothe-schedule__variant {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.clothe-schedule__variant:hover {
  border-color: var(--border);
  background: var(--bg);
}

.clothe-schedule__variant input {
  accent-color: var(--primary);
}

.clothe-schedule__variant span,
.clothe-schedule__variant small {
  display: block;
}

.clothe-schedule__variant small {
  margin-block-start: 0.2rem;
  color: var(--text-muted);
}

.category-show__collections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.category-show__collection {
  min-inline-size: 0;
}

.category-show__collection a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-block-size: 6rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.category-show__collection a:hover,
.category-show__collection a:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
  outline: none;
}

.category-show__collection img,
.category-show__collection-placeholder {
  inline-size: 4.5rem;
  block-size: 4.5rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.category-show__collection img {
  object-fit: contain;
}

.category-show__collection-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.category-show__collection div {
  gap: 0.25rem;
  min-inline-size: 0;
}

.category-show__collection strong,
.category-show__collection span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-show__collection span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.category-show__collection .category-show__collection-publication {
  inline-size: fit-content;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.category-show__collection .category-show__collection-publication--valid {
  color: var(--success);
}

.category-show__collection .category-show__collection-publication--invalid {
  color: var(--danger);
}

.collection-show {
  gap: 1.5rem;
}

.collection-show__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.collection-show__subtitle,
.collection-show__empty {
  color: var(--text-muted);
}

.collection-show__summary {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.collection-show__image-section,
.collection-show__content,
.collection-show__meta,
.collection-show__section {
  gap: 1rem;
  min-inline-size: 0;
}

.collection-show__image {
  inline-size: 100%;
  aspect-ratio: 4/3;
  min-block-size: 12rem;
  max-block-size: 28rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text-muted);
}

.collection-show__image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.collection-show__meta {
  inline-size: 100%;
  margin: 0;
  color: var(--text);
}

.collection-show__meta div {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
}

.collection-show__meta dt,
.collection-show__section-title {
  color: var(--text-muted);
  font-weight: 700;
}

.collection-show__meta dd {
  margin: 0;
}

.collection-show__meta a {
  color: var(--primary);
  text-decoration: none;
}

.collection-show__section-title {
  font-size: 1.05rem;
  transition: color 160ms ease;
}

.collection-show__section:hover .collection-show__section-title,
.collection-show__section:focus-within .collection-show__section-title {
  color: var(--primary);
}

.collection-show__clothes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.collection-show__clothe {
  min-inline-size: 0;
}

.collection-show__clothe a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-block-size: 6rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.collection-show__clothe a:hover,
.collection-show__clothe a:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
  outline: none;
}

.collection-show__clothe img,
.collection-show__clothe-placeholder {
  inline-size: 4.5rem;
  block-size: 4.5rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
}

.collection-show__clothe img {
  object-fit: contain;
}

.collection-show__clothe-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.collection-show__clothe div {
  gap: 0.25rem;
  min-inline-size: 0;
}

.collection-show__clothe strong,
.collection-show__clothe span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-show__clothe span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.collection-show__clothe .collection-show__size-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  overflow: visible;
  white-space: normal;
}

.collection-show__clothe .collection-show__size-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.2rem;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  background: var(--bg);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: visible;
  white-space: nowrap;
}

.collection-show__clothe .collection-show__size-tag--online {
  border-color: var(--success);
}

.collection-show__clothe .collection-show__size-tag--out-of-stock {
  border-color: hsl(from var(--border-muted) h calc(s * 0.35) l);
}

.collection-show__clothe .collection-show__size-tag--online.collection-show__size-tag--out-of-stock {
  border-color: hsl(from var(--success) h calc(s * 0.35) l);
}

.collection-show__clothe .collection-show__clothe-publication {
  inline-size: fit-content;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.collection-show__clothe .collection-show__clothe-publication--valid {
  color: var(--success);
}

.collection-show__clothe .collection-show__clothe-publication--invalid {
  color: var(--danger);
}

.clothe-show-tabs {
  display: grid;
  gap: 1rem;
}

.clothe-show-tabs__nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-block-end: 0.35rem;
  border-block-end: 1px solid var(--border-muted);
}

.clothe-show-tabs__tab {
  position: relative;
  flex: 0 0 auto;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.clothe-show-tabs__tab::after {
  position: absolute;
  inset-inline: 0.75rem;
  inset-block-end: -0.4rem;
  block-size: 2px;
  border-radius: 999px;
  background: transparent;
  content: "";
  transition: background-color 160ms ease;
}

.clothe-show-tabs__tab:hover {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  color: var(--text);
}

.clothe-show-tabs__tab[aria-selected=true] {
  background: transparent;
  color: var(--text);
}

.clothe-show-tabs__tab[aria-selected=true]::after {
  background: var(--primary);
}

.clothe-show-tabs__tab:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 65%, transparent);
  outline-offset: -2px;
}

.clothe-show-tabs__panel {
  display: grid;
  gap: 1rem;
}

.clothe-show-tabs__panel[hidden] {
  display: none;
}

@container main (max-width: 760px) {
  .clothe-show__summary,
  .clothe-show__presentation-grid,
  .clothe-show__meta div,
  .category-show__summary,
  .collection-show__summary {
    grid-template-columns: 1fr;
  }
  .category-show__header,
  .collection-show__header {
    flex-direction: column;
  }
  .category-show__header .tabs,
  .collection-show__header .tabs {
    inline-size: 100%;
  }
  .category-show__image,
  .collection-show__image {
    min-block-size: 10rem;
  }
  .category-show__content,
  .collection-show__content {
    order: 2;
  }
}
@container main (max-width: 460px) {
  .category-show__collection a,
  .collection-show__clothe a {
    grid-template-columns: 1fr;
  }
  .category-show__collection img,
  .category-show__collection-placeholder,
  .collection-show__clothe img,
  .collection-show__clothe-placeholder {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 4/3;
  }
  .category-show__button {
    inline-size: 100%;
  }
}
.config-hub {
  gap: 1.5rem;
  color: var(--text);
}

.config-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.config-hub__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-block-size: 8rem;
  padding: 1.25rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.85rem;
  background: var(--bg-light);
  color: var(--text);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.config-hub__card:hover,
.config-hub__card:focus-visible {
  border-color: var(--primary);
  outline: 0;
  background: var(--bg);
  transform: translateY(-2px);
}

.config-hub__icon {
  display: grid;
  place-items: center;
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg));
  color: var(--primary);
}

.config-hub__icon svg,
.config-hub__arrow svg {
  inline-size: 1.4rem;
  block-size: 1.4rem;
}

.config-hub__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.config-hub__content strong {
  font-size: 1.05rem;
}

.config-hub__content small {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.config-hub__arrow {
  color: var(--text-muted);
}

.config-page {
  gap: 1.5rem;
  color: var(--text);
}

:root[data-theme=dark] .config-page {
  color-scheme: dark;
}

:root[data-theme=light] .config-page {
  color-scheme: light;
}

.config-page h1,
.config-page h2,
.config-page h3,
.config-page legend,
.config-page strong,
.config-page label {
  color: var(--text);
}

.config-page p,
.config-page small,
.config-page .form-text,
.config-page .help-text {
  color: var(--text-muted);
}

.config-page__content {
  inline-size: 100%;
  max-inline-size: 52rem;
  margin-inline: auto;
}

.config-page__back {
  margin-block-start: 0.75rem;
}

.config-page:has(.config-card--homepage) .config-page__content {
  inline-size: 100%;
  max-inline-size: 76rem;
}

.config-card {
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
}

.config-card__header h2 {
  color: var(--text);
  font-size: 1.1rem;
}

.config-field {
  gap: 0.4rem;
  color: var(--text);
}

.config-field[hidden],
.config-collection[hidden],
.config-image-field[hidden],
.config-file__preview-frame[hidden],
.config-file__preview[hidden] {
  display: none !important;
}

.config-field span,
.config-checkbox span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.config-field input,
.config-field textarea,
.config-field select,
.config-collection input {
  inline-size: 100%;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.config-field input::placeholder,
.config-field textarea::placeholder,
.config-collection input::placeholder {
  color: var(--text-muted);
  opacity: 0.72;
}

.config-field select option {
  background: var(--bg);
  color: var(--text);
}

.config-field input:hover,
.config-field textarea:hover,
.config-field select:hover,
.config-collection input:hover {
  border-color: var(--border-muted);
}

.config-field input:focus-visible,
.config-field textarea:focus-visible,
.config-field select:focus-visible,
.config-collection input:focus-visible {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.config-field input:disabled,
.config-field textarea:disabled,
.config-field select:disabled,
.config-collection input:disabled {
  background: var(--bg-dark);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.config-field input[type=checkbox],
.config-field input[type=radio],
.config-checkbox input {
  inline-size: 1.1rem;
  block-size: 1.1rem;
  accent-color: var(--primary);
}

.config-card > ul,
.config-field ul,
.config-collection > ul,
.config-page .invalid-feedback {
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.45;
}

.config-field textarea {
  resize: vertical;
}

.config-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.config-card__actions {
  display: flex;
  justify-content: flex-end;
}

.orders-config-tabs {
  display: grid;
  gap: 1.25rem;
  color: var(--text);
}

.orders-config-tabs__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.4rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg);
}

.orders-config-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-inline-size: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--text-muted);
  text-align: start;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.orders-config-tabs__tab span {
  font-size: 0.84rem;
  font-weight: 700;
}

.orders-config-tabs__tab small {
  overflow: hidden;
  inline-size: 100%;
  font-size: 0.7rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-config-tabs__tab:hover {
  background: var(--bg-light);
  color: var(--text);
}

.orders-config-tabs__tab[aria-selected=true] {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border-muted));
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-light));
  color: var(--primary);
}

.orders-config-tabs__tab:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.orders-config-tabs__panel {
  display: grid;
  gap: 1rem;
  min-inline-size: 0;
  padding: 1.15rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg);
}

.orders-config-tabs__panel[hidden] {
  display: none;
}

.orders-config-tabs__header {
  padding-block-end: 0.85rem;
  border-block-end: 1px solid var(--border-muted);
}

.orders-config-tabs__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.orders-config-tabs__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 38rem) {
  .orders-config-tabs__nav {
    grid-template-columns: 1fr;
  }
  .orders-config-tabs__tab {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .orders-config-tabs__tab small {
    inline-size: auto;
  }
  .orders-config-tabs__panel {
    padding: 0.85rem;
  }
}
.config-card--homepage {
  gap: 1.5rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-color: var(--border-muted);
  border-radius: 1rem;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.homepage-form__nav {
  position: sticky;
  z-index: 2;
  top: 0.75rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.6rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  scrollbar-width: thin;
}

.homepage-form__nav a {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: 150ms ease;
}

.homepage-form__nav a:hover,
.homepage-form__nav a:focus-visible {
  border-color: var(--border);
  background: var(--bg);
  color: var(--text);
}

.homepage-form__sections {
  display: grid;
  gap: 1.5rem;
}

.homepage-section {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-muted);
  border-radius: 0.85rem;
  background: var(--bg);
  overflow: hidden;
  scroll-margin-top: 5rem;
}

.homepage-section__legend {
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  padding: 1.15rem 1.25rem;
  border-block-end: 1px solid var(--border-muted);
  background: var(--bg);
  border-radius: 1rem 1rem 0 0;
}

.homepage-section__eyebrow {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.homepage-section__title {
  margin-block-start: 0.2rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
}

.homepage-section__legend small {
  margin-block-start: 0.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.homepage-section__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.homepage-section__fields > .config-field--text,
.homepage-section__fields > .config-field--description,
.homepage-section__fields > .config-field--ogDescription,
.homepage-section__fields > .config-field--jsonLd,
.homepage-section__fields > .homepage-collection {
  grid-column: 1/-1;
}

.homepage-section__fields .config-field label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.homepage-section__fields .config-field input,
.homepage-section__fields .config-field textarea {
  border-color: var(--border-muted);
  border-radius: 0.5rem;
  background: var(--bg-light);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.homepage-section__fields .config-field input:focus,
.homepage-section__fields .config-field textarea:focus {
  border-color: var(--primary);
  outline: 0;
  background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.homepage-checkbox {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.6rem;
  background: var(--bg-light);
}

.homepage-checkbox input {
  inline-size: 1.2rem;
  block-size: 1.2rem;
  accent-color: var(--primary);
}

.homepage-checkbox div {
  display: flex;
  flex-direction: column;
}

.homepage-checkbox label {
  color: var(--text);
  font-weight: 800;
}

.homepage-checkbox small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.homepage-image-upload {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.65fr);
  align-items: stretch;
  gap: 1rem;
}

.homepage-image-upload__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.homepage-image-upload__preview {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  min-inline-size: 0;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.65rem;
  background: var(--bg-light);
}

.homepage-image-upload__preview[hidden] {
  display: none;
}

.homepage-image-upload__preview img {
  inline-size: 5rem;
  block-size: 5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.homepage-image-upload__preview figcaption {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  gap: 0.2rem;
}

.homepage-image-upload__preview span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.homepage-image-upload__preview strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homepage-collection__fields .homepage-image-upload {
  grid-template-columns: 1fr;
}

.homepage-collection {
  min-inline-size: 0;
}

.homepage-collection__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 0.75rem;
  color: var(--text);
  font-weight: 800;
}

.homepage-collection__header small {
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.homepage-collection__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.homepage-collection__card {
  min-inline-size: 0;
  border: 1px solid var(--border-muted);
  border-radius: 0.7rem;
  background: var(--bg-light);
  overflow: hidden;
}

.homepage-collection__card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  border-block-end: 1px solid var(--border-muted);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.homepage-collection__card > header strong {
  color: var(--primary);
  font-size: 0.85rem;
}

.homepage-collection__fields {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
}

.homepage-collection__fields .config-field--slug,
.homepage-collection__fields .config-field--name,
.homepage-collection__fields .config-field--images,
.homepage-collection__fields .config-field--text,
.homepage-collection__fields .config-field--image,
.homepage-collection__fields .config-field--title,
.homepage-collection__fields .config-field--icon {
  grid-column: 1/-1;
}

.config-card--homepage .config-card__actions {
  position: sticky;
  z-index: 2;
  bottom: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--bg-light) 92%, transparent);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  backdrop-filter: blur(10px);
}

.config-group {
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.config-group legend {
  padding-inline: 0.4rem;
  color: var(--text);
  font-weight: 700;
}

.config-group__description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.config-page-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.config-page-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
  color: var(--text);
}

.config-page-list__item div {
  gap: 0.25rem;
}

.config-page-list__item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.config-collection {
  gap: 0.75rem;
}

.config-collection__header {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.config-collection__items {
  gap: 0.75rem;
}

.config-collection__item {
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
  color: var(--text);
}

.config-collection__item > div {
  gap: 0.75rem;
}

.config-collection__add,
.config-collection__remove {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.config-collection__add:hover,
.config-collection__add:focus-visible {
  border-color: var(--primary);
  outline: 0;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg));
  color: var(--primary);
}

.config-collection__remove {
  align-self: flex-end;
  color: var(--danger);
}

.config-collection__impact {
  margin: 0;
  color: var(--danger);
  font-size: 0.8rem;
  line-height: 1.45;
}

.config-collection__remove:hover,
.config-collection__remove:focus-visible {
  border-color: var(--danger);
  outline: 0;
  background: color-mix(in srgb, var(--danger) 10%, var(--bg));
}

.config-file__row {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  justify-content: space-around;
  gap: 1rem;
}

.config-file__zone {
  position: relative;
  flex: 1 1 24rem;
  border: 1px dashed var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  background: var(--bg);
  cursor: pointer;
}

.config-image-field {
  gap: 1rem;
}

.config-file__zone.is-drag-over {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-light));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.config-file__zone:hover,
.config-file__zone:focus-within {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--bg));
}

.config-file__input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  cursor: pointer;
}

.config-file__body {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-block-size: 6rem;
  color: var(--text);
}

.config-file__preview-frame {
  display: grid;
  place-items: center;
  flex: 0 0 8rem;
  min-block-size: 8rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.config-file__preview {
  inline-size: 7rem;
  block-size: 7rem;
  object-fit: contain;
  border-radius: 0.4rem;
}

.config-file__preview-empty {
  padding: 0.75rem;
}

.config-file__title,
.config-file__hint {
  margin: 0;
}

.config-file__title {
  font-weight: 700;
}

.config-file__hint {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.config-cropper {
  gap: 0.75rem;
}

.config-cropper .cropperjs-image {
  max-inline-size: 100%;
}

@media (max-width: 40rem) {
  .config-page:has(.config-card--homepage) .config-page__content {
    inline-size: auto;
  }
  .config-card--homepage {
    padding: 0.75rem;
  }
  .homepage-section__fields,
  .homepage-collection__grid {
    grid-template-columns: 1fr;
  }
  .homepage-image-upload {
    grid-template-columns: 1fr;
  }
  .homepage-section__fields > *,
  .homepage-collection__fields > * {
    grid-column: 1/-1;
  }
  .config-file__row {
    flex-direction: column;
  }
  .config-file__preview-frame {
    flex-basis: auto;
  }
}
.login-page {
  min-block-size: 100dvh;
  background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 34rem), radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 30rem), var(--bg-dark);
  color: var(--text);
}

.login-page__main {
  min-block-size: 100dvh;
  padding: clamp(1rem, 4vw, 3rem);
}

.login-card {
  inline-size: min(100%, 28rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 1rem 3rem color-mix(in srgb, var(--bg-dark) 62%, transparent);
  backdrop-filter: blur(1rem);
}

.login-card__header {
  position: relative;
  gap: 0.55rem;
  margin-block-end: 1.5rem;
}

.login-card__eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-card h1 {
  max-inline-size: 19rem;
  color: var(--text);
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  line-height: 1.08;
}

.login-card__subtitle {
  color: var(--text-muted);
  line-height: 1.5;
}

.login-card__theme {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
}

.login-card__theme svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  fill: currentColor;
}

.login-card__alert {
  margin-block-end: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--danger);
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--danger) 13%, var(--bg));
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.login-form {
  gap: 1rem;
}

.login-form__field {
  gap: 0.45rem;
}

.login-form__field > span,
.login-form__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.login-form__password-control {
  position: relative;
}

.login-form__password-control input {
  padding-inline-end: 3rem;
}

.login-form__password-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.4rem;
  display: grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  padding: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.login-form__password-toggle:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.login-form__password-toggle:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: 2px solid color-mix(in srgb, var(--primary) 30%, transparent);
  outline-offset: 1px;
}

.login-form__password-toggle span {
  display: grid;
  place-items: center;
}

.login-form__password-toggle span[hidden] {
  display: none;
}

.login-form__password-icon {
  display: block;
}

.login-form__field input {
  inline-size: 100%;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  padding: 0.75rem 0.85rem;
  background: var(--bg-light);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-form__field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.login-form__submit {
  margin-block-start: 0.35rem;
  border: 1px solid var(--primary);
  border-radius: 0.45rem;
  padding: 0.8rem 1rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.login-form__submit:hover,
.login-form__submit:focus-visible {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.login-form__submit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--text);
}

.dashboard__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.dashboard__heading h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.dashboard__heading p, .dashboard-panel__header p {
  color: var(--text-muted);
}

.dashboard__eyebrow {
  color: var(--primary) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard__primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--primary);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.dashboard__primary-action:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.dashboard__primary-action:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.dashboard__primary-action svg {
  width: 1.15rem;
}

.dashboard__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stat, .dashboard-panel {
  border: 1px solid var(--border-muted);
  border-radius: 1rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.dashboard-stat {
  padding: 1.25rem;
  overflow: hidden;
}

.dashboard-stat__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.2rem;
  border-radius: 0.7rem;
  background: var(--bg);
  color: var(--primary);
}

.dashboard-stat__icon svg {
  width: 1.25rem;
}

.dashboard-stat p {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.dashboard-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.65rem;
}

.dashboard-stat span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.dashboard-stat__rating {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.dashboard-stat__rating-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.45rem;
  align-items: center;
}

.dashboard-stat__rating-row > small {
  grid-column: 1/-1;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.dashboard-stat__rating-row > span {
  display: inline-flex;
  color: var(--border-muted);
  font-size: clamp(0.8rem, 0.686rem + 0.238vw, 0.9rem);
  line-height: 1;
}

.dashboard-stat__rating i {
  color: inherit;
  font-style: normal;
}

.dashboard-stat__rating i.is-filled {
  color: var(--warning);
}

.dashboard-stat__rating strong {
  margin: 0;
  color: var(--text);
  font-size: 0.8rem;
  white-space: nowrap;
}

.dashboard-stat--primary {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: transparent;
}

.dashboard-stat--primary p, .dashboard-stat--primary span {
  color: var(--bg-dark);
  opacity: 0.75;
}

.dashboard-stat--primary .dashboard-stat__icon {
  background: color-mix(in srgb, var(--bg-light) 22%, transparent);
  color: var(--bg-dark);
}

.dashboard__content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 0.7fr);
  gap: 1rem;
}

.dashboard-panel {
  min-width: 0;
  padding: 1.35rem;
}

.dashboard-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.dashboard-panel__header h2 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.dashboard-panel__header p {
  font-size: 0.78rem;
}

.dashboard-panel__header > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-panel__header > a svg {
  width: 1rem;
}

.dashboard-orders, .dashboard-actions {
  display: flex;
  flex-direction: column;
}

.dashboard-order {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(9rem, 1.25fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-muted);
  font-size: 0.82rem;
}

.dashboard-order__reference {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 700;
}

.dashboard-order small, .dashboard-order__customer {
  color: var(--text-muted);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-order__status {
  padding: 0.35rem 0.55rem;
  border-radius: 99px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-order__status--paid, .dashboard-order__status--shipped {
  background: color-mix(in srgb, var(--success) 15%, transparent);
  color: var(--success);
}

.dashboard-order__status--pending, .dashboard-order__status--processing {
  background: color-mix(in srgb, var(--warning) 15%, transparent);
  color: var(--warning);
}

.dashboard-panel__empty {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 13rem;
  border-top: 1px solid var(--border-muted);
  color: var(--text-muted);
}

.dashboard-panel__empty svg {
  width: 2rem;
}

.dashboard-actions a {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-muted);
}

.dashboard-actions a > svg:first-child {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.55rem;
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--primary);
}

.dashboard-actions a > svg:last-child {
  width: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.dashboard-actions a:hover > svg:last-child {
  transform: translateX(0.2rem);
}

.dashboard-actions span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dashboard-actions strong {
  font-size: 0.82rem;
}

.dashboard-actions small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

@media (max-width: 1050px) {
  .dashboard__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard__content-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .dashboard__heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard__primary-action {
    width: 100%;
    justify-content: center;
  }
  .dashboard__stats {
    grid-template-columns: 1fr;
  }
  .dashboard-order {
    grid-template-columns: 1fr auto;
  }
  .dashboard-order__customer {
    display: none;
  }
}
.customers-header {
  padding-block: 0.5rem;
}

.customers-header__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.customers-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.customers-summary__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-block-size: 7.5rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.customers-summary__card::after {
  content: "";
  position: absolute;
  inset: auto -0.8rem -0.8rem auto;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
}

.customers-summary__card span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.customers-summary__card strong {
  color: var(--text);
  font-size: 1.8rem;
}

.customers-summary__card small {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.customers-summary__card--primary {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-muted));
  background: color-mix(in srgb, var(--primary) 7%, var(--bg-light));
}

.customers-summary__card--confirmed::after {
  background: color-mix(in srgb, var(--success) 18%, transparent);
}

.customers-summary__card--pending::after {
  background: color-mix(in srgb, var(--warning) 18%, transparent);
}

.customers-list {
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.customers-list__header {
  margin-bottom: 1rem;
}

.customers-list__header h2 {
  margin: 0;
  font-size: 1rem;
}

.customers-list__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.customer-cell, .customer-orders-count, .customer-date {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.customer-cell a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.customer-cell a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.customer-cell small, .customer-orders-count small, .customer-date small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.customer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  inline-size: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 750;
}

.customer-status span {
  inline-size: 0.42rem;
  block-size: 0.42rem;
  border-radius: 50%;
  background: currentColor;
}

.customer-status--confirmed {
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success);
}

.customer-status--pending {
  background: color-mix(in srgb, var(--warning) 13%, transparent);
  color: var(--warning);
}

.customer-show {
  gap: 1.5rem;
}

.customer-show__header,
.customer-show__section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.customer-show__back,
.customer-show__subtitle,
.customer-show__section-header p,
.customer-show__empty {
  color: var(--text-muted);
}

.customer-show__back {
  display: inline-block;
  margin-block-end: 0.5rem;
  text-decoration: none;
}

.customer-show__subtitle,
.customer-show__section-header p {
  margin: 0.25rem 0 0;
}

.customer-show__status {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.customer-show__status--confirmed {
  color: var(--success);
}

.customer-show__status--pending {
  color: var(--warning);
}

.customer-show__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.customer-show__card {
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: var(--bg-light);
  color: var(--text);
}

.customer-show__card h2,
.customer-show__danger-zone h3 {
  margin: 0;
}

.customer-show__meta {
  margin: 0;
}

.customer-show__meta > div {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border-muted);
}

.customer-show__meta > div:last-child {
  border-bottom: 0;
}

.customer-show__meta dt {
  color: var(--text-muted);
  font-weight: 700;
}

.customer-show__meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.customer-show__form {
  gap: 1rem;
}

.customer-show__form label:not(.customer-show__checkbox) {
  gap: 0.35rem;
}

.customer-show__form input[type=email] {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  background: var(--bg);
  color: var(--text);
}

.customer-show__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.customer-show__button {
  inline-size: fit-content;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--primary);
  border-radius: 0.3rem;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.customer-show__button--danger {
  border-color: var(--danger);
  background: transparent;
  color: var(--danger);
}

.customer-show__button:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.customer-show__button--danger:hover {
  background: color-mix(in srgb, var(--danger) 12%, var(--bg-light));
}

.customer-show__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.customer-show__danger-zone {
  gap: 0.65rem;
  padding-block-start: 1rem;
  border-top: 1px solid var(--border-muted);
}

.customer-show__danger-zone p {
  margin: 0;
  color: var(--text-muted);
}

.customer-show__orders {
  gap: 0.75rem;
}

.customer-show__order {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
}

.customer-show__order summary {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 1rem;
  padding: 0.85rem;
  cursor: pointer;
}

.customer-show__order summary a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.customer-show__order-status {
  inline-size: fit-content;
  padding: 0.25rem 0.45rem;
  border-radius: 99px;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.customer-show__order-status--processing, .customer-show__order-status--created {
  background: color-mix(in srgb, var(--warning) 13%, transparent);
  color: var(--warning);
}

.customer-show__order-status--awaiting_delivery, .customer-show__order-status--shipped {
  background: color-mix(in srgb, var(--info) 13%, transparent);
  color: var(--info);
}

.customer-show__order-status--delivered {
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success);
}

.customer-show__order-status--cancelled {
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  color: var(--danger);
}

.customer-show__meta--order {
  padding: 0 0.85rem 0.85rem;
}

.customer-show__shipping address {
  color: var(--text);
  font-style: normal;
  line-height: 1.55;
}

.customer-show__shipping small {
  display: block;
  margin-top: 0.4rem;
  color: var(--primary);
}

@container main (max-width: 760px) {
  .customers-summary {
    grid-template-columns: 1fr;
  }
  .customer-show__grid {
    grid-template-columns: 1fr;
  }
  .customer-show__header {
    flex-direction: column;
  }
  .customer-show__order summary {
    grid-template-columns: 1fr 1fr;
  }
  .customer-show__meta > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.reviews-page, .review-show {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text);
}

.reviews-header {
  padding-block: 0.5rem;
}

.reviews-header__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.reviews-summary__card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-block-size: 7rem;
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  color: var(--text);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.reviews-summary__card > span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.reviews-summary__card strong {
  color: var(--text);
  font-size: 1.8rem;
}

.reviews-summary__card small {
  margin-top: auto;
  color: var(--text-muted);
}

.reviews-summary__averages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reviews-summary__average {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.55rem;
}

.reviews-summary__average > small {
  grid-column: 1/-1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.reviews-summary__average > em {
  color: var(--text);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.reviews-summary__card .reviews-summary__stars {
  display: inline-flex;
  gap: 0.16rem;
  color: var(--border-muted);
  font-size: clamp(2rem, 1.429rem + 1.19vw, 2.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.reviews-summary__stars > span {
  font-size: inherit;
  line-height: inherit;
}

.reviews-summary__stars .is-filled {
  color: var(--warning);
}

.reviews-summary__card--primary {
  border-color: var(--primary);
}

.reviews-summary__card--average {
  border-color: var(--info);
}

.reviews-summary__card--pending {
  border-color: var(--warning);
}

.reviews-list {
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  color: var(--text);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.reviews-list__header {
  margin-bottom: 1rem;
}

.reviews-list__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.reviews-list__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.review-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-cell a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.review-cell a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.review-cell strong {
  color: var(--text);
}

.review-cell small {
  color: var(--text-muted);
}

.review-rating {
  display: inline-flex;
  gap: 0.4rem;
  color: var(--warning);
  white-space: nowrap;
}

.review-rating strong {
  color: var(--text);
}

.review-rating--empty {
  color: var(--text-muted);
}

.review-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  inline-size: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}

.review-status > span {
  inline-size: 0.42rem;
  block-size: 0.42rem;
  border-radius: 50%;
  background: currentColor;
}

.review-status--requested {
  background: color-mix(in srgb, var(--info) 13%, transparent);
  color: var(--info);
}

.review-status--pending {
  background: color-mix(in srgb, var(--warning) 13%, transparent);
  color: var(--warning);
}

.review-status--accepted {
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success);
}

.review-status--rejected {
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  color: var(--danger);
}

.review-show__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.review-show__back, .review-show__subtitle, .review-show__muted {
  color: var(--text-muted);
}

.review-show__back {
  display: inline-block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.review-show__subtitle {
  margin: 0.25rem 0 0;
}

.review-show__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.review-show__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-light);
  color: var(--text);
}

.review-show__card h2 {
  margin: 0;
  color: var(--text);
}

.review-show blockquote {
  margin: 0;
  padding: 1rem;
  border-inline-start: 0.25rem solid var(--primary);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.review-show__meta {
  margin: 0;
}

.review-show__meta > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border-muted);
}

.review-show__meta dt {
  color: var(--text-muted);
  font-weight: 700;
}

.review-show__meta dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.review-show__meta a {
  color: var(--primary);
}

.review-show__form, .review-show__form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-show__form textarea {
  resize: vertical;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.review-show__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.review-show__button {
  padding: 0.6rem 0.85rem;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.review-show__button--accept {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 14%, var(--bg-light));
  color: var(--success);
}

.review-show__button--reject {
  color: var(--danger);
}

.review-show__button--reply {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
}

.review-show__button--accept:hover {
  background: color-mix(in srgb, var(--success) 24%, var(--bg-light));
}

.review-show__button--reject:hover {
  background: color-mix(in srgb, var(--danger) 12%, var(--bg-light));
}

.review-show__button--reply:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.review-show__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.review-show__decision {
  color: var(--text);
}

.review-show__reply {
  padding: 0.8rem;
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

@container main (max-width: 760px) {
  .reviews-summary, .review-show__grid {
    grid-template-columns: 1fr;
  }
  .review-show__header {
    flex-direction: column;
  }
  .review-show__meta > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.orders-header {
  padding-block: 0.5rem;
}

.orders-header__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-page__subtitle {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
}

.orders-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.orders-summary__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-block-size: 8.2rem;
  padding: 1.05rem;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.orders-summary__card::after {
  content: "";
  position: absolute;
  inset: auto -0.9rem -0.9rem auto;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 13%, transparent);
}

.orders-summary__card span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.orders-summary__card strong {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
}

.orders-summary__card small {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.orders-summary__card--primary {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-muted));
  background: color-mix(in srgb, var(--primary) 7%, var(--bg-light));
}

.orders-summary__card--processing::after {
  background: color-mix(in srgb, var(--warning) 18%, transparent);
}

.orders-summary__card--awaiting_delivery::after {
  background: color-mix(in srgb, var(--info) 18%, transparent);
}

.orders-summary__card--shipped::after {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

.orders-summary__card--delivered::after {
  background: color-mix(in srgb, var(--success) 18%, transparent);
}

.orders-summary__card--cancelled::after {
  background: color-mix(in srgb, var(--danger) 16%, transparent);
}

.orders-list {
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.orders-list__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.orders-list__header h2, .order-panel h2 {
  margin: 0;
  font-size: 1rem;
}

.orders-list__header p, .order-show__header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.order-cell, .order-amount, .order-delivery, .order-date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-inline-size: 8rem;
}

.order-shipment {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-inline-size: 8rem;
}

.order-shipment strong {
  font-size: 0.72rem;
}

.order-shipment a {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
}

.order-shipment small {
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
}

.order-cell a {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.order-cell a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.order-cell small, .order-amount small, .order-delivery small, .order-date small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.order-reviews {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-inline-size: 6.5rem;
  color: var(--text);
  text-decoration: none;
}

.order-reviews:hover strong {
  color: var(--primary);
  text-decoration: underline;
}

.order-reviews__stars {
  display: inline-flex;
  color: var(--border-muted);
  font-size: 0.82rem;
  line-height: 1;
}

.order-reviews__stars > span {
  font-size: inherit;
}

.order-reviews__stars .is-filled {
  color: var(--warning);
}

.order-reviews strong {
  color: var(--text);
  font-size: 0.75rem;
}

.order-reviews small, .order-reviews__empty {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.order-date {
  min-inline-size: 5.5rem;
}

.order-amount strong {
  font-size: 0.88rem;
}

.order-delivery__empty {
  color: var(--text-muted);
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  inline-size: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 99px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}

.order-badge__dot {
  inline-size: 0.42rem;
  block-size: 0.42rem;
  border-radius: 50%;
  background: currentColor;
}

.order-badge--paid {
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success);
}

.order-badge--pending, .order-badge--created, .order-badge--processing {
  background: color-mix(in srgb, var(--warning) 13%, transparent);
  color: var(--warning);
}

.order-badge--awaiting_delivery {
  background: color-mix(in srgb, var(--info) 13%, transparent);
  color: var(--info);
}

.order-badge--shipped {
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  color: var(--primary);
}

.order-badge--delivered {
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success);
}

.order-badge--expired, .order-badge--failed, .order-badge--cancelled {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}

.orders-table-actions {
  display: flex;
  gap: 0.4rem;
}

.orders-table-action, .order-show__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.orders-table-action:hover, .order-show__action:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.orders-table-action--primary {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
}

.orders-table-action--primary:hover {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.orders-table-action:focus-visible, .order-show__action:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.order-delivery-modal__address {
  padding: 0.9rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.55rem;
  background: var(--bg-light);
}

.order-delivery-modal__address h3 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
}

.order-delivery-modal__address address {
  margin: 0;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.65;
}

.delivery-calendar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.delivery-calendar__header {
  display: grid;
  grid-template-columns: 2rem minmax(8rem, auto) 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.delivery-calendar__header h3 {
  margin: 0;
  font-size: 1rem;
  text-align: center;
  text-transform: capitalize;
}

.delivery-calendar__header button {
  display: inline-grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  padding: 0;
  border: 1px solid var(--border-muted);
  border-radius: 0.4rem;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.delivery-calendar__header button:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.delivery-calendar__header button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.delivery-calendar__header svg {
  inline-size: 1rem;
  block-size: 1rem;
}

.delivery-calendar__selection {
  min-block-size: 1rem;
  margin: 0;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.delivery-calendar__weekdays, .delivery-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.delivery-calendar__weekdays span {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 750;
  text-align: center;
}

.delivery-calendar__day {
  aspect-ratio: 1;
  border: 1px solid var(--border-muted);
  border-radius: 0.4rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.delivery-calendar__day:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.delivery-calendar__day:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.delivery-calendar__day.is-selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary);
}

.delivery-calendar__day.is-selected:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 24%, var(--bg-light));
}

.delivery-calendar__day:disabled {
  border-color: transparent;
  background: color-mix(in srgb, var(--border-muted) 35%, transparent);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.45;
}

.delivery-calendar__day--outside {
  visibility: hidden;
}

.delivery-calendar small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.order-delivery-modal .orders-table-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.order-shipment-modal {
  inline-size: min(32rem, 100vw - 2rem);
}

.order-shipment-modal__tracking {
  display: grid;
  gap: 1rem;
}

.order-shipment-modal__field {
  display: grid;
  gap: 0.45rem;
  min-inline-size: 0;
}

.order-shipment-modal__field label {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
}

.order-shipment-modal__tracking input,
.order-shipment-modal__tracking select {
  inline-size: 100%;
  min-block-size: 2.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-shipment-modal__tracking input:focus,
.order-shipment-modal__tracking select:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.order-shipment-modal__tracking small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.4;
}

.order-shipment-modal__field ul {
  margin: 0;
  padding: 0;
  color: var(--danger, #c0392b);
  font-size: 0.7rem;
  list-style: none;
}

.order-show {
  color: var(--text);
}

.order-show__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  color: var(--text);
}

.order-show__header h1 {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  overflow-wrap: anywhere;
}

.order-show__back {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-decoration: none;
}

.order-show__header-status {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-show__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.order-show__main, .order-show__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-panel {
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  color: var(--text);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}

.order-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-muted);
}

.order-panel h2, .order-panel strong, .order-panel dd, .order-item {
  color: var(--text);
}

.order-panel p {
  color: var(--text-muted);
}

.order-panel > header span {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.order-panel address {
  margin: 0.9rem 0;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.6;
}

.order-panel > a {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.order-panel--reviews .order-reviews {
  margin-top: 0.9rem;
  color: var(--text);
}

.order-panel--reviews .order-reviews__stars {
  font-size: 1.25rem;
}

.order-panel--reviews .order-reviews strong {
  color: var(--text);
  font-size: 0.85rem;
}

.order-panel--reviews .order-reviews:hover strong {
  color: var(--primary);
}

.order-panel--reviews .order-reviews__empty {
  display: block;
  margin-top: 0.9rem;
}

.order-items {
  display: flex;
  flex-direction: column;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-muted);
}

.order-item div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.order-item small {
  color: var(--text-muted);
}

.order-totals {
  margin: 1rem 0 0 auto;
  inline-size: min(100%, 21rem);
}

.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.order-totals dt, .order-totals dd {
  margin: 0;
}

.order-totals dt {
  color: var(--text-muted);
}

.order-totals__total {
  margin-top: 0.4rem;
  padding-top: 0.8rem !important;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 800;
}

.order-show__action {
  margin-top: 0.8rem;
  inline-size: 100%;
}

@container main (max-width: 1000px) {
  .orders-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .order-show__layout {
    grid-template-columns: 1fr;
  }
}
@container main (max-width: 640px) {
  .orders-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .orders-summary__card--primary {
    grid-column: 1/-1;
  }
  .orders-list {
    padding: 0.7rem;
  }
  .order-show__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-show__header-status {
    justify-content: flex-start;
  }
}
.deliveries-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-inline-size: 0;
}

.deliveries-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.deliveries-page__header h1 {
  margin: 0;
  color: var(--text);
}

.deliveries-page__header p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.deliveries-page__eyebrow {
  color: var(--primary) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.delivery-timeline {
  inline-size: 100%;
  block-size: 100dvh;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  scrollbar-color: var(--primary) var(--border-muted);
  scroll-snap-type: y proximity;
}

.delivery-timeline__days {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.25rem 0.75rem 1rem 0.15rem;
}

.delivery-day {
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  min-block-size: 12rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.75rem;
  background: var(--bg-light);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  scroll-snap-align: center;
}

.delivery-day--today {
  border: 2px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--bg-light));
}

.delivery-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  border-bottom: 1px solid var(--border-muted);
}

.delivery-day__header div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.delivery-day__header span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.delivery-day__header strong {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.delivery-day__count {
  display: grid;
  place-items: center;
  min-inline-size: 1.8rem;
  block-size: 1.8rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-light));
  color: var(--primary) !important;
}

.delivery-day__orders {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.65rem;
  padding: 0.75rem;
}

.delivery-order {
  display: block;
  padding: 0.75rem;
  border: 1px solid var(--border-muted);
  border-inline-start-width: 4px;
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.delivery-order--awaiting {
  border-inline-start-color: var(--warning);
  cursor: pointer;
}

.delivery-order--awaiting:hover {
  border-color: var(--warning);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
  transform: translateY(-1px);
}

.delivery-order--delivered {
  border-inline-start-color: var(--success);
  background: color-mix(in srgb, var(--success) 5%, var(--bg));
}

.delivery-order header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-order__reference {
  color: var(--primary) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
}

.delivery-order header strong {
  color: var(--text);
  font-size: 0.75rem;
}

.delivery-order__status {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.25rem 0.45rem;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
}

.delivery-order--awaiting .delivery-order__status {
  background: color-mix(in srgb, var(--warning) 14%, transparent);
  color: var(--warning);
}

.delivery-order--delivered .delivery-order__status {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}

.delivery-order p {
  margin: 0.65rem 0 0.25rem;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
}

.delivery-order address {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.5;
}

.delivery-order__phone {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--primary);
  font-size: 0.7rem;
}

.delivery-confirmation-modal__customer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.delivery-confirmation-modal__customer div {
  padding: 0.75rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.5rem;
  background: var(--bg-light);
}

.delivery-confirmation-modal__customer dt {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.delivery-confirmation-modal__customer dd {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.delivery-day__empty {
  display: grid;
  grid-column: 1/-1;
  min-block-size: 6rem;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.delivery-day__empty svg {
  inline-size: 1.6rem;
  block-size: 1.6rem;
}

.delivery-timeline__loading {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
}

@container main (max-width: 640px) {
  .deliveries-page__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*# sourceMappingURL=app.output.css.map */
