@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #0f172a;
    background: #ffffff;
}

.app-layout {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 246px minmax(0, 1fr);
    background: #f6f7f9;
}

.app-sidebar {
    background: #eef1f4;
    border-right: 1px solid #e0e3e8;
    padding: 18px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px 10px;
}

.app-sidebar__brand {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}

.app-sidebar__toggle {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-sidebar__toggle svg {
    width: 14px;
    height: 14px;
}

.app-sidebar__nav {
    display: grid;
    gap: 4px;
}

.app-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 9px 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.app-sidebar__link:hover {
    background: #e5f0ff;
    color: #006aff;
}

.app-sidebar__link.is-active {
    background: #d9e8ff;
    color: #006aff;
    font-weight: 600;
}

.app-sidebar__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-sidebar__icon svg {
    width: 14px;
    height: 14px;
}

.app-sidebar__icon--small {
    width: 12px;
    height: 12px;
}

.app-sidebar__icon--small svg {
    width: 12px;
    height: 12px;
}

.app-sidebar__subnav {
    margin-top: auto;
    display: grid;
    gap: 2px;
    padding-top: 10px;
}

.app-sidebar__sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 8px 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.app-sidebar__sublink:hover {
    background: rgba(26, 26, 26, 0.08);
}

.app-sidebar__badge {
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #f24646;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

.app-sidebar__footer {
    border-top: 1px solid #e0e3e8;
    padding: 12px 8px 4px;
}

.app-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-sidebar__avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #006aff;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-sidebar__profile-meta {
    min-width: 0;
}

.app-sidebar__profile-name {
    font-size: 12px;
    color: #111827;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.app-sidebar__profile-id {
    color: #94a3b8;
    font-size: 11px;
    margin-top: 1px;
    line-height: 1.2;
}

.app-sidebar__logout {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    flex-shrink: 0;
}

.app-sidebar__logout:hover {
    background: rgba(26, 26, 26, 0.08);
}

.app-sidebar__logout svg {
    width: 12px;
    height: 12px;
}

.app-main {
    padding: 32px;
    max-width: none;
}

body.sidebar-collapsed .app-layout {
    grid-template-columns: 76px minmax(0, 1fr);
}

body.sidebar-collapsed .app-sidebar__header {
    justify-content: center;
    padding: 4px 0 10px;
}

body.sidebar-collapsed .app-sidebar__brand {
    display: none;
}

body.sidebar-collapsed .app-sidebar__toggle {
    width: 32px;
    height: 32px;
    border: 1px solid #cbd0d6;
    background: #ffffff;
    color: #1a1a1a;
}

body.sidebar-collapsed .app-sidebar__link,
body.sidebar-collapsed .app-sidebar__sublink {
    justify-content: center;
    gap: 0;
}

body.sidebar-collapsed .app-sidebar__link > span:last-child,
body.sidebar-collapsed .app-sidebar__sublink > span:not(.app-sidebar__icon):not(.app-sidebar__badge),
body.sidebar-collapsed .app-sidebar__profile-meta {
    display: none;
}

body.sidebar-collapsed .app-sidebar__badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 8px;
    padding: 0 2px;
}

body.sidebar-collapsed .app-sidebar__sublink {
    position: relative;
}

body.sidebar-collapsed .app-sidebar__profile {
    justify-content: center;
}

.login-topbar {
    height: 48px;
    border-bottom: 1px solid #e0e3e8;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 18px;
    box-sizing: border-box;
}

.login-topbar__brand {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.login-topbar__line {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.login-topbar__zelto {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.login-topbar__recommerce {
    font-size: 14px;
    font-weight: 700;
    color: #006aff;
    letter-spacing: 0.06em;
}

.login-topbar__marketplace {
    font-size: 8px;
    font-weight: 600;
    color: #9ca1a8;
    letter-spacing: 0.34em;
}

.login-page {
    min-height: calc(100dvh - 48px);
    padding: 48px 26px;
    box-sizing: border-box;
    background: #eef1f4;
    color: #1a1a1a;
}

.login-shell {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(650px, 1fr) 390px;
    gap: 36px;
    align-items: start;
}

.login-features {
    padding-top: 70px;
    display: grid;
    gap: 14px;
}

.login-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    border-radius: 10px;
    background: #f6f7f9;
    border: 1px solid #e0e3e8;
    padding: 0 16px;
}

.login-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #006aff;
    background: #e5f0ff;
    flex-shrink: 0;
}

.login-feature-icon svg {
    width: 15px;
    height: 15px;
}

.login-feature-card h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
}

