/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src\\app\\layout.tsx","import":"Nunito","arguments":[{"subsets":["latin"],"weight":["400","600","700","800"],"variable":"--font-nunito"}],"variableName":"nunito"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/abfec168c8990f67-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/3131c862d4942660-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/e1694c6cb47c173f-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/abfec168c8990f67-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/3131c862d4942660-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/e1694c6cb47c173f-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/abfec168c8990f67-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/3131c862d4942660-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/e1694c6cb47c173f-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/abfec168c8990f67-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/3131c862d4942660-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/e1694c6cb47c173f-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Nunito Fallback';src: local("Arial");ascent-override: 99.71%;descent-override: 34.82%;line-gap-override: 0.00%;size-adjust: 101.39%
}.__className_c046d1 {font-family: 'Nunito', 'Nunito Fallback';font-style: normal
}.__variable_c046d1 {--font-nunito: 'Nunito', 'Nunito Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #edf4ff;
  --card: #ffffff;
  --line: #e3e6f0;
  --text: #5a5c69;
  --muted: #858796;
  --brand: #4e73df;
  --brand-dark: #224abe;
  --accent: #f6c23e;
  --ink-strong: #25304a;
  --text-soft: #7d89ab;
  --muted-foreground: #7d89ab;
  --stroke: #e3e6f0;
  --stroke-strong: #c8d3ee;
  --sidebar-start: #4e73df;
  --sidebar-end: #224abe;
  --sidebar-text: rgba(255, 255, 255, 0.88);
  --sidebar-muted: rgba(255, 255, 255, 0.45);
  --heading: #3a3b45;
  --shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-nunito), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

button,
input {
  font: inherit;
}

textarea,
select,
button {
  font: inherit;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-card,
.panel-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.login-card {
  width: min(100%, 460px);
  padding: 32px;
  display: grid;
  gap: 20px;
}

.form-card {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.eyebrow {
  font-family: var(--font-nunito), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 14px 16px;
  background: white;
  color: var(--text);
}

.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 14px 16px;
  background: white;
  color: var(--text);
}

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

.primary-button,
.ghost-button {
  border-radius: 0.35rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  background: var(--brand);
  color: white;
  border: 1px solid var(--brand);
}

.ghost-button {
  background: #858796;
  color: white;
  border: 1px solid #858796;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 14rem 1fr;
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--sidebar-start) 10%, var(--sidebar-end) 100%);
  color: var(--sidebar-text);
  padding: 0.75rem 0;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.admin-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 4.375rem;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: white;
}

.admin-brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  overflow: hidden;
}

