:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6875;
  --line: #d9e0e7;
  --panel: #ffffff;
  --page: #f3f6f8;
  --brand: #0c7b63;
  --brand-dark: #075645;
  --site-left: calc(max(18px, 4vw) + 58px);
  --site-right: clamp(24px, 4vw, 76px);
}

.import-url-modal {
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}

.import-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 18px;
}

.import-stepper span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.import-stepper span.active,
.import-stepper.complete span {
  color: #0f172a;
  border-color: #2563eb;
  background: #eff6ff;
}

.import-review {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

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

.import-review-grid article,
.catalogue-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.import-review textarea {
  min-height: 88px;
}

.warning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.warning-list span {
  border: 1px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.seo-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 12px;
}

.seo-score strong {
  font-size: 38px;
  color: #0f766e;
}

.seo-score span {
  color: var(--muted);
  font-weight: 800;
}

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

.confidence-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-weight: 900;
}

.confidence-grid small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
}

.import-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 10px 0 18px;
}

.import-image-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
}

.import-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f1f5f9;
  border-radius: 6px;
}

.import-image-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

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

.inquiry-form textarea,
.inquiry-form button {
  grid-column: 1 / -1;
}

.catalogue-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.catalogue-options label {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.catalogue-result {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .import-stepper,
  .import-review-grid,
  .catalogue-options,
  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px 1fr;
}

body.public-mode {
  background: #fff;
}

body.public-mode .shell {
  display: block;
}

body.public-mode .sidebar,
body.public-mode .topbar,
body.public-mode .status-row,
body.public-mode .user-panel,
body.public-mode .erp-command-center {
  display: none;
}

body.public-mode .workspace {
  padding: 0;
}

body.public-mode .website-shell {
  min-height: 100vh;
  border: 0;
  border-radius: 0;
}

body.public-mode .website-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 20px;
  color: #fff;
  background: #12302c;
}

.sidebar h1,
.topbar h2 {
  margin: 4px 0 0;
  font-size: 26px;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: #81d3c1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand);
}

.sidebar nav {
  display: grid;
  gap: 6px;
}

.sidebar a {
  border-radius: 6px;
  padding: 11px 12px;
  color: #dcefed;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar a.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.workspace {
  padding: 28px;
}

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

.status-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.status-panel,
.login-panel,
.user-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #b83232;
}

.status-dot.online {
  background: var(--brand);
}

.panel-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-panel {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 240px) minmax(130px, 180px) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 112px;
  padding: 10px;
  resize: vertical;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.user-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
}

.user-panel strong,
.user-panel span {
  display: block;
}

.user-panel span {
  color: var(--muted);
  font-size: 14px;
}

.erp-command-center {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f9fbfd;
}

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

.command-actions button {
  min-width: 78px;
  background: #0b1b33;
}

.global-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 14px;
  z-index: 30;
  width: min(760px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.global-result {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.global-result:hover,
.global-result.active {
  background: #eef5ff;
}

.global-result span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.erp-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.erp-framework-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.erp-framework-card h4 {
  margin: 0 0 8px;
}

.erp-framework-card p,
.erp-framework-card li {
  color: var(--muted);
  line-height: 1.5;
}

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

.shortcut-grid span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: #f8fafc;
}

.shortcut-grid kbd {
  color: #0f4c81;
  font-weight: 700;
}

button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--brand-dark);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.metric,
.module-card,
.record-card,
.screen,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  font-size: 24px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
}

.module-card {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--panel);
}

.action-card {
  cursor: pointer;
}

.action-card:hover {
  border-color: var(--brand);
}

.module-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.module-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.screen {
  padding: 18px;
}

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

.screen-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.toolbar,
.invoice-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar {
  grid-template-columns: 1fr auto;
}

.bulk-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

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

.row-actions button,
.bulk-bar button {
  min-height: 32px;
  padding: 0 10px;
}

button.danger {
  background: #a43f3f;
}

button.danger:hover {
  background: #7f2e2e;
}

.invoice-grid {
  grid-template-columns: repeat(4, 1fr);
}

.purchase-header-grid {
  grid-template-columns: 1.2fr 1fr 0.8fr auto;
}

.purchase-summary {
  display: grid;
  min-height: 40px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  background: #f8fafc;
}