.login-feature-card p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #8c8c8c;
}

.login-card {
    margin-top: 70px;
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 14px;
    padding: 20px 24px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.login-tabs {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #e0e3e8;
    margin-bottom: 18px;
}

.login-tabs__item {
    border: 0;
    background: transparent;
    padding: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #8c8c8c;
    cursor: pointer;
}

.login-tabs__item.is-active {
    color: #006aff;
    border-bottom: 2px solid #006aff;
}

.login-form {
    width: 100%;
}

.login-field {
    display: block;
    margin-bottom: 12px;
    position: relative;
}

.login-input {
    width: 100%;
    height: 44px;
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    background: #f6f7f9;
    padding: 0 38px 0 36px;
    font-size: 16px;
    color: #1a1a1a;
    box-sizing: border-box;
    outline: none;
}

.login-input::placeholder {
    color: #9ca1a8;
}

.login-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #9ca1a8;
    pointer-events: none;
}

.login-input-icon svg {
    width: 16px;
    height: 16px;
}

.login-input:focus {
    border-color: #006aff;
    background: #ffffff;
}

.login-eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #9ca1a8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-eye-btn svg {
    width: 15px;
    height: 15px;
}

.login-eye-btn__closed {
    display: none;
}

.login-eye-btn.is-visible .login-eye-btn__open {
    display: none;
}

.login-eye-btn.is-visible .login-eye-btn__closed {
    display: block;
}

.login-forgot-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}

.login-forgot {
    color: #006aff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.login-btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: #006aff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 106, 255, 0.25);
}

.login-btn:hover {
    background: #0057d9;
}

.login-divider {
    margin: 10px 0;
    text-align: center;
    font-size: 16px;
    color: #9ca1a8;
    font-weight: 600;
}

.login-google-btn {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e0e3e8;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-google-btn:hover {
    background: #f6f7f9;
}

.login-google-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
}

.login-google-icon svg {
    width: 18px;
    height: 18px;
}

.login-alert {
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #f9dede;
    background: #fff6f6;
    color: #f24646;
    padding: 8px 10px;
    font-size: 13px;
}

.login-logged {
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #d9e8ff;
    background: #eff6ff;
    color: #006aff;
    padding: 8px 10px;
    font-size: 13px;
}

.login-logged a {
    color: #006aff;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-center {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    margin: 0;
    background: #ffffff;
    color: #0f172a;
}

.dashboard-card {
    background: #fff;
    border: 1px solid #e9eef7;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    max-width: 680px;
    width: calc(100% - 32px);
}

.dashboard-title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
}

