@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;
}

.login-card__header, .login-form,
.login-form__field, .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__meta dd, .clothe-show__size,
.clothe-show__highlight-card, .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-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__container, .admin-page, .data-table, .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;
}

.main, .main__container, .layout__header .header__sidetoggle, .layout__header .header__themetoggle, .layout__header .header__sidetoggle svg, .layout__header .header__themetoggle svg, .aside__header .itemContainer, .overlay, .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%);
}

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, .menuItem__header.active 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: 50dvh;
  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 {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 1;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  background: color-mix(in srgb, var(--bg-dark) 82%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1882352941), 0px 4px 4px rgba(0, 0, 0, 0.0823529412);
}
.product-grid-card__status--online {
  color: var(--success);
}
.product-grid-card__status--offline {
  color: var(--warning);
}
.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;
  justify-content: flex-end;
}

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

.data-table__search input {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--bg);
  color: var(--text);
}

.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: 1ch;
}

.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);
}

@container main (max-width: 720px) {
  .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;
}

.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);
  padding: 2rem;
  container-type: inline-size;
  container-name: content;
}
.main__container {
  container-type: inline-size;
  container-name: main;
  max-width: 1440px;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  margin-inline: auto;
  overflow: scroll;
  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-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: var(--primary);
  color: white;
}

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

.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;
}

.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__cancel,
.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__card.is-validated .avatar-rename__cancel,
.avatar-rename__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-rename__cancel:hover,
.avatar-rename__cancel:focus-visible,
.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[data-avatar-status=error] .avatar-rename__card-button {
  border-color: #b42318;
  background: color-mix(in srgb, #b42318 7%, var(--bg-light));
}

.avatar-rename__card.is-validated::after,
.avatar-rename__card[data-avatar-status=error]::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__card[data-avatar-status=error]::after {
  content: "Erreur";
  background: #b42318;
  color: white;
}

.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%;
  overflow: auto;
  padding: 1rem;
  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 {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  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-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 [data-action=replace] {
  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 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);
}

.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;
}

.avatar-rename__generated {
  padding: 0.75rem;
  border: 1px dashed var(--border);
  border-radius: 0.25rem;
  color: var(--text);
  overflow-wrap: anywhere;
}

.avatar-rename__button,
.avatar-rename__finish {
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

.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__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;
}

.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__summary {
  display: grid;
  grid-template-columns: minmax(18rem, 34rem) minmax(16rem, 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__inline-action,
.clothe-show__button {
  color: var(--primary);
  text-decoration: none;
}

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

.clothe-show__action:hover {
  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,
.clothe-show__highlight-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.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 {
  font-size: 0.95rem;
}

.clothe-show__highlight-preview {
  aspect-ratio: 4/3;
  min-height: 9rem;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text-muted);
}

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

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

.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;
}

.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-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-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;
}

.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);
}

@container main (max-width: 760px) {
  .clothe-show__summary,
  .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-page {
  gap: 1.5rem;
}

.config-page__content {
  max-inline-size: 52rem;
}

.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);
}

.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;
}

.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-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;
}

.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__remove {
  align-self: flex-end;
}

.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(--text);
  background: var(--bg-light);
}

.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-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 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.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: var(--primary);
  color: var(--bg-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.login-form__submit:hover,
.login-form__submit:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/*# sourceMappingURL=app.output.css.map */