.purchase-summary span {
  color: var(--muted);
  font-size: 12px;
}

.purchase-summary strong {
  font-size: 18px;
}

.purchase-entry-card {
  display: grid;
  gap: 14px;
  margin: 12px 0 14px;
  border: 1px solid #cdd9e6;
  border-radius: 8px;
  padding: 16px;
  background: #fbfdff;
}

.purchase-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.purchase-entry-head h4 {
  margin: 4px 0 0;
  font-size: 18px;
}

.purchase-line-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(120px, 1fr)) minmax(120px, 0.7fr);
  gap: 10px;
}

.purchase-desktop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vendor-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

.vendor-snapshot span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.vendor-snapshot strong {
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.scan-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 21px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
}

.scan-toggle input {
  width: 18px;
}

.serial-scan-panel {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.serial-list-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.serial-list-wrap table {
  min-width: 520px;
}

.warning-strip,
.ok-strip {
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 700;
}

.warning-strip {
  border: 1px solid #f2c8c8;
  color: #842929;
  background: #fff4f4;
}

.ok-strip {
  border: 1px solid #bee6d7;
  color: #0a684f;
  background: #effcf7;
}

.status-good,
.status-bad {
  display: inline-block;
  margin: 0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.status-good {
  color: #09624d;
  background: #e8f8f2;
}

.status-bad {
  color: #8a2d2d;
  background: #fff0f0;
}

.report-toolbar {
  grid-template-columns: 1fr 180px auto;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

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

.master-filter-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px;
  gap: 10px;
  margin: 12px 0;
}

.master-grid-wrap {
  max-height: 58vh;
}

.master-grid-table th,
.master-grid-table td {
  white-space: nowrap;
  vertical-align: top;
}

.master-grid-table td:nth-child(2) {
  font-weight: 700;
}

.compact-help {
  margin-top: 12px;
  padding: 12px 16px;
}

.master-editor-modal {
  max-width: 1080px;
}

.master-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-field {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.total-bar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 12px;
  color: var(--muted);
}

.total-bar strong {
  color: var(--ink);
}

.secondary-head {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.json-preview {
  background: #071322;
  color: #e6f1ff;
  border-radius: 8px;
  padding: 18px;
  max-height: 360px;
  overflow: auto;
  line-height: 1.5;
}

.report-preview {
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.record-card,
.empty-state {
  padding: 18px;
}

.record-card h4 {
  margin: 6px 0;
  font-size: 17px;
}

.record-card span,
.record-card strong {
  display: block;
}

.record-card span {
  color: var(--muted);
  margin-bottom: 8px;
}

.empty-state {
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 21, 31, 0.38);
  backdrop-filter: blur(9px);
  overflow-y: auto;
  z-index: 999;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  display: block;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.product-editor-modal {
  width: min(1120px, 100%);
}

.admin-login-card {
  position: relative;
  width: min(494px, 100%);
  border: 0;
  border-radius: 26px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 90px rgba(2, 8, 23, 0.32);
}

.admin-login-card .login-close {
  position: absolute;
  right: 28px;
  top: 30px;
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 999px;
  padding: 0;
  color: #172033;
  background: #fff;
  font-size: 26px;
  font-weight: 400;
}

.login-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 22px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  padding: 5px;
  background: #fff;
}

.login-tabs button {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  color: #66768e;
  background: transparent;
}

.login-tabs button.active {
  color: #fff;
  background: #020817;
}

.login-heading {
  margin-bottom: 56px;
}

.login-heading p,
.login-fields label {
  margin: 0 0 10px;
  color: #66768e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.login-heading p {
  color: #1f5cff;
}

.login-heading h3 {
  margin: 8px 0 0;
  color: #070c1a;
  font-size: 26px;
}

.login-fields {
  display: grid;
  gap: 26px;
}

.login-pane {
  display: none;
}

.login-pane.active {
  display: block;
}

.register-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.register-grid .wide {
  grid-column: 1 / -1;
}

.login-fields input {
  min-height: 54px;
  border: 1px solid #dbe4ef;
  border-radius: 17px;
  padding: 0 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.login-fields input:focus {
  border-color: #1f5cff;
  outline: 0;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
}

.login-options label {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.login-options button {
  min-height: 0;
  padding: 0;
  color: #0057ff;
  background: transparent;
}

.login-status-field {
  min-height: 34px;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  color: #64748b;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.admin-login-card > button[type="submit"] {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  background: #020817;
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.2);
  font-size: 16px;
}

.login-contact {
  margin-top: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 14px;
  color: #64748b;
  background: #fff;
  text-align: center;
}

.login-contact strong {
  color: #020817;
}

.modal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.form-grid.wide {
  grid-template-columns: repeat(3, 1fr);
}

.modal-section {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}

.catalog-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #bee4dc;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 22px;
  background: #e8f7f3;
}

.catalog-hero h3 {
  margin: 4px 0 8px;
  font-size: 28px;
}

.catalog-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-actions,
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.catalog-filters {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

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

.catalog-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.catalog-card h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.catalog-image,
.catalog-detail-image {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #eef3f5;
}

.catalog-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-badges span {
  border-radius: 4px;
  padding: 5px 7px;
  color: #fff;
  background: #174ea6;
  font-size: 11px;
  font-weight: 800;
}

.catalog-badges span + span {
  background: #c65d1e;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
}

.detail-section video {
  width: 100%;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.muted-note {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
}

.catalog-image {
  aspect-ratio: 4 / 3;
}

.catalog-image img,
.catalog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--brand);
  font-size: 32px;
  font-weight: 800;
}

.catalog-image-placeholder.large {
  min-height: 280px;
  font-size: 52px;
}

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

.spec-grid span,
.detail-facts span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  background: #f8fafb;
  font-size: 13px;
}

.spec-grid small,
.detail-facts small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  gap: 20px;
  align-items: start;
}

.catalog-detail h3 {
  margin: 4px 0 10px;
  font-size: 28px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.detail-section {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.detail-section h4 {
  margin: 0 0 8px;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
  line-height: 1.5;
}

.spec-table {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table span,
.spec-table strong {
  border-bottom: 1px solid var(--line);
  padding: 10px;
}

.spec-table span {
  color: var(--muted);
  background: #f8fafb;
}

.commerce-shell {
  display: grid;
  gap: 18px;
}

.commerce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  overflow: hidden;
  border: 1px solid #d7e4df;
  border-radius: 8px;
  padding: 28px;
  color: #10211e;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.96), rgba(237,250,246,0.92)),
    #f6faf8;
}

.commerce-kicker {
  margin: 0;
  color: #c15418;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.commerce-hero h3 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: 42px;
  line-height: 1.05;
}

.commerce-hero p {
  max-width: 760px;
  margin: 0;
  color: #4e5c67;
  font-size: 16px;
  line-height: 1.6;
}

.commerce-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.commerce-hero-actions button:nth-child(2),
.quote-card > button:last-child,
.commerce-filters button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.commerce-showpiece {
  position: relative;
  min-height: 280px;
}

.device-frame {
  position: absolute;
  inset: 14px 28px 34px 0;
  border: 10px solid #17212b;
  border-radius: 8px;
  background: #17212b;
  box-shadow: 0 20px 55px rgba(23, 33, 43, 0.18);
}

.device-frame::after {
  content: "";
  position: absolute;
  left: 38%;
  right: 38%;
  bottom: -34px;
  height: 24px;
  border-radius: 0 0 8px 8px;
  background: #17212b;
}

.device-screen {
  display: grid;
  align-content: end;
  min-height: 100%;
  border-radius: 3px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(12,123,99,0.9), rgba(193,84,24,0.78)),
    #0c7b63;
}

.device-screen span,
.device-screen small {
  color: rgba(255,255,255,0.82);
  font-weight: 800;
}

.device-screen strong {
  max-width: 280px;
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.12;
}

.floating-offer {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 170px;
  border: 1px solid #f1d2bb;
  border-radius: 8px;
  padding: 14px;
  background: #fff8f2;
  box-shadow: 0 18px 42px rgba(193, 84, 24, 0.16);
}

.floating-offer span {
  display: block;
  color: #9a4b18;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-offer strong {
  font-size: 24px;
}

.commerce-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.commerce-metrics span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  background: #fff;
}

.commerce-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.commerce-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 220px) minmax(180px, 260px);
  gap: 10px;
  align-items: end;
}