.dashboard-text {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.list-page {
    display: grid;
    gap: 16px;
}

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

.list-page__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.list-page__create {
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    background: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.table-card {
    background: #ffffff;
    border: 1px solid #e9eef7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.table-actions {
    display: inline-flex;
    gap: 8px;
}

.table-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.table-link:hover {
    text-decoration: underline;
}

.tabulator {
    border: 0;
    font-size: 14px;
    background: #ffffff;
    color: #1a1a1a;
}

.tabulator .tabulator-header {
    border-bottom: 1px solid #e0e3e8;
    background: #eef1f4;
}

.tabulator .tabulator-header .tabulator-col {
    background: transparent;
    border-right: 1px solid #e0e3e8;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 10px 12px;
}

.tabulator .tabulator-header .tabulator-col-title {
    font-size: 12px;
    font-weight: 600;
    color: #8c8c8c;
}

.tabulator .tabulator-row {
    border-bottom: 1px solid #e0e3e8;
    min-height: 44px;
}

.tabulator .tabulator-row .tabulator-cell {
    padding: 10px 12px;
    border-right: 1px solid #f1f2f5;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
}

.tabulator .tabulator-row:hover {
    background: #f6f7f9;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input {
    height: 30px;
    border: 1px solid #cbd0d6;
    border-radius: 8px;
    padding: 0 8px;
    font-size: 12px;
    color: #1a1a1a;
    background: #ffffff;
}

.tabulator .tabulator-footer {
    border-top: 1px solid #e0e3e8;
    background: #ffffff;
    padding: 6px 8px;
}

.tabulator .tabulator-footer .tabulator-page {
    border: 1px solid #cbd0d6;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 8px;
    min-width: 28px;
    height: 28px;
    line-height: 26px;
    font-size: 12px;
}

.tabulator .tabulator-footer .tabulator-page.active {
    border-color: #006aff;
    background: #d9e8ff;
    color: #006aff;
}

.tabulator .tabulator-footer .tabulator-page-size {
    border: 1px solid #cbd0d6;
    border-radius: 8px;
    background: #ffffff;
    color: #1a1a1a;
    height: 28px;
    font-size: 12px;
}

.detail-page {
    display: grid;
    gap: 16px;
}

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

.detail-page__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.detail-page__actions {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-btn {
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    background: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.detail-btn--muted {
    color: #334155;
    background: #e2e8f0;
}

.detail-card {
    background: #ffffff;
    border: 1px solid #e9eef7;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-label {
    padding: 14px 16px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.detail-value {
    padding: 14px 16px;
    color: #0f172a;
    font-size: 14px;
}

.detail-role-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-role-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d9e6ff;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    line-height: 1;
}

.detail-empty {
    color: #64748b;
}

.detail-delete form {
    margin: 0;
}

.entity-form-card {
    background: #ffffff;
    border: 1px solid #e9eef7;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 18px;
    display: grid;
    gap: 14px;
}

.entity-form-grid {
    display: grid;
    gap: 12px;
}

.entity-form-card .form-label,
.entity-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.entity-form-card input[type="email"],
.entity-form-card input[type="password"],
.entity-form-card input[type="text"],
.entity-form-card textarea,
.entity-form-card select {
    width: 100%;
    border: 1px solid #dbe4f1;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0f172a;
    box-sizing: border-box;
}

.entity-form-card input:focus,
.entity-form-card textarea:focus,
.entity-form-card select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.14);
}

.entity-form-card .form-text {
    font-size: 12px;
    color: #64748b;
}

.entity-form-card .form-error-message,
.entity-form-card .invalid-feedback {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 4px;
}

.category-form-card {
    margin-top: 12px;
}

.category-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-form-grid > div:last-child {
    grid-column: 1 / -1;
}

.category-form-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-form-card__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.category-spec-fields {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.category-spec-fields__item {
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.category-spec-fields__item-body > div {
    display: grid;
    gap: 10px;
}

.category-form-actions {
    margin-top: 14px;
}

.products-page {
    --p-green-tag: #d1efdb;
    --p-green: #19c56c;
    --p-red: #f24646;
    --p-red-bg: #f9dede;
    --p-yellow: #f7c84d;
    --p-orange: #e59a2f;
    --p-orange-tag: #f6deba;
    --p-blue: #006aff;
    --p-blue-tag: #d9e8ff;
    --p-blue-bg: #e5f0ff;
    --p-text-primary: #1a1a1a;
    --p-text-secondary: #8c8c8c;
    --p-gray-bg-light: #f6f7f9;
    --p-gray-bg-dark: #eef1f4;
    --p-gray-divider: #e0e3e8;
    --p-gray-input: #cbd0d6;
    --p-gray-button: #9ca1a8;
    --p-white: #ffffff;
    --p-yellow-tag: #ffe4ab;
    --p-neutral-tag: #e6e3da;
    --p-blue-hover: #0057d9;
    --p-green-hover: #16b05f;
    --p-red-hover: #c93434;
    --p-black-bg: #333333;
    display: grid;
    gap: 14px;
}

.products-page--form {
    width: 100%;
    max-width: none;
}

.products-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.products-page__title {
    margin: 0;
    color: var(--p-text-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.products-page__subtitle {
    margin: 4px 0 0;
    color: var(--p-text-secondary);
    font-size: 14px;
}

.products-page__top-actions {
    display: inline-flex;
    gap: 8px;
}

.products-btn {
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    background: var(--p-white);
    color: var(--p-text-primary);
    cursor: pointer;
    text-decoration: none;
}

.products-btn--muted {
    background: var(--p-gray-bg-light);
    border-color: var(--p-gray-input);
}

.products-btn--ghost {
    background: var(--p-white);
    border-color: var(--p-gray-input);
    color: var(--p-text-primary);
}

.products-btn--primary {
    background: var(--p-blue);
    border-color: var(--p-blue);
    color: var(--p-white);
}

.products-btn--danger {
    background: var(--p-white);
    border-color: var(--p-red);
    color: var(--p-red);
}

.products-card {
    background: var(--p-white);
    border: 1px solid var(--p-gray-divider);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 14px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.products-page--form .products-page__subtitle {
    max-width: 560px;
}

.products-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    align-items: start;
}

.products-editor__main {
    display: grid;
    gap: 14px;
}

.products-editor__aside {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 12px;
}

.products-form-card {
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 14px;
    padding: 18px;
    display: grid;
    gap: 16px;
}

.products-form-card__header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
}

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

.products-form-group {
    min-width: 0;
}

.products-form-group--full {
    grid-column: 1 / -1;
}

.products-form-card label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8c8c8c;
}

.products-form-card input,
.products-form-card select,
.products-form-card textarea {
    width: 100%;
    border: 1px solid #cbd0d6;
    border-radius: 8px;
    padding: 9px 10px;
    background: #ffffff;
    color: #1a1a1a;
    box-sizing: border-box;
    font-size: 14px;
}

.products-form-card textarea {
    resize: vertical;
    min-height: 84px;
}

.products-form-card .form-error-message,
.products-form-card .invalid-feedback {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 4px;
}

.products-form-delete {
    display: flex;
    justify-content: flex-end;
}

.products-form-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
}

.products-upload-placeholder {
    border: 1px dashed #cbd0d6;
    border-radius: 10px;
    min-height: 96px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px;
    background: #fafbfc;
    text-align: center;
}

.products-upload-placeholder p {
    margin: 0;
    color: #8c8c8c;
    font-size: 12px;
}

.products-preview-card {
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.products-preview-card__header {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e3e8;
    color: #1a1a1a;
    font-size: 13px;
}

.products-preview-card__body {
    padding: 12px;
    color: #8c8c8c;
    font-size: 12px;
    line-height: 1.45;
}

.products-checklist {
    margin: 0;
    padding: 10px 12px 12px 28px;
    display: grid;
    gap: 8px;
    color: #1a1a1a;
    font-size: 12px;
}

.product-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
    width: 100%;
}

.product-form__main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.product-top,
.product-form-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-top__back {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #d5dae1;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.product-top__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 700;
}

.product-top__meta {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-pill {
    height: 20px;
    border-radius: 999px;
    background: #e6e3da;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 14px;
    display: inline-flex;
    align-items: center;
}

.product-meta {
    color: #8c8c8c;
    font-size: 14px;
}

.product-score {
    height: 24px;
    border-radius: 999px;
    border: 1px solid #d5dae1;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
}

.product-score__value {
    font-weight: 700;
}

.product-score__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #9ca1a8;
    flex-shrink: 0;
}

.product-score.is-high .product-score__dot {
    background: #19c56c;
}

.product-score.is-medium .product-score__dot {
    background: #f59e0b;
}

.product-score.is-low .product-score__dot {
    background: #ef4444;
}

.product__aside {
    display: grid;
    gap: 10px;
    position: sticky;
    top: 10px;
    min-width: 0;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    padding: 32px;
    display: grid;
    gap: 10px;
}

.product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-card__head h2 {
    margin: 0;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
}

.product-card__head span,
.product-card__head a {
    font-size: 11px;
    color: #8c8c8c;
    text-decoration: none;
}

.product-card__head a {
    color: #006aff;
    font-weight: 600;
}

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

.product-grid--basic {
    grid-template-columns: 1fr 1fr;
}

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

/* Visual separator between "Product title" and EAN/Category row */
.product-grid--basic > .product-field--full {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e3e8;
}

.product-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    color: #8c8c8c;
}

.product-field input,
.product-field select,
.product-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd0d6;
    border-radius: 7px;
    background: #ffffff;
    color: #1a1a1a;
    padding: 7px 9px;
    font-size: 12px;
    min-height: 40px;
}

.product-field textarea {
    min-height: 120px;
    resize: vertical;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 168px));
    gap: 8px;
    padding: 8px;
    border: 1px dashed #cbd0d6;
    border-radius: 8px;
    background: #fcfcfd;
}

