* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #fafafa;
    color: #111;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 16px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

button {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

p {
    line-height: 1.55;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #0d0d0d;
    color: #f1f1f1;
    border-right: 1px solid rgba(241, 241, 241, .1);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(241, 241, 241, .1);
}

.admin-brand__logo {
    width: 148px;
    height: auto;
    display: block;
    padding: 10px 14px;
    border: 1px solid rgba(13, 13, 13, .08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.admin-brand__label {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-brand__label strong,
.admin-user strong {
    font-size: 14px;
}

.admin-brand__label span,
.admin-user span {
    color: rgba(241, 241, 241, .58);
    font-size: 14px;
}

.admin-nav-label {
    margin: 22px 0 10px;
    color: rgba(241, 241, 241, .46);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-nav {
    display: grid;
    gap: 6px;
}

.admin-nav-group {
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    transition: border-color 160ms ease, background 160ms ease;
}

.admin-nav-group__title {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(241, 241, 241, .72);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-nav-group__title::-webkit-details-marker {
    display: none;
}

.admin-nav-group__title::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
}

.admin-nav-group[open] > .admin-nav-group__title::after {
    transform: rotate(225deg) translateY(-2px);
}

.admin-nav-group.is-active {
    border-color: rgba(237, 28, 36, .18);
    background: rgba(237, 28, 36, .06);
}

.admin-nav-group__title:hover,
.admin-nav-group.is-active > .admin-nav-group__title {
    background: rgba(237, 28, 36, .12);
    border-color: rgba(237, 28, 36, .42);
    color: #f1f1f1;
}

.admin-nav-subnav {
    display: grid;
    gap: 4px;
    margin: 6px 0 8px 0;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(241, 241, 241, .12);
    overflow: hidden;
    transform-origin: top;
    will-change: height, opacity, transform;
}

.admin-nav-subnav a {
    min-height: 36px;
    padding: 0 10px;
    color: rgba(241, 241, 241, .62);
    font-weight: 600;
}

.admin-nav-group--nested {
    margin-right: 6px;
}

.admin-nav-subnav--nested {
    margin-bottom: 6px;
    padding-left: 10px;
}

.admin-nav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(241, 241, 241, .72);
    font-size: 14px;
    font-weight: 600;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-nav a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    background: rgba(237, 28, 36, .12);
    border-color: rgba(237, 28, 36, .42);
    color: #f1f1f1;
}

.admin-nav a.is-active::after {
    background: #ed1c24;
}

.admin-sidebar__footer {
    margin-top: auto;
    display: grid;
    gap: 14px;
    padding-top: 20px;
}

.admin-user {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid rgba(241, 241, 241, .1);
    border-radius: 8px;
    background: rgba(241, 241, 241, .05);
}

.logout button,
.admin-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.logout button {
    width: 100%;
    border: 1px solid rgba(241, 241, 241, .24);
    background: transparent;
    color: #f1f1f1;
}

.logout button:hover {
    border-color: #f1f1f1;
}

.admin-main {
    min-width: 0;
    padding: 24px;
}

.admin-content {
    display: grid;
    gap: 20px;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.page-heading__copy {
    display: grid;
    gap: 8px;
}

.page-heading__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.muted {
    color: #555;
}

.eyebrow {
    color: #ed1c24;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-action {
    border: 1px solid #ed1c24;
    background: #ed1c24;
    color: #f1f1f1;
}

.admin-action:hover {
    background: #c9181f;
    border-color: #c9181f;
}

.admin-action:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.admin-action:disabled:hover {
    background: #ed1c24;
    border-color: #ed1c24;
}

.admin-action--secondary {
    background: white;
    color: #111;
    border-color: #e2e2e2;
}

.admin-action--danger {
    border-color: #ed1c24;
    background: #fff;
    color: #ed1c24;
}

.admin-action--danger:hover {
    background: #ed1c24;
    border-color: #ed1c24;
    color: #fff;
}

.admin-action--secondary:disabled:hover {
    background: white;
    border-color: #e2e2e2;
}

.admin-card,
.stat-card {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: white;
}

.admin-card {
    padding: 20px;
}

.admin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-card__header > div {
    min-width: 0;
}

.admin-card__header .muted {
    margin-top: 4px;
    font-size: 14px;
}

.admin-card__link {
    flex: 0 0 auto;
    color: #ed1c24;
    font-size: 14px;
    font-weight: 700;
}

.admin-card__link:hover {
    color: #c9181f;
}

.admin-form {
    display: grid;
    gap: 22px;
}

.admin-form--with-floating-actions {
    padding-bottom: 96px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.form-grid--compact {
    grid-template-columns: minmax(120px, 240px);
}

.form-field--span-2 {
    grid-column: 1 / -1;
}

.form-field {
    display: grid;
    grid-template-rows: 18px 46px 18px;
    gap: 8px;
}

.form-field span {
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 46px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 11px 13px;
    background: #fafafa;
    color: #111;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field select {
    cursor: pointer;
}

.form-field input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #ed1c24;
    background: white;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.form-field small,
.form-message {
    color: #c9181f;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}

.form-field .form-help,
.form-message.form-help {
    color: #555;
    font-weight: 600;
}

.form-message.is-empty {
    visibility: hidden;
}

.hours-editor {
    display: grid;
    gap: 16px;
    padding-top: 4px;
}

.hours-editor__header {
    display: grid;
    gap: 4px;
}

.hours-editor__header .muted {
    font-size: 14px;
}

.hours-grid {
    display: grid;
    gap: 10px;
}

.hours-row {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(220px, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.hours-row .form-field input {
    background: white;
}

.form-field textarea {
    width: 100%;
    min-height: 106px;
    resize: vertical;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 11px 13px;
    background: #fafafa;
    color: #111;
    font: inherit;
    line-height: 1.45;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea:focus {
    border-color: #ed1c24;
    background: white;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.form-field--textarea {
    grid-template-rows: 18px minmax(106px, auto) 18px;
}

.form-field--rich-text {
    grid-template-rows: 18px auto 18px;
}

.form-field--rich-text .tox-tinymce {
    border-color: #e2e2e2;
    border-radius: 8px;
}

.form-field--rich-text .tox .tox-toolbar__primary,
.form-field--rich-text .tox .tox-edit-area__iframe {
    background: white;
}

.form-field--rich-text .tox .tox-statusbar {
    border-top-color: #e2e2e2;
}

.designer-product-cell {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.designer-product-cell img {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f1f1;
}

.designer-product-cell div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.designer-product-cell strong,
.designer-product-cell span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.designer-product-cell span {
    color: #555;
    font-size: 13px;
}

.designer-area-admin {
    overflow: visible;
}

.designer-area-admin__intro {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e2e2;
}

.designer-area-admin__intro > div {
    display: grid;
    gap: 8px;
}

.designer-area-list {
    display: grid;
    gap: 18px;
    padding-top: 24px;
}

.designer-area-card {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 24px;
    padding: 18px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.designer-area-preview {
    position: relative;
    overflow: hidden;
    align-self: start;
    aspect-ratio: 1;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #f1f1f1;
}

.designer-area-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.designer-area-preview__box {
    position: absolute;
    border: 2px dashed #ed1c24;
    border-radius: 8px;
    background: rgba(237, 28, 36, .1);
    box-shadow: 0 0 0 999px rgba(13, 13, 13, .16);
    cursor: move;
    pointer-events: auto;
    touch-action: none;
}

.designer-area-preview__box::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ed1c24;
    cursor: nwse-resize;
}

.designer-area-card__fields {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.designer-area-image-field {
    grid-column: 1 / -1;
    grid-template-rows: auto auto;
    min-height: 0;
    align-self: stretch;
}

.designer-area-image-field > span {
    display: block;
    min-height: 18px;
}

.designer-area-image-picker {
    position: relative;
    min-height: 108px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1.5px dashed #cfcfcf;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

.designer-area-image-picker:hover,
.designer-area-image-picker.is-dragover {
    border-color: #ed1c24;
    background: rgba(237, 28, 36, .04);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.designer-area-image-picker.is-dragover {
    transform: translateY(-1px);
}

.designer-area-image-picker__preview {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.designer-area-image-picker img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.designer-area-image-picker__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.designer-area-image-picker strong,
.designer-area-image-picker small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.designer-area-image-picker strong {
    color: #0d0d0d;
    font-size: 13px;
}

.designer-area-image-picker small {
    color: #777;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.designer-area-image-picker__action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.form-field .designer-area-image-picker__action {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.designer-area-image-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.designer-area-color-images {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.designer-area-color-images__heading {
    display: grid;
    gap: 4px;
}

.designer-area-color-images__heading strong {
    color: #0d0d0d;
    font-size: 14px;
}

.designer-area-color-images__heading small {
    color: #555;
    font-size: 12px;
    line-height: 1.35;
}

.designer-area-color-image-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.designer-area-color-upload {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.designer-area-color-upload__label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.designer-area-color-upload__label strong {
    overflow: hidden;
    color: #111;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.designer-area-color-upload__swatch {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    background: linear-gradient(135deg, #fafafa, #e4e4e4);
}

.designer-area-image-picker--color {
    min-height: 92px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
}

.designer-area-image-picker--color .designer-area-image-picker__preview {
    width: 64px;
    height: 64px;
}

.designer-area-image-picker--color .designer-area-image-picker__action {
    grid-column: 1 / -1;
    min-height: 34px;
    width: 100%;
}

.designer-area-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.designer-area-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.designer-motif-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.designer-motif-stat {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.designer-motif-stat span {
    color: #555;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.designer-motif-stat strong {
    color: #111;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.designer-motif-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.designer-motif-uploader,
.designer-motif-library {
    min-width: 0;
}

.designer-motif-uploader {
    position: sticky;
    top: 24px;
}

.designer-motif-form {
    align-content: start;
}

.designer-motif-form__heading {
    display: grid;
    gap: 8px;
    padding-bottom: 4px;
}

.designer-motif-form__kicker {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(237, 28, 36, .1);
    color: #ed1c24;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.designer-motif-upload {
    display: grid;
    gap: 10px;
}

.designer-motif-dropzone {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 18px;
    border: 1px dashed rgba(237, 28, 36, .45);
    border-radius: 8px;
    background: #fff7f7;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.designer-motif-dropzone:hover,
.designer-motif-dropzone:focus-within {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1);
}

.designer-motif-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.designer-motif-dropzone__icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.designer-motif-dropzone__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.designer-motif-dropzone__copy strong {
    color: #111;
    font-size: 15px;
}

.designer-motif-dropzone__copy small {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.designer-motif-upload-preview {
    display: grid;
    min-height: 132px;
    place-items: center;
    margin: 0;
    padding: 18px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background:
        linear-gradient(45deg, rgba(17, 17, 17, .035) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(17, 17, 17, .035) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(17, 17, 17, .035) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(17, 17, 17, .035) 75%),
        #fff;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.designer-motif-upload-preview img {
    display: block;
    width: min(96px, 80%);
    height: min(96px, 80%);
    object-fit: contain;
}

.designer-motif-upload-preview img[hidden],
.designer-motif-upload-preview span[hidden] {
    display: none;
}

.designer-motif-upload-preview span {
    max-width: 210px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.designer-motif-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.designer-motif-switch {
    min-height: 46px;
    align-self: end;
    padding: 0 2px;
}

.designer-motif-tips {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
}

.designer-motif-tips strong {
    color: #111;
    font-size: 14px;
}

.designer-motif-tips ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.45;
}

.designer-motif-library__bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.designer-motif-library__bar .admin-card__header {
    margin-bottom: 0;
}

.designer-motif-library__tools {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.designer-motif-library__hint {
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.designer-motif-order-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.designer-motif-order-status {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.designer-motif-order-status.is-dirty {
    border-color: rgba(237, 28, 36, .28);
    background: rgba(237, 28, 36, .08);
    color: #a71319;
}

.designer-motif-order-form .admin-action {
    min-height: 38px;
    border-color: #111;
    color: #111;
}

.designer-motif-order-form .admin-action:not(:disabled):hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.designer-motif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.designer-motif-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.designer-motif-card:hover {
    border-color: rgba(237, 28, 36, .36);
    box-shadow: 0 16px 34px rgba(17, 17, 17, .07);
    transform: translateY(-2px);
}

.designer-motif-card:focus-within {
    border-color: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1), 0 16px 34px rgba(17, 17, 17, .07);
}

.designer-motif-grid.is-sorting {
    cursor: grabbing;
}

.designer-motif-grid.is-sorting .designer-motif-card:not(.is-dragging) {
    transition: transform 120ms ease;
}

.designer-motif-card.is-dragging {
    border-color: #ed1c24;
    background: #fff5f5;
    box-shadow: 0 18px 38px rgba(17, 17, 17, .14);
    opacity: .52;
    pointer-events: none;
    transform: scale(.985);
}

.designer-motif-card.is-drop-before::before,
.designer-motif-card.is-drop-after::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    z-index: 2;
    height: 4px;
    border-radius: 999px;
    background: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.designer-motif-card.is-drop-before::before {
    top: -10px;
}

.designer-motif-card.is-drop-after::after {
    bottom: -10px;
}

.designer-motif-card.is-inactive {
    background: #fafafa;
}

.designer-motif-card__preview {
    display: grid;
    width: 100%;
    height: 150px;
    place-items: center;
    margin: 0;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background:
        linear-gradient(45deg, rgba(17, 17, 17, .035) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(17, 17, 17, .035) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(17, 17, 17, .035) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(17, 17, 17, .035) 75%),
        #fff;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.designer-motif-card img,
.designer-motif-card svg {
    width: min(92px, 70%);
    height: min(92px, 70%);
    display: block;
    object-fit: contain;
}

.designer-motif-card svg {
    color: #111;
    fill: currentColor;
}

.designer-motif-card__preview span {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 8px;
    background: rgba(237, 28, 36, .1);
    color: #ed1c24;
    font-size: 20px;
    font-weight: 800;
}

.designer-motif-card__body {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.designer-motif-card__title-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
}

.designer-motif-card__handle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-color: rgba(237, 28, 36, .24);
    background: #fff7f7;
    color: #ed1c24;
    touch-action: none;
}

.designer-motif-card__handle svg {
    width: 17px;
    height: 17px;
}

.designer-motif-card__handle:focus-visible {
    border-color: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
    outline: 0;
}

.designer-motif-card__handle:active {
    cursor: grabbing;
}

.designer-motif-card__title-row strong,
.designer-motif-card__meta,
.designer-motif-card__details span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.designer-motif-card__title-row strong {
    min-width: 0;
    color: #111;
    font-size: 15px;
    line-height: 1.35;
}

.designer-motif-card__meta {
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.designer-motif-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.designer-motif-card__details span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #fafafa;
    color: #555;
    font-size: 12px;
    font-weight: 800;
}

.designer-motif-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.designer-motif-card__actions form {
    min-width: 0;
}

.designer-motif-card__actions .table-action {
    width: 100%;
}

.designer-motif-empty {
    grid-column: 1 / -1;
}

.designer-content-form {
    display: grid;
    gap: 22px;
}

.designer-content-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.designer-content-benefit-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.designer-content-image-field {
    align-content: start;
    background: #fafafa;
}

.designer-content-image-preview {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    background-color: #fff;
}

.designer-content-image-preview img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.designer-content-benefit-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 17, 17, .04);
}

.designer-content-benefit-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #ededed;
    background: #fbfbfb;
}

.designer-content-benefit-card__number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.designer-content-benefit-card__header h3,
.designer-content-benefit-card__header p {
    margin: 0;
}

.designer-content-benefit-card__header h3 {
    color: #111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.designer-content-benefit-card__header p {
    margin-top: 3px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.designer-content-benefit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 16px;
}

.designer-content-icon-field {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #f8f8f8;
}

.designer-content-icon-preview {
    width: 56px;
    height: 56px;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 7px #fafafa;
}

.designer-content-icon-preview img {
    width: 24px;
    height: 24px;
    max-height: none;
    object-fit: contain;
}

.designer-content-icon-preview span {
    color: #8a8a8a;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.designer-content-upload-button {
    width: auto;
    min-width: 150px;
    min-height: 36px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.designer-content-upload-button input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.designer-content-icon-field .form-message {
    margin-left: auto;
}

.designer-content-remove-icon {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.designer-content-remove-icon input {
    width: 14px;
    height: 14px;
    accent-color: #ed1c24;
}

.designer-content-benefit-layout .form-field--rich-text .tox-tinymce {
    border-color: #dedede;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .025);
}

.designer-content-benefit-layout .tox .tox-menubar {
    display: none;
}

.designer-content-benefit-layout .tox .tox-toolbar__primary {
    background: #fafafa;
}

@media (max-width: 1100px) {
    .designer-area-card {
        grid-template-columns: 1fr;
    }

    .designer-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .designer-motif-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .designer-motif-workspace {
        grid-template-columns: 1fr;
    }

    .designer-motif-uploader {
        position: static;
    }

    .designer-content-gallery-grid {
        grid-template-columns: 1fr;
    }

    .designer-content-icon-field {
        align-items: stretch;
        flex-direction: column;
    }

    .designer-content-upload-button,
    .designer-content-remove-icon {
        width: 100%;
    }

    .designer-content-icon-field .form-message {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .designer-area-admin__intro,
    .designer-area-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .designer-area-grid {
        grid-template-columns: 1fr;
    }

    .designer-area-image-picker {
        grid-template-columns: 1fr;
    }

    .designer-area-image-picker__preview {
        width: 100%;
        height: 120px;
    }

    .designer-area-color-image-list {
        grid-template-columns: 1fr;
    }

    .designer-area-image-picker--color {
        grid-template-columns: 1fr;
    }

    .designer-motif-summary {
        grid-template-columns: 1fr;
    }

    .designer-motif-library__bar {
        flex-direction: column;
    }

    .designer-motif-library__tools {
        width: 100%;
        justify-items: stretch;
    }

    .designer-motif-library__hint {
        max-width: none;
        width: 100%;
    }

    .designer-motif-order-form,
    .designer-motif-order-form .admin-action {
        width: 100%;
    }

    .designer-motif-order-status {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .designer-motif-dropzone {
        grid-template-columns: 1fr;
    }

    .designer-motif-dropzone__icon {
        width: 100%;
    }

    .designer-motif-card__actions {
        grid-template-columns: 1fr;
    }
}

.admin-select-host {
    position: relative;
    z-index: 1;
    min-width: 0;
    height: 46px;
}

.admin-select-host:focus-within {
    z-index: 40;
}

.admin-native-select {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.admin-select {
    position: relative;
    height: 100%;
}

.admin-select__button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 11px 0 13px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
    color: #111;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.admin-select__button > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-select__button:hover,
.admin-select.is-open .admin-select__button {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1);
}

.admin-select__button:disabled {
    border-color: #e8e8e8;
    background: #f1f1f1;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

.admin-select__chevron {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #555;
    transition: transform .16s ease, color .16s ease;
}

.admin-select__chevron svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-select.is-open .admin-select__chevron {
    color: #ed1c24;
    transform: rotate(180deg);
}

.admin-select__panel {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 60;
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(17, 17, 17, .16);
}

.admin-select__panel[hidden] {
    display: none;
}

.admin-select__search {
    width: 100%;
    height: 38px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fafafa;
    color: #111;
    font: inherit;
    font-size: 13px;
    outline: none;
}

.admin-select__search:focus {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, .1);
}

.admin-select__list {
    max-height: 238px;
    display: grid;
    gap: 4px;
    overflow: auto;
    padding-right: 2px;
}

.admin-select__option {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.admin-select__option:hover,
.admin-select__option:focus,
.admin-select__option.is-selected {
    background: rgba(237, 28, 36, .07);
    color: #c9181f;
    outline: none;
}

.admin-select__option:disabled {
    color: #aaa;
    cursor: not-allowed;
}

.admin-select--layered .admin-select__list {
    gap: 6px;
}

.admin-select__option--layered {
    min-height: 50px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    justify-content: start;
    align-items: center;
    padding: 8px 10px 8px calc(10px + (var(--select-depth, 0) * 18px));
}

.admin-select__option-layer {
    position: relative;
    width: 18px;
    align-self: stretch;
}

.admin-select__option-layer::before,
.admin-select__option-layer::after {
    content: "";
    position: absolute;
    left: 8px;
}

.admin-select__option-layer::before {
    top: -9px;
    bottom: -9px;
    width: 1px;
    background: #e2e2e2;
}

.admin-select__option-layer::after {
    top: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    transform: translate(-4px, -50%);
}

.admin-select__option--layered[data-depth="0"] {
    padding-left: 10px;
}

.admin-select__option--layered[data-depth="0"] .admin-select__option-layer::before {
    display: none;
}

.admin-select__option--layered[data-depth="0"] .admin-select__option-layer::after {
    border-color: #111;
    background: #111;
}

.admin-select__option--layered.is-selected .admin-select__option-layer::after,
.admin-select__option--layered:hover .admin-select__option-layer::after,
.admin-select__option--layered:focus .admin-select__option-layer::after {
    border-color: #ed1c24;
    background: #ed1c24;
}

.admin-select__option-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-select__option-copy strong,
.admin-select__option-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-select__option-copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
}

.admin-select__option-copy small {
    color: #777;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.admin-select__option--layered.is-selected .admin-select__option-copy small,
.admin-select__option--layered:hover .admin-select__option-copy small,
.admin-select__option--layered:focus .admin-select__option-copy small {
    color: #c9181f;
}

.admin-select__empty {
    padding: 12px 10px;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.form-field--rich-text .tox .tox-menubar,
.form-field--rich-text .tox .tox-toolbar-overlord {
    background: #fafafa;
}

.form-field--short {
    max-width: 280px;
}

.slide-editor {
    display: grid;
    gap: 18px;
}

.slide-editor__card {
    display: grid;
    gap: 20px;
}

.slide-editor__header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.slide-editor__toolbar {
    display: flex;
    justify-content: flex-start;
}

.slide-card-heading {
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e2e2;
}

.slide-card-heading > div:first-child {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
}

.slide-card-heading h2,
.slide-card-heading .muted {
    grid-column: 2;
}

.slide-card-heading__number {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0d0d0d;
    color: #f1f1f1;
    font-weight: 800;
    margin: 0 0 8px;
}

.slide-section {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.slide-section__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.slide-section__heading > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(237, 28, 36, .1);
    color: #ed1c24;
    font-size: 14px;
    font-weight: 800;
}

.slide-section__heading div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.slide-section__heading h3 {
    font-size: 16px;
}

.slide-section__heading p {
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

.slide-section .form-field input,
.slide-section .form-field select,
.slide-section .form-field textarea {
    background: white;
}

.slide-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.slide-media-field {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: white;
}

.slide-media-field .form-field input {
    background: white;
}

.slide-media-field__top {
    display: grid;
    gap: 4px;
}

.slide-media-field__top strong {
    color: #111;
    font-size: 15px;
}

.slide-media-field__top small {
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.slide-preview {
    min-height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border: 1px dashed #cfcfcf;
    border-radius: 8px;
    background:
        linear-gradient(45deg, rgba(17, 17, 17, .05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(17, 17, 17, .05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(17, 17, 17, .05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(17, 17, 17, .05) 75%);
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
}

.slide-preview--mobile {
    min-height: 260px;
}

.slide-preview img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
}

.slide-preview span {
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.admin-checkbox {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9181f;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.admin-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ed1c24;
}

.button-option-grid {
    display: grid;
    gap: 12px;
}

.button-option {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: white;
}

.button-option.is-hidden {
    display: none;
}

.button-option h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
}

.button-option__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.button-option-add {
    width: max-content;
}

.hero-slide-form {
    padding-bottom: 96px;
}

.hero-slide-form-card {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.hero-slide-form .slide-card-heading {
    margin-bottom: 0;
    padding: 20px;
    border-bottom: 1px solid #e2e2e2;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hero-slide-form .slide-card-heading > div:first-child {
    grid-template-columns: 1fr;
}

.hero-slide-form .slide-card-heading h2,
.hero-slide-form .slide-card-heading .muted {
    grid-column: auto;
}

.hero-slide-form .slide-section {
    gap: 18px;
    padding: 22px 20px;
    border: 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;
    background: #fff;
}

.hero-slide-form .slide-section:last-child {
    border-bottom: 0;
}

.hero-slide-form .slide-section__heading > span {
    width: 30px;
    height: 30px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
}

.hero-slide-form .slide-section__heading h3 {
    font-size: 18px;
}

.hero-slide-form .slide-section__heading p {
    max-width: 680px;
}

.hero-slide-form .slide-section .form-field input,
.hero-slide-form .slide-section .form-field textarea {
    background: #fafafa;
}

.hero-slide-form .slide-section .form-field input:focus,
.hero-slide-form .slide-section .form-field textarea:focus {
    background: #fff;
}

.hero-slide-form .slide-media-field,
.hero-slide-form .button-option {
    border-color: #e2e2e2;
    background: #fafafa;
}

.hero-slide-form .button-option {
    padding: 16px;
}

.hero-slide-form .button-option .form-field input {
    background: #fff;
}

.hero-slide-form .button-option .table-action--icon {
    width: 34px;
    height: 34px;
    min-height: 34px;
    color: #555;
}

.hero-slide-form .button-option .table-action--icon:hover {
    border-color: #ed1c24;
    color: #ed1c24;
}

.home-promo-form {
    padding-bottom: 96px;
}

.home-promo-editor {
    display: grid;
    gap: 22px;
}

.home-promo-card {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.home-promo-card__heading {
    margin-bottom: 0;
    padding: 20px;
    border-bottom: 1px solid #e2e2e2;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.home-promo-card .slide-section {
    gap: 18px;
    padding: 22px 20px;
    border: 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;
    background: #fff;
}

.home-promo-card .slide-section:last-child {
    border-bottom: 0;
}

.home-promo-card .slide-section .form-field input,
.home-promo-card .slide-section .form-field textarea {
    background: #fafafa;
}

.home-promo-card .slide-section .form-field input:focus,
.home-promo-card .slide-section .form-field textarea:focus {
    background: #fff;
}

.home-promo-media {
    justify-items: start;
    background: #fafafa;
}

.home-promo-preview {
    width: 100%;
    min-height: 0;
    aspect-ratio: 960 / 720;
}

.home-promo-preview img {
    max-height: none;
    object-fit: cover;
}

.home-promo-preview--wide {
    max-width: 960px;
    aspect-ratio: 960 / 720;
}

.home-promo-preview--small {
    max-width: 432px;
    aspect-ratio: 432 / 348;
}

.blog-info-hero-preview {
    width: 100%;
    max-width: 960px;
    height: 310px;
    min-height: 310px;
}

.blog-info-card .slide-section + .slide-section {
    margin-top: 28px;
}

.blog-info-hero-preview img,
.blog-post-image-preview img,
.blog-author-avatar-preview img {
    max-height: none;
    object-fit: cover;
}

.about-page-card .slide-section + .slide-section {
    margin-top: 28px;
}

.contact-page-card .slide-section + .slide-section {
    margin-top: 28px;
}

.about-page-media {
    background: #fafafa;
}

.about-page-media__fields,
.about-page-section-grid {
    display: grid;
    gap: 18px;
}

.about-page-section-grid {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: start;
}

.about-page-preview {
    width: 100%;
    min-height: 0;
    background-color: #fff;
}

.about-page-preview img {
    max-height: none;
    object-fit: cover;
}

.about-page-preview--wide {
    max-width: 960px;
    aspect-ratio: 1536 / 672;
}

.about-page-preview--card {
    aspect-ratio: 3 / 2;
}

.about-page-repeat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-page-repeat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-map-admin-preview {
    width: 100%;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #f5f5f5;
}

.contact-map-admin-preview iframe {
    width: 100%;
    height: 320px;
    display: block;
    border: 0;
}

.about-page-repeat-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.about-page-repeat-card__label {
    color: #ed1c24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-post-image-preview {
    width: 100%;
    max-width: 420px;
    min-height: 0;
    aspect-ratio: 1.82;
}

.blog-author-avatar-preview {
    width: 96px;
    height: 96px;
    min-height: 0;
    border-radius: 999px;
}

.blog-author-avatar-preview img {
    border-radius: inherit;
}

.category-media-field {
    width: min(520px, 100%);
    background: #fafafa;
}

.category-image-preview {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-color: #fff;
}

.category-image-preview img {
    max-height: none;
    object-fit: cover;
}

.category-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.home-process-list,
.home-process-form {
    display: grid;
    gap: 22px;
}

.home-process-add-row {
    display: grid;
}

.home-process-add-button {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    border-style: dashed;
    border-color: #111;
    background: #fff;
    color: #111;
}

.home-process-add-button:hover {
    background: #111;
    color: #fff;
}

.home-process-card {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.home-process-card .slide-section {
    gap: 18px;
    padding: 22px 20px;
    border: 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;
    background: #fff;
}

.home-process-card .slide-section:last-child {
    border-bottom: 0;
}

.home-process-card .table-action--icon {
    width: 38px;
    height: 38px;
    min-height: 38px;
}

.home-process-media {
    width: max-content;
    max-width: 100%;
    min-width: min(320px, 100%);
    align-items: start;
    background: #fafafa;
}

.home-process-icon-preview {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
    border: 1px dashed #cfcfcf;
    border-radius: 8px;
    background: #fff;
}

.home-process-icon-preview img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.home-process-icon-preview span {
    padding: 4px;
    color: #555;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.home-why-form,
.home-why-list {
    display: grid;
    gap: 22px;
}

.home-why-card {
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.home-why-card .slide-section {
    gap: 18px;
    padding: 22px 20px;
    border: 0;
    background: #fff;
}

.promo-theme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.promo-theme-control {
    min-width: 0;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.promo-theme-control legend {
    padding: 0 6px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.promo-theme-control > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.promo-theme-control label {
    cursor: pointer;
}

.promo-theme-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.promo-theme-control span {
    min-height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.promo-theme-control input:checked + span {
    border-color: #111;
    background: #111;
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 13, 13, .12);
}

.admin-switch {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.admin-switch__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.admin-switch__control {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 28px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fafafa;
    box-shadow: inset 0 1px 2px rgba(13, 13, 13, .08);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-switch__control::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 2px 8px rgba(13, 13, 13, .18);
    content: "";
    transition: transform 180ms ease;
}

.admin-switch__input:checked + .admin-switch__control {
    border-color: #ed1c24;
    background: #ed1c24;
    box-shadow: inset 0 1px 2px rgba(13, 13, 13, .12), 0 0 0 4px rgba(237, 28, 36, .1);
}

.admin-switch__input:checked + .admin-switch__control::before {
    transform: translateX(20px);
}

.admin-switch__input:focus-visible + .admin-switch__control {
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .18);
}

.admin-switch__label {
    line-height: 1.35;
}

.admin-switch--compact {
    gap: 8px;
}

.admin-switch--compact .admin-switch__control {
    width: 42px;
    height: 24px;
}

.admin-switch--compact .admin-switch__control::before {
    width: 16px;
    height: 16px;
}

.admin-switch--compact .admin-switch__input:checked + .admin-switch__control::before {
    transform: translateX(18px);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.form-actions--floating {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(13, 13, 13, .16);
    backdrop-filter: blur(12px);
}

.form-actions--floating .admin-action {
    min-width: 148px;
}

.admin-swal {
    width: min(460px, calc(100% - 28px));
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 24px;
    color: #111;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    box-shadow: 0 24px 70px rgba(13, 13, 13, .22);
}

.admin-swal__title {
    padding: 0;
    color: #111;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.admin-swal__html {
    margin: 12px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.admin-swal__html p {
    margin: 0;
}

.admin-swal__html ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    text-align: left;
}

.admin-swal .swal2-actions {
    gap: 10px;
    margin-top: 22px;
}

.admin-swal .swal2-icon.swal2-error {
    border-color: #ed1c24;
    color: #ed1c24;
}

.admin-swal .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #ed1c24;
}

.admin-swal .swal2-icon.swal2-warning {
    border-color: #111;
    color: #111;
}

.admin-swal .swal2-icon.swal2-info {
    border-color: #111;
    color: #111;
}

.admin-swal-toast .swal2-timer-progress-bar {
    background: #ed1c24;
}

.admin-swal__confirm,
.admin-swal__cancel {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.admin-swal__confirm {
    border: 1px solid #ed1c24;
    background: #ed1c24;
    color: #fff;
}

.admin-swal__confirm:hover {
    border-color: #c9181f;
    background: #c9181f;
}

.admin-swal__cancel {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #111;
}

.admin-swal__cancel:hover {
    border-color: #111;
}

.admin-swal-toast {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 12px 14px;
    color: #111;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    box-shadow: 0 16px 44px rgba(13, 13, 13, .16);
}

.admin-swal-toast__title {
    color: #111;
    font-size: 14px;
    font-weight: 800;
}

.success-message {
    padding: 13px 15px;
    border: 1px solid rgba(237, 28, 36, .24);
    border-radius: 8px;
    background: rgba(237, 28, 36, .08);
    color: #c9181f;
    font-size: 14px;
    font-weight: 700;
}

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

.stat-card {
    min-height: 132px;
    display: grid;
    align-content: space-between;
    padding: 18px;
}

.stat-card span {
    color: #555;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.stat {
    color: #111;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
}

.dashboard-heading {
    align-items: center;
    padding: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: white;
}

.dashboard-date {
    min-width: 158px;
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.dashboard-date span {
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.dashboard-date strong {
    color: #111;
    font-size: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.stat-card--metric {
    min-height: 156px;
    position: relative;
    overflow: hidden;
}

.stat-card--metric::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    background: #ed1c24;
}

.stat-card--metric p {
    color: #555;
    font-size: 14px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-grid--wide {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: #555;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.table-link {
    color: #111;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .16s ease;
}

.table-link:hover,
.table-link:focus-visible {
    color: #ed1c24;
}

.users-table {
    min-width: 960px;
}

.newsletter-table {
    min-width: 620px;
}

.orders-admin-card {
    display: grid;
    gap: 18px;
}

.orders-admin-card__header {
    align-items: end;
}

.orders-filter {
    display: grid;
    grid-template-columns: 170px minmax(220px, 280px) max-content;
    gap: 10px;
    align-items: end;
}

.orders-filter label {
    display: grid;
    gap: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.orders-filter input,
.orders-filter select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
}

.orders-table {
    min-width: 1160px;
}

.orders-table td {
    vertical-align: top;
}

.orders-table td > strong {
    display: block;
    margin-bottom: 4px;
}

.orders-table__meta {
    display: block;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
}

.orders-table__items {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    color: #111;
    list-style: none;
}

.orders-table__items span {
    color: #555;
}

.order-detail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: start;
}

.order-edit-card,
.order-side-card,
.order-items-card {
    display: grid;
    gap: 18px;
}

.order-side-card {
    position: sticky;
    top: 24px;
}

.order-total-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.order-total-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e2e2;
}

.order-total-list dt {
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.order-total-list dd {
    margin: 0;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.order-total-list .order-total-list__grand {
    padding-bottom: 0;
    border-bottom: 0;
}

.order-total-list__grand dt,
.order-total-list__grand dd {
    color: #111;
    font-size: 20px;
    font-weight: 800;
}

.order-items-table {
    min-width: 1200px;
}

.order-product-cell {
    display: grid;
    grid-template-columns: 112px minmax(160px, 1fr);
    gap: 14px;
    align-items: center;
}

.order-product-preview {
    position: relative;
    width: 112px;
    height: 112px;
    display: block;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #f6f6f6;
}

.order-product-preview__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.order-product-preview__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 20px;
    font-weight: 800;
}

.order-product-preview__area {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.order-product-preview__element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: center;
    pointer-events: none;
}

.order-product-preview__element img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.order-product-preview__element--text {
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: uppercase;
}

.order-product-preview__element--motif {
    border-radius: 4px;
    color: currentColor;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.order-product-preview--large {
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 1;
}

.order-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 520px;
}

.order-item-options span,
.order-item-options a {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.order-item-options a {
    background: rgba(237, 28, 36, .08);
    color: #ed1c24;
}

.order-item-design {
    min-width: 360px;
    display: grid;
    gap: 12px;
}

.order-item-design__section {
    display: grid;
    gap: 8px;
}

.order-item-design__section > strong {
    color: #111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.order-item-design__section--technical {
    padding-top: 10px;
    border-top: 1px dashed #dcdcdc;
}

.order-item-options--muted span,
.order-item-options--muted a {
    background: #fff;
    border: 1px solid #e2e2e2;
    color: #666;
    font-size: 12px;
}

.order-item-options__empty {
    display: inline-flex;
    width: max-content;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.order-item-color-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.order-item-design-elements {
    display: grid;
    gap: 8px;
}

.order-item-design-element {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.order-item-design-element__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-item-design-element__title strong {
    color: #111;
    font-size: 13px;
    font-weight: 900;
}

.order-item-design-element__title span {
    flex: 0 0 auto;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(237, 28, 36, .08);
    color: #ed1c24;
    font-size: 11px;
    font-weight: 900;
}

.order-item-design-element p {
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.order-item-design-element__asset {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 900;
}

.order-item-design-element__asset img {
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
}

.order-item-design-element__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.order-item-design-element__meta span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #555;
    font-size: 12px;
    font-weight: 800;
}

.order-design-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 16px;
    align-items: start;
}

.order-design-preview-card,
.order-design-info-card,
.order-design-elements-card,
.order-design-technical-card {
    display: grid;
    gap: 18px;
}

.order-design-preview {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.order-design-info-card {
    position: sticky;
    top: 24px;
}

.order-design-meta-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.order-design-meta-list div {
    display: grid;
    gap: 3px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ededed;
}

.order-design-meta-list dt {
    color: #666;
    font-size: 12px;
    font-weight: 800;
}

.order-design-meta-list dd {
    margin: 0;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.order-design-angle-section {
    display: grid;
    gap: 12px;
}

.order-design-angle-section + .order-design-angle-section {
    padding-top: 18px;
    border-top: 1px dashed #dcdcdc;
}

.order-design-angle-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order-design-angle-section__header h3 {
    margin: 0;
    color: #111;
    font-size: 18px;
    font-weight: 900;
}

.order-design-angle-section__header span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(237, 28, 36, .08);
    color: #ed1c24;
    font-size: 12px;
    font-weight: 900;
}

.order-item-design-elements--detail {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.order-json-details {
    display: grid;
    gap: 8px;
}

.order-json-details summary {
    width: max-content;
    max-width: 100%;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.order-json-details pre {
    max-height: 420px;
    margin: 0;
    overflow: auto;
    padding: 12px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-empty {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px dashed #d7d7d7;
    border-radius: 8px;
    background: #fafafa;
}

.admin-empty strong {
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.admin-empty span {
    color: #666;
    font-size: 14px;
    font-weight: 700;
}

.admin-design-editor {
    display: grid;
    gap: 18px;
}

.admin-design-editor__header {
    align-items: center;
}

.admin-design-editor__workspace {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: stretch;
}

.admin-design-tools,
.admin-design-properties {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.admin-design-tool-group {
    display: grid;
    gap: 10px;
}

.admin-design-tool-group + .admin-design-tool-group {
    padding-top: 14px;
    border-top: 1px dashed #d8d8d8;
}

.admin-design-tool-group h3 {
    margin: 0;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-design-tool-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease;
}

.admin-design-tool-button:hover {
    border-color: #111;
    background: #f6f6f6;
}

.admin-design-tool-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.admin-design-motif-control {
    display: grid;
    gap: 8px;
}

.admin-design-color-panel {
    display: grid;
    gap: 8px;
}

.admin-design-color-panel > span {
    color: #555;
    font-size: 13px;
    font-weight: 800;
}

.admin-design-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-design-color-list button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.admin-design-color-list button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.admin-design-layer-list {
    display: grid;
    gap: 6px;
}

.admin-design-layer-list button {
    min-height: 38px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.admin-design-layer-list button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-design-layer-list button.is-active {
    border-color: #111;
    box-shadow: inset 3px 0 0 #ed1c24;
}

.admin-design-layer-list__empty {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.admin-design-stage-panel {
    min-width: 0;
    display: grid;
    grid-template-rows: max-content minmax(420px, 1fr);
    gap: 10px;
}

.admin-design-stage-toolbar {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
}

.admin-design-stage-toolbar button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #111;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.admin-design-stage-toolbar span {
    min-width: 46px;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.admin-design-stage-shell {
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: auto;
    padding: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background:
        linear-gradient(45deg, #f4f4f4 25%, transparent 25%),
        linear-gradient(-45deg, #f4f4f4 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f4f4f4 75%),
        linear-gradient(-45deg, transparent 75%, #f4f4f4 75%);
    background-color: #fafafa;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
}

.admin-design-stage {
    --admin-design-zoom: 1;
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1;
    transform: scale(var(--admin-design-zoom));
    transform-origin: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
}

.admin-design-stage__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-design-print-area {
    position: absolute;
    border: 1px dashed rgba(237, 28, 36, .8);
    background: rgba(237, 28, 36, .035);
}

.admin-design-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid transparent;
    background: transparent;
    color: #111;
    cursor: move;
    line-height: 1.05;
    text-align: center;
    transform-origin: center;
    user-select: none;
}

.admin-design-element.is-selected {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(237, 28, 36, .38);
}

.admin-design-element img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.admin-design-element--text {
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.admin-design-element--motif {
    font-size: 12px;
    font-weight: 900;
}

.admin-design-element__resize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ed1c24;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
    cursor: nwse-resize;
}

.admin-design-properties__empty {
    display: grid;
    gap: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 700;
}

.admin-design-properties__empty strong {
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.admin-design-properties__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.admin-design-properties__header span {
    color: #666;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-design-properties__header h3 {
    margin: 2px 0 0;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-design-field {
    display: grid;
    gap: 7px;
}

.admin-design-field > span,
.admin-design-field--range > span {
    color: #555;
    font-size: 13px;
    font-weight: 800;
}

.admin-design-field input,
.admin-design-field select,
.admin-design-field textarea {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
}

.admin-design-field textarea {
    min-height: 82px;
    padding: 10px;
    resize: vertical;
}

.admin-design-field--range > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.admin-design-field--range strong {
    color: #111;
}

.admin-design-field--range input {
    min-height: 28px;
    padding: 0;
    accent-color: #ed1c24;
}

.admin-design-color-control {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.admin-design-color-control input[type="color"] {
    width: 46px;
    min-height: 38px;
    padding: 4px;
}

.admin-design-color-control strong {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 900;
}

.admin-design-properties__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .order-detail-summary,
    .order-detail-grid,
    .order-design-detail-grid,
    .admin-design-editor__workspace {
        grid-template-columns: 1fr;
    }

    .order-side-card,
    .order-design-info-card {
        position: static;
    }
}

.users-card,
.newsletter-card,
.reviews-card,
.hero-slides-card,
.catalog-admin-card {
    padding: 0;
    overflow: hidden;
}

.users-card .admin-card__header,
.newsletter-card .admin-card__header,
.reviews-card .admin-card__header,
.hero-slides-card .admin-card__header,
.catalog-admin-card .admin-card__header {
    margin-bottom: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e2e2;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.reviews-table {
    min-width: 1120px;
}

.users-table,
.newsletter-table,
.reviews-table,
.hero-slides-table,
.catalog-table {
    border-collapse: collapse;
}

.hero-slides-table {
    min-width: 860px;
}

.catalog-table {
    min-width: 920px;
}

.catalog-table--products {
    min-width: 1120px;
}

.users-table th,
.users-table td,
.newsletter-table th,
.newsletter-table td,
.reviews-table th,
.reviews-table td,
.hero-slides-table th,
.hero-slides-table td,
.catalog-table th,
.catalog-table td {
    border-bottom: 1px solid #ededed;
}

.users-table th,
.newsletter-table th,
.reviews-table th,
.hero-slides-table th,
.catalog-table th {
    padding: 12px 14px;
    background: #0d0d0d;
    color: rgba(241, 241, 241, .72);
    font-size: 12px;
    letter-spacing: 0;
}

.users-table td,
.newsletter-table td,
.reviews-table td,
.hero-slides-table td,
.catalog-table td {
    padding: 15px 14px;
    background: #fff;
    vertical-align: middle;
}

.users-table tbody tr,
.newsletter-table tbody tr,
.reviews-table tbody tr,
.hero-slides-table tbody tr,
.catalog-table tbody tr {
    position: relative;
    transition: background .16s ease, opacity .16s ease;
}

.users-table tbody tr:hover,
.newsletter-table tbody tr:hover,
.reviews-table tbody tr:hover,
.hero-slides-table tbody tr:hover,
.catalog-table tbody tr:hover {
    background: #fafafa;
}

.users-table tbody tr:hover td,
.newsletter-table tbody tr:hover td,
.reviews-table tbody tr:hover td,
.hero-slides-table tbody tr:hover td,
.catalog-table tbody tr:hover td {
    background: #fafafa;
}

.users-table tbody tr:hover td:first-child,
.newsletter-table tbody tr:hover td:first-child,
.reviews-table tbody tr:hover td:first-child,
.hero-slides-table tbody tr:hover td:first-child,
.catalog-table tbody tr:hover td:first-child {
    box-shadow: inset 4px 0 0 #ed1c24;
}

.hero-slides-table tbody tr.is-dragging {
    opacity: .56;
    background: #fff5f5;
}

.hero-slides-table tbody tr.is-dragging td {
    background: #fff5f5;
}

.hero-slides-table tbody tr td:first-child {
    width: 54px;
}

.users-table tbody tr td:last-child,
.hero-slides-table tbody tr td:last-child,
.catalog-table tbody tr td:last-child {
    text-align: right;
}

.reviews-table tbody tr td:last-child {
    text-align: right;
}

.hero-slides-table tbody.is-sorting tr {
    cursor: grabbing;
}

.users-table tbody tr:last-child td,
.newsletter-table tbody tr:last-child td,
.reviews-table tbody tr:last-child td,
.hero-slides-table tbody tr:last-child td,
.catalog-table tbody tr:last-child td {
    border-bottom: 0;
}

.hero-order-form {
    display: flex;
    justify-content: flex-end;
}

.hero-order-form .admin-action {
    min-height: 38px;
    border-color: #111;
    color: #111;
}

.hero-order-form .admin-action:not(:disabled):hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.users-table .status-badge--muted,
.newsletter-table .status-badge--muted,
.reviews-table .status-badge--muted,
.hero-slides-table .status-badge--muted {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #111;
    font-size: 13px;
}

.drag-handle {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    cursor: grab;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.drag-handle:hover {
    border-color: #ed1c24;
    background: #fff;
    color: #ed1c24;
}

.drag-handle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-slide-position {
    min-width: 40px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-title {
    min-width: 300px;
    display: grid;
    gap: 4px;
}

.hero-slide-title strong {
    color: #111;
    font-size: 15px;
    line-height: 1.25;
}

.hero-slide-title span {
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.user-cell div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

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

.user-cell span:not(.user-avatar) {
    color: #555;
    font-size: 14px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #0d0d0d;
    color: #f1f1f1;
    font-size: 14px;
    font-weight: 800;
}

.taxonomy-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    padding-left: calc(var(--depth, 0) * 22px);
}

.taxonomy-cell div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.taxonomy-cell strong,
.taxonomy-cell span:not(.taxonomy-cell__mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taxonomy-cell span:not(.taxonomy-cell__mark) {
    color: #555;
    font-size: 14px;
}

.taxonomy-cell__mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.category-order-heading {
    align-items: center;
}

.category-order-form {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.category-order-panel {
    padding: 18px 20px 20px;
    background: #fff;
}

.category-order-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-order-list .category-order-list {
    margin: 8px 0 0 44px;
    padding-left: 14px;
    border-left: 1px solid #e2e2e2;
}

.category-order-item {
    display: grid;
    gap: 0;
}

.category-order-item__row {
    display: grid;
    grid-template-columns: 38px minmax(260px, 1fr) auto auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #fff;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.category-order-item__row:hover {
    border-color: rgba(237, 28, 36, .32);
    background: #fafafa;
    box-shadow: inset 4px 0 0 #ed1c24;
}

.category-order-item.is-dragging > .category-order-item__row {
    border-color: #ed1c24;
    background: #fff5f5;
    opacity: .62;
}

.category-order-list.is-sorting {
    cursor: grabbing;
}

.category-order-position {
    width: 34px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.category-order-item .taxonomy-cell {
    min-width: 0;
    padding-left: 0;
}

.blog-category-order-item .category-order-item__row {
    grid-template-columns: 38px minmax(260px, 1fr) auto auto auto auto auto;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 260px;
}

.catalog-form-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.catalog-form-section > div:first-child {
    display: grid;
    gap: 4px;
}

.catalog-form-section h2 {
    font-size: 18px;
}

.product-media-field {
    background: #fff;
}

.product-media-gallery {
    display: grid;
    gap: 14px;
}

.product-media-upload {
    max-width: 680px;
}

.media-upload-dropzone {
    position: relative;
    min-height: 104px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1.5px dashed #cfcfcf;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    color: #111;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

.media-upload-dropzone:hover,
.media-upload-dropzone.is-dragover {
    border-color: #ed1c24;
    background: rgba(237, 28, 36, .04);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.media-upload-dropzone.is-dragover {
    transform: translateY(-1px);
}

.media-upload-dropzone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.media-upload-dropzone__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #111;
    color: #fff;
}

.media-upload-dropzone__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.media-upload-dropzone__copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.media-upload-dropzone__copy strong {
    color: #111;
    font-size: 14px;
}

.media-upload-dropzone__copy small {
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.media-upload-dropzone__button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    background: #ed1c24;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.media-upload-dropzone--compact {
    min-height: 74px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
}

.media-upload-dropzone--compact .media-upload-dropzone__icon {
    width: 38px;
    height: 38px;
}

.media-upload-dropzone--compact .media-upload-dropzone__icon svg {
    width: 20px;
    height: 20px;
}

.media-gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.media-gallery-list.is-sorting .media-gallery-item:not(.is-dragging) {
    transition: transform .14s ease;
}

.media-gallery-list--compact {
    grid-template-columns: 1fr;
}

.media-gallery-item {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    overflow: hidden;
    padding: 8px 8px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .06);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.media-gallery-item:hover,
.media-gallery-item:focus-within {
    border-color: rgba(237, 28, 36, .34);
    box-shadow: 0 18px 42px rgba(17, 17, 17, .1);
    transform: translateY(-1px);
}

.media-gallery-item.is-dragging {
    opacity: .46;
    transform: scale(.98);
}

.media-gallery-item__handle {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    box-shadow: 0 10px 22px rgba(17, 17, 17, .12);
    cursor: grab;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, background .16s ease;
}

.media-gallery-item:hover .media-gallery-item__handle,
.media-gallery-item:focus-within .media-gallery-item__handle {
    opacity: 1;
    transform: translateY(0);
}

.media-gallery-item__handle:active {
    cursor: grabbing;
}

.media-gallery-item__handle svg,
.media-gallery-item .table-action svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.media-gallery-item figure {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border: 1px solid #ededed;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(17, 17, 17, .03)),
        #f6f6f6;
}

.media-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .22s ease;
}

.media-gallery-item:hover img,
.media-gallery-item:focus-within img {
    transform: scale(1.025);
}

.media-gallery-item figure span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 5px 8px;
    border-radius: 999px;
    background: #ed1c24;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 8px 18px rgba(237, 28, 36, .24);
}

.media-gallery-item > div {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 0 2px;
}

.media-gallery-item strong,
.media-gallery-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-gallery-item strong {
    color: #111;
    font-size: 14px;
}

.media-gallery-item small {
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.media-gallery-item > .table-action {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-color: rgba(237, 28, 36, .2);
    background: rgba(255, 255, 255, .92);
    color: #c9181f;
    box-shadow: 0 10px 22px rgba(17, 17, 17, .12);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, background .16s ease;
}

.media-gallery-item:hover > .table-action,
.media-gallery-item:focus-within > .table-action {
    opacity: 1;
    transform: translateY(0);
}

.product-admin-card {
    padding: 0;
    overflow: visible;
}

.product-admin-card .admin-form {
    padding: 20px;
}

.product-tags-under-price {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.product-tags-under-price h3 {
    margin: 0 0 4px;
    color: #111;
    font-size: 15px;
}

.size-guide-editor__body,
.size-guide-table-editor {
    display: grid;
    gap: 16px;
}

.size-guide-table-editor {
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.size-guide-table-editor__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.size-guide-table-editor__header h3 {
    color: #111;
    font-size: 15px;
}

.size-guide-table-editor__table-wrap {
    overflow-x: auto;
}

.size-guide-table-editor__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.size-guide-table-editor__table th,
.size-guide-table-editor__table td {
    padding: 8px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
}

.size-guide-table-editor__table th {
    color: #555;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.size-guide-table-editor__table td:last-child,
.size-guide-table-editor__table th:last-child {
    width: 44px;
    text-align: right;
}

.size-guide-table-editor__table input {
    width: 100%;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
    color: #111;
    font: inherit;
    outline: 0;
}

.size-guide-table-editor__table input:focus {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1);
}

.product-review-panel {
    margin: 0 20px 20px;
    background: #fff;
}

.product-review-panel .admin-form {
    padding: 0;
}

.product-review-form__actions {
    justify-content: flex-start;
}

.product-reviews-table .table-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.product-type-grid,
.family-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-choice-card,
.family-card {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
}

.family-card {
    align-items: flex-start;
    flex-direction: column;
}

.product-choice-card:hover,
.product-choice-card.is-selected,
.family-card:hover,
.family-card.is-selected {
    border-color: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.product-choice-card.is-selected,
.family-card.is-selected {
    background: rgba(237, 28, 36, .04);
}

.product-choice-card input,
.family-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.product-choice-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0d0d0d;
    color: #f1f1f1;
}

.product-choice-card__icon svg,
.variant-row__header svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-choice-card strong,
.family-card strong {
    display: block;
    color: #111;
    font-size: 14px;
}

.product-choice-card small,
.family-card__meta {
    display: block;
    margin-top: 3px;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

.family-picker,
.variant-builder {
    display: grid;
    gap: 14px;
}

.variant-workspace {
    gap: 18px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.product-configurable-panel[hidden] {
    display: none !important;
}

.variant-workspace__heading {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.variant-workspace__heading > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.variant-count-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(237, 28, 36, .22);
    border-radius: 999px;
    background: rgba(237, 28, 36, .07);
    color: #c9181f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.variant-builder-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .04);
}

.variant-builder-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.variant-builder-card__heading > span {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.variant-builder-card__heading > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.variant-builder-card__heading h3 {
    color: #111;
    line-height: 1.25;
}

.variant-builder-card__heading p {
    color: #555;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.variant-builder-card--tools {
    background:
        linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

.family-picker__heading {
    display: grid;
    gap: 4px;
}

.family-picker__heading h3,
.variant-builder h3 {
    font-size: 15px;
}

.family-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.family-card code {
    padding: 3px 6px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #555;
    font-size: 12px;
}

.variant-chip-grid,
.variant-option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-chip,
.variant-option-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.variant-chip input {
    width: 16px;
    height: 16px;
    accent-color: #ed1c24;
}

.variant-chip small {
    color: #777;
    font-weight: 600;
}

.variant-chip.is-selected,
.variant-option-chip.is-selected {
    border-color: #ed1c24;
    background: rgba(237, 28, 36, .06);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.variant-option-picker-list {
    display: grid;
    gap: 12px;
}

.variant-option-chip__swatch {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(17, 17, 17, .18);
    border-radius: 999px;
}

.variant-option-group {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
}

.variant-option-group__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.variant-option-group__heading > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.variant-option-group__heading > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.variant-builder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #fafafa;
}

.variant-bulk-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 12px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #fafafa;
}

.variant-list {
    display: grid;
    gap: 14px;
}

.variant-empty-state {
    border: 1px dashed #d8d8d8;
    background: #fff;
}

.variant-row {
    display: grid;
    gap: 0;
    overflow: visible;
    padding: 0;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .05);
}

.variant-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #ededed;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.variant-row__identity {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant-row__identity > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.variant-row__index {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #111;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1;
}

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

.variant-row__header span {
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.variant-row__badges {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    margin-left: auto;
}

.variant-row__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    max-width: 160px;
    padding: 5px 8px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.variant-row__badges .is-active {
    border-color: rgba(38, 142, 92, .24);
    background: rgba(38, 142, 92, .08);
    color: #1e7149;
}

.variant-row__badges .is-muted {
    border-color: rgba(17, 17, 17, .12);
    background: #f1f1f1;
    color: #777;
}

.variant-row__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.variant-media-gallery {
    min-width: 0;
    display: grid;
    gap: 10px;
    margin: 0 14px 14px;
    padding: 12px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.variant-media-gallery .media-gallery-list--compact {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 8px;
}

.variant-media-upload {
    width: 100%;
    min-height: 92px;
}

.variant-media-gallery__header {
    display: grid;
    gap: 3px;
}

.variant-media-gallery__header span {
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.variant-media-gallery__header small {
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.media-gallery-item--compact {
    position: relative;
    grid-template-columns: 28px 52px minmax(0, 1fr) 30px;
    align-items: center;
    padding: 6px;
    gap: 7px;
    box-shadow: none;
}

.media-gallery-item--compact:hover,
.media-gallery-item--compact:focus-within {
    transform: none;
    box-shadow: 0 10px 24px rgba(17, 17, 17, .07);
}

.media-gallery-item--compact figure {
    width: 52px;
    height: 52px;
    aspect-ratio: auto;
}

.media-gallery-item--compact .media-gallery-item__handle {
    position: static;
    width: 28px;
    height: 28px;
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.media-gallery-item--compact > .table-action {
    position: static;
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.media-gallery-item--compact img {
    object-fit: contain;
}

.media-gallery-item--compact:hover img,
.media-gallery-item--compact:focus-within img {
    transform: none;
}

.media-gallery-item--compact figure span {
    left: 4px;
    bottom: 4px;
    max-width: calc(100% - 8px);
    padding: 2px 5px;
    font-size: 9px;
}

.media-gallery-item--compact > div {
    padding: 0;
}

.media-gallery-item--compact strong {
    font-size: 12px;
}

.media-gallery-item--compact small {
    font-size: 11px;
}

.variant-mini-field,
.variant-mini-switch {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.variant-mini-field--wide {
    grid-column: span 2;
}

.variant-mini-field--full {
    grid-column: 1 / -1;
}

.variant-mini-field span,
.variant-mini-switch span {
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.variant-mini-field input,
.variant-mini-field select {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 9px 11px;
    background: #fafafa;
    color: #111;
    font: inherit;
    outline: none;
}

.variant-mini-field .admin-select-host {
    height: 40px;
}

.variant-mini-field .admin-select__button {
    padding: 0 9px 0 11px;
    font-size: 13px;
}

.variant-mini-field .admin-select__chevron {
    color: #555;
}

.variant-mini-field input:focus,
.variant-mini-field select:focus {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1);
}

.variant-description-field {
    gap: 8px;
}

.variant-description-field textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fafafa;
    color: #111;
    font: inherit;
    line-height: 1.45;
    outline: none;
}

.variant-description-field textarea:focus {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .1);
}

.variant-description-field small {
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.variant-description-field .tox-tinymce {
    border-color: #e2e2e2;
    border-radius: 8px;
}

.variant-description-field .tox .tox-toolbar__primary,
.variant-description-field .tox .tox-edit-area__iframe {
    background: #fff;
}

.variant-mini-switch {
    align-content: end;
    justify-items: start;
    padding-bottom: 8px;
}

.variant-mini-switch input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ed1c24;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.checkbox-card:hover,
.checkbox-card:has(input:checked) {
    border-color: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.checkbox-card input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #ed1c24;
}

.checkbox-card span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty-state--compact {
    justify-items: start;
    padding: 14px;
    border: 1px dashed #cfcfcf;
    border-radius: 8px;
    background: #fff;
    text-align: left;
}

.catalog-pagination {
    padding: 16px 20px;
    border-top: 1px solid #ededed;
    background: #fafafa;
}

.status-badge,
.stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge {
    background: rgba(237, 28, 36, .1);
    color: #ed1c24;
}

.status-badge--muted {
    background: #e2e2e2;
    color: #555;
}

.status-badge--approved {
    background: rgba(17, 17, 17, .08);
    color: #111;
}

.stock-pill {
    background: #0d0d0d;
    color: #f1f1f1;
}

.rating-stars {
    color: #ed1c24;
    letter-spacing: 1px;
    white-space: nowrap;
}

.review-comment {
    max-width: 360px;
    color: #555;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-detail-card {
    display: grid;
    gap: 20px;
}

.review-detail-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e2e2;
}

.review-detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.review-detail-meta div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.review-detail-meta dt {
    color: #555;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.review-detail-meta dd {
    margin: 0;
    color: #111;
    font-size: 15px;
    font-weight: 700;
}

.review-detail-feedback {
    display: grid;
    gap: 12px;
}

.review-detail-feedback h2 {
    font-size: 18px;
}

.review-detail-feedback p {
    margin: 0;
    padding: 18px;
    border-left: 4px solid #ed1c24;
    border-radius: 8px;
    background: #fafafa;
    color: #111;
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.review-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.review-detail-actions form {
    margin: 0;
}

.home-reviews-form {
    padding-bottom: 96px;
}

.home-reviews-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-reviews-search {
    width: min(440px, 100%);
    display: grid;
    gap: 8px;
}

.home-reviews-search span {
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.home-reviews-search input {
    width: 100%;
    height: 46px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-reviews-search input:focus {
    border-color: #ed1c24;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.home-reviews-table {
    min-width: 1120px;
}

.home-reviews-table th:first-child,
.home-reviews-table td:first-child {
    width: 84px;
}

.home-reviews-table th:nth-child(2),
.home-reviews-table td:nth-child(2) {
    width: 120px;
}

.home-reviews-table th:nth-child(3),
.home-reviews-table td:nth-child(3) {
    width: 110px;
}

.home-reviews-table tbody tr {
    cursor: pointer;
    transition: background 160ms ease, opacity 160ms ease;
}

.home-reviews-table tbody tr.is-selected,
.home-reviews-table tbody tr.is-selected td {
    background: rgba(237, 28, 36, .04);
}

.home-reviews-table tbody tr.is-selected td:first-child {
    box-shadow: inset 4px 0 0 #ed1c24;
}

.home-reviews-table tbody tr.is-dragging,
.home-reviews-table tbody tr.is-dragging td {
    background: #fff5f5;
}

.home-reviews-table tbody tr.is-dragging {
    opacity: .58;
}

.home-reviews-table tbody tr[hidden] {
    display: none;
}

.home-review-drag-handle {
    width: 38px;
    height: 38px;
}

.home-review-drag-handle:active {
    cursor: grabbing;
}

.home-review-position {
    min-width: 38px;
    min-height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 5px 10px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.home-reviews-search-empty {
    margin-top: 16px;
}

.home-blog-table {
    min-width: 1180px;
}

.home-blog-post-cell {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 360px;
}

.home-blog-post-cell img {
    width: 88px;
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: 8px;
    background: #f5f5f5;
    object-fit: cover;
}

.home-blog-post-cell div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.home-blog-post-cell strong,
.home-blog-post-cell span,
.home-blog-post-cell small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-blog-post-cell strong {
    color: #111;
    font-size: 14px;
    line-height: 1.35;
}

.home-blog-post-cell span {
    color: #555;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.home-blog-post-cell small {
    max-width: 520px;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-blog-statuses {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.faq-items-table,
.home-faq-table {
    min-width: 980px;
}

.faq-answer-preview {
    max-width: 460px;
    color: #555;
    line-height: 1.45;
}

.home-faq-question {
    display: block;
    min-width: 260px;
    color: #111;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 720px) {
    .home-reviews-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
}

.contact-messages-table {
    min-width: 980px;
}

.contact-messages-table tr.is-unread {
    background: rgba(237, 28, 36, .035);
}

.contact-message-sender {
    display: grid;
    gap: 4px;
}

.contact-message-sender strong {
    color: #111;
    font-size: 14px;
}

.contact-message-sender a {
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.contact-message-sender a:hover {
    color: #ed1c24;
}

.contact-message-sender--large strong {
    font-size: 18px;
}

.contact-message-preview {
    max-width: 360px;
    color: #555;
    line-height: 1.45;
}

.contact-message-detail-card {
    display: grid;
    gap: 20px;
}

.contact-message-detail-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e2e2;
}

.contact-message-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.contact-message-meta div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}

.contact-message-meta dt {
    color: #555;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-message-meta dd {
    margin: 0;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.contact-message-body {
    display: grid;
    gap: 12px;
}

.contact-message-body h2 {
    font-size: 18px;
}

.contact-message-body p {
    margin: 0;
    padding: 18px;
    border-left: 4px solid #ed1c24;
    border-radius: 8px;
    background: #fafafa;
    color: #111;
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.contact-message-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.contact-message-detail-actions form {
    margin: 0;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.users-table .table-actions,
.reviews-table .table-actions,
.hero-slides-table .table-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.table-action {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: white;
    color: #111;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.table-action--icon {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
}

.table-action svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.table-action:hover {
    border-color: #111;
    background: #fafafa;
}

.table-action--success {
    border-color: rgba(17, 17, 17, .18);
    color: #111;
}

.table-action--success:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.table-action--warning {
    border-color: rgba(237, 28, 36, .24);
    color: #c9181f;
}

.table-action--warning:hover {
    border-color: #c9181f;
    background: rgba(237, 28, 36, .08);
    color: #c9181f;
}

.table-action--danger {
    background: #fff;
    border-color: rgba(237, 28, 36, .32);
    color: #ed1c24;
}

.table-action--danger:hover {
    background: #ed1c24;
    border-color: #ed1c24;
    color: #fff;
}

.table-action--disabled {
    cursor: default;
    color: #888;
}

.table-action--disabled:hover {
    border-color: #e2e2e2;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 28px 12px;
    color: #555;
    text-align: center;
}

.empty-state strong {
    color: #111;
}

.dashboard-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e2e2;
}

.dashboard-list li:first-child {
    padding-top: 0;
}

.dashboard-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-list div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.dashboard-list strong {
    overflow: hidden;
    color: #111;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-list span:not(.pill):not(.stock-pill) {
    color: #555;
    font-size: 14px;
}

.dashboard-list__empty {
    color: #555;
    font-size: 14px;
}

.status-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.status-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
}

.status-list li:last-child {
    border-bottom: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(237, 28, 36, .1);
    color: #ed1c24;
    font-size: 14px;
    font-weight: 700;
}

.resource-empty {
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
}

.resource-empty__content {
    max-width: 520px;
    display: grid;
    justify-items: center;
    gap: 12px;
}

.resource-empty__mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0d0d0d;
    color: #f1f1f1;
    font-weight: 800;
}

.admin-login {
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .08) 0 18%, transparent 18%),
        linear-gradient(315deg, rgba(13, 13, 13, .055) 0 16%, transparent 16%),
        #f7f7f7;
}

.admin-login::before,
.admin-login::after {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: "";
}

.admin-login::before {
    background:
        linear-gradient(rgba(13, 13, 13, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 13, 13, .07) 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 62%, rgba(237, 28, 36, .2) 62% 62.8%, transparent 62.8%),
        linear-gradient(135deg, transparent 0 68%, rgba(13, 13, 13, .12) 68% 68.5%, transparent 68.5%);
    background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}

.admin-login::after {
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(237, 28, 36, .16) 12% 13%, transparent 13%),
        linear-gradient(90deg, transparent 0 84%, rgba(13, 13, 13, .1) 84% 85%, transparent 85%),
        repeating-linear-gradient(135deg, transparent 0 74px, rgba(237, 28, 36, .075) 74px 78px, transparent 78px 152px);
    opacity: .9;
}

.admin-login main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.login-shell {
    width: min(100%, 420px);
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(13, 13, 13, .08);
}

.login-logo-card {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 9px 13px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 13, 13, .08);
}

.logo {
    display: block;
    width: 132px;
    height: auto;
}

.login-kicker {
    width: 100%;
    max-width: 100%;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.form-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 36px 32px 32px;
}

.form-panel__header {
    display: grid;
    gap: 9px;
    text-align: center;
}

.form-panel__header h1 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.form-panel__header p {
    color: #555;
}

.admin-login form {
    display: grid;
    gap: 16px;
    width: 100%;
}

.admin-login label {
    display: grid;
    gap: 8px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.admin-login input[type="email"],
.admin-login input[type="password"] {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fafafa;
    color: #111;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-login input[type="email"]:focus,
.admin-login input[type="password"]:focus {
    border-color: #ed1c24;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.admin-login input:-webkit-autofill,
.admin-login input:-webkit-autofill:hover {
    -webkit-text-fill-color: #111;
    box-shadow: 0 0 0 1000px #fafafa inset;
}

.admin-login input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111;
    box-shadow:
        0 0 0 1000px #ffffff inset,
        0 0 0 4px rgba(237, 28, 36, .12);
}

.admin-login button {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ed1c24;
    border-radius: 8px;
    background: #ed1c24;
    color: #f1f1f1;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-login button:hover,
.admin-login button:focus-visible {
    background: #c9181f;
    border-color: #c9181f;
    transform: translateY(-1px);
}

.error {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(237, 28, 36, .24);
    border-radius: 8px;
    background: rgba(237, 28, 36, .08);
    color: #c9181f;
    font-weight: 700;
}

.login-note {
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 520px) {
    .admin-login main {
        align-items: start;
        padding: 18px 12px;
    }

    .form-panel {
        padding: 24px 18px;
    }

    .logo {
        width: 112px;
    }

    .form-panel__header h1 {
        font-size: 22px;
    }
}

@media (max-width: 960px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-nav {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .admin-nav-group {
        min-width: 0;
    }

    .admin-sidebar__footer {
        margin-top: 20px;
    }

    .stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid,
    .dashboard-grid--wide {
        grid-template-columns: 1fr;
    }

    .form-grid,
    .form-grid--compact,
    .slide-media-grid,
    .about-page-section-grid,
    .about-page-repeat-grid,
    .contact-page-repeat-grid,
    .promo-theme-grid,
    .checkbox-grid,
    .product-type-grid,
    .family-grid,
    .variant-bulk-row,
    .variant-row__grid {
        grid-template-columns: 1fr;
    }

    .variant-mini-field--wide {
        grid-column: auto;
    }

    .variant-workspace__heading,
    .variant-row__header {
        flex-direction: column;
        align-items: stretch;
    }

    .variant-count-pill {
        width: fit-content;
    }

    .variant-row__badges {
        justify-content: flex-start;
        margin-left: 0;
    }

    .variant-media-gallery {
        grid-column: auto;
    }

    .slide-editor__header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .admin-main {
        padding: 14px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading .admin-action {
        width: 100%;
    }

    .media-upload-dropzone {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .media-upload-dropzone__button {
        grid-column: 1 / -1;
    }

    .dashboard-heading {
        padding: 16px;
    }

    .dashboard-date {
        width: 100%;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .stat-card--metric {
        min-height: 132px;
    }

    .admin-card {
        padding: 16px;
    }

    .users-card,
    .newsletter-card,
    .reviews-card,
    .hero-slides-card,
    .catalog-admin-card {
        padding: 0;
    }

    .hero-slide-form-card {
        padding: 0;
    }

    .users-card .admin-card__header,
    .newsletter-card .admin-card__header,
    .reviews-card .admin-card__header,
    .hero-slides-card .admin-card__header,
    .catalog-admin-card .admin-card__header {
        padding: 16px;
    }

    .hero-slide-form .slide-card-heading,
    .hero-slide-form .slide-section {
        padding: 16px;
    }

    .hero-order-form,
    .hero-order-form .admin-action {
        width: 100%;
    }

    .button-option-add {
        width: 100%;
    }

    .form-actions--floating {
        bottom: 10px;
        flex-direction: column-reverse;
        align-items: stretch;
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hours-row {
        grid-template-columns: 1fr;
    }

    .review-detail-card__header,
    .review-detail-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-detail-meta {
        grid-template-columns: 1fr;
    }

    .form-actions .admin-action {
        width: 100%;
    }

    .admin-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-order-form,
    .category-order-form .admin-action {
        width: 100%;
    }

    .category-order-panel {
        padding: 14px;
    }

    .category-order-list .category-order-list {
        margin-left: 18px;
        padding-left: 10px;
    }

    .category-order-item__row {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .category-order-item__row > .status-badge,
    .blog-category-order-item .stock-pill,
    .category-order-position {
        grid-column: 2;
        justify-self: start;
    }

    .category-order-item__row .table-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

.admin-main input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
.admin-main textarea,
.admin-main select,
.admin-main .admin-select__button,
.admin-main .admin-select__search,
.admin-login input[type="email"],
.admin-login input[type="password"] {
    background: #fff;
    background-color: #fff;
}