.admin-brand-text {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-nav-group {
  margin-top: 0.75rem;
}

.admin-nav-heading {
  padding: 0.75rem 1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
}

.admin-nav {
  display: grid;
  gap: 0.1rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.9rem 1rem;
  border-left: 0.25rem solid transparent;
  color: var(--sidebar-text);
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-nav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  opacity: 0.92;
}

.admin-nav-link__icon svg {
  width: 1rem;
  height: 1rem;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.admin-nav-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-left-color: #f6c23e;
  color: #fff;
}

.admin-nav-sublink {
  display: block;
  padding: 0.7rem 1rem 0.7rem 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  border-left: 0.25rem solid transparent;
}

.admin-nav-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav-sublink.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.admin-main {
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-header {
  background: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0.15rem 0.3rem 0 rgba(58, 59, 69, 0.08);
}

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

.admin-header h1,
.login-card h1,
.panel-card h2 {
  margin: 0.15rem 0 0;
  color: var(--heading);
}

.admin-header h1 {
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-header-date {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.admin-content {
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(180deg, #edf4ff 0%, #f6f9ff 100%);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.panel-card {
  padding: 1rem;
  border-left: 0.25rem solid var(--brand);
}

.panel-card p {
  margin-bottom: 0;
}

.panel-card > .eyebrow {
  margin: 0 0 0.2rem;
}

.panel-card > h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.24;
}

.panel-card > h3 + .table-helper,
.panel-card > h2 + .table-helper,
.panel-card > .eyebrow + .table-helper {
  margin-top: 0.15rem;
}

.table-card {
  border-left-color: var(--brand-dark);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(58, 59, 69, 0.45);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal-card {
  width: min(100%, 960px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.table-toolbar,
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-bar input {
  flex: 1 1;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.75rem 0.9rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.89rem;
}

.data-table thead th {
  background: #f8f9fc;
  color: var(--heading);
  font-weight: 800;
}

.data-table tbody tr:hover {
  background: #f8f9fc;
}

.products-variants-table .cell-input,
.products-variants-table .cell-select {
  min-width: 112px;
  font-size: 0.88rem;
  padding: 0.45rem 0.55rem;
}

.products-variants-table td {
  vertical-align: top;
}

.variants-row-image {
  display: block;
  width: 72px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto;
}

.table-path-cell {
  max-width: 380px;
  color: var(--muted);
  font-size: 0.84rem;
  word-break: break-all;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(78, 115, 223, 0.12);
  color: var(--brand-dark);
  font-weight: 700;
}

.status-success {
  background: rgba(40, 167, 69, 0.14);
  color: #1e7e34;
}

.status-warning {
  background: rgba(246, 194, 62, 0.22);
  color: #8f5d00;
}

.status-danger {
  background: rgba(231, 74, 59, 0.14);
  color: #b02a1a;
}

.status-muted {
  background: rgba(133, 135, 150, 0.16);
  color: #5f6472;
}

.table-link {
  color: var(--brand);
  font-weight: 700;
}

.empty-cell {
  text-align: center;
  color: var(--muted);
}

.pagination-bar {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pagination-actions {
  display: flex;
  gap: 0.75rem;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.error-card {
  border-left-color: #e74a3b;
}

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

.detail-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.detail-span {
  grid-column: 1 / -1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nested-card {
  border-left-color: transparent;
}

.summary-card {
  height: fit-content;
  position: sticky;
  top: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  font-size: 1.05rem;
  color: var(--heading);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-block {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-title-row h3 {
  margin: 0;
  color: var(--heading);
}

.search-results {
  display: grid;
  gap: 0.75rem;
}

.result-card {
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fff;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.result-card.is-selected {
  border-color: var(--brand);
  background: rgba(78, 115, 223, 0.08);
}

.action-row {
  display: flex;
  justify-content: flex-end;
}

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

.cell-input,
.cell-select,
.cell-textarea {
  width: 100%;
  border: 1px solid #ccd7f0;
  border-radius: 0.75rem;
  padding: 0.58rem 0.72rem;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cell-input:focus,
.cell-select:focus,
.cell-textarea:focus,
.filter-bar input:focus {
  outline: none;
  border-color: #4f6fde;
  box-shadow: 0 0 0 3px rgba(79, 111, 222, 0.12);
}

.cell-textarea {
  resize: vertical;
  min-height: 72px;
}

.danger-link {
  border: 0;
  background: transparent;
  color: #e74a3b;
  font-weight: 700;
  cursor: pointer;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 48px;
  align-items: center;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

td.nivel-base {
  background-color: #ffcccc;
  color: inherit;
  text-align: center;
  vertical-align: middle;
  font-size: 0.85rem;
}

td.nivel-1 {
  background-color: #ffcccc;
}

td.nivel-2 {
  background-color: #ffffcc;
}

td.nivel-3 {
  background-color: #e0ccff;
}

td.nivel-4 {
  background-color: #ccffcc;
}

td.nivel-5 {
  background-color: #cce0ff;
}

td.nivel-6 {
  background-color: #003366;
  color: #fff;
}

td.nivel-1,
td.nivel-2,
td.nivel-3,
td.nivel-4,
td.nivel-5,
td.nivel-6 {
  text-align: center;
  vertical-align: middle;
  font-size: 0.85rem;
}

.price-marca-col {
  background-color: #cce0ff !important;
}

.products-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.products-subnav-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--heading);
  border-radius: 0.7rem;
  height: 46px;
  padding: 0.75rem 1rem;
  margin: 0;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 0.05rem 0.8rem rgba(58, 59, 69, 0.06);
  white-space: nowrap;
}

.products-subnav-link.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.products-subnav-link:focus,
.products-subnav-link:focus-visible,
.products-subnav-link:active {
  outline: none;
}

.products-subnav--editor {
  gap: 0.55rem;
}

.products-subnav--editor .products-subnav-link {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-tab-panel {
  min-height: 420px;
  display: block;
}

.products-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.products-hero h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.65rem;
}

.products-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.products-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(78, 115, 223, 0.1);
  color: var(--brand-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.products-badge.is-accent {
  background: rgba(246, 194, 62, 0.18);
  color: #805500;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
}

.products-layout.is-catalog-live {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.95fr);
}

.product-section-card {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

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

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

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

.product-textarea {
  min-height: 112px;
}

.product-textarea--master {
  min-height: 136px;
}

.product-textarea--compact {
  min-height: 72px;
}

.product-bullet-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.75rem;
  line-height: 1.55;
}

.product-channel-notice {
  border: 1px dashed rgba(78, 115, 223, 0.35);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(78, 115, 223, 0.05), rgba(248, 249, 252, 0.95));
}

.product-channel-notice-body {
  display: grid;
  gap: 0.5rem;
}

.product-channel-notice-body strong {
  color: var(--heading);
}

.product-channel-notice-body p {
  margin: 0;
  line-height: 1.55;
}

.product-channel-link {
  justify-self: start;
}

.product-channel-notice--editor {
  margin-top: 0.65rem;
}

.product-channel-notice--inline {
  margin-top: 0;
}

.channel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.channel-kpi {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.96));
}

.channel-kpi span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.channel-kpi strong {
  color: var(--heading);
  font-size: 0.98rem;
}

.admin-workspace-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.record-sidebar {
  display: grid;
  gap: 0.85rem;
}

.record-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}

.record-sidebar-head span {
  color: var(--muted);
  font-size: 0.85rem;
}

.record-list {
  display: grid;
  gap: 0.75rem;
}

.record-list-item {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--text);
}

.record-list-item.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(78, 115, 223, 0.15);
  background: linear-gradient(180deg, rgba(78, 115, 223, 0.05), rgba(255, 255, 255, 0.98));
}

.record-list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.record-list-title {
  font-weight: 700;
  color: var(--heading);
}

.record-list-meta {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.table-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.row-is-selected td {
  background: rgba(78, 115, 223, 0.05);
}

.empty-state {
  display: grid;
  gap: 0.45rem;
  min-height: 220px;
  place-content: center;
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  color: var(--heading);
}

.empty-state p {
  margin: 0;
  color: var(--text-soft);
}

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

.publication-card {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.96));
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.publication-card h4 {
  margin: 0;
  color: var(--heading);
}

.publication-card p {
  margin: 0;
  line-height: 1.55;
}

.publication-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.publication-content-preview {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.publication-content-preview strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.publication-content-preview span {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.products-list-card {
  border-left-color: #224abe;
  padding: 1rem 1rem 1.25rem;
}

.products-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.products-filter-bar {
  align-items: center;
}

.products-list-table th,
.products-list-table td {
  padding: 0.58rem 0.65rem;
  font-size: 0.84rem;
  line-height: 1.2;
}

.products-list-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.products-thumb-cell {
  width: 72px;
  text-align: center;
}

.products-thumb {
  width: 50px;
  height: 50px;
  border-radius: 0.35rem;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.products-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding-inline: 0.9rem;
}

.section-support {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 72ch;
}

.product-editor-hero {
  display: flex;
  gap: 1rem;
  border-left-color: #224abe;
  align-items: start;
  min-height: 232px;
}

.product-editor-hero--master {
  min-height: 144px;
  padding: 1rem 1.1rem;
}

.product-editor-hero__media {
  flex: 0 0 164px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 164px;
}

.product-editor-hero--master .product-editor-hero__media {
  flex-basis: 112px;
  min-height: 112px;
}

.product-editor-hero__image {
  width: 100%;
  max-width: 148px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #fff, #f6f8fd);
  padding: 0.65rem;
}

.product-editor-hero--master .product-editor-hero__image {
  max-width: 104px;
  border-radius: 0.45rem;
  padding: 0.45rem;
}

.product-editor-hero__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
  min-height: 182px;
}

.product-editor-hero--master .product-editor-hero__body {
  min-height: auto;
  gap: 0.45rem;
}

.product-editor-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  min-height: 94px;
}

.product-editor-hero--master .product-editor-hero__top {
  min-height: auto;
}

.product-editor-hero__subtitle {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-editor-hero--master h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.1rem 0 0;
}

.product-editor-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.editor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(78, 115, 223, 0.1);
  color: var(--brand-dark);
  font-size: 0.77rem;
  font-weight: 800;
}

.editor-chip--soft {
  background: rgba(145, 158, 190, 0.12);
  color: var(--text-soft);
}

.product-editor-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
  min-height: 72px;
}

.provider-editor-hero {
  min-height: auto;
  padding: 0.8rem 1rem;
}

.provider-editor-hero .product-editor-hero__body {
  min-height: auto;
  gap: 0.35rem;
}

.provider-editor-hero .product-editor-hero__summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.provider-editor-hero h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.08;
}

.provider-editor-hero .eyebrow {
  margin-bottom: 0.3rem;
}

.provider-editor-hero .product-editor-hero__refs {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
}

.provider-editor-hero .product-editor-hero__actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.field-label-row > span:first-child {
  color: var(--brand);
  font-weight: 800;
}

.product-editor-stat {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  min-height: 72px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.product-editor-stat span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-editor-stat strong {
  color: var(--ink-strong);
  font-size: 0.94rem;
  font-weight: 800;
}

.product-head-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  border-left-color: #224abe;
}

.product-head-card--compact {
  grid-template-columns: 220px minmax(0, 420px);
  align-items: start;
}

.product-head-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-head-image {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #fff, #f6f8fd);
  padding: 1rem;
}

.product-head-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
}

.product-head-meta.is-compact {
  grid-template-columns: 1fr;
  align-content: start;
}

.product-head-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.product-head-meta-item {
  min-width: 180px;
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.product-head-meta-item span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-head-meta-item strong {
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 800;
}

.products-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.product-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.product-editor-main-card,
.product-editor-side-card {
  align-content: start;
}

.product-master-card {
  display: grid;
  gap: 1.1rem;
}

.product-editor-groups {
  display: grid;
  gap: 1.15rem;
}

.product-editor-group {
  display: grid;
  gap: 0.95rem;
  padding-top: 0.15rem;
}

.product-editor-group + .product-editor-group {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-editor-group h4 {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
}

.product-editor-group__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.product-editor-group__head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-editor-side-stack {
  display: grid;
  gap: 0.5rem;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.field-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.field-badge.is-required {
  background: rgba(231, 74, 59, 0.12);
  color: #b02a1a;
}

.field-badge.is-recommended {
  background: rgba(78, 115, 223, 0.12);
  color: var(--brand-dark);
}

.field-badge.is-readonly {
  background: rgba(145, 158, 190, 0.14);
  color: var(--text-soft);
}

.product-master-layout {
  display: grid;
  gap: 1.1rem;
}

.product-master-top-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.25rem 0 0.8rem;
  border-bottom: 1px solid var(--line);
}

.product-master-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.1rem;
}

.product-master-main-column,
.product-master-side-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product-master-panel {
  display: grid;
  gap: 0.85rem;
}

.product-master-panel__head {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.product-master-panel__head h4 {
  margin: 0;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
}

.products-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.products-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1rem;
}

.products-summary-pill {
  display: grid;
  gap: 0.22rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in srgb, white 92%, var(--brand) 8%);
}

.products-summary-pill span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-summary-pill strong {
  color: var(--ink-strong);
  font-size: 1.25rem;
  font-weight: 800;
}

.product-tab-panel > .product-tab-section {
  display: none;
}

.product-tab-panel > .product-tab-section.is-active {
  display: grid;
  align-content: start;
  align-items: start;
}

.section-title-row--compact {
  margin-bottom: 0.85rem;
}

.product-variant-creator {
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, white 88%, var(--brand) 12%);
}

.product-variant-creator__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.products-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 220px));
  gap: 1rem;
  justify-content: flex-start;
}