.commerce-search input {
  min-height: 48px;
  border-color: #b8c6d0;
}

.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-rail button {
  min-width: max-content;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.category-rail button.active {
  border-color: #c15418;
  color: #fff;
  background: #c15418;
}

.commerce-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.commerce-filters,
.quote-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.commerce-filters strong {
  font-size: 18px;
}

.filter-empty,
.quote-empty {
  border: 1px dashed #cad4dd;
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: #f8fafb;
  font-size: 13px;
}

.commerce-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.commerce-section-head h3 {
  margin: 0;
  font-size: 24px;
}

.commerce-section-head span {
  color: var(--muted);
  font-weight: 700;
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  min-width: 0;
}

.commerce-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dde6f1;
  border-radius: 0;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.commerce-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.12);
}

.product-card-link {
  cursor: pointer;
}

.product-card-link:focus-visible {
  outline: 3px solid rgba(31, 92, 255, 0.35);
  outline-offset: 3px;
}

.product-card-link .commerce-card-media,
.product-card-link .commerce-card-body h4 {
  cursor: pointer;
}

.product-card-link .commerce-card-actions button {
  cursor: pointer;
}

.commerce-card-media {
  position: relative;
  min-height: 222px;
  border-bottom: 1px solid #edf1f6;
  background: #eef3f8;
}