.product-gallery--small {
    grid-template-columns: repeat(auto-fill, minmax(168px, 168px));
}

.product-gallery__item {
    width: 168px;
    height: 168px;
    aspect-ratio: auto;
    border: 1px dashed #d7dde6;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.product-gallery__item--filled {
    border-style: solid;
    border-color: #d5dae1;
    background: #f6f7f9;
}

.product-gallery__add {
    width: 168px;
    height: 168px;
    aspect-ratio: auto;
    border: 1px dashed #99b7e8;
    border-radius: 6px;
    background: #ffffff;
    color: #006aff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__remove,
.product-gallery__refresh {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #d5dae1;
    background: rgba(255, 255, 255, 0.96);
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.product-gallery__remove {
    top: 6px;
    right: 6px;
}

.product-gallery__refresh {
    right: 6px;
    bottom: 6px;
}

.product-gallery__label {
    position: absolute;
    left: 6px;
    bottom: 6px;
    height: 18px;
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d5dae1;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
}

.product-gallery__item:not(.is-main) .product-gallery__label {
    display: none;
}

.product-help {
    margin: 0;
    border-radius: 6px;
    background: #f6f7f9;
    color: #64748b;
    padding: 6px 8px;
    font-size: 11px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tag {
    border: 1px solid #d5dae1;
    background: #ffffff;
    color: #4b5563;
    border-radius: 6px;
    min-height: 40px;
    height: 40px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

.product-tag.is-active {
    border-color: #bde3cb;
    background: #ebf8ef;
    color: #166534;
}

.product-tag::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #cbd0d6;
    background: #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
}

.product-tag.is-active::before {
    border-color: #18c56c;
    background: radial-gradient(circle at center, #18c56c 0 3px, #ffffff 3px);
}

.product-tag span {
    font-size: 14px;
}

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

.product-package {
    border: 1px solid #d5dae1;
    border-radius: 8px;
    background: #ffffff;
    min-height: 70px;
    display: grid;
    gap: 5px;
    padding: 10px 10px 10px 28px;
    position: relative;
    text-align: left;
    cursor: pointer;
}

.product-package::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #cbd0d6;
    background: #ffffff;
    box-sizing: border-box;
}

.product-package.is-active {
    border-color: #bde3cb;
    background: #ebf8ef;
}

.product-package.is-active::before {
    border-color: #18c56c;
    background: radial-gradient(circle at center, #18c56c 0 3px, #ffffff 3px);
}

.product-package strong {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.2;
}

.product-package span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.product-status-list {
    display: grid;
    gap: 0;
}

.product-status-row {
    display: grid;
    gap: 6px;
}

/* Add separators only between status rows, never at the end */
.product-status-row + .product-status-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e3e8;
}

.product-status-row strong {
    font-size: 14px;
    color: #1a1a1a;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-actions__btn {
    height: 38px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 12px;
}

.product-side-card {
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.product-side-card__head {
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ebef;
}

.product-side-card__head strong {
    font-size: 18px;
    color: #1a1a1a;
}

.product-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.product-checklist li {
    border: 1px solid #e0e3e8;
    border-radius: 7px;
    min-height: 30px;
    padding: 7px 8px;
    font-size: 11px;
    color: #1a1a1a;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.product-checklist li.is-done {
    border-color: #bde3cb;
    background: #ebf8ef;
}

.product-side-card__action {
    height: 36px;
    border-radius: 8px;
    font-size: 12px;
    padding: 0 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-form-errors {
    border: 1px solid #f0a8a8;
    background: #fff5f5;
    color: #9b1c1c;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    margin-bottom: 12px;
}

.product-form-errors .alert,
.product-form-errors ul {
    margin: 0;
    padding-left: 1.1em;
}

.product-card__head--spread {
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.product-card__head-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.product-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #c5cad3;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    font-style: italic;
    cursor: default;
}

.product-ai-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #18c56c;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.product-form-notice {
    border: 1px solid #d4dbe5;
    background: #f8fafc;
}

.product-form-notice[data-level="error"] {
    border-color: #f0a8a8;
    background: #fff5f5;
    color: #9b1c1c;
}

.product-form-notice[data-level="warning"] {
    border-color: #facc15;
    background: #fffbeb;
    color: #854d0e;
}

.product-form-notice[data-level="info"] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
}

.product-ai-link:hover {
    text-decoration: underline;
}

.product-card__head-note {
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
}

.product-gallery-hint {
    margin: 0 0 8px;
    font-size: 11px;
    color: #64748b;
}

.product-ean-row {
    position: relative;
    display: block;
}

.product-ean-row__input {
    width: 100%;
    min-width: 0;
    padding-right: 44px;
}

.product-ean-scan {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 0;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-ean-scan:hover {
    border-color: #18c56c;
    background: #ebf8ef;
}

.product-ean-scan__icon {
    font-size: 16px;
    line-height: 1;
}

.product-category-specs-mount {
    display: grid;
    gap: 10px;
}

.product-category-specs {
    display: grid;
    gap: 12px;
}

.product-category-specs__row {
    display: grid;
    gap: 4px;
}

.product-req {
    color: #c02626;
}

.product-category-specs__multi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.product-checkbox-label {
    font-size: 12px;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

@media (max-width: 900px) {
    .product-condition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .product-condition-grid {
        grid-template-columns: 1fr;
    }
}

.product-condition-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    min-height: 40px;
    height: 40px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e0e3e8;
    background: #ffffff;
    cursor: pointer;
    font: inherit;
    color: #1a1a1a;
    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.product-condition-card:hover {
    border-color: #c5cad3;
}

.product-condition-card.is-active {
    border-color: #7dd3a0;
    background: #ebf8ef;
}

.product-condition-card__radio {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid #b8bec8;
    box-sizing: border-box;
    position: relative;
}

.product-condition-card.is-active .product-condition-card__radio {
    border-color: #18c56c;
}

.product-condition-card.is-active .product-condition-card__radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #18c56c;
}

.product-condition-card__label {
    font-size: 14px;
    line-height: 1.1;
    color: #1a1a1a;
}

.product-actions .products-btn--primary {
    background: #19c56c;
    border-color: #19c56c;
    color: #ffffff;
}

.product-tag:focus-visible,
.product-package:focus-visible,
.product-condition-card:focus-visible,
.product-gallery__remove:focus-visible,
.product-gallery__refresh:focus-visible,
.product-gallery__add:focus-visible,
.product-ean-scan:focus-visible,
.product-ai-link:focus-visible {
    outline: 2px solid #006aff;
    outline-offset: 2px;
}

.product-actions .products-btn--primary:hover {
    background: #16b05f;
    border-color: #16b05f;
}

@media (max-width: 1200px) {
    .product-form {
        grid-template-columns: 1fr;
    }

    .product__aside {
        position: static;
    }
}

.products-filters {
    display: grid;
    grid-template-columns: 180px repeat(3, minmax(160px, 1fr)) auto;
    gap: 10px;
    padding-bottom: 2px;
}

.products-input {
    height: 38px;
    border: 1px solid var(--p-gray-input);
    border-radius: 8px;
    padding: 0 11px;
    font-size: 13px;
    color: var(--p-text-primary);
    background: var(--p-white);
    box-sizing: border-box;
}

.products-input::placeholder {
    color: var(--p-text-secondary);
}

.products-input--compact {
    min-width: 140px;
    width: auto;
}

.products-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid var(--p-gray-divider);
    border-bottom: 1px solid var(--p-gray-divider);
    padding: 9px 0;
}

.products-tab {
    border: 0;
    border-radius: 0;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--p-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.products-tab.is-active {
    color: var(--p-blue);
    background: transparent;
}

.products-tab__count {
    background: var(--p-gray-divider);
    color: var(--p-text-secondary);
    border-radius: 999px;
    min-width: 22px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 0 6px;
}

.products-tab.is-active .products-tab__count {
    background: var(--p-blue);
    color: var(--p-white);
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
}

.products-toolbar__meta {
    font-size: 14px;
    color: var(--p-text-primary);
}

.products-toolbar__actions {
    display: inline-flex;
    gap: 10px;
}

.products-table .tabulator {
    border: 1px solid var(--p-gray-divider);
    border-radius: 10px;
    overflow: hidden;
    background: var(--p-white);
    color: var(--p-text-primary);
    font-size: 13px;
}

.products-table .tabulator .tabulator-header {
    background: var(--p-gray-bg-light);
    border-bottom: 1px solid var(--p-gray-divider);
}

.products-table .tabulator .tabulator-header .tabulator-col {
    border-right: 0;
    background: transparent;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.products-table .tabulator .tabulator-header .tabulator-col-title {
    color: var(--p-text-secondary);
    font-weight: 600;
    font-size: 12px;
}

.products-table .tabulator .tabulator-row .tabulator-cell {
    vertical-align: top;
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--p-gray-divider);
    display: inline-flex;
    align-items: flex-start;
}

.products-table .tabulator .tabulator-row:last-child .tabulator-cell {
    border-bottom: 0;
}

.products-table .tabulator .tabulator-row.tabulator-selected {
    background: var(--p-blue-bg);
}

.products-table .tabulator .tabulator-row:hover {
    background: var(--p-gray-bg-light);
}

.products-table .tabulator .tabulator-footer {
    border-top: 1px solid var(--p-gray-divider);
    background: var(--p-white);
    padding: 8px 10px;
}

.products-table .tabulator .tabulator-footer .tabulator-page-size {
    height: 28px;
    border: 1px solid var(--p-gray-input);
    border-radius: 7px;
    background: var(--p-white);
    font-size: 12px;
    color: var(--p-text-primary);
}

.products-table .tabulator .tabulator-footer .tabulator-page {
    min-width: 26px;
    height: 26px;
    line-height: 24px;
    border: 1px solid var(--p-gray-input);
    border-radius: 7px;
    background: var(--p-white);
    color: var(--p-text-secondary);
    font-size: 12px;
}

.products-table .tabulator .tabulator-footer .tabulator-page.active {
    border-color: var(--p-blue);
    background: var(--p-blue-tag);
    color: var(--p-blue);
}

.products-table .tabulator .tabulator-placeholder {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--p-white);
    color: var(--p-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.products-table__product {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.products-table__image {
    width: 84px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e3e8;
    flex-shrink: 0;
}

.products-table__image--placeholder {
    background: #f6f7f9;
}

.products-table__title {
    color: var(--p-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.products-table__meta {
    color: var(--p-text-primary);
    font-size: 12px;
    line-height: 1.35;
}

.products-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
}

.products-status-badge--draft {
    background: var(--p-neutral-tag);
    color: var(--p-text-primary);
}

.products-status-badge--preparing {
    background: var(--p-yellow-tag);
    color: var(--p-text-primary);
}

.products-status-badge--active {
    background: var(--p-green-tag);
    color: var(--p-green);
}

.products-status-badge--suspended {
    background: var(--p-red-bg);
    color: var(--p-red);
}

.products-status-badge--sold {
    background: var(--p-blue-tag);
    color: var(--p-blue);
}

.products-page__top-actions .products-btn--muted {
    background: var(--p-black-bg);
    border-color: var(--p-black-bg);
    color: var(--p-white);
}

.products-filters .products-btn--muted,
.products-toolbar__actions .products-btn--muted {
    background: var(--p-gray-bg-light);
    border-color: var(--p-gray-input);
    color: var(--p-text-primary);
}

.products-input:focus,
.products-btn:focus,
.products-tab:focus {
    outline: none;
}

.products-input:focus-visible,
.products-btn:focus-visible,
.products-tab:focus-visible {
    border-color: var(--p-blue);
    box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.18);
}

.products-table .tabulator .tabulator-col[tabulator-field="aiScore"] .tabulator-col-title,
.products-table .tabulator .tabulator-col[tabulator-field="originalPrice"] .tabulator-col-title,
.products-table .tabulator .tabulator-col[tabulator-field="salePrice"] .tabulator-col-title,
.products-table .tabulator .tabulator-col[tabulator-field="marketSince"] .tabulator-col-title,
.products-table .tabulator .tabulator-col[tabulator-field="status"] .tabulator-col-title {
    width: 100%;
    text-align: center;
}

.products-table .tabulator .tabulator-row .tabulator-cell[tabulator-field="aiScore"],
.products-table .tabulator .tabulator-row .tabulator-cell[tabulator-field="originalPrice"],
.products-table .tabulator .tabulator-row .tabulator-cell[tabulator-field="salePrice"],
.products-table .tabulator .tabulator-row .tabulator-cell[tabulator-field="marketSince"],
.products-table .tabulator .tabulator-row .tabulator-cell[tabulator-field="status"] {
    justify-content: center;
    text-align: center;
}

.products-table .tabulator .tabulator-loader {
    background: rgba(255, 255, 255, 0.74);
}

.products-table .tabulator .tabulator-loader-msg {
    border: 1px solid var(--p-gray-divider);
    border-radius: 8px;
    background: var(--p-white);
    color: var(--p-text-primary);
}

.products-btn--primary:hover {
    background: var(--p-blue-hover);
    border-color: var(--p-blue-hover);
}

.products-btn--danger:hover {
    color: var(--p-red-hover);
    border-color: var(--p-red-hover);
}

.products-page__top-actions .products-btn--muted:hover {
    background: var(--p-text-primary);
    border-color: var(--p-text-primary);
}

@media (max-width: 700px) {
    .detail-row {
        grid-template-columns: 1fr;
    }

    .detail-label {
        border-bottom: 1px solid #f1f5f9;
    }

    .products-page__header {
        flex-direction: column;
    }

    .products-page__title {
        font-size: 24px;
    }

    .products-page__top-actions {
        width: 100%;
    }

    .products-page__top-actions .products-btn {
        flex: 1;
        text-align: center;
    }

    .products-filters {
        grid-template-columns: 1fr;
    }

    .products-form-grid {
        grid-template-columns: 1fr;
    }

    .products-editor {
        grid-template-columns: 1fr;
    }

    .products-editor__aside {
        position: static;
    }

    .product-form {
        grid-template-columns: 1fr;
    }

    .product__aside {
        position: static;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
    }

    .product-gallery__item,
    .product-gallery__add {
        width: 120px;
        height: 120px;
    }

    .product-packages {
        grid-template-columns: 1fr;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .products-form-footer {
        flex-direction: column;
    }

    .products-form-footer .products-btn {
        width: 100%;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .products-toolbar__actions {
        flex-wrap: wrap;
    }

    .products-toolbar__actions .products-btn,
    .products-toolbar__actions .products-input {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 920px) {
    .login-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
        gap: 18px;
    }

    .login-features,
    .login-card {
        margin-top: 0;
        padding-top: 0;
    }

    .login-features {
        gap: 10px;
    }

    .login-feature-card h2 {
        font-size: 14px;
    }

    .login-feature-card p {
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .app-layout {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e9eef7;
    }

    .app-main {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .login-topbar {
        padding: 0 12px;
    }

    .login-topbar__zelto {
        font-size: 14px;
    }

    .login-page {
        padding: 16px 10px;
    }

    .login-feature-card {
        min-height: 56px;
        padding: 10px 12px;
    }

    .login-feature-card h2 {
        font-size: 13px;
    }

    .login-feature-card p {
        font-size: 10px;
    }

    .login-card {
        padding: 14px 12px;
    }
}

.app-flash {
    margin: 12px 16px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.app-flash--danger {
    background: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

.app-flash--success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}