.products-image-card {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.96));
  padding: 0.9rem;
}

.products-image-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem;
  justify-self: center;
}

.products-image-card figcaption {
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-soft);
}

.product-textarea--large {
  min-height: 180px;
}

.products-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.products-tag {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-radius: 0.65rem;
  background: rgba(78, 115, 223, 0.08);
  border: 1px solid rgba(78, 115, 223, 0.18);
  color: var(--brand-dark);
  padding: 0.8rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.products-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}

.products-category-grid--selected {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.products-category-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 84px;
  border: 1px solid rgba(145, 158, 190, 0.26);
  border-radius: 0.8rem;
  background: #fff;
  padding: 1rem 1rem 1rem 0.95rem;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.04);
}

.products-category-item.is-selected {
  border-color: rgba(78, 115, 223, 0.45);
  background: rgba(78, 115, 223, 0.08);
  color: var(--brand-dark);
}

.products-category-item input {
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  flex: 0 0 auto;
}

.products-category-item span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  word-break: break-word;
}

.component-search-results {
  display: grid;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.component-search-item {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  border: 1px solid rgba(145, 158, 190, 0.26);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.85rem 1rem;
  color: var(--heading);
  font: inherit;
}

.component-search-item strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading);
}

.component-search-item span,
.component-search-item small {
  color: var(--muted);
}