.commerce-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.commerce-product-art {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 18px;
  color: #0c7b63;
  text-align: center;
}

.commerce-product-art span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 2px solid #0c7b63;
  border-radius: 8px;
  font-size: 34px;
  font-weight: 900;
}

.commerce-product-art small {
  color: var(--muted);
  font-weight: 800;
}

.commerce-card-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.commerce-card-badges span {
  width: max-content;
  border-radius: 4px;
  padding: 5px 7px;
  color: #fff;
  background: #17212b;
  font-size: 11px;
  font-weight: 800;
}

.commerce-card-badges span:nth-child(2) {
  background: #c15418;
}

.commerce-card-badges span:last-child {
  background: #0c7b63;
}

.commerce-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.commerce-card-body p {
  margin: 0;
  color: #1f5cff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.commerce-card-body h4 {
  margin: 0;
  color: #020817;
  font-size: 18px;
  line-height: 1.35;
}

.commerce-card-body > span,
.commerce-price-row small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.commerce-description {
  display: -webkit-box;
  min-height: 62px;
  overflow: hidden;
  color: #45556d !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.55;
  text-transform: none !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.commerce-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.commerce-price-row strong {
  font-size: 17px;
}

.commerce-specs {
  display: grid;
  gap: 0;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.commerce-specs span {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  padding: 7px 0;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.commerce-specs span:last-child {
  border-bottom: 0;
}

.commerce-specs small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: none;
}

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

.commerce-card-actions button {
  min-height: 42px;
  border-radius: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.commerce-card-actions button:first-child {
  border: 1px solid #020817;
  color: #fff;
  background: #020817;
}

.commerce-card-actions button:nth-child(2) {
  border: 1px solid #16a34a;
  color: #057a33;
  background: #fff;
}

.commerce-card-actions button:last-child {
  grid-column: 1 / -1;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  background: #f8fafc;
}

.quote-panel {
  position: sticky;
  top: 18px;
}

.quote-card h3 {
  margin: 0;
  font-size: 22px;
}

.quote-lines {
  display: grid;
  gap: 8px;
  max-height: 310px;
  overflow-y: auto;
}

.quote-line {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
}

.quote-line span {
  color: var(--muted);
  font-size: 12px;
}

.quote-line div {
  display: flex;
  gap: 6px;
}

.quote-line button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 12px;
}

.quote-line button:last-child {
  background: #a43f3f;
}

.quote-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.quote-total span {
  color: var(--muted);
}

.quote-total strong {
  font-size: 22px;
}

.checkout-mini {
  display: grid;
  gap: 8px;
}

.website-shell {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.website-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 74px;
  padding: 10px max(18px, 4vw);
  border-bottom: 1px solid #edf1f6;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.website-nav > div {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
}

.website-nav button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 9px;
  color: #121827;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.website-nav button:hover,
.website-nav button.active {
  border-color: #eaf0ff;
  color: #1c5cff;
  background: #edf4ff;
}

.website-nav .demo-button {
  color: #fff;
  background: #ff7417;
  box-shadow: 0 12px 28px rgba(255, 116, 23, 0.24);
}

.website-nav .website-login-link {
  border-color: #dce5f1;
  color: #111827;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.website-nav .website-login-link:hover,
.website-nav .website-login-link.signed-in {
  color: #1c5cff;
  background: #f7fbff;
  border-color: #cfe0ff;
}

.website-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.website-logo span {
  display: inline-grid;
  width: 48px;
  height: 44px;
  place-items: center;
  border: 1px solid #e8eef6;
  border-radius: 6px;
  color: #fff;
  background:
    radial-gradient(circle at 66% 30%, #ff7417 0 18%, transparent 19%),
    linear-gradient(145deg, #0c64ce, #05275c);
  font-weight: 800;
}

.website-logo strong {
  display: grid;
  gap: 3px;
  color: #111827;
  font-size: 18px;
}

.website-logo small {
  color: #6b7a90;
  font-size: 10px;
  font-weight: 800;
}

.website-phone {
  flex: 0 0 auto;
  color: #101827;
  white-space: nowrap;
  font-weight: 900;
  font-size: 14px;
}

.website-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) 1.22fr;
  min-height: 288px;
  padding-left: var(--site-left);
  background: #06132b;
}

.website-hero-copy {
  align-self: center;
  padding: 56px 32px 56px 0;
  color: #fff;
}

.website-hero-copy h3 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 54px;
  line-height: 1.06;
}

.website-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.6;
}

.website-stage {
  position: relative;
  min-height: 288px;
  overflow: hidden;
  background: #06132b;
}

.website-display {
  position: absolute;
  inset: -46px max(28px, 10vw) -44px 0;
  display: grid;
  align-content: center;
  gap: 20px;
  border: 0;
  border-radius: 0 0 28px 28px;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 116, 23, 0.42), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #0a1020;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.website-display span,
.website-display small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.website-display strong {
  max-width: 620px;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.12;
}

.display-toolbar,
.display-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.display-toolbar span,
.display-metrics span {
  border: 1px solid rgba(255, 190, 33, 0.34);
  border-radius: 6px;
  padding: 8px 10px;
  color: #ffc21f;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 900;
}

.website-bands {
  display: grid;
}

.website-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1.3fr;
  gap: 32px;
  padding: 42px 46px;
  border-bottom: 1px solid var(--line);
}