.component-search-item:hover {
  border-color: rgba(78, 115, 223, 0.35);
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.06);
}

.component-cell {
  display: grid;
  gap: 0.15rem;
  min-width: 12rem;
}

.component-cell strong {
  color: var(--heading);
}

.component-cell span,
.component-cell small {
  color: var(--muted);
}

.component-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.component-summary-card {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(145, 158, 190, 0.26);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem 1.1rem;
}

.component-summary-card strong {
  font-size: 1rem;
  color: var(--heading);
}

.component-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.875rem;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.shipping-product-meta {
  margin-bottom: 0.25rem;
}

.product-shipping-workspace {
  display: grid;
  gap: 1rem;
}

.shipping-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.shipping-summary-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(54, 185, 204, 0.22);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(54, 185, 204, 0.08), rgba(255, 255, 255, 0.98));
}

.shipping-summary-pill span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shipping-summary-pill strong {
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 800;
}

.shipping-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.shipping-status-note {
  min-height: 38px;
  display: flex;
  align-items: center;
}

.shipping-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.shipping-status-badge.is-saved {
  background: rgba(40, 167, 69, 0.14);
  color: #1e7e34;
}

.shipping-status-badge.is-error {
  background: rgba(231, 74, 59, 0.14);
  color: #b02a1a;
}

.shipping-status-badge.is-saving {
  background: rgba(54, 185, 204, 0.14);
  color: #0b7285;
}

.shipping-card {
  border-left-color: #36b9cc;
}

.shipping-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.shipping-card-head h3 {
  margin: 0.15rem 0 0;
  color: var(--heading);
  font-size: 1rem;
}

.shipping-card .eyebrow {
  font-size: 11px;
}

.shipping-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.shipping-field-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.shipping-spacer {
  min-height: 1px;
}

.image-upload-card {
  gap: 16px;
}

.image-paste-zone {
  min-height: 156px;
  border: 1px dashed rgba(78, 115, 223, 0.45);
  border-radius: 16px;
  background: rgba(78, 115, 223, 0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #4f5875;
}

.image-paste-zone strong {
  color: #2f3b59;
}

.image-paste-preview {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(145, 158, 190, 0.28);
  padding: 10px;
}

.image-upload-message {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.image-upload-message.is-saved {
  color: #1e9a63;
}

.image-upload-message.is-error {
  color: #d9485f;
}

.image-upload-message.is-saving {
  color: #4e73df;
}

.shipping-canvas {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: linear-gradient(180deg, rgba(78, 115, 223, 0.05), rgba(255, 255, 255, 0.98));
}

.shipping-results-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.shipping-review-grid {
  display: grid;
  gap: 0.75rem;
}

.shipping-review-grid--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shipping-review-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.shipping-review-grid--cards .shipping-review-item {
  min-height: 74px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.9rem 1rem;
  background: #fff;
}

.shipping-review-item--wide {
  grid-column: 1 / -1;
}

.shipping-review-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.shipping-review-item strong {
  color: var(--heading);
  font-size: 0.95rem;
}

.shipping-packages-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.shipping-packages-head h3 {
  margin: 0.15rem 0 0;
  color: var(--heading);
}

.shipping-quantity-field {
  width: 180px;
}

.shipping-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.shipping-totals span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(54, 185, 204, 0.14);
  color: #0b7285;
  padding: 0.42rem 0.72rem;
  font-weight: 800;
}

.text-successish {
  color: #1e7e34;
}

.text-dangerish {
  color: #b02a1a;
}

.product-row-selected td {
  background: rgba(78, 115, 223, 0.08);
}

.channel-inline-alert {
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.channel-inline-alert.is-success {
  background: rgba(25, 135, 84, 0.12);
  color: #176b43;
}

.channel-inline-alert.is-error {
  background: rgba(220, 53, 69, 0.12);
  color: #9f1239;
}

.channel-publication-product {
  display: grid;
  gap: 0.15rem;
}

.channel-publication-product strong {
  color: var(--heading);
  font-size: 0.93rem;
}

.channel-publication-product span {
  color: var(--muted);
  font-size: 0.82rem;
}

.channel-publications-table td {
  vertical-align: top;
}

.table-row-actions--wrap {
  flex-wrap: wrap;
}

.danger-button {
  appearance: none;
  border: 1px solid rgba(159, 18, 57, 0.18);
  background: rgba(220, 53, 69, 0.08);
  color: #9f1239;
  border-radius: 0.8rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.danger-button:hover {
  background: rgba(220, 53, 69, 0.14);
}

.channel-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.channel-category-pill {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.75rem 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.channel-category-pill strong {
  color: var(--heading);
  font-size: 0.88rem;
}

.channel-category-pill span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

  .admin-sidebar {
    padding-bottom: 16px;
  }

  .admin-main {
    grid-template-rows: auto 1fr;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-toolbar,
  .detail-header,
  .pagination-bar,
  .filter-bar,
  .section-title-row,
  .action-row,
  .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .products-hero,
  .products-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .products-image-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .product-head-card,
  .products-detail-grid {
    grid-template-columns: 1fr;
  }

  .products-admin-grid,
  .products-summary-strip {
    grid-template-columns: 1fr;
  }

  .product-editor-hero,
  .product-editor-layout {
    grid-template-columns: 1fr;
  }

  .product-editor-hero__top {
    flex-direction: column;
  }

  .product-editor-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-editor-group__head,
  .field-label-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-hero-meta {
    justify-content: flex-start;
  }

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

  .product-master-top-grid,
  .product-master-body-grid {
    grid-template-columns: 1fr;
  }

  .component-summary-strip {
    grid-template-columns: 1fr;
  }

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

  .shipping-field-grid,
  .shipping-packages-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .shipping-summary-strip,
  .shipping-field-grid--five,
  .shipping-results-grid,
  .shipping-review-grid--cards {
    grid-template-columns: 1fr;
  }

  .shipping-quantity-field {
    width: 100%;
  }

  .product-span-2 {
    grid-column: auto;
  }

.summary-card {
  position: static;
}
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.table-helper {
  margin-top: 4px;
  color: #7d89ab;
  font-size: 0.78rem;
}

.provider-rules-table th,
.provider-rules-table td {
  vertical-align: top;
}

.field-block {
  display: grid;
  gap: 6px;
}

.field-label {
  color: #51617f;
  font-size: 0.78rem;
  font-weight: 700;
}

.provider-scale-create {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.provider-normalization-search {
  grid-column: span 3;
}

.provider-scale-create--normalization {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.provider-normalization-toolbar {
  display: grid;
  grid-template-columns: 160px 160px minmax(240px, 1fr);
  gap: 12px 14px;
  margin-bottom: 12px;
  align-items: end;
}

.provider-normalization-create {
  display: grid;
  grid-template-columns: 220px minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
  gap: 12px;
  margin-bottom: 12px;
  align-items: end;
}

.provider-normalization-domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 10px;
}

.provider-normalization-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.provider-normalization-pill span {
  display: inline-flex;
  min-width: 24px;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(79, 110, 214, 0.12);
  color: #3552b5;
  font-size: 12px;
  font-weight: 700;
}

.provider-normalization-pill.is-active {
  border-color: #4f6ed6;
  color: #3552b5;
  background: rgba(79, 110, 214, 0.08);
}

.inventory-thumb-col {
  width: 72px;
}

.inventory-thumb-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d9e1f4;
  background: #fff;
}

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

.inventory-detail-hero-image {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d9e1f4;
  background: #fff;
}

.inventory-detail-hero-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-multi-select {
  min-height: 92px;
}

.provider-normalization-example {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.provider-normalization-example--button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.provider-normalization-example--button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.provider-normalization-example--button:hover .provider-normalization-example__meta strong {
  color: #3552b5;
}

.provider-normalization-example__image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d9e1f4;
  background: #fff;
}

.provider-normalization-example__image--empty {
  display: grid;
  place-items: center;
  color: #8f9ab8;
  font-size: 0.8rem;
}

.provider-normalization-example__meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.provider-normalization-example__meta strong {
  color: #22314f;
}

.provider-normalization-example__meta div {
  overflow-wrap: anywhere;
}

.provider-example-modal {
  width: min(1080px, 100%);
}

.field-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.provider-scale-list {
  display: grid;
  gap: 18px;
}

.provider-scale-card {
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
}

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

.provider-scale-card__head-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  flex: 1 1;
}

.provider-scale-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.provider-scale-card__applies {
  margin-bottom: 16px;
}

.provider-scale-card__line-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-line-chip {
  padding: 8px 12px;
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  background: #f6f9ff;
}

.provider-line-chip.is-active {
  border-color: #4f6fde;
  background: #edf2ff;
}

.provider-active-toggle {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  background: #f6f9ff;
}

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

.ghost-button.danger {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.24);
  background: #fff5f4;
}

.empty-copy {
  margin: 0;
  color: #7d89ab;
}

.provider-ingestion-panel {
  margin: 4px 0 24px;
  padding: 20px;
  border: 1px solid #dbe4ff;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(239, 245, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.provider-embedded-workspace {
  display: grid;
  gap: 0.75rem;
}

.provider-embedded-surface {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.inventory-monitor-tabs {
  margin-bottom: 0.9rem;
}

.inventory-monitor-link-panel {
  display: grid;
  gap: 0.85rem;
}

.section-title-row--tight {
  margin-bottom: 0;
  padding-bottom: 0;
}

.provider-operation-empty {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--stroke-strong);
  border-radius: 16px;
  background: rgba(246, 249, 255, 0.92);
}

.inventory-row-progress {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(72, 105, 214, 0.16);
  border-radius: 12px;
  background: rgba(244, 247, 255, 0.96);
}

.inventory-row-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

.inventory-row-progress__track {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(72, 105, 214, 0.12);
}

.inventory-row-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5470ff 0%, #3155ee 100%);
  transition: width 0.35s ease;
}

.inventory-row-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--muted-foreground);
}