.website-band h3,
.website-product-band h3,
.cms-shell h3 {
  margin: 4px 0 0;
  font-size: 28px;
}

.website-copy {
  column-count: 2;
  column-gap: 34px;
}

.website-copy p {
  break-inside: avoid;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.website-band.accent {
  background: #f4f7f2;
}

.website-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.website-feature-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  color: var(--muted);
}

.website-feature-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 26px;
}

.website-product-band {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px var(--site-right) 28px var(--site-left);
}

.website-category-menu {
  display: grid;
  align-self: start;
  gap: 8px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  padding: 14px 10px 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.website-category-menu button {
  justify-content: start;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  color: #162033;
  background: #fff;
  text-align: left;
}

.website-category-menu button:hover,
.website-category-menu button.active {
  color: #fff;
  background: #2d63f2;
}

.category-help-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-radius: 12px;
  padding: 16px;
  background: #edf5ff;
}

.category-help-card strong {
  color: #020817;
  font-size: 15px;
}

.category-help-card p {
  margin: 0;
  color: #526278;
  line-height: 1.45;
  font-size: 13px;
}

.category-help-card button {
  justify-content: center;
  color: #fff;
  background: #2d63f2;
}

.website-product-results {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.website-commerce-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  margin: 0 0 2px;
}

.website-commerce-toolbar .commerce-search {
  flex: 1 1 420px;
  max-width: 560px;
}

.website-commerce-toolbar .commerce-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e0eb;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  box-shadow: none;
}

.website-commerce-toolbar > button {
  flex: 0 0 118px;
  min-height: 42px;
  border-radius: 6px;
}

.duplicate-import-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  border: 1px solid #f7c948;
  border-radius: 8px;
  padding: 12px;
  background: #fff8db;
  color: #17212b;
}