.text-danger {
  color: #b42318;
}

.normalization-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.normalization-page-sidebar,
.normalization-page-main {
  align-content: start;
}

.normalization-provider-list {
  display: grid;
  gap: 0.6rem;
}

.normalization-provider-item {
  display: grid;
  gap: 0.38rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.normalization-provider-item:hover {
  border-color: rgba(78, 115, 223, 0.35);
  box-shadow: 0 10px 24px rgba(78, 115, 223, 0.08);
  transform: translateY(-1px);
}

.normalization-provider-item.is-active {
  border-color: rgba(78, 115, 223, 0.46);
  box-shadow: 0 10px 26px rgba(78, 115, 223, 0.12);
  background: rgba(246, 249, 255, 0.95);
}

.normalization-provider-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.normalization-provider-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.76rem;
  color: var(--muted-foreground);
}

.normalization-base-catalog {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #f8faff;
  margin-bottom: 0.65rem;
}

.normalization-base-catalog summary {
  cursor: pointer;
  padding: 0.65rem 0.75rem;
  color: var(--heading);
  font-weight: 800;
}

.normalization-base-catalog__body {
  display: grid;
  gap: 0.75rem;
  padding: 0 0.75rem 0.75rem;
}

.normalization-base-catalog__form {
  display: grid;
  grid-template-columns: 160px 180px minmax(180px, 1fr) minmax(140px, 0.7fr) repeat(3, minmax(130px, 0.65fr)) auto;
  gap: 0.55rem;
  align-items: end;
}

.normalization-base-catalog__description {
  grid-column: span 2;
}

.normalization-base-catalog__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  min-height: 36px;
}

.provider-ingestion-panel--flat {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.provider-ingestion-panel__header h3 {
  margin: 6px 0 8px;
  font-size: 1.2rem;
  color: #22314f;
}

.provider-ingestion-panel__header .table-helper {
  max-width: 920px;
}

.provider-ingestion-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}

.provider-ingestion-tabs--dense {
  margin-top: 0;
}

.provider-ingestion-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #c7d5ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #3551a6;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.provider-ingestion-tab:hover {
  border-color: #7a95f8;
  background: #f4f7ff;
}

.provider-ingestion-tab.is-active {
  border-color: #4f6fde;
  background: linear-gradient(180deg, #5d7af2 0%, #4764d6 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 111, 222, 0.18);
}

.provider-ingestion-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d5e0ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.provider-ingestion-card--flat {
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.provider-ingestion-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.provider-ingestion-card__top h4 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  color: #22314f;
}

.provider-ingestion-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.provider-ingestion-result {
  display: grid;
  gap: 16px;
}

.inventory-run-progress {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(78, 115, 223, 0.24);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(78, 115, 223, 0.08), rgba(255, 255, 255, 0.98));
}

.inventory-run-progress__head {
  display: grid;
  gap: 0.2rem;
}

.inventory-run-progress__head strong {
  color: #22314f;
  font-size: 0.95rem;
}

.inventory-run-progress__head span {
  color: #6f7da4;
  font-size: 0.84rem;
}

.inventory-run-progress__track {
  position: relative;
  overflow: hidden;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(78, 115, 223, 0.12);
}

.inventory-run-progress__bar {
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7aa0ff, #4e73df);
  transition: width 0.35s ease;
}

.inventory-run-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #51617f;
  font-size: 0.8rem;
}

.inventory-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}

.provider-ingestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.provider-ingestion-sample {
  padding: 14px;
  border: 1px dashed #c8d7ff;
  border-radius: 16px;
  background: #f8faff;
}

.provider-ingestion-sample pre {
  margin: 0;
  max-height: 420px;
  overflow: auto;
  font-size: 0.79rem;
  line-height: 1.55;
  color: #31456f;
  white-space: pre-wrap;
  word-break: break-word;
}

.inventory-product-row {
  cursor: pointer;
}

.inventory-product-row:hover td {
  background: rgba(78, 115, 223, 0.06);
}

.inventory-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(34, 49, 79, 0.44);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.inventory-modal {
  width: min(1320px, 100%);
  max-height: calc(100vh - 2.4rem);
  overflow: auto;
  border-radius: 1rem;
  background: #f7faff;
  box-shadow: 0 24px 80px rgba(28, 44, 75, 0.24);
  border: 1px solid rgba(200, 215, 255, 0.9);
}