.duplicate-import-choice strong {
  flex: 1 1 100%;
}

.duplicate-import-choice label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 800;
}

.import-image-card.image-broken {
  border-color: #b33a3a;
  background: #fff1f1;
}

.ecatalog-detail-page {
  background: #fff;
  color: #071127;
}

.ecatalog-title-band {
  display: none;
}

.ecatalog-title-band::after {
  display: none;
}

.ecatalog-title-band button {
  position: relative;
  z-index: 1;
  justify-self: start;
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ecatalog-title-band .panel-label,
.ecatalog-title-band h1,
.ecatalog-title-band p {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.ecatalog-title-band .panel-label {
  color: #ffc21f;
}

.ecatalog-title-band h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.06;
}

.ecatalog-title-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.6;
}

.ecatalog-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1.08fr);
  gap: 34px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px var(--site-right) 28px var(--site-left);
}

.ecatalog-gallery {
  display: grid;
  align-self: start;
  gap: 12px;
}

.ecatalog-main-image {
  display: grid;
  min-height: 560px;
  place-items: center;
  border: 1px solid #edf1f6;
  background: #f3f7fa;
  overflow: hidden;
}

.ecatalog-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.ecatalog-summary {
  display: grid;
  align-self: start;
  gap: 14px;
  padding: 4px 0 0;
}

.ecatalog-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ecatalog-topline button {
  min-height: 38px;
  border: 1px solid #dce5f1;
  color: #223047;
  background: #fff;
}

.ecatalog-topline .soft-button {
  background: #f7fbff;
}

.ecatalog-chip {
  justify-self: start;
  border-radius: 0;
  padding: 0;
  color: #0057ff;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ecatalog-summary h2 {
  margin: 0;
  color: #071127;
  font-size: 36px;
  line-height: 1.16;
}

.ecatalog-summary p {
  max-width: 760px;
  margin: 0;
  color: #40516b;
  font-size: 16px;
  line-height: 1.7;
}

.ecatalog-price-card {
  display: grid;
  gap: 4px;
  border: 1px solid #dfe7f1;
  border-left: 4px solid #ff7417;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8f1;
}

.ecatalog-price-card span,
.ecatalog-price-card small {
  color: #65738a;
  font-weight: 800;
}

.ecatalog-price-card strong {
  color: #071127;
  font-size: 25px;
}

.ecatalog-price-card em {
  color: #0b6b5f;
  font-style: normal;
  font-weight: 900;
}

.ecatalog-facts.detail-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.ecatalog-help-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  padding: 18px;
  background: #f8fbff;
}

.ecatalog-help-panel strong {
  color: #071127;
  text-transform: uppercase;
}

.ecatalog-help-panel p {
  color: #526278;
  font-size: 14px;
}

.ecatalog-help-panel button {
  justify-content: center;
  color: #fff;
  background: #020817;
}

.ecatalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecatalog-actions button {
  min-height: 42px;
  border-radius: 0;
  padding: 0 16px;
  color: #fff;
  background: #047863;
}

.ecatalog-actions button:nth-child(2) {
  background: #06132b;
}

.ecatalog-actions button:nth-child(3) {
  color: #0b203a;
  background: #ffc21f;
}

.ecatalog-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 34px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px var(--site-right) 34px var(--site-left);
  border-top: 1px solid #e7edf5;
}

.ecatalog-section h3,
.ecatalog-related h3 {
  margin: 4px 0 0;
  color: #071127;
  font-size: 28px;
}

.ecatalog-section p,
.ecatalog-section li {
  color: #58677c;
  font-size: 16px;
  line-height: 1.7;
}

.ecatalog-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.ecatalog-section.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecatalog-section video {
  width: 100%;
  max-height: 520px;
  border: 1px solid #dfe7f1;
  background: #000;
}

.ecatalog-section.downloads {
  align-items: center;
}

.ecatalog-related {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px var(--site-right) 48px var(--site-left);
  border-top: 1px solid #e7edf5;
}

.website-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--site-right) 26px var(--site-left);
  color: #dcefed;
  background: #12302c;
}

.website-footer p {
  max-width: 460px;
  margin: 8px 0 0;
  color: #b7cbc7;
}