.inventory-modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(247, 250, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.inventory-modal__head h3 {
  margin: 0.1rem 0 0;
  color: var(--heading);
}

.inventory-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.inventory-modal__body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

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

.inventory-detail-grid > div {
  display: grid;
  gap: 0.22rem;
}

.inventory-detail-grid strong {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-detail-grid span {
  color: var(--text);
  line-height: 1.45;
}

.inventory-detail-grid__full {
  grid-column: 1 / -1;
}

.cell-break {
  word-break: break-word;
}

/* Compact provider/inventory workspace pass. These screens are audit tools, so density and scanability win over oversized cards. */
.admin-content {
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.detail-stack {
  gap: 0.75rem;
}

.panel-card {
  padding: 0.85rem 1rem;
}

.panel-card > .eyebrow,
.product-section-card > .eyebrow {
  margin-bottom: 0.1rem;
}

.panel-card > h2,
.panel-card > h3,
.product-section-card > h3 {
  margin-top: 0;
}

.product-section-card {
  gap: 0.55rem;
}

.product-editor-hero.provider-editor-hero {
  min-height: auto;
  padding: 0.85rem 1rem;
}

.product-editor-hero__summary {
  gap: 0.9rem;
}

.provider-ingestion-tabs {
  gap: 0.55rem;
  margin: 0.35rem 0 0.6rem;
}

.provider-ingestion-tab {
  min-height: 36px;
  padding: 0 0.9rem;
  font-size: 0.9rem;
}

.provider-ingestion-panel {
  margin: 0;
  padding: 0.85rem;
  border-radius: 0.85rem;
}

.provider-ingestion-card {
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 0.85rem;
}

.provider-ingestion-card--flat,
.provider-ingestion-panel--flat {
  padding: 0;
}

.provider-ingestion-card__top {
  gap: 0.75rem;
  align-items: center;
}

.provider-ingestion-card__top h4 {
  margin-bottom: 0.15rem;
}

.provider-ingestion-card__actions {
  gap: 0.45rem;
}

.provider-ingestion-result {
  gap: 0.75rem;
}

.provider-ingestion-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.55rem;
}

.products-summary-pill,
.product-editor-stat {
  padding: 0.62rem 0.72rem;
  border-radius: 0.65rem;
}

.products-summary-pill span,
.product-editor-stat span {
  font-size: 0.7rem;
}

.products-summary-pill strong,
.product-editor-stat strong {
  font-size: 0.96rem;
}

.table-toolbar,
.detail-header {
  margin-bottom: 0.55rem;
}

.table-wrap {
  border-radius: 0.55rem;
}

.data-table th,
.data-table td {
  padding: 0.5rem 0.62rem;
  font-size: 0.84rem;
  vertical-align: top;
}

.data-table thead th {
  font-size: 0.79rem;
}

.table-helper {
  margin-top: 0.18rem;
  font-size: 0.74rem;
  line-height: 1.35;
}

.cell-input,
.cell-select,
.cell-textarea,
.filter-bar input {
  min-height: 36px;
  border-radius: 0.55rem;
  padding: 0.45rem 0.58rem;
  font-size: 0.86rem;
}

.primary-button,
.ghost-button {
  min-height: 36px;
  padding: 0.48rem 0.78rem;
  border-radius: 0.55rem;
  font-size: 0.88rem;
}

.status-pill {
  padding: 0.26rem 0.52rem;
  font-size: 0.78rem;
}

.provider-normalization-toolbar {
  grid-template-columns: 150px 170px minmax(260px, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.6rem;
}

.provider-normalization-create {
  grid-template-columns: 190px minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
}

.provider-normalization-domain-pills {
  gap: 0.45rem;
  margin: 0 0 0.6rem;
}

.provider-normalization-pill {
  padding: 0.42rem 0.7rem;
}

.provider-multi-select {
  min-height: 76px;
}

.provider-normalization-example {
  grid-template-columns: 52px minmax(0, 1fr);
}

.provider-normalization-example__image,
.inventory-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0.6rem;
}

.inventory-thumb-col,
.products-thumb-cell {
  width: 64px;
}

.inventory-flat-section,
.inventory-modal-section {
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: none;
  padding: 0.75rem;
}

.inventory-inline-config {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #f8faff;
}

.inventory-section-grid {
  gap: 0.75rem;
}

.inventory-run-progress {
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
}

.inventory-modal {
  background: #fff;
}

.inventory-modal__head {
  padding: 0.75rem 0.9rem;
}

.inventory-modal__body {
  gap: 0.75rem;
  padding: 0.75rem;
}

.inventory-detail-header {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.75rem;
}

.inventory-detail-hero-image {
  width: 110px;
  height: 110px;
  border-radius: 0.75rem;
}

.inventory-detail-hero-image__img {
  object-fit: contain;
}

.inventory-detail-grid {
  gap: 0.55rem 0.7rem;
}

.inventory-detail-grid strong {
  font-size: 0.72rem;
}

.filter-bar {
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.pagination-bar {
  margin-top: 0.65rem;
}

.normalization-page-grid {
  gap: 0.75rem;
}

.normalization-provider-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
}

@media (max-width: 1200px) {
  .provider-scale-create,
  .provider-scale-card__head-fields,
  .provider-normalization-toolbar,
  .provider-normalization-create,
  .normalization-base-catalog__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .provider-scale-create,
  .provider-scale-card__head-fields,
  .provider-normalization-toolbar,
  .provider-normalization-create,
  .normalization-base-catalog__form {
    grid-template-columns: 1fr;
  }

  .provider-ingestion-card__top {
    flex-direction: column;
  }

  .provider-ingestion-card__actions {
    justify-content: flex-start;
  }

  .inventory-section-grid {
    grid-template-columns: 1fr;
  }

  .inventory-detail-grid {
    grid-template-columns: 1fr;
  }

  .provider-scale-card__header {
    flex-direction: column;
  }
}