.website-footer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.website-footer button {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: transparent;
}

@media (max-width: 1320px) {
  :root {
    --site-left: 84px;
    --site-right: 16px;
  }

  .website-phone {
    display: none;
  }

  .website-nav .nav-extra {
    display: none;
  }

  .website-nav {
    padding-inline: 16px;
  }
}

.cms-shell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cms-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

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

.cms-page-list button {
  display: grid;
  gap: 4px;
  min-height: 66px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  background: #f8fafb;
}

.cms-page-list button.active,
.cms-page-list button:hover {
  border-color: var(--brand);
  background: #edf8f5;
}

.cms-page-list span {
  color: var(--muted);
  font-size: 12px;
}

.cms-editor {
  display: grid;
  gap: 14px;
}

.cms-body {
  min-height: 260px;
}

.cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  z-index: 30;
}

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

  .metrics,
  .module-grid,
  .status-row,
  .sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .login-panel {
    grid-template-columns: 1fr 1fr;
  }

  .purchase-header-grid,
  .purchase-line-grid,
  .purchase-desktop-grid,
  .vendor-snapshot,
  .serial-scan-panel,
  .report-toolbar {
    grid-template-columns: 1fr;
  }

  .scan-toggle {
    margin-top: 0;
  }

  .invoice-grid,
  .form-grid,
  .form-grid.wide,
  .catalog-detail-hero,
  .catalog-grid,
  .ecatalog-hero,
  .commerce-hero,
  .commerce-toolbar,
  .commerce-layout,
  .website-hero,
  .website-band,
  .website-category-showcase,
  .ecatalog-section,
  .ecatalog-section.two-column,
  .cms-layout,
  .split {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .commerce-filters,
  .quote-panel {
    position: static;
  }

  .website-nav,
  .website-footer,
  .website-promo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .website-nav > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .website-copy {
    column-count: 1;
  }

  .quote-panel {
    order: -1;
  }
}

@media (max-width: 560px) {
  .workspace,
  .sidebar {
    padding: 18px;
  }

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

  .metrics,
  .module-grid,
  .status-row,
  .login-panel,
  .toolbar,
  .invoice-grid,
  .purchase-header-grid,
  .purchase-line-grid,
  .purchase-desktop-grid,
  .vendor-snapshot,
  .serial-scan-panel,
  .report-toolbar,
  .form-grid,
  .form-grid.wide,
  .catalog-grid,
  .commerce-hero,
  .commerce-toolbar,
  .commerce-metrics,
  .commerce-grid,
  .commerce-card,
  .commerce-card-actions,
  .commerce-specs,
  .ecatalog-hero,
  .ecatalog-section,
  .ecatalog-section.two-column,
  .ecatalog-facts.detail-facts,
  .website-hero,
  .website-band,
  .website-feature-grid,
  .website-category-showcase,
  .cms-layout,
  .detail-facts,
  .spec-grid,
  .split,
  .sidebar nav {
    grid-template-columns: 1fr;
  }

  .catalog-hero,
  .commerce-hero-actions,
  .commerce-section-head,
  .commerce-price-row,
  .total-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .commerce-hero {
    padding: 20px;
  }

  .website-hero-copy,
  .website-product-band,
  .website-band,
  .ecatalog-title-band,
  .ecatalog-hero,
  .ecatalog-section,
  .ecatalog-related,
  .website-footer {
    padding: 24px;
  }

  .website-hero-copy h3,
  .ecatalog-title-band h1 {
    font-size: 34px;
  }

  .ecatalog-summary h2 {
    font-size: 28px;
  }

  .ecatalog-main-image {
    min-height: 320px;
  }

  .website-stage {
    min-height: 360px;
  }

  .website-display {
    inset: 128px 18px 62px;
    padding: 20px;
  }

  .website-display strong {
    font-size: 24px;
  }

  .commerce-hero h3 {
    font-size: 30px;
  }

  .commerce-showpiece {
    min-height: 260px;
    width: 100%;
  }

  .device-frame {
    inset: 10px 10px 34px;
  }

  .floating-offer {
    right: 12px;
  }

  .commerce-card-media {
    min-height: 220px;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .user-panel {
    flex-direction: column;
  }
}
