:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #112033;
  --muted: #58708b;
  --primary: #1352d1;
  --primary-strong: #0d3a9a;
  --highlight: #ffe34a;
  --accent-red: #d94b45;
  --accent-red-soft: #fff0ef;
  --border: #d7e3f1;
  --danger: #be1e2d;
  --success: #107c41;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shadow: 0 18px 44px rgba(10, 34, 88, 0.1);
  --shadow-soft: 0 10px 24px rgba(10, 34, 88, 0.08);
  --font-body: 0.98rem;
  --font-small: 0.86rem;
  --font-lead: 1.02rem;
  --font-h1: clamp(2rem, 3vw, 2.7rem);
  --font-h2: clamp(1.45rem, 2vw, 1.95rem);
  --font-h3: clamp(1.05rem, 1.35vw, 1.24rem);
  --line-body: 1.6;
  --line-heading: 1.12;
  --control-height: 38px;
  --control-font: 0.82rem;
  --control-pad-y: 0.56rem;
  --control-pad-x: 0.82rem;
  --control-icon: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Tahoma, sans-serif;
  font-size: var(--font-body);
  line-height: var(--line-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 227, 74, 0.24), transparent 22%),
    radial-gradient(circle at 82% 6%, rgba(217, 75, 69, 0.08), transparent 16%),
    radial-gradient(circle at top right, rgba(19, 82, 209, 0.08), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
}
.section-admin {
  background:
    radial-gradient(circle at top left, rgba(19, 82, 209, 0.09), transparent 18%),
    radial-gradient(circle at 86% 7%, rgba(217, 75, 69, 0.07), transparent 13%),
    linear-gradient(180deg, #f5f8fc 0%, #e9f0f7 100%);
}
html[data-admin-theme="dark"] .section-admin {
  --bg: #0b1220;
  --surface: #111b2d;
  --text: #e7eef9;
  --muted: #9fb1c9;
  --primary: #70a7ff;
  --primary-strong: #dce9ff;
  --highlight: #f2d24f;
  --accent-red: #ff7a70;
  --accent-red-soft: rgba(255, 122, 112, 0.14);
  --border: #2a3d57;
  --danger: #e25262;
  --success: #4cc47b;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(112, 167, 255, 0.16), transparent 22%),
    radial-gradient(circle at 86% 7%, rgba(255, 122, 112, 0.12), transparent 15%),
    linear-gradient(180deg, #0b1220 0%, #101827 100%);
}
.section-admin .commerce-shell {
  width: min(1600px, calc(100% - 28px));
  margin-top: 12px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: currentColor;
}
.ui-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ui-icon-sm {
  width: 16px;
  height: 16px;
}
h1, h2, h3 {
  margin: 0;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
  line-height: var(--line-heading);
}
h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
p {
  margin: 0;
  line-height: var(--line-body);
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: var(--control-height);
  border: 0;
  border-radius: 999px;
  padding: var(--control-pad-y) var(--control-pad-x);
  font-weight: 600;
  font-size: var(--control-font);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
button .ui-icon,
.button .ui-icon {
  width: var(--control-icon);
  height: var(--control-icon);
}
button, .button, .button-primary { background: var(--primary); color: #fff; }
.button-secondary { background: #fff; color: var(--primary); border: 1px solid rgba(19, 82, 209, 0.2); }
.button-secondary.active-subcategory {
  background: #fff;
  color: var(--primary);
  border-color: rgba(217, 75, 69, 0.34);
  box-shadow: 0 9px 18px rgba(10, 34, 88, 0.13), inset 0 -3px 0 rgba(217, 75, 69, 0.95);
}
button:hover, .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(19, 82, 209, 0.12);
}
.button-disabled {
  opacity: 0.62;
  pointer-events: none;
  cursor: not-allowed;
}
.button-danger { background: var(--danger); color: #fff; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
  background: #fff;
}
input,
select {
  min-height: var(--control-height);
}
textarea { min-height: 120px; resize: vertical; }
label { display: grid; gap: 8px; font-weight: 600; }
.product-editor-section .admin-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: var(--control-height);
  padding: 0.45rem 0.64rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(19, 82, 209, 0.1);
  color: var(--text);
  font-size: var(--control-font);
  font-weight: 600;
}
.product-editor-section .admin-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}
.product-editor-section .admin-check-label span {
  line-height: 1.2;
}
.password-field {
  position: relative;
  display: block;
  width: 100%;
}
.password-field input {
  padding-right: 3.1rem;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  left: auto;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 12px;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  border: 1px solid rgba(19, 82, 209, 0.12);
  box-shadow: none;
}
.password-toggle:hover {
  transform: translateY(-50%);
  background: rgba(19, 82, 209, 0.14);
  box-shadow: none;
}
.password-toggle.is-active {
  background: rgba(19, 82, 209, 0.18);
  color: var(--primary);
}
.password-toggle .ui-icon {
  width: 18px;
  height: 18px;
}
.password-field .password-toggle,
.account-access-grid .password-field .password-toggle,
.form-grid .password-field .password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  left: auto;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  transform: translateY(-50%);
  justify-self: auto;
}
.password-field .password-toggle:hover,
.account-access-grid .password-field .password-toggle:hover,
.form-grid .password-field .password-toggle:hover {
  transform: translateY(-50%);
}

.secret-config-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.secret-config-field > strong {
  color: var(--primary-strong);
}

.secret-config-field .pill {
  width: fit-content;
}

.secret-config-field label {
  margin-top: 4px;
}

@media (max-width: 760px) {
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-home-rebalanced .offers-wizard-card,
  .offers-home-rebalanced .wizard-intro {
    width: 100%;
    min-width: 0;
  }

  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-journey-roadmap {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-journey-roadmap::before {
    left: 22px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), rgba(19, 82, 209, 0.16));
  }

  .offers-journey-roadmap .journey-step {
    justify-items: start;
    text-align: left;
  }

  .offers-home-rebalanced .offers-hero-copy h1 {
    max-width: none;
  }

  .offers-choice-card {
    padding: 12px;
  }

  .offers-choice-card span {
    width: 40px;
    height: 40px;
  }

  .offers-home-rebalanced .offers-section {
    padding: 14px;
  }
}

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

.price-monitor-summary a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(19, 82, 209, 0.18);
  border-radius: 18px;
  background: rgba(19, 82, 209, 0.06);
  color: inherit;
  text-decoration: none;
}

.price-monitor-summary strong { font-size: 1.55rem; }
.price-monitor-summary .is-warning { background: rgba(245, 184, 0, 0.16); border-color: rgba(202, 145, 0, 0.4); }
.price-monitor-summary .is-critical { background: rgba(196, 31, 53, 0.12); border-color: rgba(196, 31, 53, 0.38); }
.price-monitor-summary .is-opportunity { background: rgba(24, 132, 81, 0.12); border-color: rgba(24, 132, 81, 0.38); }
.price-monitor-list { display: grid; gap: 14px; }
.price-monitor-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); gap: 18px; padding: 18px; border: 1px solid var(--border); border-left: 5px solid #7183a0; border-radius: 20px; }
.price-monitor-row.is-good { border-left-color: #178451; }
.price-monitor-row.is-opportunity { border-left-color: #2387c9; background: rgba(35, 135, 201, 0.05); }
.price-monitor-row.is-warning { border-left-color: #d69a00; background: rgba(245, 184, 0, 0.05); }
.price-monitor-row.is-critical { border-left-color: #c41f35; background: rgba(196, 31, 53, 0.05); }
.price-monitor-product h3 { margin: 10px 0 4px; font-size: 1.05rem; }
.price-monitor-source { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.price-monitor-values { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0; }
.price-monitor-values span { padding: 7px 10px; border-radius: 10px; background: rgba(19, 82, 209, 0.06); }
.price-calculation-box { margin: 14px 0; padding: 12px 14px; border: 1px solid rgba(19, 82, 209, .24); border-radius: 14px; background: linear-gradient(135deg, rgba(19, 82, 209, .08), rgba(245, 184, 0, .08)); }
.price-calculation-box p { margin: 6px 0 0; line-height: 1.55; }
.price-monitor-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.price-monitor-wide { grid-column: 1 / -1; }
.admin-dashboard-card.is-price-review { border-color: rgba(214, 154, 0, .48); background: linear-gradient(135deg, rgba(245, 184, 0, .14), rgba(196, 31, 53, .06)); }

html[data-admin-theme="dark"] .section-admin .price-monitor-summary a,
html[data-admin-theme="dark"] .section-admin .price-monitor-values span { background: rgba(112, 167, 255, 0.1); border-color: rgba(128, 174, 255, 0.25); }
html[data-admin-theme="dark"] .section-admin .price-calculation-box { border-color: rgba(128, 174, 255, .32); background: linear-gradient(135deg, rgba(64, 124, 219, .18), rgba(214, 154, 0, .12)); }
html[data-admin-theme="dark"] .section-admin .price-monitor-summary .is-warning { background: rgba(245, 184, 0, 0.16); }
html[data-admin-theme="dark"] .section-admin .price-monitor-summary .is-critical { background: rgba(196, 31, 53, 0.18); }
html[data-admin-theme="dark"] .section-admin .price-monitor-summary .is-opportunity { background: rgba(37, 135, 201, 0.18); }

@media (max-width: 980px) {
  .price-monitor-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-monitor-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .price-monitor-summary { grid-template-columns: 1fr; }
  .price-monitor-form { grid-template-columns: 1fr; }
  .price-monitor-wide { grid-column: auto; }
}

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

.price-monitor-kpi {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid rgba(19, 82, 209, 0.18);
  border-radius: 18px;
  background: rgba(19, 82, 209, 0.06);
  color: inherit;
  text-decoration: none;
}

.price-monitor-kpi strong { font-size: 1.7rem; line-height: 1.1; }
.price-monitor-kpi small { color: var(--muted); }
.price-monitor-kpi.is-warning { background: rgba(245, 184, 0, 0.16); border-color: rgba(202, 145, 0, 0.4); }
.price-monitor-kpi.is-critical { background: rgba(196, 31, 53, 0.12); border-color: rgba(196, 31, 53, 0.38); }
.price-monitor-kpi.is-opportunity { background: rgba(24, 132, 81, 0.12); border-color: rgba(24, 132, 81, 0.38); }
.price-monitor-kpi.is-active { box-shadow: inset 0 0 0 2px rgba(19, 82, 209, 0.35); }

.price-monitor-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.price-monitor-search { min-width: 0; }

.price-monitor-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.price-monitor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
}

.price-monitor-chip.is-active {
  border-color: rgba(19, 82, 209, 0.45);
  background: rgba(19, 82, 209, 0.12);
}

.price-monitor-chip.is-chip-critical {
  border-color: rgba(196, 31, 53, 0.35);
  background: rgba(196, 31, 53, 0.08);
}

.price-monitor-chip.is-chip-warning {
  border-color: rgba(202, 145, 0, 0.4);
  background: rgba(245, 184, 0, 0.12);
}

.price-monitor-chip.is-chip-medium {
  border-color: rgba(113, 131, 160, 0.45);
  background: rgba(113, 131, 160, 0.1);
}

.price-monitor-chip.is-chip-ok {
  border-color: rgba(24, 132, 81, 0.35);
  background: rgba(24, 132, 81, 0.08);
}

.price-monitor-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
}

.price-monitor-legend-item {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.price-monitor-legend-note {
  font-size: 0.84rem;
}

.price-monitor-table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.price-monitor-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.price-monitor-table th,
.price-monitor-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.price-monitor-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(19, 82, 209, 0.04);
}

.price-monitor-table-row { cursor: pointer; transition: background 0.15s ease; }
.price-monitor-table-row:hover { filter: brightness(0.98); }

.price-monitor-table-row.pm-priority-urgent {
  background: rgba(196, 31, 53, 0.07);
  box-shadow: inset 4px 0 0 #c41f35;
}

.price-monitor-table-row.pm-priority-high {
  background: rgba(245, 184, 0, 0.08);
  box-shadow: inset 4px 0 0 #d69a00;
}

.price-monitor-table-row.pm-priority-medium {
  background: rgba(113, 131, 160, 0.07);
  box-shadow: inset 4px 0 0 #7183a0;
}

.price-monitor-table-row.pm-priority-opportunity {
  background: rgba(35, 135, 201, 0.07);
  box-shadow: inset 4px 0 0 #2387c9;
}

.price-monitor-table-row.pm-priority-ok {
  background: rgba(24, 132, 81, 0.05);
  box-shadow: inset 4px 0 0 #178451;
}

.price-monitor-priority-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price-monitor-priority-badge.pm-priority-urgent,
.price-monitor-legend-item.pm-priority-urgent {
  background: rgba(196, 31, 53, 0.14);
  color: #a9182b;
  border: 1px solid rgba(196, 31, 53, 0.28);
}

.price-monitor-priority-badge.pm-priority-high,
.price-monitor-legend-item.pm-priority-high {
  background: rgba(245, 184, 0, 0.18);
  color: #8a6400;
  border: 1px solid rgba(202, 145, 0, 0.35);
}

.price-monitor-priority-badge.pm-priority-medium,
.price-monitor-legend-item.pm-priority-medium {
  background: rgba(113, 131, 160, 0.14);
  color: #4f5f78;
  border: 1px solid rgba(113, 131, 160, 0.28);
}

.price-monitor-priority-badge.pm-priority-opportunity,
.price-monitor-legend-item.pm-priority-opportunity {
  background: rgba(35, 135, 201, 0.14);
  color: #17659a;
  border: 1px solid rgba(35, 135, 201, 0.28);
}

.price-monitor-priority-badge.pm-priority-ok,
.price-monitor-legend-item.pm-priority-ok {
  background: rgba(24, 132, 81, 0.12);
  color: #14683c;
  border: 1px solid rgba(24, 132, 81, 0.28);
}

.price-monitor-status-pill.is-critical {
  background: rgba(196, 31, 53, 0.14);
  color: #a9182b;
  border-color: rgba(196, 31, 53, 0.28);
}

.price-monitor-status-pill.is-warning {
  background: rgba(245, 184, 0, 0.18);
  color: #8a6400;
  border-color: rgba(202, 145, 0, 0.35);
}

.price-monitor-status-pill.is-opportunity {
  background: rgba(35, 135, 201, 0.14);
  color: #17659a;
  border-color: rgba(35, 135, 201, 0.28);
}

.price-monitor-status-pill.is-good {
  background: rgba(24, 132, 81, 0.12);
  color: #14683c;
  border-color: rgba(24, 132, 81, 0.28);
}

.price-monitor-status-pill.is-neutral {
  background: rgba(113, 131, 160, 0.14);
  color: #4f5f78;
  border-color: rgba(113, 131, 160, 0.28);
}

.price-monitor-flag {
  display: inline-flex;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(245, 184, 0, 0.2);
  color: #8a6400;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.price-monitor-value-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.price-monitor-value-chip.pm-delta-critical { background: rgba(196, 31, 53, 0.14); color: #a9182b; }
.price-monitor-value-chip.pm-delta-high { background: rgba(245, 184, 0, 0.18); color: #8a6400; }
.price-monitor-value-chip.pm-delta-slight-high { background: rgba(245, 184, 0, 0.1); color: #8a6400; }
.price-monitor-value-chip.pm-delta-in-band { background: rgba(19, 82, 209, 0.08); color: #1352d1; }
.price-monitor-value-chip.pm-delta-opportunity { background: rgba(35, 135, 201, 0.14); color: #17659a; }
.price-monitor-value-chip.pm-delta-very-low { background: rgba(245, 184, 0, 0.16); color: #8a6400; }
.price-monitor-value-chip.pm-delta-none { background: rgba(113, 131, 160, 0.12); color: #4f5f78; font-weight: 700; }

.price-monitor-value-chip.pm-margin-critical { background: rgba(196, 31, 53, 0.14); color: #a9182b; }
.price-monitor-value-chip.pm-margin-tight { background: rgba(245, 184, 0, 0.18); color: #8a6400; }
.price-monitor-value-chip.pm-margin-ok { background: rgba(19, 82, 209, 0.08); color: #1352d1; }
.price-monitor-value-chip.pm-margin-good { background: rgba(24, 132, 81, 0.12); color: #14683c; }

.price-monitor-table-title {
  display: block;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-monitor-table .is-negative { color: #c41f35; font-weight: 700; }
.price-monitor-table .is-positive { color: #178451; font-weight: 700; }

.button-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.price-monitor-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price-monitor-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.price-monitor-drawer.is-open { pointer-events: auto; }

.price-monitor-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.price-monitor-drawer.is-open .price-monitor-drawer__backdrop { opacity: 1; }

.price-monitor-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.price-monitor-drawer.is-open .price-monitor-drawer__panel { transform: translateX(0); }

.price-monitor-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.price-monitor-drawer__header h2 { margin: 0; font-size: 1.1rem; }

.price-monitor-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.price-monitor-drawer__body {
  overflow: auto;
  padding: 18px 20px 28px;
}

.price-monitor-drawer-section h2 {
  margin: 10px 0 4px;
  font-size: 1.15rem;
}

.price-monitor-drawer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.price-monitor-drawer-action {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.price-monitor-drawer-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.price-monitor-metric {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(19, 82, 209, 0.04);
}

.price-monitor-metric span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-monitor-metric strong { font-size: 1.15rem; }
.price-monitor-metric .is-negative { color: #c41f35; }
.price-monitor-metric .is-positive { color: #178451; }

.price-monitor-drawer-band { margin: 0 0 12px; }

.price-monitor-drawer-details {
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(19, 82, 209, 0.03);
}

.price-monitor-drawer-details summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
}

.price-monitor-values-compact { margin: 0 0 12px; }

.price-monitor-form-drawer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.price-monitor-form-drawer h3 { margin: 0 0 12px; font-size: 1rem; }

body.price-monitor-drawer-open { overflow: hidden; }

html[data-admin-theme="dark"] .section-admin .price-monitor-kpi,
html[data-admin-theme="dark"] .section-admin .price-monitor-chip,
html[data-admin-theme="dark"] .section-admin .price-monitor-metric {
  background: rgba(112, 167, 255, 0.08);
  border-color: rgba(128, 174, 255, 0.22);
}

html[data-admin-theme="dark"] .section-admin .price-monitor-table-row.pm-priority-urgent { background: rgba(196, 31, 53, 0.18); }
html[data-admin-theme="dark"] .section-admin .price-monitor-table-row.pm-priority-high { background: rgba(245, 184, 0, 0.14); }
html[data-admin-theme="dark"] .section-admin .price-monitor-table-row.pm-priority-medium { background: rgba(113, 131, 160, 0.16); }
html[data-admin-theme="dark"] .section-admin .price-monitor-table-row.pm-priority-opportunity { background: rgba(35, 135, 201, 0.16); }
html[data-admin-theme="dark"] .section-admin .price-monitor-table-row.pm-priority-ok { background: rgba(24, 132, 81, 0.14); }

html[data-admin-theme="dark"] .section-admin .price-monitor-drawer__panel {
  background: #111827;
}

@media (max-width: 980px) {
  .price-monitor-kpi-grid,
  .price-monitor-toolbar,
  .price-monitor-drawer-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-monitor-hero .price-section-nav {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .price-monitor-table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .price-monitor-table {
    min-width: 0;
  }

  .price-monitor-table.admin-responsive-table tbody {
    gap: 12px;
  }

  .price-monitor-table.admin-responsive-table tr.price-monitor-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "product product"
      "priority status"
      "sale bench"
      "delta margin"
      "action action";
    gap: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  .price-monitor-table.admin-responsive-table tr.price-monitor-table-row > td {
    width: auto;
    min-width: 0;
  }

  .price-monitor-table.admin-responsive-table .price-monitor-cell-product { grid-area: product; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-priority { grid-area: priority; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-status { grid-area: status; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-sale { grid-area: sale; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-benchmark { grid-area: bench; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-delta { grid-area: delta; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-margin { grid-area: margin; }
  .price-monitor-table.admin-responsive-table .price-monitor-cell-action { grid-area: action; }

  .price-monitor-table.admin-responsive-table .price-monitor-cell-product {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(37, 89, 212, 0.1);
  }

  .price-monitor-table.admin-responsive-table .price-monitor-cell-priority,
  .price-monitor-table.admin-responsive-table .price-monitor-cell-status {
    padding-top: 10px;
  }

  .price-monitor-table.admin-responsive-table .price-monitor-cell-action {
    padding-top: 4px;
  }

  .price-monitor-table.admin-responsive-table .price-monitor-cell-action .button {
    width: 100%;
    justify-content: center;
  }

  .price-monitor-table-title {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    line-height: 1.35;
  }

  .price-monitor-table-sku {
    display: block;
    margin-top: 4px;
  }

  .price-monitor-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-right: -4px;
  }

  .price-monitor-chip {
    flex: 0 0 auto;
  }

  .price-monitor-legend {
    gap: 6px;
  }

  .price-monitor-legend-note {
    width: 100%;
  }

  .price-monitor-toolbar .toolbar {
    width: 100%;
  }

  .price-monitor-toolbar .toolbar .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .price-monitor-drawer__panel {
    width: 100%;
    max-width: 100vw;
  }

  .price-monitor-form-drawer,
  .price-monitor-form {
    grid-template-columns: 1fr;
  }

  .price-monitor-form-drawer .toolbar,
  .price-monitor-form-drawer .toolbar .button {
    width: 100%;
  }

  .price-monitor-form-drawer .toolbar .button {
    justify-content: center;
  }

  .price-monitor-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .price-monitor-pagination .button {
    width: 100%;
    justify-content: center;
  }

  html[data-admin-theme="dark"] .section-admin .price-monitor-table.admin-responsive-table tr.price-monitor-table-row {
    background: rgba(17, 24, 39, 0.96);
    border-color: rgba(128, 174, 255, 0.18);
  }
}

@media (max-width: 640px) {
  .price-monitor-kpi-grid,
  .price-monitor-toolbar,
  .price-monitor-drawer-metrics {
    grid-template-columns: 1fr;
  }

  .price-monitor-hero .price-section-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .price-monitor-hero .price-section-nav form,
  .price-monitor-hero .price-section-nav .button {
    width: 100%;
  }

  .price-monitor-hero .price-section-nav form button {
    width: 100%;
    justify-content: center;
  }

  .price-monitor-toolbar .toolbar {
    flex-direction: column;
  }

  .price-monitor-toolbar .toolbar .button {
    width: 100%;
  }

  .price-monitor-kpi {
    min-height: 84px;
    padding: 14px 16px;
  }

  .price-monitor-kpi strong {
    font-size: 1.45rem;
  }

  .price-monitor-drawer__header,
  .price-monitor-drawer__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .price-monitor-drawer-section h2 {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .price-monitor-values-compact {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .price-monitor-values-compact span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-home-rebalanced .offers-wizard-card,
  .offers-home-rebalanced .wizard-intro {
    width: 100%;
    min-width: 0;
  }
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-journey-roadmap {
    grid-template-columns: minmax(0, 1fr);
  }
  .offers-journey-roadmap::before {
    left: 22px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), rgba(19, 82, 209, 0.16));
  }
  .offers-journey-roadmap .journey-step {
    justify-items: start;
    text-align: left;
  }
  .offers-home-rebalanced .offers-hero-copy h1 {
    max-width: none;
  }
  .offers-choice-card {
    padding: 12px;
  }
  .offers-choice-card span {
    width: 40px;
    height: 40px;
  }
  .offers-home-rebalanced .offers-section {
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .legal-section-grid {
    grid-template-columns: 1fr;
  }
  .account-onboarding-note {
    display: grid;
    align-items: start;
  }
  .account-onboarding-note .button {
    width: 100%;
    justify-content: center;
  }
  .cookie-notice {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }
  .cookie-notice button {
    width: 100%;
    justify-content: center;
  }
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell {
    grid-template-columns: 1fr;
  }
  .offers-journey-roadmap {
    grid-template-columns: 1fr;
  }
  .offers-journey-roadmap::before {
    left: 22px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), rgba(19, 82, 209, 0.16));
  }
  .offers-journey-roadmap .journey-step {
    justify-items: start;
    text-align: left;
  }
  .offers-home-rebalanced .offers-hero-copy h1 {
    max-width: none;
  }
  .offers-choice-card {
    padding: 12px;
  }
  .offers-choice-card span {
    width: 40px;
    height: 40px;
  }
  .offers-home-rebalanced .offers-section {
    padding: 14px;
  }
}

.catalog-feed-dashboard {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.catalog-sync-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 228, 86, 0.42), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
}

.catalog-sync-hero-panel .panel-title {
  align-items: center;
}

.catalog-sync-hero-panel .toolbar {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.catalog-sync-dashboard-panel {
  margin-top: 14px;
}

.catalog-sync-dashboard-panel > .panel-title {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}

.catalog-feed-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 32px rgba(10, 34, 88, 0.08);
}

.catalog-feed-card.is-error {
  border-color: rgba(190, 18, 60, 0.26);
  background: linear-gradient(135deg, #fff7f8 0%, #fff 58%);
}

.catalog-feed-card.is-warning {
  border-color: rgba(202, 138, 4, 0.28);
  background: linear-gradient(135deg, #fffceb 0%, #fff 60%);
}

.catalog-feed-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.catalog-feed-card h2 {
  margin: 8px 0 3px;
  color: var(--primary-strong);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.15;
}

.catalog-feed-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(37, 99, 235, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
}

.catalog-feed-status.is-completed {
  color: #047857;
  background: #dff8ec;
}

.catalog-feed-status.is-warning {
  color: #9a5c00;
  background: #fff2bd;
}

.catalog-feed-status.is-error {
  color: #be123c;
  background: #ffe4e8;
}

.catalog-feed-status.is-muted {
  color: var(--muted);
  background: rgba(100, 116, 139, 0.12);
}

.catalog-feed-last-sync {
  display: grid;
  gap: 4px;
  min-width: 160px;
  padding: 10px 12px;
  border: 1px solid rgba(19, 82, 209, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  text-align: right;
}

.catalog-feed-last-sync span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-feed-last-sync strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.catalog-feed-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-feed-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.07);
  color: var(--muted);
  font-size: 0.8rem;
}

.catalog-feed-metrics strong {
  color: var(--primary-strong);
  font-weight: 700;
}

.catalog-feed-error {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid rgba(190, 18, 60, 0.18);
  border-radius: 16px;
  background: #fff1f3;
  color: #9f1239;
}

.catalog-feed-error strong {
  font-size: 0.84rem;
}

.catalog-feed-error span,
.catalog-feed-hint {
  font-size: 0.86rem;
  line-height: 1.45;
}

.catalog-feed-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 2px;
}

.catalog-feed-actions form {
  display: inline-flex;
}

.catalog-sync-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.catalog-config-feed-tabs {
  margin-top: 14px;
}

.catalog-config-note {
  padding: 12px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.78);
}

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

.catalog-feed-form-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.88));
}

.catalog-feed-form-card.is-source,
.catalog-feed-form-card.is-schedule,
.catalog-feed-form-footer {
  grid-column: 1 / -1;
}

.catalog-feed-form-card.is-schedule {
  border-color: rgba(215, 172, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 247, 194, 0.4), rgba(239, 247, 255, 0.9));
}

.catalog-feed-form-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}

.catalog-feed-form-heading > div {
  display: grid;
  gap: 2px;
}

.catalog-feed-form-heading strong {
  color: var(--primary-dark);
  font-size: 1rem;
}

.catalog-feed-form-heading span:not(.catalog-feed-form-icon) {
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-feed-form-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(19, 82, 209, 0.09);
}

.catalog-sync-schedule-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.sync-schedule-panel {
  display: grid;
  gap: 10px;
}

.sync-schedule-panel .is-prominent {
  justify-content: flex-start;
  min-height: var(--control-height, 40px);
}

.catalog-feed-check {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: end;
  gap: 9px;
  width: fit-content;
  min-height: var(--control-height, 40px);
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.catalog-feed-check input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px;
  max-width: 18px;
  height: 18px !important;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--primary);
}

.pricing-priority-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(19, 82, 209, 0.16);
  border-radius: 16px;
  background: rgba(19, 82, 209, 0.05);
}

.pricing-priority-strip strong { margin-right: 4px; }
.pricing-priority-strip span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  background: var(--surface, #fff);
}

.pricing-editor-grid { align-items: start; }
.pricing-rule-form [hidden] { display: none !important; }

.pricing-preview-result {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(31, 148, 91, 0.3);
  border-radius: 16px;
  background: rgba(31, 148, 91, 0.1);
}
.pricing-preview-result strong { font-size: 1.7rem; color: var(--success, #137a47); }
.pricing-recommended { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.pricing-recommended p { margin: 3px 0 0; }

html[data-admin-theme="dark"] .section-admin .pricing-priority-strip span {
  color: var(--admin-dark-text);
  background: var(--admin-dark-surface-strong);
  border-color: var(--admin-dark-border);
}

@media (max-width: 760px) {
  .pricing-recommended { align-items: stretch; flex-direction: column; }
  .pricing-recommended button { width: 100%; }
}

.catalog-feed-form-footer {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .catalog-feed-config-form,
  .catalog-sync-schedule-grid {
    grid-template-columns: 1fr;
  }

  .catalog-feed-form-card,
  .catalog-feed-form-footer {
    grid-column: 1;
  }
}

.catalog-config-delete-form {
  margin-top: 12px;
}

.catalog-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.catalog-scope-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 13px 14px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.catalog-scope-card.is-site {
  border-color: rgba(217, 75, 69, 0.18);
  background: linear-gradient(135deg, #fff9f1 0%, #ffffff 72%);
}

.catalog-scope-card strong {
  color: var(--primary-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.catalog-scope-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.42;
}

.catalog-rule-active-check {
  justify-self: start;
  align-self: end;
  min-height: var(--control-height);
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(19, 82, 209, 0.14);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.92);
  color: var(--primary-strong);
  font-size: var(--control-font);
  font-weight: 600;
}

.catalog-rule-active-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary);
}

.enrichment-check-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: var(--control-height);
  padding: 8px 10px;
  border: 1px solid rgba(19, 82, 209, 0.11);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.enrichment-check-filter-title {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.enrichment-check-filter {
  min-height: 30px;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 600;
}

.enrichment-check-filter input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}

@media (max-width: 720px) {
  .catalog-sync-hero-panel .panel-title,
  .catalog-sync-hero-panel .toolbar {
    align-items: flex-start;
  }

  .catalog-sync-hero-panel .toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .catalog-feed-card-main {
    grid-template-columns: 1fr;
  }

  .catalog-feed-last-sync {
    min-width: 0;
    text-align: left;
  }

  .catalog-feed-actions,
  .catalog-feed-actions form,
  .catalog-feed-actions button,
  .catalog-feed-actions .button {
    width: 100%;
    justify-content: center;
  }

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

  .enrichment-check-filter-group,
  .enrichment-check-filter {
    width: 100%;
  }
}

.catalog-sync-progress[hidden] {
  display: none;
}

.catalog-sync-progress {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
}

.catalog-sync-progress-card {
  padding: 18px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 228, 86, 0.35), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.catalog-sync-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.catalog-sync-progress-head strong {
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-weight: 700;
}

.catalog-sync-progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.13);
}

.catalog-sync-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue), #0f7cff);
  transition: width 0.55s ease;
}

.catalog-sync-progress p {
  margin: 12px 0 4px;
  color: var(--ink);
  font-weight: 600;
}

.catalog-sync-progress small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .catalog-sync-progress {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }
}
.commerce-shell { width: min(1600px, calc(100% - 28px)); margin: 18px auto 36px; }
.commerce-topbar, .panel, .product-card, .stat-card, .order-row, .cart-item, .checkout-grid, .empty-box {
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel, .empty-box, .stat-card, .order-row, .cart-item, .checkout-grid {
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.section-admin .panel,
.section-admin .empty-box,
.section-admin .stat-card,
.section-admin .order-row {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(19, 82, 209, 0.11);
  box-shadow: 0 14px 30px rgba(10, 34, 88, 0.08), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}
.section-admin .panel {
  position: relative;
  overflow: hidden;
}
.section-admin .panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--highlight), rgba(217, 75, 69, 0.82));
  opacity: 0.9;
}
html[data-admin-theme="dark"] .section-admin .panel,
html[data-admin-theme="dark"] .section-admin .empty-box,
html[data-admin-theme="dark"] .section-admin .stat-card,
html[data-admin-theme="dark"] .section-admin .order-row,
html[data-admin-theme="dark"] .section-admin .cart-item,
html[data-admin-theme="dark"] .section-admin .checkout-grid,
html[data-admin-theme="dark"] .section-admin .summary-box,
html[data-admin-theme="dark"] .section-admin .request-detail-panel {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(13, 23, 39, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
html[data-admin-theme="dark"] .section-admin .panel::before {
  background: linear-gradient(90deg, #70a7ff, rgba(242, 210, 79, 0.92), rgba(255, 122, 112, 0.78));
  opacity: 0.72;
}
.commerce-topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 18px; border-radius: 24px;
  position: sticky;
  top: 12px;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  border: 1px solid rgba(19, 82, 209, 0.16);
  background: rgba(255, 227, 74, 0.62);
  box-shadow:
    0 16px 32px rgba(10, 34, 88, 0.12),
    0 6px 14px rgba(10, 34, 88, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  isolation: isolate;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.commerce-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(19, 82, 209, 0.08);
}
.commerce-topbar.is-scrolled {
  background: rgba(255, 227, 74, 0.72);
  border-color: rgba(19, 82, 209, 0.22);
  box-shadow:
    0 22px 42px rgba(10, 34, 88, 0.16),
    0 10px 18px rgba(10, 34, 88, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.98) inset;
}
.commerce-topbar.is-scrolled::before {
  box-shadow:
    inset 0 -1px 0 rgba(19, 82, 209, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.commerce-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; min-width: 0; }
.commerce-brand-logo {
  width: auto;
  height: 62px;
  max-width: min(330px, 38vw);
  object-fit: contain;
  flex: 0 0 auto;
}
.commerce-brand-copy {
  display: none;
  gap: 1px;
  min-width: 0;
}
.commerce-brand-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}
.commerce-brand-copy small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.commerce-menu {
  display: none;
  position: relative;
}
.commerce-menu summary {
  list-style: none;
}
.commerce-menu summary::-webkit-details-marker {
  display: none;
}
.commerce-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(13, 58, 154, 0.28);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(10, 34, 88, 0.12);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}
.commerce-menu-toggle > span:not(.ui-icon) {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-strong);
}
.commerce-menu-toggle .ui-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-strong);
}
.commerce-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.commerce-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  white-space: nowrap;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: var(--control-font);
  border: 1px solid rgba(13, 58, 154, 0.22);
  box-shadow: 0 7px 14px rgba(10, 34, 88, 0.08);
}
.commerce-nav-desktop a {
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
  line-height: 1;
}
.commerce-nav a .ui-icon {
  width: var(--control-icon);
  height: var(--control-icon);
}
.commerce-nav-desktop a .ui-icon {
  width: var(--control-icon);
  height: var(--control-icon);
}
.commerce-nav a.active {
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-strong);
  border-color: rgba(217, 75, 69, 0.34);
  box-shadow: 0 9px 18px rgba(10, 34, 88, 0.13), inset 0 -3px 0 rgba(217, 75, 69, 0.95);
}
.commerce-nav a:hover,
.commerce-quick-link:hover {
  background: #ffffff;
  border-color: rgba(13, 58, 154, 0.36);
}
.commerce-nav-desktop {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.commerce-nav-desktop {
  flex-wrap: nowrap;
}
.commerce-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.commerce-search input {
  width: 190px;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  border-radius: 999px;
  font-size: var(--control-font);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 58, 154, 0.24);
  box-shadow: 0 6px 13px rgba(10, 34, 88, 0.07);
}
.commerce-search button {
  width: var(--control-height);
  min-height: var(--control-height);
  padding: 0;
  border-radius: 999px;
  font-size: var(--control-font);
  box-shadow: 0 8px 16px rgba(10, 34, 88, 0.13);
}
.commerce-search button .ui-icon {
  width: var(--control-icon);
  height: var(--control-icon);
}
.commerce-search-mobile {
  display: none;
}
.commerce-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.commerce-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: var(--control-font);
  white-space: nowrap;
  border: 1px solid rgba(13, 58, 154, 0.24);
  box-shadow: 0 8px 16px rgba(10, 34, 88, 0.1);
}
.commerce-quick-link:first-child {
  background: #ffffff;
}
.commerce-quick-link:first-child strong {
  box-shadow: 0 0 0 2px rgba(217, 75, 69, 0.12);
}
.commerce-cart-link {
  min-width: var(--control-height);
  padding-inline: 0.7rem;
}
.commerce-cart-link .ui-icon {
  width: var(--control-icon);
  height: var(--control-icon);
}
.commerce-quick-link strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--highlight), #fff3a6);
  color: #132345;
  font-size: 0.66rem;
}
@media (max-width: 1500px) {
  .commerce-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 7px;
    row-gap: 0;
    padding: 9px 12px;
  }
  .commerce-brand {
    grid-column: 1;
  }
  .commerce-nav-desktop {
    grid-column: 2;
  }
  .commerce-search-desktop {
    grid-column: 3;
    margin-left: 0;
  }
  .commerce-topbar-end {
    grid-column: 4;
    justify-self: end;
    margin-left: 0;
  }
  .commerce-brand-logo {
    height: 48px;
    max-width: min(210px, 22vw);
  }
  .commerce-nav {
    flex-wrap: nowrap;
    gap: 4px;
    overflow: hidden;
  }
  .commerce-nav a {
    min-height: 36px;
    padding: 0.42rem 0.5rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }
  .commerce-nav a .ui-icon {
    width: 13px;
    height: 13px;
  }
  .commerce-nav-desktop {
    justify-content: center;
    min-width: 0;
  }
  .commerce-search-desktop {
    margin-left: 0;
    flex: 0 0 auto;
  }
  .commerce-search input {
    width: 122px;
    min-height: 36px;
    padding: 0.45rem 0.62rem;
    font-size: 0.78rem;
  }
  .commerce-search button {
    width: 36px;
    min-height: 36px;
    padding: 0;
    font-size: 0.74rem;
  }
  .commerce-quick-actions {
    flex: 0 0 auto;
    gap: 4px;
  }
  .commerce-quick-link {
    min-height: 36px;
    padding: 0.42rem 0.54rem;
    font-size: 0.74rem;
    gap: 4px;
  }
  .commerce-quick-link .ui-icon {
    width: 14px;
    height: 14px;
  }
  .commerce-quick-link strong {
    min-width: 18px;
    height: 18px;
    font-size: 0.62rem;
  }
}
.admin-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  overflow: visible;
  position: sticky;
  top: 94px;
  z-index: 44;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 248, 255, 0.95));
  border: 1px solid rgba(19, 82, 209, 0.12);
  box-shadow: 0 14px 28px rgba(10, 34, 88, 0.1);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}
.admin-subnav-scroll {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(19, 82, 209, 0.42) rgba(19, 82, 209, 0.08);
  scrollbar-width: thin;
}
.admin-subnav-scroll::-webkit-scrollbar {
  height: 10px;
}
.admin-subnav-scroll::-webkit-scrollbar-track {
  background: rgba(19, 82, 209, 0.08);
  border-radius: 999px;
}
.admin-subnav-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(19, 82, 209, 0.48), rgba(19, 82, 209, 0.28));
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}
.admin-subnav-scroll::before,
.admin-subnav-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 28px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.admin-subnav-scroll::before {
  left: 0;
  background: linear-gradient(90deg, rgba(243, 248, 255, 0.98), rgba(243, 248, 255, 0));
}
.admin-subnav-scroll::after {
  right: 0;
  background: linear-gradient(270deg, rgba(243, 248, 255, 0.98), rgba(243, 248, 255, 0));
}
.admin-subnav-scroll.is-scrollable.has-scroll-left::before,
.admin-subnav-scroll.is-scrollable.has-scroll-right::after {
  opacity: 1;
}
.admin-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  white-space: nowrap;
  padding: var(--control-pad-y) var(--control-pad-x);
  min-height: var(--control-height);
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.06);
  border: 1px solid rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: var(--control-font);
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.admin-subnav a .ui-icon {
  width: 16px;
  height: 16px;
}
.section-admin .admin-subnav {
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  top: 90px;
  border-radius: 18px;
}
.admin-subnav-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-width: 0;
}
.admin-subnav-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-subnav-group-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.06);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-subnav-group-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-subnav-divider {
  width: 1px;
  height: 28px;
  background: rgba(19, 82, 209, 0.14);
  flex: 0 0 auto;
}
@media (min-width: 721px) and (max-width: 1500px) {
  .admin-subnav-links,
  .admin-subnav-group,
  .admin-subnav-group-links {
    flex-wrap: nowrap;
  }
}
@media (min-width: 1501px) {
  .admin-subnav-scroll {
    overflow-x: visible;
  }
  .admin-subnav-scroll::before,
  .admin-subnav-scroll::after {
    display: none;
  }
}
.admin-subnav-meta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
  padding-left: 10px;
}
.admin-logout-link {
    white-space: nowrap;
}
.admin-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--control-height);
  padding: 0.18rem 0.28rem 0.18rem 0.62rem;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-strong);
  font-size: var(--control-font);
  font-weight: 700;
  white-space: nowrap;
}
.admin-theme-switch span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.admin-theme-switch select {
  width: auto;
  min-height: 30px;
  padding: 0.28rem 1.8rem 0.28rem 0.58rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 700;
}
.section-admin .admin-subnav a {
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
}
.section-admin .admin-subnav-meta .pill,
.section-admin .admin-subnav-meta .admin-subnav-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  max-width: 160px;
  margin: 0;
  padding: 0 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-strong);
  font-size: var(--control-font);
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}
.admin-subnav-meta .admin-logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  border-radius: 999px;
  font-size: var(--control-font);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(5, 18, 45, 0.12);
}
.theme-toggle--admin-bar {
  flex: 0 0 auto;
  min-height: var(--control-height);
  padding: 3px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}
.theme-toggle--admin-bar .theme-toggle__system,
.theme-toggle--admin-bar .theme-toggle__option {
  width: calc(var(--control-height) - 8px);
  height: calc(var(--control-height) - 8px);
}
.theme-toggle--admin-bar .theme-toggle__swatch {
  width: 14px;
  height: 14px;
}
.theme-toggle--admin-bar.theme-toggle--menu {
  width: 100%;
  justify-content: center;
}
.admin-mobile-menu__meta .theme-toggle--admin-bar {
  width: 100%;
}
.admin-maintenance-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--control-height);
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: var(--control-font);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(5, 18, 45, 0.16);
}
.admin-maintenance-status:hover {
  color: #fff;
  transform: translateY(-1px);
}
.admin-maintenance-status.is-maintenance {
  background: #c92132;
  border-color: #ee6470;
}
.admin-maintenance-status.is-online {
  background: #137a49;
  border-color: #43b87d;
}
.admin-maintenance-page {
  max-width: 980px;
  margin-inline: auto;
}
.maintenance-state-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid;
  border-radius: 22px;
}
.maintenance-state-card.is-maintenance {
  background: linear-gradient(135deg, rgba(201, 33, 50, 0.16), rgba(201, 33, 50, 0.05));
  border-color: rgba(238, 100, 112, 0.62);
}
.maintenance-state-card.is-online {
  background: linear-gradient(135deg, rgba(19, 122, 73, 0.18), rgba(19, 122, 73, 0.05));
  border-color: rgba(67, 184, 125, 0.6);
}
.maintenance-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
}
.is-maintenance .maintenance-state-icon { background: #c92132; }
.is-online .maintenance-state-icon { background: #137a49; }
.maintenance-state-icon .ui-icon {
  width: 25px;
  height: 25px;
}
.maintenance-state-card h2,
.maintenance-state-card p {
  margin: 3px 0 0;
}
.maintenance-state-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.maintenance-confirm-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 20px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}
.maintenance-confirm-form .form-actions {
  grid-column: 1 / -1;
}
.button-success {
  background: #137a49;
  border-color: #43b87d;
  color: #fff;
}
.button-success:hover {
  background: #0f683e;
  color: #fff;
}
@media (max-width: 720px) {
  .admin-maintenance-status span {
    display: none;
  }
  .admin-maintenance-status {
    width: var(--control-height);
    padding: 0;
  }
  .maintenance-confirm-form {
    grid-template-columns: 1fr;
  }
}
.admin-subnav a:hover {
    transform: translateY(-1px);
    background: rgba(19, 82, 209, 0.12);
}
.admin-subnav a.active {
  background: rgba(19, 82, 209, 0.06);
  border-color: rgba(217, 75, 69, 0.34);
  color: var(--primary-strong);
  box-shadow: 0 9px 18px rgba(10, 34, 88, 0.13), inset 0 -3px 0 rgba(217, 75, 69, 0.95);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.97), rgba(11, 20, 34, 0.94));
  border-color: rgba(120, 150, 194, 0.26);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  scrollbar-color: rgba(112, 167, 255, 0.78) rgba(112, 167, 255, 0.16);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav::-webkit-scrollbar-track {
  background: rgba(112, 167, 255, 0.16);
  border: 1px solid rgba(120, 150, 194, 0.2);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(255, 122, 112, 0.88), rgba(112, 167, 255, 0.86));
  border-color: rgba(11, 20, 34, 0.9);
  box-shadow: 0 0 0 1px rgba(231, 238, 249, 0.18);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav a,
html[data-admin-theme="dark"] .section-admin .admin-theme-switch,
html[data-admin-theme="dark"] .section-admin .shop-theme-switch {
  background: rgba(112, 167, 255, 0.09);
  border-color: rgba(120, 150, 194, 0.22);
  color: var(--primary-strong);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav a:hover {
  background: rgba(112, 167, 255, 0.16);
}
html[data-admin-theme="dark"] .section-admin .admin-subnav a.active {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(255, 122, 112, 0.5);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.28), inset 0 -3px 0 rgba(255, 122, 112, 0.92);
}
html[data-admin-theme="dark"] .section-admin .admin-theme-switch select {
  background: rgba(11, 20, 34, 0.94);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}
html[data-admin-theme="dark"] .section-admin .shop-theme-switch select {
  background: rgba(11, 20, 34, 0.94);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}
.hero-block, .panel { margin-top: 18px; padding: 24px; border-radius: var(--radius-lg); }
.section-admin .panel {
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
}
.catalog-browser {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.catalog-page {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.home-catalog-split {
  margin-top: 18px;
  align-items: stretch;
}
.home-browser-mobile {
  display: none;
}
.home-mobile-categories {
  display: none;
}
.home-category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.home-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  background: rgba(19, 82, 209, 0.06);
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.home-category-chip--accent {
  background: rgba(255, 227, 74, 0.28);
  border-color: rgba(19, 82, 209, 0.22);
}
.catalog-mobile-panels {
  display: none;
  gap: 12px;
}
.catalog-intro-panel {
  padding: 20px 22px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 227, 74, 0.22), transparent 24%),
    linear-gradient(135deg, #1456d8 0%, #0d327c 58%, #0a245e 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.catalog-intro-head {
  margin-bottom: 0;
}
.catalog-intro-head h1 {
  color: #fff;
}
.catalog-intro-head .muted {
  color: rgba(238, 245, 255, 0.9);
  max-width: 58ch;
}
.catalog-intro-head .pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.catalog-intro-head .button-secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--primary-strong);
}
.mobile-panel {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 22px;
  overflow: hidden;
}
.mobile-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-panel summary::-webkit-details-marker {
  display: none;
}
.mobile-panel summary::after {
  content: '+';
  font-size: 1.2rem;
  line-height: 1;
}
.mobile-panel[open] summary::after {
  content: '-';
}
.mobile-panel-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 10px;
}
.mobile-panel .category-root-link {
  margin-bottom: 8px;
}
.catalog-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: hidden;
}
.catalog-content {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.catalog-results-panel {
  padding: 14px;
}
.catalog-results-anchor {
  scroll-margin-top: 118px;
}
.catalog-results-head {
  margin-bottom: 8px;
}
.catalog-results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.catalog-filter-panel {
  margin-bottom: 14px;
}
.catalog-filter-panel > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  border-radius: 999px;
  color: var(--primary-strong);
  font-weight: 600;
  font-size: var(--control-font);
  background: #fff;
  border: 1px solid rgba(19, 82, 209, 0.14);
  box-shadow: 0 10px 20px rgba(12, 44, 108, 0.06);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.catalog-filter-panel > summary::-webkit-details-marker {
  display: none;
}
.catalog-filter-panel > summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 1rem;
  line-height: 1;
}
.catalog-filter-panel[open] > summary::before {
  content: "-";
}
.catalog-filter-panel > summary em {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  color: #0b4a14;
  background: rgba(37, 211, 102, 0.14);
  font-size: 0.72rem;
  font-style: normal;
  text-transform: uppercase;
}
.catalog-filter-grid {
  margin-bottom: 14px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.catalog-filter-actions {
  align-items: end;
}
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 211, 239, 0.72);
}
.catalog-filter-grid label {
  gap: 6px;
  font-size: 0.88rem;
}
.catalog-filter-grid input,
.catalog-filter-grid select {
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
  border-radius: 12px;
}
.catalog-filter-grid .button,
.catalog-filter-grid button {
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
}
.catalog-sidebar-heading {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.08), rgba(255, 227, 74, 0.22) 88%);
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.catalog-service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--control-height);
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 227, 74, 0.28), rgba(19, 82, 209, 0.1) 88%);
  border: 1px solid rgba(19, 82, 209, 0.1);
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.catalog-service-link:hover,
.catalog-service-link:focus-visible {
  transform: translateX(2px);
  border-color: rgba(217, 75, 69, 0.35);
  box-shadow: 0 8px 18px rgba(10, 34, 88, 0.1);
}
.catalog-service-link .ui-icon {
  width: 17px;
  height: 17px;
}
.catalog-sidebar-heading h2 {
  font-size: 0.88rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
}
.home-featured-panel,
.home-explore-panel {
  height: 100%;
}
.home-explore-panel {
  padding: 14px;
}
.home-explore-panel .catalog-sidebar-title {
  margin-bottom: 12px;
}
.home-explore-panel .catalog-sidebar-title h2 {
  font-size: 1.05rem;
  line-height: 1.14;
}
.home-explore-panel .catalog-sidebar-title p {
  font-size: 0.88rem;
  line-height: 1.45;
}
.home-explore-panel .category-tree {
  gap: 6px;
  max-height: calc(100vh - 220px);
}
.home-explore-panel .category-group {
  padding: 6px;
}
.home-explore-panel .category-root-link {
  padding: 0.68rem 0.82rem;
}
.home-featured-panel .product-grid,
.home-featured-panel .empty-box {
  margin-top: 0;
}
.home-featured-title {
  margin-bottom: 20px;
}
.home-featured-title h2 {
  margin: 0;
}
.home-featured-title .panel-title-actions {
  gap: 10px;
}
.home-featured-title .button {
  padding: 0.6rem 0.88rem;
  font-size: 0.86rem;
}
.category-tree {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding-right: 4px;
}
.category-group {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fdfefe 0%, #f2f7fd 100%);
}
.category-root-link,
.category-child-link {
  display: block;
  border-radius: 14px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.category-root-link {
  padding: 0.72rem 0.9rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--primary-strong);
  background: rgba(19, 82, 209, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-root-link:hover,
.category-child-link:hover {
  transform: translateX(2px);
}
.category-root-link.is-current,
.category-child-link.is-current {
  background: linear-gradient(135deg, var(--highlight), #fff3a6);
  color: #132345;
}
.category-children {
  display: grid;
  gap: 8px;
  padding-left: 10px;
  border-left: 2px solid rgba(19, 82, 209, 0.12);
}
.category-child-link {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}
.category-count {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
}
.catalog-explorer-panel .category-tree {
  gap: 6px;
  max-height: calc(100vh - 205px);
}
.catalog-explorer-panel .category-group {
  gap: 6px;
  padding: 6px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f9ff 100%);
}
.catalog-explorer-panel .category-root-link {
  padding: 0.7rem 0.82rem;
  font-size: 0.88rem;
}
.catalog-explorer-panel .category-root-link > span:first-child,
.catalog-explorer-panel .category-child-link > span:first-child {
  min-width: 0;
}
.catalog-explorer-panel .category-root-link::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.16), rgba(255, 227, 74, 0.32));
  border: 1px solid rgba(19, 82, 209, 0.16);
  margin-right: 10px;
  flex: 0 0 auto;
}
.explorer-children {
  gap: 6px;
  padding-left: 16px;
  margin-left: 8px;
  border-left: 1px solid rgba(19, 82, 209, 0.12);
}
.catalog-explorer-panel .category-child-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.58rem 0.8rem;
  font-size: 0.84rem;
}
.catalog-explorer-panel .category-child-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(19, 82, 209, 0.16);
  flex: 0 0 auto;
  margin-right: 10px;
}
.catalog-explorer-panel .category-child-link > span:first-child {
  flex: 1 1 auto;
}
.catalog-tree-compact {
  gap: 0;
  max-height: calc(100vh - 190px);
  padding-right: 0;
}
.catalog-compact-group {
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}
.catalog-compact-root,
.catalog-compact-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.catalog-compact-root {
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary-strong);
  letter-spacing: 0.01em;
}
.catalog-compact-root:hover,
.catalog-compact-child:hover {
  transform: none;
  color: var(--primary-strong);
  background: rgba(19, 82, 209, 0.04);
}
.catalog-compact-root.is-current {
  background: linear-gradient(135deg, rgba(255, 227, 74, 0.3), rgba(19, 82, 209, 0.06));
  color: var(--primary-strong);
}
.catalog-compact-marker {
  flex: 0 0 12px;
  color: #cb6c1e;
  font-size: 0.92rem;
  line-height: 1;
}
.catalog-compact-label {
  min-width: 0;
  text-transform: lowercase;
}
.catalog-compact-label::first-letter {
  text-transform: uppercase;
}
.catalog-compact-children {
  display: grid;
  gap: 0;
  padding: 2px 0 6px;
}
.catalog-compact-child {
  padding: 7px 10px 7px 20px;
  color: var(--muted);
  border-top: 1px solid rgba(19, 82, 209, 0.07);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.catalog-compact-child > span {
  text-transform: lowercase;
}
.catalog-compact-child > span::first-letter {
  text-transform: uppercase;
}
.catalog-compact-child.is-current {
  color: var(--primary-strong);
  background: rgba(19, 82, 209, 0.06);
  font-weight: 700;
}
.hero-block {
  position: relative;
  overflow: hidden;
  display: grid; grid-template-columns: 1.14fr 0.86fr; gap: 12px;
  padding: 22px 26px;
  background:
    linear-gradient(135deg, #1456d8 0%, #0d327c 58%, #0a245e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.home-hero {
  grid-template-columns: minmax(0, 0.62fr) minmax(560px, 1.38fr);
  min-height: 286px;
  align-content: center;
  align-items: center;
  gap: 10px;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.home-hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(190px, 15vw, 230px);
  min-height: 0;
  margin-left: 0;
  align-self: center;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
}
.home-hero-media::before {
  content: none;
}
.home-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: normal;
  transform: scale(1.3);
  transform-origin: right center;
}
.home-promo-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 10px;
  align-items: start;
}

.home-promo-layout--tiles-only {
  grid-template-columns: repeat(2, minmax(220px, 390px));
  justify-content: center;
}
.home-banner-main {
  min-width: 0;
}
.home-banner-slider-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.04), rgba(255, 227, 74, 0.12));
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.home-promo-tiles {
  display: contents;
}
.home-promo-tile {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(19, 82, 209, 0.08);
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.04), rgba(255, 227, 74, 0.12));
}
.home-promo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s ease;
  will-change: transform;
}
.home-banner-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}
.home-banner-link {
  display: block;
  width: 100%;
  height: 100%;
}
.home-banner-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 14px;
}
.home-banner-dot {
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 0;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(19, 82, 209, 0.2);
  box-shadow: none;
  line-height: 0;
}
.home-banner-dot.is-active {
  width: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
}
.offers-home {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 181, 244, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(20, 82, 209, 0.98) 0%, #12368d 52%, #0a1735 100%);
  box-shadow: var(--shadow);
  color: #fff;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 227, 79, 0.55), rgba(255, 227, 79, 0));
  pointer-events: none;
}
.offers-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}
.offers-hero-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}
.offers-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  color: #fff;
  max-width: 17ch;
}
.offers-hero-copy .hero-text {
  margin-top: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 52ch;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
}
.hero-card {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(9, 18, 40, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 28px rgba(5, 15, 42, 0.22);
  backdrop-filter: blur(12px);
  display: grid;
  align-content: start;
  width: 100%;
}
.brand-mascot {
  max-height: 148px;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(4, 14, 37, 0.2));
}
.hero-card-copy {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-radius: 18px;
  padding: 12px;
}
.hero-card-copy h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.12;
}
.hero-card-copy p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.hero-card-label,
.offer-tag,
.wizard-label,
.section-heading .eyebrow,
.step h2,
.step h3,
.form-subsection h3,
#docsTitle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-card-label .ui-icon,
.offer-tag .ui-icon,
.wizard-label .ui-icon,
.section-heading .eyebrow .ui-icon,
.step h2 .ui-icon,
.step h3 .ui-icon,
.form-subsection h3 .ui-icon,
#docsTitle .option-icon {
  width: 18px;
  height: 18px;
}
.hero-metrics article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}
.hero-metrics article .ui-icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--highlight);
}
.wizard-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.wizard-badges .ui-icon {
  width: 15px;
  height: 15px;
}
.hero-block > div > h1,
.offers-hero-copy h1,
.order-confirmation-copy h1 {
  max-width: 19ch;
  color: #fff;
  font-size: clamp(2.05rem, 3.15vw, 3.05rem);
}
.hero-block > div,
.order-confirmation-copy,
.offers-hero-copy {
  position: relative;
  z-index: 1;
}
.hero-block > div > p {
  color: rgba(238, 245, 255, 0.9);
  line-height: 1.46;
  font-size: 1.02rem;
  max-width: 48ch;
}
.hero-block .summary-box h2,
.hero-block .summary-box p,
.hero-block .summary-box .muted {
  color: var(--text);
}
.hero-badges, .mini-actions, .inline-actions, .toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.section-admin .mini-actions,
.section-admin .inline-actions,
.section-admin .toolbar {
  gap: 8px;
}
.hero-badges span {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 700;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.hero-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.74rem 1.02rem;
  font-size: 0.92rem;
}
.home-service-pillars {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.home-service-pillars-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.home-service-pillars-head h2 {
  margin: 0;
  color: var(--primary-strong);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.08;
}
.home-service-pillars-head .button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.68rem 1rem;
  border-radius: 999px;
}
.home-service-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.home-service-pillar {
  display: grid;
  grid-template-columns: minmax(112px, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 122px;
  padding: 9px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(19, 82, 209, 0.08);
  box-shadow: 0 10px 20px rgba(12, 44, 108, 0.05);
}
.home-service-pillar-media {
  width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eef4ff;
}
.home-service-pillar-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-service-pillar-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.home-service-pillar strong {
  color: var(--primary-strong);
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  line-height: 1.18;
}
.home-service-pillar span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.33;
}
.button-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, #25d366 0%, #1ebe5a 100%);
  color: #fff;
  border: 1px solid rgba(15, 118, 54, 0.26);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
}
.button-whatsapp::before {
  content: "◔";
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}
.button-whatsapp::before {
  content: none;
}
.button-whatsapp .ui-icon {
  width: 22px;
  height: 22px;
}
.button-whatsapp:hover {
  background: linear-gradient(180deg, #27de6b 0%, #19b853 100%);
  color: #fff;
  border-color: rgba(15, 118, 54, 0.34);
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.28);
}
.button-whatsapp:visited,
.button-whatsapp:active,
.button-whatsapp:focus {
  color: #fff;
}
.brand-story-grid {
  margin-top: 18px;
}
.about-compact-grid {
  gap: 12px;
  margin-top: 14px;
}
.about-compact-grid .panel,
.about-services-panel,
.content-section-card {
  padding: 16px;
}
.about-services-panel .panel-title {
  margin-bottom: 12px;
}
.about-services-panel .service-grid {
  margin-top: 12px;
  gap: 12px;
}
.home-overview-section {
  padding: 14px 20px 18px;
}
.home-overview-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-overview-grid-light {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.home-overview-banner {
  margin-top: 8px;
  overflow: hidden;
  border-radius: 14px;
}
.home-overview-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.overview-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 170px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 227, 74, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
  border-top-width: 3px;
}
.overview-card.overview-image-card {
  display: grid;
  grid-template-columns: minmax(112px, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
  gap: 10px;
  min-height: 122px;
  padding: 9px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(19, 82, 209, 0.08);
  box-shadow: 0 10px 20px rgba(12, 44, 108, 0.05);
}
.overview-card.overview-image-card .overview-card-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
}
.overview-card.overview-image-card .overview-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.overview-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.overview-card-copy strong {
  color: var(--primary-strong);
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  line-height: 1.18;
}
.overview-card-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.33;
}
.overview-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(19, 82, 209, 0.08);
  box-shadow: var(--shadow-soft);
  font-size: 1rem;
  color: var(--primary-strong);
  font-weight: 800;
}
.overview-card h3 {
  font-size: 1.1rem;
}
.about-overview-section {
  padding: 4px;
}
.about-overview-section .panel-title {
  margin: 6px 8px 2px;
}
.about-overview-section .panel-title h2 {
  font-size: clamp(1.18rem, 1.5vw, 1.45rem);
}
.about-overview-section .panel-title p {
  font-size: 0.88rem;
  max-width: 70ch;
}
.about-overview-grid {
  gap: 10px;
}
.about-overview-grid .overview-card {
  overflow: hidden;
  min-height: 0;
  gap: 7px;
  padding: 12px;
  border-radius: 16px;
}
.overview-card-media {
  display: grid;
  place-items: center;
  height: 56px;
  margin: -2px -2px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.06), rgba(255, 227, 74, 0.18));
}
.overview-card-media img {
  width: 100%;
  height: 48px;
  object-fit: contain;
}
.about-overview-grid .overview-card-head {
  gap: 7px;
}
.about-overview-grid .overview-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 11px;
  font-size: 0.82rem;
}
.about-overview-grid .service-icon {
  min-width: 0;
  padding: 0.28rem 0.48rem;
  font-size: 0.62rem;
}
.about-overview-grid .overview-card h3 {
  font-size: 0.98rem;
}
.about-overview-grid .overview-card p {
  font-size: 0.82rem;
  line-height: 1.38;
}
.about-overview-banner {
  margin-top: 2px;
  overflow: hidden;
  border-radius: 12px;
}
.about-overview-banner-mobile {
  display: none;
  gap: 10px;
}
.about-overview-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.refurbished-why-panel {
  padding: 0;
  overflow: hidden;
}
.refurbished-why-banner {
  overflow: hidden;
  border-radius: 10px;
}
.refurbished-why-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.refurbished-why-banner-mobile {
  display: none;
}
.overview-card-time {
  border-top-color: rgba(19, 82, 209, 0.3);
}
.overview-card-support {
  border-top-color: rgba(217, 75, 69, 0.24);
}
.overview-card-it {
  border-top-color: rgba(19, 82, 209, 0.26);
}
.overview-card-refurb {
  border-top-color: rgba(16, 124, 65, 0.26);
}
.overview-card-network {
  border-top-color: rgba(67, 132, 219, 0.26);
}
.overview-card-help {
  border-top-color: rgba(255, 180, 0, 0.28);
}
.overview-card-shop {
  border-top-color: rgba(111, 92, 214, 0.24);
}
.overview-card-chat {
  border-top-color: rgba(37, 211, 102, 0.24);
}
.overview-card-support .overview-icon,
.overview-card-help .overview-icon {
  background: linear-gradient(135deg, rgba(217, 75, 69, 0.08), rgba(255, 255, 255, 0.96));
}
.overview-card-refurb .overview-icon,
.overview-card-chat .overview-icon {
  background: linear-gradient(135deg, rgba(16, 124, 65, 0.1), rgba(255, 255, 255, 0.96));
}
.overview-card-network .overview-icon,
.overview-card-shop .overview-icon {
  background: linear-gradient(135deg, rgba(67, 132, 219, 0.1), rgba(255, 255, 255, 0.96));
}
.brand-story-card,
.content-section-card {
  align-content: start;
}
.services-section,
.contact-section {
  padding: 20px;
}
.services-section .panel-title,
.contact-section .panel-title {
  margin-bottom: 14px;
}
.brand-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 6px;
}
.brand-list li {
  color: var(--text);
  font-weight: 600;
}
.home-offer-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 212, 0, 0.18), rgba(255, 255, 255, 0.96) 26%, rgba(232, 243, 255, 0.92) 72%, rgba(11, 181, 244, 0.12));
}
.home-offer-ticker-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-strong);
  white-space: nowrap;
}
.home-offer-ticker-head strong {
  font-size: 1.02rem;
}
.home-offer-ticker-viewport {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.home-offer-ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: homeOfferTicker 30s linear infinite;
}
.home-offer-ticker:hover .home-offer-ticker-track {
  animation-play-state: paused;
}
.home-offer-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 310px;
  min-height: 50px;
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.home-offer-ticker-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 28px;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.09);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.home-offer-ticker-item strong {
  min-width: 0;
  color: var(--primary-strong);
  font-size: 0.9rem;
  white-space: nowrap;
}
.home-offer-ticker-item em {
  margin-left: auto;
  color: #d94b45;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
.home-offer-ticker-energy span {
  background: rgba(255, 212, 0, 0.28);
  color: #8a6500;
}
.home-offer-ticker-mobile span {
  background: rgba(11, 181, 244, 0.16);
  color: #075c91;
}
.home-offer-ticker-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
@keyframes homeOfferTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-offer-ticker-track {
    animation: none;
  }
}
.service-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 227, 74, 0.2), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  min-height: 34px;
  padding: 0.38rem 0.52rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.08);
  border: 1px solid rgba(19, 82, 209, 0.1);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-icon .ui-icon {
  width: 20px;
  height: 20px;
}
.content-hero .summary-box {
  align-content: center;
}
.content-hero {
  padding: 20px 22px;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
}
.content-hero .summary-box {
  padding: 12px 14px;
}
.content-hero .summary-box img {
  max-width: 96px;
}
.content-hero .summary-box h2 {
  font-size: 0.96rem;
}
.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 18px;
  align-items: center;
}
.contact-strip-copy {
  display: grid;
  gap: 8px;
  max-width: 68ch;
}
.contact-strip-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}
.grid-2, .stats-grid, .product-grid, .form-grid { display: grid; gap: 16px; }
.section-admin .grid-2,
.section-admin .stats-grid,
.section-admin .form-grid {
  gap: 12px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.stat-card, .cart-item, .order-row, .empty-box { border-radius: 22px; padding: 18px; }
.section-admin .stats-grid {
  margin-top: 14px;
}
.section-admin .stat-card,
.section-admin .order-row,
.section-admin .empty-box {
  border-radius: 18px;
  padding: 14px;
}
.muted { color: var(--muted); }
.flash { margin-top: 18px; padding: 14px 18px; border-radius: 18px; font-weight: 700; }
.flash-success { background: #eafaf0; color: var(--success); }
.flash-error { background: #ffeff1; color: var(--danger); }

.enrichment-progress-message,
.enrichment-row-error {
  border: 1px solid #a9c7f5;
  border-radius: 12px;
  background: #edf5ff;
  color: #173f78;
  padding: 10px 12px;
  font-weight: 700;
}

.enrichment-progress-message.is-success {
  border-color: #72c996;
  background: #e8f8ef;
  color: #11643a;
}

.enrichment-progress-message.is-warning {
  border-color: #e2ba4e;
  background: #fff7d9;
  color: #765400;
}

.enrichment-progress-message.is-error,
.enrichment-row-error {
  border-color: #e26b74;
  background: #ffebed;
  color: #9e1724;
}

.enrichment-row-error {
  margin-top: 8px;
  font-size: 0.88rem;
}

.enrichment-report-error {
  color: #b7192b;
  font-weight: 700;
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-message {
  border-color: #3d6fa9;
  background: #132a47;
  color: #cfe4ff;
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-message.is-success {
  border-color: #2f8d5c;
  background: #102f24;
  color: #92e1b6;
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-message.is-warning {
  border-color: #b38a24;
  background: #382e11;
  color: #ffe28a;
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-message.is-error,
html[data-admin-theme="dark"] .section-admin .enrichment-row-error {
  border-color: #b94d59;
  background: #3b171d;
  color: #ffadb5;
}

html[data-admin-theme="dark"] .section-admin .enrichment-report-error {
  color: #ff929d;
}
.product-grid, .order-list, .cart-list { margin-top: 18px; }
.section-admin .order-list {
  margin-top: 14px;
}
.admin-recent-orders {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.admin-compact-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.admin-recent-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.admin-recent-order-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.admin-recent-order-top,
.admin-recent-order-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.admin-recent-order-top strong {
  font-size: 0.94rem;
  color: var(--primary-strong);
}
.admin-recent-order-meta {
  font-size: 0.88rem;
}
.admin-recent-order-side {
  display: grid;
  gap: 6px;
  justify-items: end;
}
.admin-compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 10px 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  border-left: 4px solid rgba(19, 82, 209, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.admin-compact-row.has-selection {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.admin-supplier-row-check,
.admin-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
  font-weight: 800;
  line-height: 1.2;
}
.admin-supplier-row-check {
  align-self: start;
  padding: 8px 4px 0 0;
}
.admin-supplier-row-check input,
.admin-check-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.admin-batch-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}
.admin-supplier-batch-form {
  display: none;
}
.admin-compact-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-compact-top,
.admin-compact-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.admin-compact-top strong {
  font-size: 0.9rem;
  color: var(--primary-strong);
}
.admin-operational-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: rgba(19, 82, 209, 0.07);
  color: var(--primary-strong);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.admin-operational-badge.is-ready {
  background: linear-gradient(135deg, rgba(255, 227, 74, 0.9), rgba(255, 246, 190, 0.96));
  border-color: rgba(214, 165, 0, 0.28);
  color: #6b4300;
  box-shadow: 0 8px 18px rgba(214, 165, 0, 0.12);
}
.admin-operational-badge.is-pending {
  background: linear-gradient(135deg, #edf4ff, #f8fbff);
  border-color: rgba(19, 82, 209, 0.18);
  color: #17499c;
}
.admin-operational-badge.is-shipped {
  background: linear-gradient(135deg, #e8f6ff, #f6fbff);
  border-color: rgba(0, 121, 194, 0.18);
  color: #006397;
}
.admin-operational-badge.is-completed {
  background: linear-gradient(135deg, #ddf7e8, #f5fff8);
  border-color: rgba(16, 124, 65, 0.18);
  color: #0b6c38;
}
.admin-operational-badge.is-cancelled {
  background: linear-gradient(135deg, #ffe4e8, #fff6f7);
  border-color: rgba(190, 30, 45, 0.18);
  color: #a62030;
}
.admin-operational-badge.is-warning {
  background: linear-gradient(135deg, #fff0db, #fff9ef);
  border-color: rgba(217, 117, 0, 0.22);
  color: #a35400;
}
.admin-operational-badge + .admin-order-items-count + .muted {
  display: none;
}
.admin-compact-meta {
  font-size: 0.82rem;
}
.admin-compact-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-width: 720px;
}
.admin-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}
.admin-order-actions-primary,
.admin-order-actions-secondary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}
.admin-order-actions form {
  margin: 0;
}
.admin-order-actions .button,
.admin-order-actions button,
.admin-order-actions summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.48rem 0.68rem;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
}
.admin-order-actions-primary .button {
  min-width: 78px;
  justify-content: center;
  text-align: center;
}
.admin-order-actions-secondary .button,
.admin-order-actions-secondary button {
  max-width: 100%;
}
.admin-order-detail .panel-title {
  align-items: flex-start;
}
.admin-order-detail .panel-title .toolbar {
  justify-content: flex-end;
  gap: 6px;
}
.admin-order-detail .panel-title .button {
  min-height: 32px;
  padding: 0.48rem 0.68rem;
  font-size: 0.78rem;
}
.admin-order-priority-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 1fr) minmax(260px, 1.1fr);
  gap: 12px;
  align-items: stretch;
}
.admin-order-priority-grid .summary-box {
  padding: 12px 14px;
}
.admin-order-status-card,
.admin-order-contact-card,
.admin-order-quick-card {
  display: grid;
  gap: 8px;
  align-content: start;
}
.admin-order-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-order-status-head .price {
  font-size: 1.08rem;
  white-space: nowrap;
}
.admin-order-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-order-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.admin-order-facts .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--primary-strong);
}
.admin-order-contact-card h2,
.admin-order-quick-card h2 {
  margin: 0 0 2px;
}
.admin-order-contact-card p {
  margin: 0;
  line-height: 1.35;
}
.admin-order-quick-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-order-quick-actions form {
  margin: 0;
}
.admin-order-quick-actions .button,
.admin-order-quick-actions button,
.admin-order-quick-actions summary {
  min-height: 32px;
  padding: 0.48rem 0.66rem;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
}
.admin-order-shipping-form {
  margin-top: 8px;
  width: min(360px, 100%);
}
.admin-order-cancel-form {
  margin-top: 8px;
  width: min(420px, 100%);
}
.admin-order-cancel-form textarea,
.admin-modal textarea {
  min-height: 92px;
}
.admin-order-manual-panel {
  margin-top: 12px;
}
.admin-order-manual-panel summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.admin-order-manual-panel summary strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.admin-order-manual-panel form {
  margin-top: 12px;
}
.admin-order-secondary-box {
  margin-top: 12px;
}
.admin-modal {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
}
.admin-modal::backdrop {
  background: rgba(10, 24, 52, 0.38);
  backdrop-filter: blur(4px);
}
.admin-modal-card {
  padding: 18px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 26px 70px rgba(10, 34, 88, 0.24);
}
.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.admin-modal-head h2 {
  margin-top: 4px;
}
.admin-modal-close {
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  font-size: 1.35rem;
}
.admin-modal-note {
  padding: 12px 14px;
  border: 1px solid rgba(255, 190, 72, 0.34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 202, 0.92), rgba(239, 247, 255, 0.95));
  color: #34506f;
  font-size: 0.9rem;
  line-height: 1.45;
}
.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 900px) {
  .admin-compact-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .admin-compact-row.has-selection {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .admin-compact-side {
    display: grid;
    justify-items: stretch;
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
  }
  .admin-order-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .admin-order-actions-primary,
  .admin-order-actions-secondary {
    justify-content: flex-start;
  }
  .admin-order-actions-primary .button {
    flex: 1 1 120px;
  }
}
.section-admin .admin-compact-row .price {
  font-size: 1rem;
}
.section-admin .admin-compact-row .toolbar {
  gap: 6px;
}
.section-admin .admin-recent-order .price {
  font-size: 1rem;
}
.section-admin .admin-recent-order .toolbar {
  gap: 6px;
}
.catalog-section-break {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px dashed rgba(14, 47, 92, 0.18);
  border-radius: 16px;
  background: rgba(255, 250, 232, 0.88);
  color: #3c4e69;
  box-shadow: var(--shadow-soft);
}
.product-card {
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid rgba(19, 82, 209, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card-clickable {
  cursor: pointer;
}
.product-card-clickable:focus-visible {
  outline: 3px solid rgba(19, 82, 209, 0.22);
  outline-offset: 3px;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 44px rgba(10, 34, 88, 0.14),
    0 10px 18px rgba(217, 75, 69, 0.12);
  border-color: rgba(217, 75, 69, 0.2);
}
.product-image {
  min-height: 212px;
  max-height: 212px;
  padding: 14px;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 75, 69, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(255, 227, 74, 0.28), transparent 38%),
    linear-gradient(135deg, #eef7ff, #fffdf1);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  overflow: hidden;
  border-bottom: 1px solid rgba(19, 82, 209, 0.06);
}
.product-card-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}
.product-image img {
  width: 100%;
  height: 184px;
  object-fit: contain;
  object-position: center;
}
.product-card-body h3,
.product-card-body p {
  margin: 0;
}
.product-card-body h3 {
  font-size: 0.98rem;
  line-height: 1.24;
  color: #123b95;
  transition: color 0.18s ease;
}
.product-card-body p {
  font-size: 0.8rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-card-body h3 {
  color: #0d2f78;
}
.product-card-body .price {
  margin-top: auto;
}
.product-card-body .availability-line {
  min-height: 26px;
  display: flex;
  align-items: center;
}
.product-card-body .inline-actions {
  margin-top: 6px;
  align-items: center;
}
.product-card .inline-actions .button,
.product-card .inline-actions button {
  padding: 0.48rem 0.72rem;
  font-size: 0.78rem;
  line-height: 1.1;
}
.catalog-product-grid {
  gap: 14px;
}
@media (min-width: 1181px) and (max-width: 1399px) {
  .catalog-browser {
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 14px;
  }
  .catalog-content {
    gap: 12px;
  }
  .catalog-results-panel,
  .catalog-intro-panel {
    padding: 12px;
  }
  .catalog-sidebar-heading {
    padding: 8px 10px;
    margin-bottom: 8px;
  }
  .catalog-sidebar-heading h2 {
    font-size: 0.8rem;
  }
  .category-tree {
    gap: 6px;
  }
  .category-group {
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
  }
  .category-root-link {
    padding: 0.6rem 0.74rem;
    font-size: 0.86rem;
    gap: 8px;
  }
  .category-children {
    gap: 6px;
    padding-left: 8px;
  }
  .category-child-link {
    padding: 0.58rem 0.74rem;
    font-size: 0.84rem;
  }
  .category-count {
    min-width: 30px;
    padding: 0.2rem 0.42rem;
    font-size: 0.72rem;
  }
  .catalog-browser .product-grid,
  .catalog-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .catalog-browser .product-card-body {
    padding: 12px;
  }
  .catalog-browser .product-card-title {
    font-size: 0.95rem;
  }
  .catalog-browser .product-image {
    min-height: 200px;
    max-height: 200px;
    padding: 12px;
  }
  .catalog-browser .product-image img {
    height: 174px;
  }
}
.product-card:hover .inline-actions .button-secondary {
  border-color: rgba(217, 75, 69, 0.22);
  color: #b9413a;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 239, 0.92));
}
.product-card:hover .product-image {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 75, 69, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(255, 227, 74, 0.32), transparent 38%),
    linear-gradient(135deg, #edf6ff, #fffaf4);
}
.product-card-body form {
  margin: 0;
}
.availability-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.availability-stack {
  display: grid;
  gap: 6px;
  margin: 4px 0 2px;
}
.availability-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.availability-in {
  background: linear-gradient(135deg, #dff8ea, #f6fff9);
  color: #14683c;
}
.availability-low {
  background: linear-gradient(135deg, #fff2cf, #fff9eb);
  color: #9a5b00;
}
.availability-out,
.availability-offfeed {
  background: linear-gradient(135deg, #ffe2e6, #fff5f7);
  color: #a23548;
}
.availability-unknown {
  background: linear-gradient(135deg, #edf4ff, #f8fbff);
  color: #285f9e;
}
.availability-digital {
  background: linear-gradient(135deg, #efe9ff, #faf7ff);
  color: #5d3fb3;
}
.pill {
  display: inline-flex; width: fit-content; padding: 0.32rem 0.58rem; border-radius: 999px;
  background: rgba(19, 82, 209, 0.06);
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 800;
  border: 1px solid rgba(19, 82, 209, 0.04);
}
.section-admin .pill {
  padding: 0.32rem 0.62rem;
  font-size: 0.69rem;
}
.price { font-size: 1.22rem; font-weight: 800; color: var(--primary-strong); letter-spacing: -0.02em; }
.product-card .price {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.product-card:hover .price {
  color: #0c368f;
}
.offers-hero {
  background: linear-gradient(135deg, #0c377d 0%, #0f4ebd 55%, #113178 100%);
}
.offer-section-grid,
.offer-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.offer-section-card,
.offer-plan-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.offer-section-card:hover,
.offer-plan-card:hover,
.offer-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(10, 34, 88, 0.12);
}
.icon-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.icon-heading .ui-icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--primary);
}
.offer-section-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.offer-section-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  background: linear-gradient(135deg, rgba(255, 227, 74, 0.92), rgba(255, 246, 180, 0.92));
  border: 1px solid rgba(19, 82, 209, 0.1);
  box-shadow: 0 12px 22px rgba(10, 34, 88, 0.08);
}
.offer-section-card-icon .ui-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.35;
}
.offer-section-card-icon-fisso {
  background: linear-gradient(135deg, rgba(215, 235, 255, 0.95), rgba(246, 251, 255, 0.95));
  color: #086aa2;
}
.offer-section-card-icon-mobile {
  background: linear-gradient(135deg, rgba(221, 248, 239, 0.95), rgba(247, 255, 252, 0.95));
  color: #0b806d;
}
.offer-section-card h3,
.offer-section-card p,
.offer-plan-card h3,
.offer-plan-card p {
  margin: 0;
}
.offer-section-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
}
.offer-section-meta strong {
  font-size: 1.22rem;
  color: var(--primary-strong);
}
.offer-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.panel-title {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px;
}
.section-admin .panel-title {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.09);
}
.section-admin .panel-title h1 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}
.section-admin .panel-title h2 {
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
}
.panel-title > div {
  display: grid;
  gap: 6px;
}
.section-admin .panel-title > div {
  gap: 4px;
}
.panel-title-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.panel-title p.muted,
.desktop-catalog-toolbar p.muted,
.catalog-sidebar-title p.muted,
.summary-box p.muted {
  font-size: 0.93rem;
}
.table-wrap {
  overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--surface);
}
.admin-products-table {
  width: 100%;
  table-layout: fixed;
}
.admin-products-table th:nth-child(1) { width: 30%; }
.admin-products-table th:nth-child(2) { width: 10%; }
.admin-products-table th:nth-child(3) { width: 9%; }
.admin-products-table th:nth-child(4) { width: 9%; }
.admin-products-table th:nth-child(5) { width: 7%; }
.admin-products-table th:nth-child(6) { width: 12%; }
.admin-products-table th:nth-child(7) { width: 11%; }
.admin-products-table th:nth-child(8) { width: 12%; }
.admin-products-table td:nth-child(2),
.admin-products-table td:nth-child(3),
.admin-products-table td:nth-child(4),
.admin-products-table td:nth-child(5) {
  white-space: nowrap;
}
.admin-products-table td:nth-child(2),
.admin-products-table td:nth-child(3),
.admin-products-table td:nth-child(4),
.admin-products-table td:nth-child(5),
.admin-products-table td:nth-child(6),
.admin-products-table td:nth-child(7),
.admin-products-table td:nth-child(8) {
  vertical-align: top;
}
.admin-products-table td:nth-child(6) .admin-content-meta,
.admin-products-table td:nth-child(7) .admin-content-meta {
  gap: 6px;
}

.products-list-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}
.section-admin .products-list-panel {
  overflow: visible;
}
.products-list-actionbar {
  display: flex;
  justify-content: flex-start;
  margin: 12px 0 10px;
}
.section-admin .products-list-actionbar .admin-new-product-button {
  background: linear-gradient(135deg, var(--highlight), #fff7b8);
  color: #132345;
  border: 1px solid rgba(217, 75, 69, 0.32);
  box-shadow: 0 8px 16px rgba(10, 34, 88, 0.1);
}
.section-admin .products-list-actionbar .admin-new-product-button .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-red);
}
.section-admin .products-list-actionbar .admin-new-product-button:hover {
  background: linear-gradient(135deg, #fff06a, #fffdf0);
  border-color: rgba(217, 75, 69, 0.45);
}
.section-admin .products-list-actionbar .admin-new-product-button.active-subcategory {
  box-shadow: 0 9px 18px rgba(10, 34, 88, 0.13), inset 0 -3px 0 rgba(217, 75, 69, 0.95);
}
.admin-filter-panel {
  margin: 12px 0 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(239, 245, 252, 0.96));
  border: 1px solid rgba(19, 82, 209, 0.14);
}
.admin-filter-panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-filter-panel summary::-webkit-details-marker {
  display: none;
}
.admin-filter-panel summary strong {
  color: var(--primary-strong);
  font-size: 0.92rem;
}
.admin-filter-panel summary .muted {
  flex: 1 1 auto;
  font-size: 0.82rem;
}
.admin-filter-panel summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  font-weight: 900;
  font-size: 1rem;
}
.admin-filter-panel[open] summary::after {
  content: '-';
}
.admin-filter-panel-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.admin-filter-panel-body .form-grid {
  margin-bottom: 0 !important;
}
.admin-filter-panel-body .info-strip {
  margin-bottom: 0 !important;
}
.admin-checkbox-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: var(--control-height);
}
.admin-filter-panel .admin-check-label {
  padding: 8px 10px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.products-list-head .mini-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.products-list-head .mini-actions .button {
  flex: 0 0 auto;
  width: auto;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
}

.table-wrap td.toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
}
.table-wrap td.toolbar form {
  margin: 0;
}
.admin-products-table td.toolbar > .button,
.admin-products-table td.toolbar > .button-danger,
.admin-products-table td.toolbar > details,
.admin-products-table td.toolbar > form {
  width: 100%;
}
.admin-products-table td.toolbar .button,
.admin-products-table td.toolbar .button-danger,
.admin-products-table td.toolbar button {
  justify-content: center;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
}
.admin-products-table .admin-row-details summary {
  width: 100%;
  text-align: center;
}

@media (min-width: 981px) {
  .admin-products-table td.toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  .admin-products-table td.toolbar > .button,
  .admin-products-table td.toolbar > .button-danger,
  .admin-products-table td.toolbar > details,
  .admin-products-table td.toolbar > form {
    width: auto;
    flex: 0 0 auto;
  }

  .admin-products-table td.toolbar .button,
  .admin-products-table td.toolbar .button-danger,
  .admin-products-table td.toolbar button {
    width: auto;
    min-height: 34px;
    padding: 0.42rem 0.66rem;
    font-size: 0.76rem;
  }

  .admin-products-table .admin-row-details summary {
    width: auto;
  }
}
.admin-products-table .admin-product-main > span {
  font-size: 0.98rem;
  line-height: 1.35;
}
.admin-products-table .admin-product-subline {
  gap: 6px;
  font-size: 0.8rem;
}
.admin-products-table .table-toggle {
  font-size: 0.9rem;
}
.table-wrap td.toolbar .button,
.table-wrap td.toolbar .button-danger,
.table-wrap td.toolbar button {
  white-space: nowrap;
}
.admin-product-cell span {
  display: inline-block;
}
.admin-product-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.admin-product-main > span {
  overflow-wrap: anywhere;
}
.admin-product-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}
.admin-row-details {
  display: block;
  position: relative;
}
.admin-row-details[open] {
  z-index: 30;
}
.admin-row-details summary {
  list-style: none;
}
.admin-row-details summary::-webkit-details-marker {
  display: none;
}
.admin-row-details-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(19, 82, 209, 0.04);
  border: 1px solid rgba(19, 82, 209, 0.1);
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-detail-grid strong {
  display: block;
  margin-bottom: 6px;
}
@media (min-width: 981px) {
  .admin-products-table-wrap {
    overflow: visible;
  }
  .admin-products-table td.toolbar {
    position: relative;
    overflow: visible;
  }
  .admin-products-table .admin-row-details-card {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: min(520px, calc(100vw - 48px));
    margin-top: 0;
    padding: 11px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 36px rgba(10, 34, 88, 0.18);
  }
  .admin-products-table .admin-detail-grid {
    gap: 10px;
  }
  .admin-products-table .admin-detail-grid strong {
    margin-bottom: 4px;
    font-size: 0.76rem;
    line-height: 1.2;
  }
  .admin-products-table .admin-row-details-card .muted,
  .admin-products-table .admin-row-details-card .table-toggle,
  .admin-products-table .admin-row-details-card .admin-content-meta {
    font-size: 0.74rem;
    line-height: 1.28;
  }
  .admin-products-table .admin-row-details-card .pill,
  .admin-products-table .admin-row-details-card .mini-status {
    font-size: 0.64rem;
  }
  .admin-products-table .admin-row-details-card .toolbar {
    gap: 5px;
  }
  .admin-products-table .admin-row-details-card .button,
  .admin-products-table .admin-row-details-card button {
    min-height: 30px;
    padding: 0.34rem 0.52rem;
    font-size: 0.7rem;
  }
  .admin-products-table .admin-row-details-card input,
  .admin-products-table .admin-row-details-card select {
    min-height: 30px;
    padding: 0.34rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }
}
@media (max-width: 860px) {
  .section-admin .table-wrap {
    overflow: visible;
  }
  .section-admin .admin-responsive-table,
  .section-admin .admin-responsive-table thead,
  .section-admin .admin-responsive-table tbody,
  .section-admin .admin-responsive-table tr,
  .section-admin .admin-responsive-table th,
  .section-admin .admin-responsive-table td {
    display: block;
    width: 100%;
  }
  .section-admin .admin-responsive-table {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
  }
  .section-admin .admin-responsive-table thead {
    display: none;
  }
  .section-admin .admin-responsive-table tbody {
    display: grid;
    gap: 14px;
  }
  .section-admin .admin-responsive-table tr {
    border: 1px solid rgba(37, 89, 212, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 26px rgba(26, 56, 118, 0.08);
    overflow: hidden;
  }
  .section-admin .admin-responsive-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(37, 89, 212, 0.1);
    background: transparent;
    white-space: normal !important;
  }
  .section-admin .admin-responsive-table td:last-child {
    border-bottom: 0;
  }
  .section-admin .admin-responsive-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--primary-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .section-admin .admin-responsive-table td.toolbar {
    align-items: stretch;
    gap: 10px;
  }
  .section-admin .admin-responsive-table td.toolbar form,
  .section-admin .admin-responsive-table td.toolbar > .button,
  .section-admin .admin-responsive-table td.toolbar > .button-danger,
  .section-admin .admin-responsive-table td.toolbar > details {
    width: 100%;
  }
  .section-admin .admin-responsive-table td.toolbar .button,
  .section-admin .admin-responsive-table td.toolbar .button-danger,
  .section-admin .admin-responsive-table td.toolbar button {
    width: 100%;
    justify-content: center;
  }
  .section-admin .admin-responsive-table .toolbar {
    width: 100%;
    flex-wrap: wrap;
  }
  .section-admin .admin-responsive-table .form-grid,
  .section-admin .admin-responsive-table .grid-2,
  .section-admin .admin-responsive-table .admin-detail-grid {
    grid-template-columns: 1fr;
  }
  .section-admin .admin-responsive-table .admin-row-details-card {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .section-admin .admin-responsive-table .admin-product-cell {
    align-items: flex-start;
  }
  .section-admin .admin-responsive-table .admin-content-meta {
    gap: 6px 8px;
  }
  .section-admin .admin-responsive-table .admin-row-details summary {
    width: 100%;
  }
  .section-admin .table-wrap:not(:has(.admin-responsive-table)) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
  }
}
.cart-item + .cart-item, .order-row + .order-row { margin-top: 12px; }
.summary-box { padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #fef8d6, #edf7ff); border: 1px solid rgba(255, 227, 74, 0.18); }
.section-admin .summary-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(19, 82, 209, 0.11);
  box-shadow: 0 10px 24px rgba(10, 34, 88, 0.06);
}
.summary-box h2 {
  font-size: 0.98rem;
}
.summary-box p + p {
  margin-top: 4px;
}
.sticky-summary-box {
  position: sticky;
  top: 92px;
  align-self: start;
}
.cart-summary-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffbea, #f4fbff);
}
.cart-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}
.cart-summary-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 600;
}
.cart-summary-head .ui-icon {
  width: 15px;
  height: 15px;
}
.cart-summary-head strong {
  color: var(--primary-strong);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.cart-summary-lines {
  display: grid;
  gap: 0;
  margin: 0;
}
.cart-summary-lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(19, 82, 209, 0.07);
}
.cart-summary-lines div:last-child {
  border-bottom: 0;
}
.cart-summary-lines dt,
.cart-summary-lines dd {
  margin: 0;
}
.cart-summary-lines dt {
  color: var(--muted);
  font-size: 0.8rem;
}
.cart-summary-lines dd {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: right;
}
.cart-summary-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(16, 124, 65, 0.08);
  color: #0b6c38;
  font-size: 0.78rem;
  line-height: 1.25;
}
.cart-summary-note .ui-icon {
  width: 15px;
  height: 15px;
}
.cart-summary-checkout {
  width: 100%;
  min-height: 38px;
  padding: 0.56rem 0.82rem;
  font-size: 0.82rem;
}
.cart-summary-checkout .ui-icon {
  width: 16px;
  height: 16px;
}
.cart-trust-compact {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 11px;
  border-radius: 16px;
}
.cart-trust-compact h3 {
  margin: 0;
  font-size: 0.88rem;
}
.cart-payment-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.cart-payment-badges .trust-logo-badge {
  min-width: 0;
  min-height: 34px;
  padding: 0.24rem 0.32rem;
  border-radius: 10px;
  box-shadow: none;
}
.cart-payment-badges .trust-logo-badge img,
.cart-payment-badges .trust-logo-badge-paypal img,
.cart-payment-badges .trust-logo-badge-bank img {
  height: 18px;
}
.cart-payment-badges .trust-logo-badge-mastercard img,
.cart-payment-badges .trust-logo-badge-visa img {
  height: 15px;
}
.cart-trust-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(37, 89, 212, 0.1);
}
.cart-trust-notes span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
}
.cart-trust-notes .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}
.summary-note-box {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 82, 209, 0.1);
}
.summary-note-box strong {
  color: var(--primary-strong);
  font-size: 0.92rem;
}
.summary-note-box span {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}
.order-roadmap,
.cart-roadmap-section {
  margin: 0 0 18px;
  padding: 13px 14px 15px;
  border-radius: 22px;
  border: 1px solid rgba(19, 82, 209, 0.14);
  background:
    linear-gradient(135deg, rgba(19, 82, 209, 0.08), rgba(255, 227, 74, 0.18)),
    #f8fbff;
}
.order-roadmap {
  padding: 13px 14px 16px;
}
.cart-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-section-kicker .ui-icon {
  width: 16px;
  height: 16px;
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.journey-steps-roadmap {
  position: relative;
  gap: 10px;
  margin: 10px 0 0;
}
.journey-steps-roadmap::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(19, 82, 209, 0.16));
}
.journey-step {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.journey-step strong {
  color: var(--primary-strong);
  font-size: 0.95rem;
}
.journey-step span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.journey-step.is-current {
  background: linear-gradient(135deg, #fff7c8 0%, #ffffff 100%);
  border-color: rgba(255, 212, 0, 0.35);
}
.journey-step.is-done {
  background: linear-gradient(135deg, #e8f8ef 0%, #f8fffb 100%);
  border-color: rgba(16, 124, 65, 0.18);
}
.journey-steps-roadmap .journey-step {
  position: relative;
  z-index: 1;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.journey-steps-roadmap .journey-step strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.38rem 0.86rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(19, 82, 209, 0.16);
  box-shadow: 0 8px 18px rgba(10, 34, 88, 0.08);
  font-size: 0.88rem;
}
.journey-steps-roadmap .journey-step strong span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.1);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
}
.journey-steps-roadmap .journey-step small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.journey-steps-roadmap .journey-step.is-current strong {
  background: linear-gradient(135deg, var(--highlight), #fff7bc);
  border-color: rgba(214, 165, 0, 0.3);
}
.journey-steps-roadmap .journey-step.is-current strong span {
  background: var(--primary-strong);
  color: #fff;
}
.cart-detail-section {
  padding: 15px;
  border-radius: 24px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.cart-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}
.cart-section-head h2 {
  margin-top: 4px;
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
}
.cart-detail-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}
.cart-detail-grid {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.cart-item .panel-title {
  align-items: flex-start;
  gap: 12px;
}
.cart-product-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cart-product-thumb {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 34, 88, 0.07);
}
.cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.cart-product-thumb .ui-icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
}
.cart-product-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.cart-product-copy h3 {
  font-size: clamp(0.96rem, 1vw, 1.1rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.cart-product-copy .muted {
  font-size: 0.8rem;
  line-height: 1.35;
}
.cart-product-copy .pill {
  justify-self: start;
  padding: 0.28rem 0.56rem;
  font-size: 0.68rem;
}
.cart-detail-section .cart-list {
  display: grid;
  gap: 8px;
  margin-top: 0;
}
.cart-detail-section .cart-item {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 88px minmax(210px, 0.72fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: none;
  background: #fff;
}
.cart-detail-section .cart-item + .cart-item {
  margin-top: 0;
}
.cart-detail-section .cart-item > .panel-title,
.cart-detail-section .cart-item > .grid-2 {
  display: contents;
}
.cart-detail-section .cart-product-head {
  order: 1;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}
.cart-detail-section .cart-product-thumb {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  box-shadow: none;
}
.cart-detail-section .cart-product-thumb img {
  padding: 5px;
}
.cart-detail-section .cart-product-copy h3 {
  font-size: 0.9rem;
  line-height: 1.22;
  font-weight: 600;
}
.cart-detail-section .cart-product-copy .muted {
  font-size: 0.74rem;
}
.cart-detail-section .cart-product-copy .pill {
  padding: 0.22rem 0.46rem;
  font-size: 0.62rem;
}
.cart-detail-section .cart-item label {
  order: 2;
  display: grid;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
}
.cart-detail-section .cart-item input[type="number"] {
  width: 70px;
  min-height: 38px;
  padding: 0.48rem 0.52rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.88rem;
}
.cart-detail-section .cart-item > .grid-2 > div {
  order: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: end;
}
.cart-detail-section .cart-item > .grid-2 > div .muted {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.2;
}
.cart-detail-section .cart-item > .grid-2 > div strong,
.cart-detail-section .cart-item > .grid-2 > div .price {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}
.cart-detail-section .cart-item > .grid-2 > div .price {
  margin: 0;
}
.cart-detail-section .cart-item .button-danger {
  order: 4;
  min-height: 36px;
  padding: 0.52rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.cart-detail-section .cart-primary-actions {
  margin-top: 12px !important;
}
.cart-detail-section .cart-primary-actions .button,
.cart-detail-section .cart-primary-actions button {
  min-height: 38px;
  padding: 0.56rem 0.82rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.cart-detail-section .cart-primary-actions .ui-icon {
  width: 16px;
  height: 16px;
}
.info-strip {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.08), rgba(255, 227, 74, 0.18) 72%, rgba(217, 75, 69, 0.1) 100%);
  border: 1px solid rgba(19, 82, 209, 0.12);
}
.section-admin .info-strip {
  border-left: 4px solid rgba(217, 75, 69, 0.75);
  background: linear-gradient(90deg, rgba(19, 82, 209, 0.08), rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 100%);
}
.info-strip strong {
  color: var(--primary-strong);
  font-size: 0.96rem;
}
.info-strip span {
  color: #3f5877;
  font-size: 0.92rem;
  line-height: 1.52;
}
.order-confirmation-shell {
  display: grid;
  gap: 18px;
}
.order-payment-success-hero {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(16, 124, 65, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 227, 74, 0.32), transparent 26%),
    linear-gradient(135deg, rgba(232, 250, 239, 0.98), rgba(239, 248, 255, 0.95));
  box-shadow: 0 22px 48px rgba(16, 124, 65, 0.14);
}
.order-payment-success-hero h1 {
  margin: 0;
  color: #08703a;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
}
.order-payment-success-hero p {
  max-width: 68ch;
  color: #315070;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.order-payment-success-hero .inline-actions {
  margin-top: 6px;
}
.order-confirmation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}
.order-confirmation-hero-summary-only {
  grid-template-columns: minmax(0, 480px);
  justify-content: start;
}
.order-confirmation-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}
.order-confirmation-copy h1 {
  margin: 0;
  font-size: clamp(1.95rem, 2.65vw, 2.55rem);
  line-height: 1.04;
}
.order-confirmation-copy > .muted {
  margin: 0;
  max-width: 58ch;
  line-height: 1.65;
  font-size: 0.98rem;
}
.order-total-box {
  height: 100%;
  display: grid;
  align-content: center;
  gap: 8px;
}
.order-total-box h2,
.order-total-box p {
  margin: 0;
}
.order-status-banner {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: rgba(19, 82, 209, 0.05);
  box-shadow: var(--shadow-soft);
}
.order-status-banner strong {
  font-size: 1rem;
}
.order-status-banner span {
  color: var(--muted);
  font-size: 0.95rem;
}
.order-status-banner.is-paid {
  background: linear-gradient(135deg, rgba(16, 124, 65, 0.12), rgba(237, 247, 255, 0.85));
  border-color: rgba(16, 124, 65, 0.18);
}
.order-status-banner.is-failed {
  background: linear-gradient(135deg, rgba(190, 30, 45, 0.12), rgba(255, 242, 245, 0.92));
  border-color: rgba(190, 30, 45, 0.2);
}
.order-confirmation-grid {
  align-items: stretch;
}
.order-confirmation-grid .summary-box h2,
.order-confirmation-sections .summary-box h2,
.order-payment-box h2 {
  margin-top: 0;
}
.order-inline-notice {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: rgba(19, 82, 209, 0.06);
}
.order-inline-notice strong {
  font-size: 1rem;
}
.order-inline-notice span {
  color: var(--muted);
}
.order-inline-notice.is-warning {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 248, 214, 0.9));
  border-color: rgba(255, 196, 0, 0.32);
}
.order-inline-notice.is-error {
  background: linear-gradient(135deg, rgba(190, 30, 45, 0.12), rgba(255, 242, 245, 0.92));
  border-color: rgba(190, 30, 45, 0.24);
}
.order-confirmation-sections {
  display: grid;
  gap: 18px;
}
.order-payment-box {
  display: grid;
  gap: 10px;
}
.order-paypal-feedback {
  margin-bottom: 0.75rem;
}
.promo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7c6 0%, #ffffff 40%, #e3f8ff 100%);
  box-shadow: 0 12px 32px rgba(26, 72, 135, 0.1);
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.promo-strip h2 {
  margin: 0;
  font-size: clamp(1.18rem, 1.75vw, 1.58rem);
}
.promo-points {
  display: grid;
  gap: 12px;
}
.promo-points p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(20, 82, 209, 0.06);
  border: 1px solid rgba(20, 82, 209, 0.12);
  color: var(--primary-strong);
  font-weight: 700;
}
.promo-points .ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.offer-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.offer-teaser {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(13, 38, 88, 0.08);
  border: 1px solid rgba(19, 82, 209, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.offer-teaser::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.24;
}
.offer-energy {
  background: linear-gradient(180deg, #ffffff 0%, #fff8cf 100%);
}
.offer-energy::before { background: #ffd400; }
.offer-fixed {
  background: linear-gradient(180deg, #ffffff 0%, #e4f3ff 100%);
}
.offer-fixed::before { background: #0bb5f4; }
.offer-mobile {
  background: linear-gradient(180deg, #f8fbff 0%, #dde8ff 100%);
}
.offer-mobile::before { background: var(--primary); }
.offer-teaser h3,
.offer-teaser p,
.offer-teaser a {
  position: relative;
  z-index: 1;
}
.offer-teaser h3 {
  margin: 0;
  line-height: 1.12;
  font-size: 1.08rem;
}
.offer-teaser p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.91rem;
}
.offer-teaser a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 12px;
  font-weight: 800;
  color: var(--primary);
}
.offer-teaser a .ui-icon {
  width: 17px;
  height: 17px;
}
.how-it-works,
.offers-section {
  padding: 20px;
  border-radius: 28px;
}
.how-it-works {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 244, 255, 0.85));
  box-shadow: 0 16px 36px rgba(24, 58, 117, 0.08);
}
.offers-section {
  background: linear-gradient(180deg, #102450 0%, #0a1735 100%);
  box-shadow: 0 24px 52px rgba(6, 16, 38, 0.25);
}
.offers-home-rebalanced {
  gap: 12px;
}
.offers-home-rebalanced > .offers-roadmap-top {
  order: 1;
}
.offers-home-rebalanced > .offers-hero-panel {
  order: 2;
}
.offers-home-rebalanced > .offers-section {
  order: 3;
}
.offers-home-rebalanced > .offers-compact-steps {
  order: 4;
}
.offers-home-rebalanced > .offers-section > .section-heading {
  display: none;
}
.offers-hero-panel {
  padding: 20px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 0, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(244, 248, 255, 0.98), rgba(255, 253, 240, 0.96));
  border: 1px solid rgba(91, 124, 176, 0.22);
  box-shadow: 0 18px 38px rgba(24, 58, 117, 0.1);
}
.offers-hero-panel::after {
  width: 220px;
  height: 220px;
  right: -96px;
  bottom: -112px;
  background: radial-gradient(circle, rgba(19, 82, 209, 0.1), rgba(19, 82, 209, 0));
}
.offers-hero-panel .hero-actions .button {
  height: var(--control-height);
  min-height: var(--control-height);
  padding: 0 var(--control-pad-x);
  font-size: var(--control-font);
  line-height: 1;
}
.offers-hero-panel .hero-actions .button-secondary {
  background: linear-gradient(135deg, #fff2a8, #ffe35b);
  color: var(--primary-strong);
  border-color: rgba(255, 212, 0, 0.74);
  box-shadow: 0 12px 24px rgba(5, 15, 42, 0.16);
}
.offers-hero-panel .hero-actions .button-secondary:hover,
.offers-hero-panel .hero-actions .button-secondary:focus-visible {
  background: linear-gradient(135deg, #ffe35b, #ffd400);
  box-shadow: 0 16px 30px rgba(5, 15, 42, 0.22);
}
.offers-home-rebalanced .offers-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 16px;
  align-items: stretch;
}
.offers-home-rebalanced .offers-hero-copy {
  align-content: center;
  gap: 9px;
}
.offers-home-rebalanced .offers-hero-copy h1 {
  max-width: 21ch;
  color: var(--primary-strong);
  font-size: clamp(1.75rem, 2.35vw, 2.35rem);
}
.offers-home-rebalanced .offers-hero-copy .hero-text {
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}
.offers-category-label {
  margin: 4px 0 0;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.offers-home-rebalanced .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.offers-home-rebalanced .hero-metrics button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 8px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: calc(var(--control-height) + 26px);
  padding: 0.62rem 0.86rem;
  border-radius: 14px;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(91, 124, 176, 0.24);
  box-shadow: 0 8px 20px rgba(24, 58, 117, 0.08);
  font-size: var(--control-font);
}
.offers-home-rebalanced .hero-metrics button:hover,
.offers-home-rebalanced .hero-metrics button:focus-visible,
.offers-home-rebalanced .hero-metrics button.is-selected {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(19, 82, 209, 0.5);
  box-shadow: 0 12px 24px rgba(24, 58, 117, 0.14);
}
.offers-home-rebalanced .hero-metrics button.is-selected {
  border-color: rgba(19, 82, 209, 0.62);
  box-shadow: 0 12px 24px rgba(24, 58, 117, 0.14), 0 3px 0 rgba(190, 30, 45, 0.88);
}
.offers-home-rebalanced .hero-metrics button .ui-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 11px;
  color: var(--primary);
  background: rgba(19, 82, 209, 0.09);
}
.offers-home-rebalanced .hero-metrics button:nth-child(1) .ui-icon {
  color: #8b6500;
  background: rgba(255, 212, 0, 0.25);
}
.offers-home-rebalanced .hero-metrics button:nth-child(2) .ui-icon {
  color: #087ca8;
  background: rgba(11, 181, 244, 0.14);
}
.offers-home-rebalanced .hero-metrics button:nth-child(3) .ui-icon {
  color: #08745f;
  background: rgba(36, 188, 139, 0.13);
}
.offers-home-rebalanced .hero-metrics button strong {
  font-size: 0.86rem;
  line-height: 1.08;
}
.offers-home-rebalanced .hero-metrics button span:not(.ui-icon) {
  font-size: 0.78rem;
  line-height: 1.2;
  opacity: 0.94;
}
.offers-home-rebalanced .hero-metrics button strong,
.offers-home-rebalanced .hero-metrics button span {
  color: var(--primary-strong);
}
.offers-hero-help {
  margin-top: 2px;
}
.offers-choice-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
}
.offers-choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 28px rgba(5, 15, 42, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.offers-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 0, 0.85);
  box-shadow: 0 20px 34px rgba(5, 15, 42, 0.24);
}
.offers-choice-card span {
  grid-row: span 2;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(19, 82, 209, 0.1);
  color: var(--primary);
}
.offers-choice-card .ui-icon {
  width: 22px;
  height: 22px;
}
.offers-choice-card strong {
  color: var(--primary-strong);
  font-size: 1rem;
  line-height: 1.1;
}
.offers-choice-card small {
  color: var(--muted);
  line-height: 1.25;
}
.offers-choice-energy span {
  background: rgba(255, 212, 0, 0.26);
  color: #9a6a00;
}
.offers-choice-fixed span {
  background: rgba(11, 181, 244, 0.15);
  color: #087ca8;
}
.offers-choice-mobile span {
  background: rgba(19, 82, 209, 0.12);
  color: var(--primary);
}
.offers-service-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border-radius: 24px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(230, 239, 255, 0.78), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(255, 212, 0, 0.2), transparent 34%);
  border: 1px solid rgba(91, 124, 176, 0.22);
  box-shadow: none;
}
.offers-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 30px;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}
.offers-service-pill .ui-icon {
  width: 16px;
  height: 16px;
}
.offers-service-card h2 {
  margin: 0;
  color: var(--primary-strong);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.08;
}
.offers-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}
.offers-service-list {
  display: grid;
  gap: 8px;
}
.offers-service-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 700;
}
.offers-service-list .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.offers-home-rebalanced .offers-section {
  padding: 18px;
  border-radius: 26px;
}
.offers-home-rebalanced > .offers-section {
  margin-top: -2px;
  background:
    linear-gradient(180deg, rgba(16, 36, 80, 0.98) 0%, rgba(10, 23, 53, 0.98) 100%);
}
.offers-home-rebalanced > .offers-section.is-wizard-hidden {
  display: none;
}
.offers-home-rebalanced .wizard-shell {
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
  gap: 12px;
}
.offers-home-rebalanced .offers-wizard-shell-compact {
  grid-template-columns: minmax(0, 1fr);
}
.offers-home-rebalanced .wizard-intro {
  padding: 14px;
}
.offers-home-rebalanced .wizard-intro p {
  margin: 8px 0;
  font-size: 0.88rem;
  line-height: 1.42;
}
.offers-home-rebalanced .wizard-badges {
  gap: 7px;
}
.offers-home-rebalanced .wizard-badges span {
  padding: 0.42rem 0.62rem;
  font-size: 0.75rem;
}
.offers-wizard-card {
  width: 100%;
  min-width: 0;
  padding: 14px;
}
.offers-workflow-panel .offers-wizard-card {
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.offers-workflow-panel .offers-wizard-card h2,
.offers-workflow-panel .offers-wizard-card h3 {
  color: #fff;
}
.offers-workflow-panel .selection-summary span {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.9);
}
html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel .selection-summary span {
  background: rgba(17, 31, 54, 0.96);
  border: 1px solid rgba(120, 150, 194, 0.34);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.offers-workflow-panel .offers-wizard-card .option {
  min-height: calc(var(--control-height) + 8px);
  padding: 0.58rem 0.74rem;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(5, 15, 42, 0.18);
  font-size: var(--control-font);
}
.offers-workflow-panel .offers-wizard-card .option:hover,
.offers-workflow-panel .offers-wizard-card .option:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 212, 0, 0.74);
  box-shadow: 0 18px 34px rgba(5, 15, 42, 0.24);
}
.offers-workflow-panel .offers-wizard-card .option.selected {
  background: linear-gradient(135deg, rgba(255, 227, 91, 0.95), rgba(255, 212, 0, 0.86));
  border-color: rgba(255, 212, 0, 0.92);
  color: var(--primary-strong);
}
.offers-workflow-panel .offers-wizard-card .option strong,
.offers-workflow-panel .offers-wizard-card .option span,
.offers-workflow-panel .offers-wizard-card .option small {
  color: currentColor;
}
.offers-workflow-panel .offers-wizard-card .option-icon {
  color: var(--highlight);
}
.offers-workflow-panel .offers-wizard-card .option.selected .option-icon {
  color: var(--primary-strong);
}
.offers-workflow-panel .offers-wizard-card .secondary {
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.offers-workflow-panel .offers-wizard-card .secondary:hover,
.offers-workflow-panel .offers-wizard-card .secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(5, 15, 42, 0.2);
}
.offers-workflow-panel .step-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 12px;
  padding-top: 2px;
  clear: both;
}
.offers-workflow-panel .offers-wizard-card label,
.offers-workflow-panel .offers-wizard-card .muted,
.offers-workflow-panel .offers-wizard-card .message-box {
  color: rgba(255, 255, 255, 0.86);
}
.offers-workflow-panel .offers-wizard-card input,
.offers-workflow-panel .offers-wizard-card select,
.offers-workflow-panel .offers-wizard-card textarea {
  color: var(--text);
  background: #fff;
}
.offers-workflow-panel .form-subsection {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.offers-workflow-panel #leadForm {
  display: grid;
  gap: 14px;
  max-width: 960px;
}
.offers-form-grid,
.offers-workflow-panel .form-subsection .grid,
.offers-workflow-panel #energyDocs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.offers-form-field,
.offers-workflow-panel .form-subsection label,
.offers-workflow-panel #energyDocs label {
  gap: 6px;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.2;
}
.offers-form-field,
.offers-form-field-medium,
.offers-workflow-panel .form-subsection label:first-child,
.offers-workflow-panel #energyDocs label {
  grid-column: span 2;
}
.offers-form-field-compact,
.offers-workflow-panel .form-subsection label:nth-child(n+2) {
  grid-column: span 1;
}
.offers-workflow-panel .form-subsection label.offers-form-field-medium {
  grid-column: span 2;
}
.offers-workflow-panel .form-subsection label.offers-form-field-compact {
  grid-column: span 1;
}
.offers-form-field-wide,
.offers-workflow-panel #energyDocs h3,
.offers-workflow-panel #energyDocs .checkbox-label,
.offers-workflow-panel #energyDocs #simSerialWrap {
  grid-column: 1 / -1;
}
.offers-workflow-panel #energyDocs h3 {
  margin: 6px 0 0;
}
.offers-workflow-panel .form-subsection {
  max-width: 960px;
  padding: 12px;
}
.offers-workflow-panel .form-subsection h3,
.offers-workflow-panel .form-subsection > p {
  grid-column: 1 / -1;
}
.offers-workflow-panel .offers-wizard-card input,
.offers-workflow-panel .offers-wizard-card select {
  min-height: var(--control-height);
}
.offers-workflow-panel .offers-wizard-card textarea {
  min-height: 92px;
}
.offers-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.offers-upload-button {
  position: relative;
  min-height: var(--control-height);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-size: var(--control-font);
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
}
.offers-upload-button input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.offers-workflow-panel .offers-wizard-card .offers-upload-button {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(196, 211, 239, 0.95);
}
.offers-upload-status {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.offers-workflow-panel #leadForm .actions {
  margin-top: 0;
}
.offers-workflow-panel .step {
  scroll-margin-top: 180px;
}
.offers-workflow-panel .message-box:not(:empty) {
  display: block;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  font-weight: 700;
}
.offers-workflow-panel .message-box.is-error {
  color: #ffd6dc;
  background: rgba(174, 25, 47, 0.3);
  border-color: rgba(255, 105, 129, 0.72);
}
.offers-workflow-panel .message-box.is-success {
  color: #d7ffe5;
  background: rgba(18, 126, 70, 0.3);
  border-color: rgba(76, 214, 132, 0.68);
}
.offers-roadmap-section {
  margin: 0 0 12px;
  padding: 12px 14px 14px;
  box-shadow: none;
}
.offers-roadmap-top {
  margin: 0;
}
.offers-journey-roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.offers-journey-roadmap::before {
  left: 7%;
  right: 7%;
}
.offers-journey-roadmap .journey-step strong {
  min-height: 40px;
  padding: 0.34rem 0.7rem;
  font-size: 0.82rem;
}
.offers-journey-roadmap .journey-step strong span {
  width: 24px;
  height: 24px;
}
.offers-journey-roadmap .journey-step small {
  font-size: 0.72rem;
}
.offers-journey-roadmap .journey-step.is-available {
  cursor: pointer;
}
.offers-journey-roadmap .journey-step.is-available strong {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.offers-journey-roadmap .journey-step.is-available:hover strong,
.offers-journey-roadmap .journey-step.is-available:focus-visible strong {
  transform: translateY(-1px);
  border-color: rgba(190, 30, 45, 0.28);
  box-shadow: 0 10px 22px rgba(10, 34, 88, 0.12);
}
.offers-journey-roadmap .journey-step.is-locked {
  cursor: not-allowed;
  opacity: 0.62;
}
.selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 12px;
}
.selection-summary[hidden] {
  display: none;
}
.selection-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 700;
}
.offers-wizard-card .grid {
  gap: 10px;
}
.offers-wizard-card .option {
  min-height: calc(var(--control-height) + 8px);
  padding: 0.58rem 0.74rem;
  border-radius: 14px;
}
.offers-wizard-card #step1 .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offers-wizard-card #step1 .option {
  min-height: calc(var(--control-height) + 8px);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0a3ca8);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(3, 24, 76, 0.2);
}
.offers-wizard-card #step1 .option:hover,
.offers-wizard-card #step1 .option:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0b4fd4, var(--primary-strong));
  box-shadow: 0 16px 28px rgba(3, 24, 76, 0.26);
}
.offers-wizard-card #step1 .option .option-icon {
  background-color: rgba(255, 255, 255, 0.18);
  filter: brightness(0) invert(1);
}
.offers-wizard-card #step1 .option strong {
  color: #fff;
}
.offers-wizard-card .step h2 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.offers-compact-steps {
  padding: 16px;
  border-radius: 24px;
}
.offers-compact-steps .section-heading {
  margin-bottom: 12px;
}
.offers-compact-steps .steps-overview article {
  padding: 12px;
}
.offers-compact-steps .steps-overview span {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
@media (max-width: 760px) {
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-home-rebalanced .offers-wizard-card,
  .offers-home-rebalanced .wizard-intro {
    width: 100%;
    min-width: 0;
  }
  .offers-home-rebalanced .offers-hero-grid,
  .offers-home-rebalanced .hero-metrics,
  .offers-home-rebalanced .wizard-shell,
  .offers-journey-roadmap {
    grid-template-columns: minmax(0, 1fr);
  }
  .offers-journey-roadmap::before {
    left: 22px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), rgba(19, 82, 209, 0.16));
  }
  .offers-journey-roadmap .journey-step {
    justify-items: start;
    text-align: left;
  }
  .offers-home-rebalanced .offers-hero-copy h1 {
    max-width: none;
  }
  .offers-choice-card {
    padding: 12px;
  }
  .offers-choice-card span {
    width: 40px;
    height: 40px;
  }
  .offers-home-rebalanced .offers-section {
    padding: 14px;
  }
  .offers-wizard-card #step1 .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 980px) {
  .offers-form-grid,
  .offers-workflow-panel .form-subsection .grid,
  .offers-workflow-panel #energyDocs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offers-form-field,
  .offers-form-field-medium,
  .offers-form-field-compact,
  .offers-workflow-panel .form-subsection label,
  .offers-workflow-panel #energyDocs label {
    grid-column: span 1;
  }
  .offers-form-field-wide,
  .offers-workflow-panel #energyDocs h3,
  .offers-workflow-panel #energyDocs .checkbox-label,
  .offers-workflow-panel #energyDocs #simSerialWrap {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .offers-form-grid,
  .offers-workflow-panel .form-subsection .grid,
  .offers-workflow-panel #energyDocs {
    grid-template-columns: minmax(0, 1fr);
  }
  .offers-form-field,
  .offers-form-field-medium,
  .offers-form-field-compact,
  .offers-workflow-panel .form-subsection label,
  .offers-workflow-panel #energyDocs label {
    grid-column: 1 / -1;
  }
  .offers-upload-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offers-upload-button {
    justify-content: center;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.34rem, 1.95vw, 1.78rem);
  line-height: 1.08;
}
.section-heading-light h2 {
  color: #fff;
}
.steps-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.steps-overview article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}
.steps-overview span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(20, 82, 209, 0.1);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}
.steps-overview span .ui-icon {
  width: 21px;
  height: 21px;
}
.steps-overview h3,
.steps-overview p {
  margin: 0;
}
.steps-overview p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.wizard-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
}
.wizard-intro {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.wizard-intro h3 {
  margin: 0;
  font-size: 1.08rem;
}
.wizard-intro p {
  color: rgba(234, 241, 252, 0.86);
  line-height: 1.55;
  font-size: 0.93rem;
}
.wizard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wizard-badges span {
  padding: 0.5rem 0.76rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 22px 44px rgba(7, 16, 37, 0.22);
}
.card h2 {
  font-size: 1.2rem;
}
.card h3 {
  font-size: 1rem;
}
.form-subsection {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #fffdf1);
  border: 1px solid rgba(19, 82, 209, 0.12);
}
.form-subsection h3 {
  margin: 0;
}
.step {
  display: none;
}
.step.active {
  display: block;
}
.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 14px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 82, 209, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}
.step-indicator .ui-icon {
  width: 16px;
  height: 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  justify-items: start;
  min-height: 96px;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  border: 1px solid rgba(20, 82, 209, 0.12);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(17, 42, 90, 0.08);
}
.option-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: currentColor;
  color: var(--primary);
  -webkit-mask: var(--option-icon) center / contain no-repeat;
  mask: var(--option-icon) center / contain no-repeat;
}
.option-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.option.selected {
  border-color: rgba(255, 212, 0, 0.9);
  background: linear-gradient(135deg, #fff7c8 0%, #ffffff 100%);
}
.option.selected .option-icon {
  color: var(--primary-strong);
}
.option strong,
.option span,
.option small {
  text-align: left;
}
.option small {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.admin-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(20, 82, 209, 0.12);
  box-shadow: var(--shadow-soft);
}
.admin-row-copy {
  display: grid;
  gap: 4px;
}
.admin-row-copy strong,
.admin-row-copy small {
  display: block;
}
.admin-row-copy small {
  color: var(--muted);
}
.admin-list .order-row textarea {
  min-height: 92px;
}
.admin-list .order-row a {
  color: var(--primary);
  font-weight: 700;
}
.leads-box {
  overflow: auto;
  padding: 16px;
  border-radius: 20px;
  background: #0f1830;
  color: #eef4ff;
  max-height: 420px;
}
.message-box {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 700;
}
.hidden {
  display: none !important;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-label input {
  width: auto;
}
.offers-shipping-choice > span {
  display: grid;
  gap: 3px;
}
.offers-shipping-choice small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}
.request-notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-customer-notifications {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.request-customer-notifications h4,
.request-customer-notifications p {
  margin: 0;
}
.legal-check-list {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.72);
}
.legal-check {
  align-items: flex-start;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.42;
  color: var(--text);
}
.legal-check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}
.legal-check-list .muted {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}
.legal-check a,
.legal-page a {
  color: var(--primary);
  font-weight: 700;
}
.legal-page {
  display: grid;
  gap: 18px;
}
.legal-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.legal-section-grid .summary-box {
  align-content: start;
  min-height: 0;
}
.legal-section-grid h2 {
  margin-bottom: 6px;
}
.checkout-legal-checks {
  margin-top: 12px;
}
.legal-check-required {
  border-bottom: 1px solid rgba(19, 82, 209, 0.08);
  padding-bottom: 8px;
}
html[data-mro-theme="dark"] body:not(.section-admin) .legal-check-list .legal-check,
html[data-mro-theme="dark"] body:not(.section-admin) .legal-check-list .legal-check span {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .legal-check-list a {
  color: var(--primary);
}

html[data-mro-theme="dark"] body:not(.section-admin) .legal-check-required {
  border-bottom-color: rgba(120, 150, 194, 0.24);
}

.account-onboarding-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  border-color: rgba(16, 124, 65, 0.16);
  background: linear-gradient(135deg, rgba(232, 248, 239, 0.9), rgba(255, 255, 255, 0.96));
}
.account-onboarding-note h3,
.account-onboarding-note p,
.account-form-note {
  margin: 0;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}
.banner-admin-list {
  display: grid;
  gap: 16px;
}
.banner-admin-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}
.banner-admin-preview {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  background: rgba(19, 82, 209, 0.04);
}
.banner-admin-preview-square {
  aspect-ratio: 1 / 1;
}
.banner-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-admin-body {
  display: grid;
  gap: 12px;
  align-content: start;
}
.catalog-sidebar-title {
  align-items: flex-start;
}
.catalog-sidebar-title h2 {
  margin-bottom: 8px;
}
.sidebar-mascot {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
.desktop-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.06), rgba(255, 227, 74, 0.16) 70%, rgba(217, 75, 69, 0.05) 100%);
  border: 1px solid rgba(19, 82, 209, 0.08);
  box-shadow: var(--shadow-soft);
}
.home-featured-panel .desktop-catalog-toolbar {
  margin-bottom: 18px;
}
.desktop-catalog-toolbar h3,
.desktop-catalog-toolbar p {
  margin: 0;
}
.product-page {
  display: grid;
  gap: 14px;
}
.product-detail-panel {
  padding: 16px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 16px;
  align-items: start;
}
.product-copy-column {
  display: grid;
  gap: 10px;
}
.product-copy-card {
  display: grid;
  gap: 9px;
}
.product-copy-head {
  display: grid;
  gap: 8px;
}
.product-copy-head h1 {
  max-width: 24ch;
  font-size: clamp(1.45rem, 1.78vw, 2rem);
  line-height: 1.07;
  font-weight: 600;
}
.product-lead {
  font-size: 0.9rem;
  line-height: 1.43;
  color: var(--text);
  font-weight: 500;
}
.product-top-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-condition-box {
  margin: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 70%);
  border-color: rgba(19, 82, 209, 0.16);
}
.product-condition-box strong {
  font-size: 0.82rem;
}
.product-condition-box span {
  font-size: 0.82rem;
  line-height: 1.42;
}
.product-condition-box small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}
.product-condition-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.product-condition-legend div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  padding: 6px 7px;
  border: 1px solid rgba(19, 82, 209, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.product-condition-legend b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.1);
  color: var(--primary-strong);
  font-size: 0.72rem;
  line-height: 1;
}
.product-condition-legend span {
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.3;
}
.product-copy-body {
  display: grid;
  gap: 8px;
}
.product-copy-body p {
  color: var(--muted);
  line-height: 1.52;
}
.product-buy-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
}
.product-buy-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.product-buy-topline .price {
  font-size: clamp(1.45rem, 1.65vw, 1.8rem);
  line-height: 1;
  font-weight: 600;
}
.product-buy-form {
  display: grid;
  gap: 9px;
}
.product-buy-form label {
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}
.product-buy-form input[type="number"] {
  max-width: 112px;
  min-height: 36px;
  padding: 0.42rem 0.62rem;
  border-radius: 12px;
  font-size: 0.86rem;
}
.product-buy-actions {
  align-items: stretch;
  gap: 8px;
}
.product-buy-actions .button,
.product-buy-actions button {
  min-height: 36px;
  padding: 0.44rem 0.72rem;
  font-size: 0.78rem;
}
.product-buy-actions .ui-icon {
  width: 14px;
  height: 14px;
}
.product-inline-link {
  justify-self: start;
}
.product-detail-sections {
  align-items: start;
}
.product-detail-sections-single {
  grid-template-columns: 1fr;
}
.product-content-panel,
.product-assets-panel {
  padding: 16px;
}
.product-section-block {
  display: grid;
  gap: 8px;
}
.product-section-block + .product-section-block {
  margin-top: 12px;
}
.product-rich-copy {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.58;
}
.product-buy-trust {
  display: grid;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(19, 82, 209, 0.1);
}
.product-buy-trust .trust-badges {
  gap: 5px;
}
.product-buy-trust .trust-logo-badge {
  min-height: 30px;
  min-width: 76px;
  padding: 3px 7px;
  border-radius: 10px;
}
.product-buy-trust .trust-logo-badge img,
.product-buy-trust .trust-logo-badge-paypal img,
.product-buy-trust .trust-logo-badge-bank img {
  height: 22px;
}
.product-buy-trust .trust-logo-badge-mastercard img,
.product-buy-trust .trust-logo-badge-visa img {
  height: 18px;
}
.product-buy-trust .muted {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.38;
}
.product-specs-table {
  margin-top: 10px;
}
.product-page .pill {
  padding: 0.26rem 0.5rem;
  font-size: 0.66rem;
}
.product-category-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
}
.product-category-path a {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.68rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  background: var(--surface-soft);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.product-category-path a:hover,
.product-category-path a:focus-visible {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  outline: none;
}
.product-category-separator {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
.product-page .availability-stack {
  gap: 4px;
  margin: 2px 0 0;
}
.product-page .availability-pill {
  padding: 0.34rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.product-page .availability-stack .muted,
.product-page .product-section-block .muted {
  font-size: 0.84rem;
  line-height: 1.44;
}
.product-page .panel-title {
  margin-bottom: 10px;
}
.product-page .panel-title h2 {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}
.product-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}
.product-gallery-detail {
  margin-bottom: 0;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas: "thumbs main";
  align-items: start;
}
.product-gallery-main {
  grid-area: main;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.product-gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #fff;
}
.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 39, 84, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }
.product-gallery-thumbs {
  grid-area: thumbs;
  display: grid;
  grid-auto-rows: 78px;
  gap: 8px;
  align-content: start;
}
.product-gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  height: 78px;
}
.product-gallery-thumb.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(32, 107, 196, 0.16);
}
.product-gallery-thumbs img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 28px;
  background: rgba(7, 18, 42, 0.9);
}
.product-gallery-lightbox.is-open {
  display: grid;
}
.product-gallery-lightbox[hidden] {
  display: none !important;
}
.product-gallery-lightbox-stage {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(92vw, 1120px);
  margin: 0 auto;
}
.product-gallery-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}
.product-gallery-lightbox-meta {
  display: flex;
  justify-content: center;
}
.product-gallery-lightbox-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}
.product-gallery-lightbox-close,
.product-gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.product-gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-size: 1.9rem;
  line-height: 1;
  text-align: center;
}
.product-gallery-lightbox-nav {
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}
@media (min-width: 1181px) and (max-width: 1399px) {
  .product-page {
    gap: 14px;
  }
  .product-detail-panel,
  .product-content-panel,
  .product-assets-panel {
    padding: 14px;
  }
  .product-detail-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 16px;
  }
  .product-copy-column {
    gap: 12px;
  }
  .product-copy-card {
    gap: 10px;
  }
  .product-copy-head {
    gap: 8px;
  }
  .product-copy-head h1 {
    max-width: 26ch;
    font-size: clamp(1.32rem, 1.45vw, 1.68rem);
    line-height: 1.06;
  }
  .product-lead {
    font-size: 0.84rem;
    line-height: 1.38;
  }
  .product-top-facts {
    gap: 6px;
  }
  .product-copy-body p,
  .product-rich-copy,
  .product-condition-box span,
  .product-buy-trust .muted,
  .availability-stack .muted,
  .product-section-block .muted {
    font-size: 0.88rem;
    line-height: 1.48;
  }
  .product-buy-card {
    gap: 8px;
    padding: 12px;
  }
  .product-buy-topline .price {
    font-size: clamp(1.28rem, 1.45vw, 1.55rem);
  }
  .product-buy-form {
    gap: 8px;
  }
  .product-buy-trust {
    gap: 7px;
    padding-top: 8px;
  }
  .product-buy-trust .trust-logo-badge {
    min-height: 28px;
    padding: 3px 6px;
  }
  .product-gallery {
    gap: 10px;
  }
  .product-gallery-detail {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .product-gallery-thumbs {
    grid-auto-rows: 72px;
    gap: 7px;
  }
  .product-gallery-thumb,
  .product-gallery-thumbs img {
    height: 72px;
  }
  .product-section-block {
    gap: 8px;
  }
  .product-section-block + .product-section-block {
    margin-top: 12px;
  }
  .product-specs-table {
    margin-top: 10px;
  }
}
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; padding: 18px; border-radius: 26px; }
.account-access-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(380px, 1.18fr);
  align-items: start;
  gap: 16px;
  padding: 14px;
}
.account-login-panel,
.account-register-panel {
  display: grid;
  gap: 12px;
}
.account-login-panel {
  align-self: start;
}
.account-login-panel form,
.account-register-panel form {
  gap: 12px;
}
.account-register-note {
  margin-top: -4px;
  font-size: 0.86rem;
  line-height: 1.42;
}
.account-mobile-helper {
  display: none;
}
.account-guest-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.account-settings-grid {
  align-items: start;
}
.account-summary-card {
  display: grid;
  gap: 14px;
}
.account-data-list {
  display: grid;
  gap: 8px;
}
.account-data-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(19, 82, 209, 0.1);
}
.account-data-list > div:last-child {
  border-bottom: 0;
}
.account-data-list span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}
.account-data-list strong {
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.account-security-summary {
  padding: 14px 16px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}
.checkout-step-layout {
  align-items: start;
}
.checkout-step-panel-shell {
  display: grid;
  gap: 18px;
}
.checkout-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.checkout-step-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: #fff;
  color: var(--primary-strong);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  box-shadow: none;
}
.checkout-step-tab > span:not(.ui-icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.1);
}
.checkout-step-tab .ui-icon {
  width: 17px;
  height: 17px;
}
.checkout-step-tab.is-active {
  border-color: rgba(255, 212, 0, 0.48);
  background: linear-gradient(135deg, #fff4ac 0%, #ffffff 100%);
  box-shadow: 0 10px 20px rgba(10, 34, 88, 0.07);
}
.checkout-step-tab.is-done {
  background: linear-gradient(135deg, #e8f8ef 0%, #ffffff 100%);
}
.checkout-step-panel {
  display: grid;
  gap: 14px;
}
.checkout-step-panel[hidden] {
  display: none;
}
.checkout-step-panel h2 {
  margin: 0;
}
.checkout-customer-type {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-customer-type legend {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
}
.checkout-customer-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.checkout-customer-type-option {
  position: relative;
  cursor: pointer;
}
.checkout-customer-type-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-customer-type-option > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(19, 82, 209, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--primary-strong);
}
.checkout-customer-type-option .ui-icon {
  grid-row: 1 / 3;
  width: 20px;
  height: 20px;
}
.checkout-customer-type-option small {
  color: var(--muted);
  font-weight: 600;
}
.checkout-customer-type-option > input:checked + span {
  border-color: #e9bd18;
  background: linear-gradient(135deg, #fff078, #fff8cf);
  color: #102a55;
  box-shadow: 0 0 0 2px rgba(232, 52, 57, 0.72);
}
.checkout-customer-type-option > input:focus-visible + span {
  outline: 3px solid rgba(90, 154, 255, 0.38);
  outline-offset: 2px;
}
.checkout-company-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(19, 82, 209, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 244, 255, 0.86), rgba(255, 250, 219, 0.78));
}
.checkout-company-fields[hidden] {
  display: none;
}
.checkout-company-fields-head {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkout-company-fields-head > div {
  display: grid;
  gap: 2px;
}
.checkout-company-fields-head span {
  color: var(--muted);
  font-size: 0.86rem;
}
.checkout-company-fields .grid-3 {
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.8fr) minmax(130px, 0.65fr);
}
@media (max-width: 760px) {
  .checkout-customer-type-options,
  .checkout-company-fields .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.checkout-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.checkout-step-actions button {
  min-width: 150px;
}
.checkout-step-actions button:only-child {
  margin-left: auto;
}
.checkout-step-layout .trust-panel {
  margin-top: 14px;
}
.checkout-step-layout .trust-panel-head {
  margin-bottom: 0;
}
.checkout-step-layout .trust-panel-head h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.checkout-step-layout .trust-logo-badge {
  min-height: 42px;
  min-width: 78px;
  padding: 0.24rem 0.5rem;
}
.checkout-step-layout .trust-logo-badge img,
.checkout-step-layout .trust-logo-badge-paypal img,
.checkout-step-layout .trust-logo-badge-visa img,
.checkout-step-layout .trust-logo-badge-mastercard img,
.checkout-step-layout .trust-logo-badge-bank img {
  max-height: 24px;
}
.payment-method-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.payment-method-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.payment-method-card:hover {
  border-color: rgba(19, 82, 209, 0.2);
  box-shadow: var(--shadow-soft);
}
.payment-method-card:has(input:checked) {
  border-color: rgba(19, 82, 209, 0.28);
  box-shadow: 0 12px 28px rgba(10, 34, 88, 0.1);
  transform: translateY(-1px);
}
.payment-method-card input[type="radio"] {
  width: auto;
  margin-top: 3px;
}
.payment-method-card p {
  margin-top: 4px;
}
.bank-transfer-box {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(19, 82, 209, 0.12);
}
.order-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.order-progress-step {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}
.order-progress-step strong {
  font-size: 0.95rem;
  color: var(--primary-strong);
}
.order-progress-step span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.order-progress-step.is-done {
  background: linear-gradient(135deg, #e8f8ef 0%, #f8fffb 100%);
  border-color: rgba(16, 124, 65, 0.18);
}
.order-progress-step.is-current {
  background: linear-gradient(135deg, #fff7c8 0%, #ffffff 100%);
  border-color: rgba(255, 212, 0, 0.35);
}
.order-progress-step.is-error {
  background: linear-gradient(135deg, #ffe5e9 0%, #fff8f9 100%);
  border-color: rgba(190, 30, 45, 0.22);
}
.order-progress-step.is-upcoming {
  opacity: 0.9;
}
.cart-primary-actions,
.cart-summary-actions {
  align-items: center;
}
.commerce-footer {
  margin-top: 14px;
  padding: 18px 20px 10px;
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  grid-template-areas:
    "accent accent"
    "brand meta"
    "links links";
  align-items: start;
  gap: 10px 18px;
  border-top: 1px solid rgba(19, 82, 209, 0.08);
}
.commerce-footer::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--highlight), var(--accent-red));
  grid-area: accent;
}
.commerce-footer p {
  margin: 0;
}
.commerce-footer-brand,
.commerce-footer-meta,
.commerce-footer-links {
  display: grid;
  gap: 6px;
}
.commerce-footer-brand {
  grid-area: brand;
}
.commerce-footer-logo {
  width: auto;
  height: 56px;
  max-width: min(340px, 100%);
  object-fit: contain;
}
.commerce-footer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
.commerce-footer-brand strong {
  color: var(--primary-strong);
  font-size: 1rem;
}
.commerce-footer-brand span {
  font-weight: 700;
  color: var(--accent-red);
  font-size: 0.9rem;
}
.commerce-footer-meta {
  grid-area: meta;
  justify-items: end;
  text-align: right;
}
.commerce-footer-meta span,
.commerce-footer-meta a,
.commerce-footer-links a:not(.button) {
  color: var(--muted);
}
.commerce-footer-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.shop-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--control-height);
  padding: 0.28rem 0.42rem 0.28rem 0.72rem;
  border: 1px solid rgba(13, 58, 154, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-strong);
  font-size: var(--control-font);
  font-weight: 700;
  box-shadow: 0 7px 14px rgba(10, 34, 88, 0.08);
}
.shop-theme-switch span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.shop-theme-switch select {
  width: auto;
  min-height: 30px;
  padding: 0.28rem 1.8rem 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
}
.commerce-topbar-theme {
  flex: 0 0 auto;
}
.commerce-topbar-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(13, 58, 154, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 14px rgba(10, 34, 88, 0.08);
}
.theme-toggle__system,
.theme-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--primary-strong);
  cursor: pointer;
}
.theme-toggle__system.is-active,
.theme-toggle__option.is-active {
  background: rgba(19, 82, 209, 0.12);
  box-shadow: inset 0 0 0 1px rgba(19, 82, 209, 0.22);
}
.theme-toggle__swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(13, 58, 154, 0.28);
  box-sizing: border-box;
}
.theme-toggle__swatch--light {
  background: #ffffff;
}
.theme-toggle__swatch--dark {
  background: #132345;
}
.theme-toggle--menu {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.commerce-nav-theme {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(19, 82, 209, 0.12);
}
.commerce-footer-theme {
  grid-area: theme;
  justify-self: end;
}
.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(19, 82, 209, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(20, 54, 120, 0.18);
  backdrop-filter: blur(14px);
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
}
.cookie-notice p {
  margin: 4px 0 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.cookie-notice a {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}
.cookie-notice button {
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }
  .cookie-notice button {
    width: 100%;
    min-height: var(--control-height);
    justify-content: center;
  }
}
.admin-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #eef7ff, #fff8d0);
  border: 1px solid var(--border);
}
.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-product-preview {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.request-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.25fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
  scroll-margin-top: 185px;
}
.request-operation-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.request-operation-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(196, 211, 239, 0.86);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 10px 20px rgba(10, 34, 88, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.request-operation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(19, 82, 209, 0.82);
}
.request-operation-card:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 82, 209, 0.24);
}
.request-operation-card.is-active {
  border-color: rgba(210, 35, 42, 0.45);
  box-shadow: 0 8px 18px rgba(210, 35, 42, 0.22), 0 10px 20px rgba(10, 34, 88, 0.05);
}
.request-operation-card:focus-visible {
  outline: 3px solid rgba(19, 82, 209, 0.22);
  outline-offset: 3px;
}
.request-operation-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.request-operation-card strong {
  color: var(--primary-strong);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}
.request-operation-card-new {
  border-color: rgba(210, 35, 42, 0.28);
  background: linear-gradient(135deg, #fff3f0 0%, #ffffff 46%, #f7fbff 100%);
}
.request-operation-card-new::before {
  background: #d2232a;
}
.request-operation-card-new strong {
  color: #b91c1c;
}
.request-operation-card-working {
  border-color: rgba(19, 82, 209, 0.24);
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 56%, #f7fbff 100%);
}
.request-operation-card-working::before {
  background: var(--primary);
}
.request-operation-card-working strong {
  color: var(--primary-strong);
}
.request-operation-card-completed {
  border-color: rgba(22, 101, 52, 0.24);
  background: linear-gradient(135deg, #ecfdf3 0%, #ffffff 56%, #f7fbff 100%);
}
.request-operation-card-completed::before {
  background: #16a34a;
}
.request-operation-card-completed strong {
  color: #166534;
}
.request-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.request-filter-actions .button-secondary.is-active {
  border-color: rgba(210, 35, 42, 0.45);
  box-shadow: 0 8px 18px rgba(210, 35, 42, 0.24);
}
.request-filter-grid {
  margin-bottom: 12px;
}
.request-list {
  display: grid;
  gap: 12px;
}
.request-row {
  cursor: pointer;
}
.request-row:focus-visible {
  outline: 3px solid rgba(19, 82, 209, 0.22);
  outline-offset: 3px;
}
.request-row.is-selected {
  border-color: rgba(210, 35, 42, 0.42);
  box-shadow: 0 0 0 2px rgba(210, 35, 42, 0.12), 0 18px 42px rgba(20, 54, 120, 0.12);
}
.pill.request-status-new,
.request-status-new {
  background: #fff1ef;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.18);
}
.pill.request-status-working,
.request-status-working {
  background: #eef5ff;
  color: var(--primary-strong);
  border-color: rgba(19, 82, 209, 0.18);
}
.pill.request-status-completed,
.request-status-completed {
  background: #eaf8ef;
  color: #166534;
  border-color: rgba(22, 101, 52, 0.18);
}
.request-row-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.request-row-summary p {
  margin: 4px 0;
}
.request-row-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.request-row-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
}
.request-detail-panel {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(20, 54, 120, 0.1);
  scroll-margin-top: 185px;
}
.request-detail-panel .empty-state {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.request-detail-panel .empty-state strong,
.request-detail-head h3,
.request-detail-grid h4 {
  color: var(--primary-strong);
}
.request-detail-head h3 {
  margin: 8px 0 4px;
  font-size: 1.35rem;
  line-height: 1.12;
}
.request-detail-actions,
.request-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.request-detail-grid {
  display: grid;
  gap: 12px;
}
.request-detail-grid section {
  padding: 12px;
  border: 1px solid rgba(196, 211, 239, 0.8);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}
.request-detail-grid h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
}
.request-kv {
  display: grid;
  gap: 8px;
}
.request-kv div {
  display: grid;
  gap: 2px;
}
.request-kv span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.request-kv strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}
.request-detail-grid textarea {
  min-height: 96px;
}
.request-doc-link {
  min-height: var(--control-height);
}
@media (max-width: 980px) {
  .admin-contract-alert {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-contract-alert .button {
    width: 100%;
  }
  .admin-contract-alert-count {
    place-items: start;
    min-width: 0;
    min-height: 0;
  }
  .request-operation-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .request-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-detail-panel {
    position: static;
  }
}
@media (max-width: 640px) {
  .request-operation-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-row-summary {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-row-meta {
    justify-content: flex-start;
  }
  .request-detail-panel {
    padding: 12px;
    border-radius: 18px;
  }
}
.lookup-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.lookup-image-card {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.lookup-image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.lookup-image-card span {
  font-size: 0.82rem;
  color: var(--muted);
}
.table-quick-form,
.table-promo-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.table-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.table-toggle input {
  width: auto;
  margin: 0;
}
.table-inline-input {
  min-width: 96px;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  font-size: 0.9rem;
}
.table-inline-button {
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
}
.admin-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pill-success {
  background: linear-gradient(135deg, #dff8ea, #f4fff8);
  color: #14683c;
}
.pill-danger {
  background: linear-gradient(135deg, #ffe0e4, #fff3f5);
  color: #a9182b;
  border-color: rgba(201, 33, 50, 0.32);
}
html[data-admin-theme="dark"] .section-admin .pill-danger {
  background: rgba(201, 33, 50, 0.22);
  color: #ff9aa5;
  border-color: rgba(238, 100, 112, 0.55);
}
.admin-master-status {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.admin-master-status.is-to-link {
  background: linear-gradient(135deg, #eef3f8, #f8fbff);
  color: #496177;
}
.admin-operational-status,
.admin-quality-status,
.admin-origin-status,
.admin-master-status,
.admin-publication-status {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.admin-operational-status.is-to-link {
  background: linear-gradient(135deg, #eef3f8, #f8fbff);
  color: #496177;
}
.admin-master-status.is-to-complete,
.admin-operational-status.is-to-complete {
  background: linear-gradient(135deg, #fff3dc, #fffaf0);
  color: #9b5e09;
}
.admin-master-status.is-review,
.admin-operational-status.is-review {
  background: linear-gradient(135deg, #ffe7d8, #fff5ee);
  color: #b35618;
}
.admin-master-status.is-publishable,
.admin-operational-status.is-ready {
  background: linear-gradient(135deg, #e4efff, #f5f9ff);
  color: #1b4db4;
}
.admin-master-status.is-completed-manual {
  background: linear-gradient(135deg, #ddf5f1, #f3fffc);
  color: #11685f;
}
.admin-master-status.is-completed-source {
  background: linear-gradient(135deg, #dff8ea, #f4fff8);
  color: #14683c;
}
.admin-publication-status.is-published-online {
  background: linear-gradient(135deg, #e3eefc, #f6faff);
  color: #1b4db4;
}
.admin-publication-status.is-unpublished-online {
  background: linear-gradient(135deg, #f1f4f8, #fbfdff);
  color: #5d6f80;
}
.admin-quality-status.is-draft {
  background: linear-gradient(135deg, #f1f4f8, #fbfdff);
  color: #5d6f80;
}
.admin-quality-status.is-base {
  background: linear-gradient(135deg, #fff3dc, #fffaf0);
  color: #9b5e09;
}
.admin-quality-status.is-complete {
  background: linear-gradient(135deg, #e4efff, #f5f9ff);
  color: #1b4db4;
}
.admin-quality-status.is-premium {
  background: linear-gradient(135deg, #efe6ff, #faf5ff);
  color: #6a39b5;
}
.admin-origin-status.is-icecat {
  background: linear-gradient(135deg, #e3eefc, #f6faff);
  color: #1b4db4;
}
.admin-origin-status.is-enriched {
  background: linear-gradient(135deg, #dff8ea, #f4fff8);
  color: #14683c;
}
.admin-origin-status.is-miwo {
  background: linear-gradient(135deg, #fff4df, #fffaf0);
  color: #9a5b00;
}
.admin-enrichment-action {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.admin-enrichment-action.is-success {
  background: linear-gradient(135deg, #dff8ea, #f4fff8);
  color: #14683c;
}
.admin-enrichment-action.is-warning {
  background: linear-gradient(135deg, #fff3dc, #fffaf0);
  color: #9b5e09;
}
.admin-enrichment-action.is-review {
  background: linear-gradient(135deg, #ffe7d8, #fff5ee);
  color: #b35618;
}
html[data-admin-theme="dark"] .section-admin .admin-subnav-meta .pill,
html[data-admin-theme="dark"] .section-admin .admin-subnav-meta .admin-subnav-user,
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar {
  background: rgba(18, 34, 64, 0.92);
  border-color: rgba(128, 174, 255, 0.24);
  color: #edf4ff;
  box-shadow: none;
}
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__system,
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__option {
  color: #edf4ff;
}
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__system.is-active,
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__option.is-active {
  background: rgba(112, 167, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(128, 174, 255, 0.28);
}
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__swatch--light {
  background: #f5f8ff;
  border-color: rgba(128, 174, 255, 0.35);
}
html[data-admin-theme="dark"] .section-admin .theme-toggle--admin-bar .theme-toggle__swatch--dark {
  background: #132345;
  border-color: rgba(128, 174, 255, 0.35);
}
.admin-origin-status.is-supplier {
  background: linear-gradient(135deg, #edf7ed, #f8fff8);
  color: #2f6b2f;
}
.admin-origin-status.is-manual {
  background: linear-gradient(135deg, #ddf5f1, #f3fffc);
  color: #11685f;
}
.admin-origin-status.is-mixed {
  background: linear-gradient(135deg, #fff0da, #fff8ee);
  color: #996119;
}
.mini-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}
.mini-status.ok {
  background: #e4f8ec;
  color: #0f6d3a;
}
.asset-links {
  display: grid;
  gap: 8px;
}
.asset-links a {
  color: var(--primary);
  font-weight: 700;
}
.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.05), rgba(255, 227, 74, 0.12));
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.section-admin .admin-dashboard-actions {
  background: linear-gradient(135deg, rgba(19, 82, 209, 0.08), rgba(255, 255, 255, 0.96) 68%, rgba(217, 75, 69, 0.06));
  border: 1px solid rgba(19, 82, 209, 0.12);
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
}
.section-admin .admin-dashboard-actions .button-secondary,
.section-admin .admin-dashboard-actions button {
  background: #fff;
}
.section-admin button,
.section-admin .button {
  padding: 0.48rem 0.78rem;
  font-size: 0.8rem;
}
.admin-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.section-admin .admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.admin-workcard {
  display: grid;
  align-content: start;
}
a.admin-workcard-link {
  color: inherit;
  text-decoration: none;
}
a.admin-workcard-link:hover {
  transform: translateY(-1px);
}
.section-admin .admin-workcard {
  position: relative;
  padding-top: 12px;
}
.section-admin .admin-dashboard-card {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.section-admin .admin-dashboard-card:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 82, 209, 0.28);
  box-shadow: 0 14px 28px rgba(10, 34, 88, 0.12);
}
.section-admin .admin-dashboard-card .button {
  width: fit-content;
  pointer-events: none;
}
.admin-contract-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(196, 211, 239, 0.9);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 30px rgba(10, 34, 88, 0.08);
}
.admin-contract-alert h2,
.admin-contract-alert p {
  margin: 0;
}
.admin-contract-alert h2 {
  margin-top: 8px;
  color: var(--primary-strong);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
.admin-contract-alert p {
  margin-top: 4px;
  color: var(--muted);
}
.admin-contract-alert.is-hot {
  border-color: rgba(210, 35, 42, 0.32);
  background: linear-gradient(135deg, #fff7f1 0%, #ffffff 50%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(210, 35, 42, 0.14), 0 12px 30px rgba(10, 34, 88, 0.08);
}
.admin-contract-alert-count {
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 74px;
  padding: 10px;
  border-radius: 18px;
  background: #eef5ff;
  color: var(--primary-strong);
}
.admin-contract-alert-count strong {
  font-size: 1.9rem;
  line-height: 1;
}
.admin-contract-alert-count span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-contract-alert.is-hot .admin-contract-alert-count {
  background: rgba(210, 35, 42, 0.1);
  color: #b91c1c;
}
.admin-contract-status-card {
  border-color: rgba(196, 211, 239, 0.9);
}
.admin-contract-status-card::before {
  background: rgba(19, 82, 209, 0.82);
}
.admin-contract-status-card.is-new {
  border-color: rgba(210, 35, 42, 0.28);
  background: linear-gradient(135deg, #fff4f1 0%, #ffffff 54%, #f7fbff 100%);
}
.admin-contract-status-card.is-new::before {
  background: #d2232a;
}
.admin-contract-status-card.is-new .admin-workcard-number {
  color: #b91c1c;
}
.admin-contract-status-card.is-open,
.admin-contract-status-card.is-working {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 60%, #f7fbff 100%);
}
.admin-contract-status-card.is-open::before,
.admin-contract-status-card.is-working::before {
  background: var(--primary);
}
.admin-contract-status-card.is-recent {
  background: linear-gradient(135deg, #fff9d8 0%, #ffffff 58%, #f7fbff 100%);
}
.admin-contract-status-card.is-recent::before {
  background: #f2c300;
}
@media (max-width: 980px) {
  .admin-contract-alert {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-contract-alert .button {
    width: 100%;
  }
  .admin-contract-alert-count {
    place-items: start;
    min-width: 0;
    min-height: 0;
  }
}
.section-admin .admin-workcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(19, 82, 209, 0.9), rgba(255, 227, 74, 0.9), rgba(217, 75, 69, 0.8));
}
.section-admin .admin-contract-status-card::before {
  background: rgba(19, 82, 209, 0.82);
}
.section-admin .admin-contract-status-card.is-new::before {
  background: #d2232a;
}
.section-admin .admin-contract-status-card.is-open::before,
.section-admin .admin-contract-status-card.is-working::before {
  background: var(--primary);
}
.section-admin .admin-contract-status-card.is-recent::before {
  background: #f2c300;
}
.admin-order-status-card {
  border-color: rgba(196, 211, 239, 0.9);
}
.admin-order-status-card.is-order-ship {
  border-color: rgba(210, 35, 42, 0.34);
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 56%, #f7fbff 100%);
}
.admin-order-status-card.is-order-ship::before {
  background: #d2232a;
}
.admin-order-status-card.is-order-ship .admin-workcard-number {
  color: #b91c1c;
}
.admin-order-status-card.is-order-supplier {
  border-color: rgba(217, 95, 35, 0.34);
  background: linear-gradient(135deg, #fff0e2 0%, #ffffff 56%, #f7fbff 100%);
}
.admin-order-status-card.is-order-supplier::before {
  background: #d95f23;
}
.admin-order-status-card.is-order-supplier .admin-workcard-number {
  color: #b45309;
}
.admin-order-status-card.is-order-pending {
  border-color: rgba(242, 195, 0, 0.42);
  background: linear-gradient(135deg, #fff9d8 0%, #ffffff 58%, #f7fbff 100%);
}
.admin-order-status-card.is-order-pending::before {
  background: #f2c300;
}
.admin-order-status-card.is-order-pending .admin-workcard-number {
  color: #9b5e09;
}
.admin-order-status-card.is-order-close {
  border-color: rgba(19, 82, 209, 0.3);
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 60%, #f7fbff 100%);
}
.admin-order-status-card.is-order-close::before {
  background: var(--primary);
}
.admin-order-status-card.is-order-close .admin-workcard-number {
  color: var(--primary-strong);
}
.admin-workcard-number {
  margin-top: 6px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--primary-strong);
}
.section-admin .admin-workcard-number {
  margin-top: 2px;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
}
.section-admin .stat-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.section-admin .stat-card span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-editor-panel {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffdf4, #f4f9ff);
  border: 1px solid rgba(19, 82, 209, 0.08);
}
.section-admin .admin-editor-panel {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(239, 245, 252, 0.96));
  border: 1px solid rgba(19, 82, 209, 0.16);
}
.section-admin .admin-editor-panel {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 16px;
}
.section-admin .product-editor-section .admin-editor-panel {
  margin-top: 0;
}
.admin-editor-panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-editor-panel summary::-webkit-details-marker {
  display: none;
}
.admin-editor-panel summary strong {
  color: var(--primary-strong);
  font-size: 1rem;
}
.admin-editor-panel summary .muted {
  flex: 1 1 auto;
}
.admin-editor-panel summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 82, 209, 0.08);
  color: var(--primary-strong);
  font-weight: 900;
  font-size: 1.1rem;
}
.admin-editor-panel[open] summary::after {
  content: '-';
}
.section-admin .mini-actions {
  padding: 6px 0 0;
}
.section-admin .mini-actions .button-secondary {
  background: #fff;
}
.section-admin table th {
  background: #f2f6fb;
  color: var(--primary-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-admin table td {
  background: transparent;
}
.section-admin th,
.section-admin td {
  padding: 7px 7px;
}
.section-admin .summary-box h2 {
  font-size: 0.95rem;
}
.section-admin .summary-box p + p {
  margin-top: 4px;
}
.section-admin .admin-subnav {
    gap: 6px;
    margin-top: 8px;
    padding: 7px 9px;
    top: 88px;
  border-radius: 16px;
}
.section-admin .admin-subnav a {
    min-height: var(--control-height);
    padding: var(--control-pad-y) var(--control-pad-x);
    font-size: var(--control-font);
}
.section-admin .admin-subnav-links {
    gap: 6px;
}
.section-admin .admin-subnav-meta {
    gap: 6px;
    padding-left: 8px;
}
.section-admin .panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
}
.section-admin .panel-title {
  margin-bottom: 12px;
  padding-bottom: 10px;
}
.section-admin .panel-title h1 {
  font-size: clamp(1.35rem, 1.75vw, 1.72rem);
}
.section-admin .panel-title h2 {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}
.section-admin .panel-title > div {
  gap: 3px;
}
.section-admin .summary-box {
  padding: 14px;
  border-radius: 16px;
}
.section-admin .info-strip {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 14px;
}
.section-admin .mini-actions,
.section-admin .inline-actions,
.section-admin .toolbar {
  gap: 8px;
}
.section-admin .grid-2,
.section-admin .stats-grid,
.section-admin .form-grid {
  gap: 12px;
}
.section-admin .stats-grid {
  margin-top: 14px;
}
.section-admin .stat-card,
.section-admin .order-row,
.section-admin .empty-box {
  border-radius: 18px;
  padding: 14px;
}
.section-admin .order-list {
  margin-top: 14px;
}
.section-admin .pill {
  padding: 0.32rem 0.62rem;
  font-size: 0.69rem;
}
.section-admin input,
.section-admin textarea,
.section-admin select {
  padding: 0.68rem 0.78rem;
  font-size: 0.88rem;
  border-radius: 11px;
}
html[data-admin-theme="dark"] .section-admin input,
html[data-admin-theme="dark"] .section-admin textarea,
html[data-admin-theme="dark"] .section-admin select {
  background: rgba(7, 15, 28, 0.92);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}
html[data-admin-theme="dark"] .section-admin input::placeholder,
html[data-admin-theme="dark"] .section-admin textarea::placeholder {
  color: rgba(159, 177, 201, 0.72);
}
html[data-admin-theme="dark"] .section-admin .button-secondary,
html[data-admin-theme="dark"] .section-admin .panel .commerce-search button,
html[data-admin-theme="dark"] .section-admin .form-grid .commerce-search button {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.26);
  color: var(--primary-strong);
}
html[data-admin-theme="dark"] .section-admin .button-secondary:hover {
  background: rgba(112, 167, 255, 0.18);
}
html[data-admin-theme="dark"] .section-admin .pill,
html[data-admin-theme="dark"] .section-admin .mini-status,
html[data-admin-theme="dark"] .section-admin .info-strip,
html[data-admin-theme="dark"] .section-admin .admin-dashboard-actions,
html[data-admin-theme="dark"] .section-admin .admin-editor-panel,
html[data-admin-theme="dark"] .section-admin .request-detail-grid section,
html[data-admin-theme="dark"] .section-admin .request-operation-card,
html[data-admin-theme="dark"] .section-admin .admin-contract-alert,
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card {
  background: linear-gradient(135deg, rgba(16, 28, 47, 0.96), rgba(10, 19, 34, 0.96));
  border-color: rgba(120, 150, 194, 0.22);
  color: var(--text);
}
html[data-admin-theme="dark"] .section-admin .muted,
html[data-admin-theme="dark"] .section-admin .request-operation-card span,
html[data-admin-theme="dark"] .section-admin .request-kv span {
  color: var(--muted);
}
html[data-admin-theme="dark"] .section-admin .request-kv strong,
html[data-admin-theme="dark"] .section-admin .admin-contract-alert h2,
html[data-admin-theme="dark"] .section-admin .request-detail-head h3,
html[data-admin-theme="dark"] .section-admin .request-detail-grid h4 {
  color: var(--primary-strong);
}
html[data-admin-theme="dark"] .section-admin .admin-theme-switch select {
  width: auto;
  min-height: 30px;
  padding: 0.28rem 1.8rem 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
}
html[data-admin-theme="dark"] .section-admin .pill.request-status-new,
html[data-admin-theme="dark"] .section-admin .request-status-new {
  background: rgba(255, 122, 112, 0.16);
  color: #ffb0aa;
  border-color: rgba(255, 122, 112, 0.28);
}
html[data-admin-theme="dark"] .section-admin .pill.request-status-working,
html[data-admin-theme="dark"] .section-admin .request-status-working {
  background: rgba(112, 167, 255, 0.16);
  color: #b9d5ff;
  border-color: rgba(112, 167, 255, 0.28);
}
html[data-admin-theme="dark"] .section-admin .pill.request-status-completed,
html[data-admin-theme="dark"] .section-admin .request-status-completed {
  background: rgba(76, 196, 123, 0.14);
  color: #a8e8bf;
  border-color: rgba(76, 196, 123, 0.26);
}
html[data-admin-theme="dark"] .section-admin .request-operation-card-new,
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card.is-new {
  background: linear-gradient(135deg, rgba(77, 27, 31, 0.78), rgba(16, 28, 47, 0.96));
  border-color: rgba(255, 122, 112, 0.32);
}
html[data-admin-theme="dark"] .section-admin .request-operation-card-new strong,
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card.is-new .admin-workcard-number {
  color: #ffb0aa;
}
html[data-admin-theme="dark"] .section-admin .request-operation-card-working,
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card.is-open,
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card.is-working {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.78), rgba(16, 28, 47, 0.96));
  border-color: rgba(112, 167, 255, 0.3);
}
html[data-admin-theme="dark"] .section-admin .request-operation-card-completed {
  background: linear-gradient(135deg, rgba(23, 70, 46, 0.72), rgba(16, 28, 47, 0.96));
  border-color: rgba(76, 196, 123, 0.28);
}
html[data-admin-theme="dark"] .section-admin .request-operation-card-completed strong {
  color: #a8e8bf;
}
html[data-admin-theme="dark"] .section-admin .admin-contract-status-card.is-recent {
  background: linear-gradient(135deg, rgba(18, 31, 51, 0.98), rgba(13, 24, 42, 0.98));
  border-color: rgba(242, 210, 79, 0.34);
}
html[data-admin-theme="dark"] .section-admin .admin-contract-alert-count {
  background: rgba(112, 167, 255, 0.12);
  border: 1px solid rgba(112, 167, 255, 0.28);
  color: #dce9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html[data-admin-theme="dark"] .section-admin .admin-contract-alert-count strong {
  color: #f4f8ff;
}
html[data-admin-theme="dark"] .section-admin .admin-contract-alert-count span {
  color: #9fc2ff;
}
html[data-admin-theme="dark"] .section-admin .admin-contract-alert.is-hot .admin-contract-alert-count {
  background: rgba(255, 122, 112, 0.16);
  border-color: rgba(255, 122, 112, 0.34);
}
html[data-admin-theme="dark"] .section-admin .admin-contract-alert.is-hot .admin-contract-alert-count strong,
html[data-admin-theme="dark"] .section-admin .admin-contract-alert.is-hot .admin-contract-alert-count span {
  color: #ffb0aa;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-ship {
  background: linear-gradient(135deg, rgba(86, 25, 30, 0.9), rgba(17, 27, 45, 0.98));
  border-color: rgba(255, 122, 112, 0.38);
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-ship::before {
  background: #ff7a70;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-ship .admin-workcard-number {
  color: #ffb0aa;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-supplier {
  background: linear-gradient(135deg, rgba(92, 47, 20, 0.88), rgba(17, 27, 45, 0.98));
  border-color: rgba(255, 162, 92, 0.38);
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-supplier::before {
  background: #ff9b5f;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-supplier .admin-workcard-number {
  color: #ffc08d;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-pending {
  background: linear-gradient(135deg, rgba(73, 60, 22, 0.84), rgba(17, 27, 45, 0.98));
  border-color: rgba(242, 210, 79, 0.36);
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-pending::before {
  background: #f2d24f;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-pending .admin-workcard-number {
  color: #ffe384;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-close {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.86), rgba(17, 27, 45, 0.98));
  border-color: rgba(112, 167, 255, 0.34);
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-close::before {
  background: #70a7ff;
}
html[data-admin-theme="dark"] .section-admin .admin-order-status-card.is-order-close .admin-workcard-number {
  color: #b9d5ff;
}
html[data-admin-theme="dark"] .section-admin .admin-recent-order,
html[data-admin-theme="dark"] .section-admin table,
html[data-admin-theme="dark"] .section-admin table th,
html[data-admin-theme="dark"] .section-admin table td,
html[data-admin-theme="dark"] .section-admin .admin-list .order-row,
html[data-admin-theme="dark"] .section-admin .admin-dashboard-actions .button-secondary,
html[data-admin-theme="dark"] .section-admin .admin-dashboard-actions button,
html[data-admin-theme="dark"] .section-admin .mini-actions .button-secondary {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.26);
  color: var(--text);
}
html[data-admin-theme="dark"] .section-admin .admin-recent-order {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}
html[data-admin-theme="dark"] .section-admin .admin-recent-order-top strong,
html[data-admin-theme="dark"] .section-admin .admin-recent-order .price,
html[data-admin-theme="dark"] .section-admin .admin-recent-order-meta span:not(.muted) {
  color: var(--primary-strong);
}
html[data-admin-theme="dark"] .section-admin .admin-recent-order .button-secondary,
html[data-admin-theme="dark"] .section-admin .admin-list .order-row .button-secondary {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.28);
  color: var(--primary-strong);
}
html[data-admin-theme="dark"] .section-admin .admin-recent-order .button-secondary:hover,
html[data-admin-theme="dark"] .section-admin .admin-list .order-row .button-secondary:hover {
  background: rgba(112, 167, 255, 0.2);
  color: #ffffff;
}
.section-admin label {
  gap: 6px;
  font-size: 0.9rem;
}
@media (min-width: 1380px) {
  .catalog-browser {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .hero-block {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .offer-plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }
}
@media (max-width: 1240px) {
  .commerce-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .commerce-brand {
    grid-column: 1;
  }
  .commerce-nav-desktop,
  .commerce-quick-actions {
    display: none;
  }
  .commerce-search-desktop {
    display: flex;
    grid-column: 2;
    flex: 1 1 auto;
    justify-content: stretch;
    margin-left: 0;
  }
  .commerce-search-desktop input {
    width: 100%;
    max-width: none;
  }
  .commerce-topbar-end {
    grid-column: 3;
    justify-self: end;
  }
  .commerce-topbar-theme {
    display: inline-flex;
  }
  .commerce-brand-logo {
    height: 50px;
    max-width: min(250px, 52vw);
  }
  .commerce-menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .commerce-menu {
    display: block;
  }
  .commerce-menu[open] .commerce-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .commerce-menu[open] .commerce-nav a {
    justify-content: flex-start;
    width: 100%;
  }
  .commerce-search-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    margin-bottom: 4px;
  }
  .commerce-search-mobile button {
    justify-self: end;
  }
  .section-admin .admin-subnav {
    flex-wrap: nowrap;
    align-items: center;
  }
  .section-admin .admin-subnav-links {
    flex: 1 1 auto;
    min-width: max-content;
  }
  .section-admin .admin-subnav-meta {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 10px;
  }
  .admin-order-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-order-quick-card {
    grid-column: 1 / -1;
  }
  .catalog-browser .catalog-sidebar {
    display: none;
  }
  .catalog-mobile-panels {
    display: grid;
    margin-top: 14px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-promo-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .home-promo-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .commerce-topbar {
    gap: 6px;
    padding-inline: 10px;
  }
  .commerce-brand-logo {
    max-width: 45vw;
  }
  .commerce-topbar-theme {
    display: none;
  }
  .commerce-menu-toggle {
    width: 46px;
    height: 46px;
  }
  .home-promo-tiles {
    grid-template-columns: 1fr;
  }
  .home-hero-media {
    display: none;
  }
  .home-hero-copy {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .commerce-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .commerce-search-desktop {
    display: none;
  }
  .catalog-mobile-panels {
    display: grid;
    margin-top: 14px;
  }
  .catalog-browser .catalog-sidebar {
    display: none;
  }
  .home-promo-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .home-promo-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .commerce-search-desktop {
    display: none;
  }
  .home-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-overview-grid-light {
    grid-template-columns: 1fr;
  }
  .admin-command-grid {
    grid-template-columns: 1fr;
  }
  .admin-order-priority-grid {
    grid-template-columns: 1fr;
  }
  .admin-order-quick-card {
    grid-column: auto;
  }
  .admin-form-grid,
  .banner-admin-card {
    grid-template-columns: 1fr;
  }
  .admin-subnav {
      top: 88px;
      padding: 9px 10px;
    }
  .hero-block, .product-grid, .stats-grid, .checkout-grid, .catalog-browser, .offer-section-grid, .offer-plan-grid, .offer-detail-grid, .offers-hero-grid, .promo-strip, .offer-categories, .steps-overview, .wizard-shell, .grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-steps-roadmap::before {
    left: 22px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), rgba(19, 82, 209, 0.16));
  }
  .journey-steps-roadmap .journey-step {
    justify-items: start;
    text-align: left;
  }
  .checkout-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .order-confirmation-hero { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .product-page {
    gap: 14px;
  }
  .product-detail-panel,
  .product-content-panel,
  .product-assets-panel {
    padding: 16px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-copy-column {
    gap: 12px;
  }
  .product-copy-card {
    gap: 10px;
  }
  .product-copy-head {
    gap: 8px;
  }
  .product-copy-head h1 {
    max-width: none;
    font-size: clamp(1.32rem, 4.6vw, 1.72rem);
  }
  .product-lead {
    font-size: 0.86rem;
    line-height: 1.4;
    font-weight: 500;
  }
  .product-section-block {
    gap: 8px;
  }
  .product-section-block + .product-section-block {
    margin-top: 12px;
  }
  .product-rich-copy {
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.58;
  }
  .product-short-description-block {
    display: block;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .product-buy-card {
    gap: 9px;
    padding: 13px;
  }
  .product-gallery-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "thumbs";
  }
  .product-gallery-main img {
    height: 300px;
  }
  .product-gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 1.45rem;
  }
  .product-gallery-lightbox {
    padding: 22px 18px;
  }
  .product-gallery-lightbox-close,
  .product-gallery-lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .product-gallery-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    grid-auto-rows: unset;
  }
  .product-gallery-thumb,
  .product-gallery-thumbs img {
    height: 64px;
  }
  .home-browser-desktop {
    display: none;
  }
  .home-browser-mobile,
  .home-mobile-categories {
    display: block;
  }
  .home-catalog-split {
    margin-top: 0;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
  .home-service-pillars {
    grid-template-columns: 1fr;
  }
  .home-service-pillar-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-service-pillar {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 118px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-strip {
    grid-template-columns: 1fr;
  }
  .contact-strip-actions {
    justify-items: flex-start;
  }
  .catalog-results-meta {
    justify-content: flex-start;
  }
  .catalog-filter-grid {
    padding: 12px;
  }
  .product-buy-topline {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-buy-topline .price {
    font-size: clamp(1.34rem, 4.8vw, 1.64rem);
  }
  .availability-stack .muted,
  .product-buy-trust .muted,
  .product-section-block .muted,
  .product-condition-box span {
    font-size: 0.86rem;
    line-height: 1.42;
  }
  .product-buy-form {
    gap: 10px;
  }
  .product-buy-form label {
    font-size: 0.82rem;
    font-weight: 600;
  }
  .product-buy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .product-buy-actions .button,
  .product-buy-actions button {
    width: 100%;
    justify-content: center;
  }
  .product-buy-trust {
    gap: 7px;
    padding-top: 8px;
  }
  .product-gallery-lightbox {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 14px;
  }
  .product-gallery-lightbox-stage {
    max-width: 100%;
  }
  .product-gallery-lightbox-image {
    max-height: calc(100vh - 160px);
  }
  .product-gallery-lightbox-close {
    top: 12px;
    right: 12px;
  }
  .product-gallery-lightbox-prev,
  .product-gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .product-gallery-lightbox-prev {
    left: 12px;
  }
  .product-gallery-lightbox-next {
    right: 12px;
  }
  .commerce-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "accent"
      "brand"
      "links"
      "meta";
  }
  .commerce-footer-theme {
    justify-self: start;
  }
  .commerce-footer-meta {
    justify-items: start;
    text-align: left;
  }
  .sticky-summary-box {
    position: static;
    top: auto;
  }
}
@media (max-width: 720px) {
  .section-shop .account-intro-copy,
  .section-shop .account-info-strip {
    display: none;
  }
  .section-shop .account-title-actions {
    display: none;
  }
  .account-access-grid {
    padding: 10px;
    gap: 12px;
  }
  .account-data-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .account-login-panel,
  .account-register-panel {
    padding: 14px;
    border-radius: 20px;
  }
  .account-login-panel h2,
  .account-register-panel h2 {
    font-size: 1.18rem;
  }
  .account-mobile-helper {
    display: block;
    font-size: 0.88rem;
  }
  .account-access-grid input {
    min-height: 46px;
  }
  .account-access-grid button,
  .account-access-grid .button {
    width: 100%;
    justify-content: center;
  }
  .account-guest-box {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 13px 14px;
  }
  .account-guest-box .button {
    width: 100%;
    justify-content: center;
  }
  .checkout-step-layout {
    padding: 10px;
    gap: 12px;
  }
  .cart-roadmap-section,
  .cart-detail-section {
    padding: 11px;
    border-radius: 20px;
  }
  .cart-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .cart-detail-count {
    min-height: 28px;
    font-size: 0.76rem;
  }
  .cart-detail-section .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px;
  }
  .cart-detail-section .cart-product-head {
    grid-column: 1 / -1;
  }
  .cart-detail-section .cart-item label,
  .cart-detail-section .cart-item > .grid-2 > div,
  .cart-detail-section .cart-item .button-danger {
    grid-column: auto;
  }
  .cart-detail-section .cart-item > .grid-2 > div {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }
  .cart-product-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }
  .cart-product-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .cart-product-copy h3 {
    font-size: 0.92rem;
  }
  .cart-product-copy .muted {
    font-size: 0.76rem;
  }
  .checkout-step-panel-shell {
    gap: 14px;
  }
  .checkout-stepper {
    gap: 6px;
  }
  .checkout-step-tab {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    padding: 7px 5px;
    font-size: 0.78rem;
    text-align: center;
  }
  .checkout-step-tab span {
    width: 24px;
    height: 24px;
  }
  .checkout-step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .checkout-step-actions button,
  .checkout-step-actions button:only-child {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .home-offer-ticker {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px;
  }
  .home-offer-ticker-head {
    grid-column: 1 / -1;
  }
  .home-offer-ticker-viewport {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent);
  }
  .home-offer-ticker-track {
    animation-duration: 24s;
  }
  .home-offer-ticker-item {
    min-width: 268px;
    min-height: 44px;
    padding: 0.5rem 0.62rem;
    gap: 7px;
  }
  .home-offer-ticker-item span {
    min-width: 72px;
    min-height: 26px;
    padding: 0 0.54rem;
    font-size: 0.7rem;
  }
  .home-offer-ticker-item strong {
    font-size: 0.8rem;
  }
  .home-offer-ticker-item em {
    font-size: 0.72rem;
  }
  .about-overview-banner-desktop {
    display: none;
  }
  .about-overview-banner-mobile {
    display: grid;
    margin-top: 4px;
  }
  .refurbished-why-banner-desktop {
    display: none;
  }
  .refurbished-why-banner-mobile {
    display: block;
  }
  .home-overview-grid {
    grid-template-columns: 1fr;
  }
  .home-overview-grid-light {
    gap: 10px;
  }
  .overview-card.overview-image-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 110px;
  }
  .home-service-pillars {
    gap: 10px;
    padding: 10px;
  }
  .home-service-pillars-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-service-pillars-head .button {
    width: 100%;
    justify-content: center;
  }
  .home-service-pillar {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 110px;
  }
  .overview-card {
    min-height: 0;
  }
  .home-promo-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .home-promo-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-banner-slider-viewport {
    aspect-ratio: 2 / 1;
    border-radius: 18px;
  }
  .admin-dashboard-actions {
    padding: 12px;
    gap: 8px;
  }
  .admin-editor-panel summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-workcard-number {
    font-size: 1.9rem;
  }
  .admin-subnav {
      top: 82px;
      border-radius: 18px;
    }
  .admin-subnav a {
      font-size: var(--control-font);
      padding: var(--control-pad-y) var(--control-pad-x);
    }
  .admin-subnav {
      flex-direction: row;
      align-items: center;
  }
  .admin-subnav-links,
  .admin-subnav-meta {
      width: auto;
      flex-wrap: nowrap;
  }
  .admin-subnav-meta {
      justify-content: flex-end;
      margin-left: auto;
      padding-left: 10px;
    }
  .commerce-topbar, .panel-title { flex-direction: column; align-items: flex-start; }
  .section-shop .panel-title .button,
  .section-shop .panel-title .button-secondary,
  .section-shop .panel-title-actions .button,
  .section-shop .panel-title-actions .button-secondary {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .section-shop .panel-title-actions {
    width: 100%;
  }
  .section-admin .panel-title .toolbar,
  .section-admin .panel-title .actions,
  .admin-order-detail .panel-title .toolbar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .section-admin .panel-title .toolbar .button,
  .section-admin .panel-title .toolbar form,
  .section-admin .panel-title .toolbar button,
  .section-admin .panel-title .actions .button,
  .section-admin .panel-title .actions .button-secondary,
  .section-admin .panel-title .actions button,
  .admin-order-detail .panel-title .toolbar .button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .section-admin .admin-dashboard-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .section-admin .admin-dashboard-actions .button,
  .section-admin .admin-dashboard-actions .button-secondary {
    width: 100%;
    justify-content: center;
  }
  .section-admin .panel > .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .section-admin .panel > .toolbar .actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .section-admin .panel > .toolbar .actions .button,
  .section-admin .panel > .toolbar .actions .button-secondary,
  .section-admin .panel > .toolbar .actions button,
  .section-admin .panel > .toolbar > .button,
  .section-admin .panel > .toolbar > .button-secondary,
  .section-admin .panel > .toolbar > button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  :root {
    --control-height: 44px;
  }
  .home-banner-dot {
    width: 12px;
    height: 12px;
    padding: 16px;
    background-clip: content-box;
  }
  .home-banner-dot.is-active {
    width: 12px;
    min-width: 12px;
    padding: 16px 24px;
    background-clip: content-box;
  }
  .product-gallery-nav {
    width: 44px;
    height: 44px;
  }
  .catalog-filter-panel > summary {
    min-height: 44px;
  }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-strip-actions {
    width: 100%;
  }
  .contact-strip-actions .button {
    width: 100%;
    text-align: center;
  }
  .catalog-intro-panel,
  .catalog-results-panel {
    padding: 16px;
  }
  .catalog-filter-grid {
    padding: 10px;
  }
  .product-detail-panel,
  .product-content-panel,
  .product-assets-panel {
    padding: 14px;
  }
  .product-gallery-main img {
    height: 248px;
  }
  .product-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .product-gallery-thumb,
  .product-gallery-thumbs img {
    height: 58px;
  }
  .product-copy-head h1 {
    font-size: clamp(1.34rem, 6vw, 1.7rem);
    line-height: 1.08;
  }
  .product-lead {
    font-size: 0.9rem;
  }
  .product-buy-card {
    padding: 14px;
  }
  .product-gallery-lightbox-close,
  .product-gallery-lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .product-gallery-lightbox-nav {
    font-size: 1.7rem;
  }
  .product-gallery-lightbox-counter {
    min-height: 32px;
    padding: 0.34rem 0.68rem;
    font-size: 0.78rem;
  }
  .services-section,
  .contact-section {
    padding: 18px;
  }
  .sticky-summary-box {
    position: static;
  }
  .commerce-topbar {
    flex-direction: row;
    align-items: center;
  }
  .commerce-nav-desktop,
  .commerce-quick-actions,
  .commerce-search-desktop {
    display: none;
  }
  .commerce-brand-logo {
    height: 46px;
    max-width: min(250px, 54vw);
  }
  .commerce-menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .commerce-menu .commerce-nav {
    display: none;
  }
  .commerce-menu[open] .commerce-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .commerce-menu[open] .commerce-nav a {
    width: 100%;
  }
  .commerce-search-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    margin-bottom: 4px;
  }
  .commerce-search-mobile input {
    width: 100%;
  }
  .hero-block {
    padding: 18px;
    gap: 16px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-hero-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 6px;
    margin-left: 0;
    opacity: 1;
    border-radius: 18px;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .home-hero-media::before {
    content: none;
  }
  .home-hero-media img {
    transform: none;
  }
  .sidebar-mascot {
    display: none;
  }
  .desktop-catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .panel {
    padding: 18px;
  }
  .panel-title > div {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-image {
    min-height: 190px;
    max-height: 190px;
    padding: 12px;
  }
  .product-image img {
    height: 166px;
  }
  .product-card-body {
    padding: 14px;
    gap: 8px;
  }
  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .inline-actions .button,
  .inline-actions button {
    width: 100%;
    justify-content: center;
  }
  .cart-primary-actions .button,
  .cart-primary-actions button,
  .cart-summary-actions .button {
    width: 100%;
    justify-content: center;
  }
  .admin-row {
    flex-direction: column;
    align-items: flex-start;
  }
.commerce-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.trust-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(37, 89, 212, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.trust-panel-compact {
  padding: 16px;
  border-radius: 22px;
}

.trust-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.trust-panel-head h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--primary-strong);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.24rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(37, 89, 212, 0.14);
  background: #fff;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.trust-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 104px;
  padding: 0.34rem 0.78rem;
  border: 1px solid rgba(37, 89, 212, 0.1);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(26, 56, 118, 0.08);
}

.trust-logo-badge img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 100%;
  object-fit: contain;
}

.trust-logo-badge-paypal img {
  height: 30px;
}

.trust-logo-badge-paypal {
  min-width: 124px;
}

.trust-logo-badge-mastercard {
  min-width: 108px;
}

.trust-logo-badge-mastercard img {
  height: 24px;
}

.trust-logo-badge-visa {
  min-width: 92px;
}

.trust-logo-badge-visa img {
  height: 23px;
}

.trust-logo-badge-bank {
  min-width: 136px;
  padding-inline: 0.95rem 1.08rem;
}

.trust-logo-badge-bank img {
  height: 30px;
}

.trust-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(37, 89, 212, 0.10);
}

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

.trust-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 219, 79, 0.18), rgba(37, 89, 212, 0.10));
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.trust-feature-icon-logo {
  padding: 5px;
}

.trust-feature-icon-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust-feature strong,
.trust-feature span {
  display: block;
}

.trust-feature strong {
  color: #18273f;
  font-size: 0.95rem;
}

.trust-feature span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.trust-panel > p.muted {
  font-size: 0.84rem;
  line-height: 1.42;
}

.commerce-trust-strip {
  margin-top: 22px;
}

.commerce-trust-strip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.commerce-trust-strip-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.74rem);
  color: var(--primary-strong);
}

.commerce-trust-badges {
  margin-top: 14px;
}

.commerce-trust-features {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .trust-feature-grid {
    grid-template-columns: 1fr;
  }

  .commerce-trust-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Riequilibrio tipografico: meno peso sulle informazioni ripetute, piu' gerarchia sui veri titoli. */
button,
.button {
  font-weight: 600;
}

label,
.option span,
.flash,
.cart-section-kicker,
.journey-steps-roadmap .journey-step small,
.account-data-list span,
.admin-check-label,
.admin-supplier-row-check {
  font-weight: 500;
}

.commerce-nav a,
.commerce-quick-link,
.admin-subnav a,
.pill,
.cart-detail-count,
.admin-operational-badge,
.admin-quality-status,
.admin-origin-status,
.admin-master-status,
.admin-publication-status,
.checkout-step-tab,
.order-progress-step strong {
  font-weight: 600;
}

.product-card-body h3,
.cart-product-copy h3,
.cart-detail-section .cart-product-copy h3,
.admin-recent-order-top strong,
.admin-compact-top strong,
.admin-product-main > span,
.admin-row-copy strong,
.account-data-list strong,
.trust-feature strong {
  font-weight: 500;
}

.panel p strong,
.panel li strong,
.panel td strong,
.empty-box strong,
.summary-note-box strong,
.info-strip strong,
.order-status-banner strong,
.order-inline-notice strong,
.payment-method-card strong,
.bank-transfer-box strong,
.product-section-block strong,
.product-condition-box strong,
.admin-detail-grid strong,
.admin-order-facts strong {
  font-weight: 600;
}

.cart-detail-section .cart-item label,
.cart-detail-section .cart-item > .grid-2 > div strong,
.cart-detail-section .cart-item > .grid-2 > div .price,
.cart-detail-section .cart-item .button-danger {
  font-weight: 500;
}

.price,
.product-buy-topline .price,
.admin-order-status-head .price,
.section-admin .admin-compact-row .price,
.section-admin .admin-recent-order .price {
  font-weight: 600;
}

.stat-card strong,
.admin-workcard-number,
.journey-steps-roadmap .journey-step strong span {
  font-weight: 700;
}

/* Il toggle password resta un controllo interno al campo, anche nelle viste mobile full-width. */
.password-field input,
.section-admin .password-field input,
.account-access-grid .password-field input,
.form-grid .password-field input {
  padding-right: 3.1rem;
}

.password-field .password-toggle,
.account-access-grid .password-field .password-toggle,
.account-login-panel .password-field .password-toggle,
.account-register-panel .password-field .password-toggle,
.section-admin .password-field .password-toggle,
.form-grid .password-field .password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  left: auto;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  transform: translateY(-50%);
  justify-self: auto;
  align-self: auto;
}

.password-field .password-toggle:hover,
.account-access-grid .password-field .password-toggle:hover,
.account-login-panel .password-field .password-toggle:hover,
.account-register-panel .password-field .password-toggle:hover,
.section-admin .password-field .password-toggle:hover,
.form-grid .password-field .password-toggle:hover {
  transform: translateY(-50%);
}

/* Final admin dark overrides: keep shared admin sections readable after all page-specific rules. */
html[data-admin-theme="dark"] .section-admin .admin-compact-row,
html[data-admin-theme="dark"] .section-admin .admin-recent-order,
html[data-admin-theme="dark"] .section-admin .admin-batch-toolbar,
html[data-admin-theme="dark"] .section-admin .admin-row,
html[data-admin-theme="dark"] .section-admin .admin-row-details-card,
html[data-admin-theme="dark"] .section-admin .admin-filter-panel,
html[data-admin-theme="dark"] .section-admin .admin-filter-panel summary,
html[data-admin-theme="dark"] .section-admin .admin-modal-card,
html[data-admin-theme="dark"] .section-admin .order-row,
html[data-admin-theme="dark"] .section-admin .summary-box,
html[data-admin-theme="dark"] .section-admin .empty-box,
html[data-admin-theme="dark"] .section-admin .stat-card,
html[data-admin-theme="dark"] .section-admin .banner-admin-card,
html[data-admin-theme="dark"] .section-admin .banner-admin-body,
html[data-admin-theme="dark"] .section-admin .admin-form-grid,
html[data-admin-theme="dark"] .section-admin .request-detail-panel,
html[data-admin-theme="dark"] .section-admin .request-detail-grid section,
html[data-admin-theme="dark"] .section-admin .request-operation-card,
html[data-admin-theme="dark"] .section-admin .message-box,
html[data-admin-theme="dark"] .section-admin .catalog-sync-hero-panel,
html[data-admin-theme="dark"] .section-admin .catalog-feed-card,
html[data-admin-theme="dark"] .section-admin .catalog-feed-last-sync,
html[data-admin-theme="dark"] .section-admin .catalog-config-note,
html[data-admin-theme="dark"] .section-admin .catalog-feed-form-card,
html[data-admin-theme="dark"] .section-admin .catalog-scope-card,
html[data-admin-theme="dark"] .section-admin .catalog-rule-active-check,
html[data-admin-theme="dark"] .section-admin .catalog-sync-progress-card,
html[data-admin-theme="dark"] .section-admin .enrichment-check-filter-group,
html[data-admin-theme="dark"] .section-admin .enrichment-check-filter,
html[data-admin-theme="dark"] .section-admin .product-editor-section .admin-check-label,
html[data-admin-theme="dark"] .section-admin .admin-check-label,
html[data-admin-theme="dark"] .section-admin .admin-supplier-row-check {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-admin-theme="dark"] .section-admin .admin-responsive-table tr {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-form-heading strong {
  color: var(--text);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-form-heading {
  border-bottom-color: rgba(120, 150, 194, 0.22);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-form-icon {
  color: #79aaff;
  background: rgba(70, 122, 219, 0.18);
}

html[data-admin-theme="dark"] .section-admin .admin-responsive-table td {
  background: transparent;
  border-bottom-color: rgba(120, 150, 194, 0.18);
  color: var(--text);
}

html[data-admin-theme="dark"] .section-admin .admin-responsive-table td[data-label]::before {
  color: var(--primary-strong);
}

html[data-admin-theme="dark"] .section-admin table th {
  background: rgba(112, 167, 255, 0.1);
  border-bottom-color: rgba(120, 150, 194, 0.22);
  color: var(--primary-strong);
}

html[data-admin-theme="dark"] .section-admin table td {
  border-bottom-color: rgba(120, 150, 194, 0.16);
  color: var(--text);
}

html[data-admin-theme="dark"] .section-admin .admin-compact-top strong,
html[data-admin-theme="dark"] .section-admin .admin-row-copy strong,
html[data-admin-theme="dark"] .section-admin .admin-product-main > span,
html[data-admin-theme="dark"] .section-admin .admin-order-status-head .price,
html[data-admin-theme="dark"] .section-admin .admin-compact-row .price,
html[data-admin-theme="dark"] .section-admin .catalog-feed-card h2,
html[data-admin-theme="dark"] .section-admin .catalog-feed-last-sync strong,
html[data-admin-theme="dark"] .section-admin .catalog-scope-card strong,
html[data-admin-theme="dark"] .section-admin .catalog-sync-progress-head strong,
html[data-admin-theme="dark"] .section-admin .catalog-sync-progress p,
html[data-admin-theme="dark"] .section-admin .request-detail-panel .empty-state strong,
html[data-admin-theme="dark"] .section-admin .request-detail-head h3,
html[data-admin-theme="dark"] .section-admin .request-detail-grid h4,
html[data-admin-theme="dark"] .section-admin .request-row-summary strong,
html[data-admin-theme="dark"] .section-admin .request-kv strong,
html[data-admin-theme="dark"] .section-admin .banner-admin-body label {
  color: var(--primary-strong);
}

html[data-admin-theme="dark"] .section-admin .request-row-summary p,
html[data-admin-theme="dark"] .section-admin .request-detail-panel .empty-state,
html[data-admin-theme="dark"] .section-admin .request-kv span,
html[data-admin-theme="dark"] .section-admin .enrichment-check-filter-title {
  color: var(--muted);
}

html[data-admin-theme="dark"] .section-admin .admin-operational-badge,
html[data-admin-theme="dark"] .section-admin .admin-order-facts span,
html[data-admin-theme="dark"] .section-admin .catalog-feed-metrics span,
html[data-admin-theme="dark"] .section-admin .catalog-feed-status,
html[data-admin-theme="dark"] .section-admin .mini-status,
html[data-admin-theme="dark"] .section-admin .request-row-meta span {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.24);
  color: var(--primary-strong);
}

html[data-admin-theme="dark"] .section-admin .admin-operational-badge.is-ready,
html[data-admin-theme="dark"] .section-admin .catalog-feed-status.is-warning {
  background: rgba(242, 210, 79, 0.16);
  border-color: rgba(242, 210, 79, 0.28);
  color: #ffe58a;
}

html[data-admin-theme="dark"] .section-admin .admin-operational-badge.is-completed,
html[data-admin-theme="dark"] .section-admin .mini-status.ok,
html[data-admin-theme="dark"] .section-admin .catalog-feed-status.is-completed {
  background: rgba(76, 196, 123, 0.14);
  border-color: rgba(76, 196, 123, 0.28);
  color: #a8e8bf;
}

html[data-admin-theme="dark"] .section-admin .admin-operational-badge.is-cancelled,
html[data-admin-theme="dark"] .section-admin .catalog-feed-status.is-error,
html[data-admin-theme="dark"] .section-admin .catalog-feed-error {
  background: rgba(255, 122, 112, 0.14);
  border-color: rgba(255, 122, 112, 0.28);
  color: #ffb0aa;
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-error strong {
  color: #ffb0aa;
}

html[data-admin-theme="dark"] .section-admin .admin-modal-note {
  background: rgba(242, 210, 79, 0.12);
  border-color: rgba(242, 210, 79, 0.28);
  color: #f8dc7a;
}

html[data-admin-theme="dark"] .section-admin .admin-product-thumb,
html[data-admin-theme="dark"] .section-admin .admin-product-preview,
html[data-admin-theme="dark"] .section-admin .lookup-image-card img {
  background: rgba(7, 15, 28, 0.9);
  border-color: rgba(120, 150, 194, 0.25);
}

html[data-admin-theme="dark"] .section-admin .button-secondary,
html[data-admin-theme="dark"] .section-admin .admin-order-actions .button,
html[data-admin-theme="dark"] .section-admin .admin-order-actions button,
html[data-admin-theme="dark"] .section-admin .admin-order-actions summary,
html[data-admin-theme="dark"] .section-admin .admin-order-quick-actions .button,
html[data-admin-theme="dark"] .section-admin .admin-order-quick-actions button,
html[data-admin-theme="dark"] .section-admin .admin-order-quick-actions summary,
html[data-admin-theme="dark"] .section-admin .table-wrap td.toolbar .button,
html[data-admin-theme="dark"] .section-admin .table-wrap td.toolbar button {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.28);
  color: var(--primary-strong);
}

html[data-admin-theme="dark"] .section-admin .button-danger {
  background: #b91c1c;
  color: #fff;
}

html[data-admin-theme="dark"] .section-admin .button:disabled,
html[data-admin-theme="dark"] .section-admin button:disabled,
html[data-admin-theme="dark"] .section-admin .button-secondary:disabled {
  background: rgba(120, 150, 194, 0.16);
  border-color: rgba(120, 150, 194, 0.22);
  color: rgba(231, 238, 249, 0.56);
  cursor: not-allowed;
  opacity: 1;
}

html[data-admin-theme="dark"] .section-admin .message-box:not(:empty) {
  border-color: rgba(76, 196, 123, 0.32);
  color: #a8e8bf;
}

/* Shop/offers dark theme: same palette used by the admin dark mode. */
html[data-mro-theme="dark"] body:not(.section-admin) {
  --bg: #0b1220;
  --surface: #111b2d;
  --text: #e7eef9;
  --muted: #9fb1c9;
  --primary: #70a7ff;
  --primary-strong: #dce9ff;
  --highlight: #f2d24f;
  --accent-red: #ff7a70;
  --accent-red-soft: rgba(255, 122, 112, 0.14);
  --border: #2a3d57;
  --danger: #e25262;
  --success: #4cc47b;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(112, 167, 255, 0.16), transparent 22%),
    radial-gradient(circle at 86% 7%, rgba(255, 122, 112, 0.12), transparent 15%),
    linear-gradient(180deg, #0b1220 0%, #101827 100%);
}

html[data-mro-theme="dark"] .commerce-topbar,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled {
  background: rgba(255, 227, 74, 0.78);
  border-color: rgba(255, 227, 74, 0.42);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

html[data-mro-theme="dark"] .commerce-nav a,
html[data-mro-theme="dark"] .commerce-quick-link,
html[data-mro-theme="dark"] .commerce-search input,
html[data-mro-theme="dark"] .theme-toggle,
html[data-mro-theme="dark"] .shop-theme-switch,
html[data-mro-theme="dark"] .commerce-menu-toggle {
  background: rgba(10, 20, 36, 0.9);
  border-color: rgba(120, 150, 194, 0.38);
  color: #e7eef9;
}

html[data-mro-theme="dark"] .theme-toggle__system.is-active,
html[data-mro-theme="dark"] .theme-toggle__option.is-active {
  background: rgba(112, 167, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(112, 167, 255, 0.35);
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-category-chip {
  background: rgba(112, 167, 255, 0.1);
  border-color: rgba(128, 174, 255, 0.22);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-category-chip--accent {
  background: rgba(255, 227, 74, 0.16);
  border-color: rgba(255, 227, 74, 0.28);
}

html[data-mro-theme="dark"] .commerce-nav a.active,
html[data-mro-theme="dark"] .commerce-nav a:hover,
html[data-mro-theme="dark"] .commerce-quick-link:hover {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(255, 122, 112, 0.62);
  color: #ffffff;
}

html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-nav a,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-quick-link,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-search input,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .theme-toggle,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .shop-theme-switch,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-menu-toggle {
  background: rgba(10, 20, 36, 0.9);
  border-color: rgba(120, 150, 194, 0.38);
  color: #e7eef9;
}

html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-nav a.active,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-nav a:hover,
html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-quick-link:hover {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(255, 122, 112, 0.62);
  color: #ffffff;
}

html[data-mro-theme="dark"] .commerce-topbar.is-scrolled .commerce-search button {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(120, 150, 194, 0.34);
  color: #e7eef9;
}

html[data-mro-theme="dark"] .commerce-topbar .commerce-search button,
html[data-mro-theme="dark"] .shop-theme-switch select {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(120, 150, 194, 0.34);
  color: #e7eef9;
}

html[data-mro-theme="dark"] .commerce-menu[open] .commerce-nav {
  background: rgba(17, 27, 45, 0.98);
  border-color: rgba(120, 150, 194, 0.3);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-customer-type-option > span,
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-company-fields {
  background: linear-gradient(180deg, rgba(17, 31, 54, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.34);
  color: #e7eef9;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-customer-type-option > input:checked + span {
  background: linear-gradient(135deg, rgba(67, 94, 142, 0.92), rgba(41, 55, 79, 0.96));
  border-color: #f0c62d;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(232, 52, 57, 0.82);
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-company-fields-head span,
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-customer-type-option small {
  color: #b8c9e2;
}

html[data-mro-theme="dark"] body:not(.section-admin) .panel,
html[data-mro-theme="dark"] body:not(.section-admin) .product-card,
html[data-mro-theme="dark"] body:not(.section-admin) .stat-card,
html[data-mro-theme="dark"] body:not(.section-admin) .order-row,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-item,
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-grid,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section,
html[data-mro-theme="dark"] body:not(.section-admin) .empty-box,
html[data-mro-theme="dark"] body:not(.section-admin) .summary-box,
html[data-mro-theme="dark"] body:not(.section-admin) .product-detail-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .product-content-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .product-assets-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .product-buy-card,
html[data-mro-theme="dark"] body:not(.section-admin) .account-login-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .account-register-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-panel-shell,
html[data-mro-theme="dark"] body:not(.section-admin) .legal-check-list,
html[data-mro-theme="dark"] body:not(.section-admin) .payment-method-card,
html[data-mro-theme="dark"] body:not(.section-admin) .bank-transfer-box,
html[data-mro-theme="dark"] body:not(.section-admin) .order-progress-step,
html[data-mro-theme="dark"] body:not(.section-admin) .cookie-notice,
html[data-mro-theme="dark"] body:not(.section-admin) .trust-panel,
html[data-mro-theme="dark"] body:not(.section-admin) .trust-feature,
html[data-mro-theme="dark"] body:not(.section-admin) .trust-logo-badge {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-card-body,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-copy,
html[data-mro-theme="dark"] body:not(.section-admin) .home-service-pillar,
html[data-mro-theme="dark"] body:not(.section-admin) .home-service-pillar-copy,
html[data-mro-theme="dark"] body:not(.section-admin) .service-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-plan-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-teaser,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-choice-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-service-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-wizard-card,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel .form-subsection,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel #energyDocs,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel .offers-wizard-card .option,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-roadmap-section,
html[data-mro-theme="dark"] body:not(.section-admin) .order-roadmap,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-roadmap-section,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-step,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .steps-overview article,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step strong {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-card-body h3,
html[data-mro-theme="dark"] body:not(.section-admin) .product-card-body p,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-copy strong,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-copy span,
html[data-mro-theme="dark"] body:not(.section-admin) .home-service-pillar-copy strong,
html[data-mro-theme="dark"] body:not(.section-admin) .home-service-pillar-copy span,
html[data-mro-theme="dark"] body:not(.section-admin) .service-card h3,
html[data-mro-theme="dark"] body:not(.section-admin) .service-card p,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card h3,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card p,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-plan-card h3,
html[data-mro-theme="dark"] body:not(.section-admin) .offer-plan-card p,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-service-card h2,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-service-card p,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps h2,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .steps-overview article strong,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .steps-overview article p,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-step strong {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-card-body .muted,
html[data-mro-theme="dark"] body:not(.section-admin) .service-card .muted,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-service-card .muted,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .muted,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-step span,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step small,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel .offers-wizard-card .muted {
  color: var(--muted);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-section-kicker,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-section-head h2,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-detail-count,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-product-copy h3,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-item label,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-item > .grid-2 > div strong,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-item > .grid-2 > div .price {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-product-copy .muted,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-item > .grid-2 > div .muted {
  color: var(--muted);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-section-head {
  border-bottom-color: rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-detail-section .cart-detail-count {
  background: rgba(112, 167, 255, 0.12);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-box {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-head span,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-head strong,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-lines dt,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-lines dd {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-summary-head {
  border-bottom-color: rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card-icon {
  color: #1d3b76;
  background: linear-gradient(135deg, #ffe866 0%, #fff6b7 100%);
  border-color: rgba(255, 232, 102, 0.58);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card-icon-fisso {
  color: #083f73;
  background: linear-gradient(135deg, #9dd8ff 0%, #e6f5ff 100%);
  border-color: rgba(157, 216, 255, 0.6);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card-icon-mobile {
  color: #075645;
  background: linear-gradient(135deg, #9ff2d5 0%, #e3fff5 100%);
  border-color: rgba(159, 242, 213, 0.58);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offer-section-card-icon .ui-icon {
  color: currentColor;
  stroke: currentColor;
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip {
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 167, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(18, 31, 52, 0.99) 0%, rgba(12, 22, 38, 0.99) 100%);
  border-color: rgba(120, 150, 194, 0.36);
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip-head h2,
html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip .trust-feature strong {
  color: #eef5ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip > p.muted,
html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip .trust-feature span {
  color: #c3d1e8;
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip .trust-logo-badge {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-color: rgba(167, 197, 246, 0.52);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-features {
  border-top-color: rgba(120, 150, 194, 0.26);
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip .trust-feature {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(112, 167, 255, 0.12), rgba(17, 31, 54, 0.78));
  border: 1px solid rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-trust-strip .trust-feature-icon {
  background: linear-gradient(135deg, #eaf3ff 0%, #d8e9ff 100%);
  color: #0b4fb8;
  border: 1px solid rgba(167, 197, 246, 0.62);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-step.is-current,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-current strong {
  background: linear-gradient(135deg, rgba(242, 210, 79, 0.26), rgba(17, 27, 45, 0.98));
  border-color: rgba(242, 210, 79, 0.38);
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-step.is-done,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-done strong {
  background: linear-gradient(135deg, rgba(76, 196, 123, 0.18), rgba(17, 27, 45, 0.98));
  border-color: rgba(76, 196, 123, 0.3);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced > .offers-section.offers-workflow-panel {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border: 1px solid rgba(120, 150, 194, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-workflow-panel .offers-wizard-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-mro-theme="dark"] body:not(.section-admin) input,
html[data-mro-theme="dark"] body:not(.section-admin) textarea,
html[data-mro-theme="dark"] body:not(.section-admin) select {
  background: rgba(7, 15, 28, 0.9);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) input::placeholder,
html[data-mro-theme="dark"] body:not(.section-admin) textarea::placeholder {
  color: rgba(159, 177, 201, 0.72);
}

html[data-mro-theme="dark"] body:not(.section-admin) .button-secondary,
html[data-mro-theme="dark"] body:not(.section-admin) .table-toggle,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-panel > summary,
html[data-mro-theme="dark"] body:not(.section-admin) .mobile-panel summary {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.28);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-panel > summary em {
  background: rgba(76, 196, 123, 0.18);
  border: 1px solid rgba(76, 196, 123, 0.28);
  color: #a8e8bf;
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-grid {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-grid label,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-grid .table-toggle {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-filter-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--primary);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-box {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.74), rgba(17, 27, 45, 0.98));
  border-color: rgba(112, 167, 255, 0.34);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-box strong {
  color: #dce9ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-box > span,
html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-box small {
  color: #b9c9df;
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-legend div {
  background: rgba(7, 15, 28, 0.62);
  border-color: rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-legend b {
  background: rgba(112, 167, 255, 0.18);
  color: #dce9ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-condition-legend span {
  color: #e7eef9;
}

html[data-mro-theme="dark"] body:not(.section-admin) .pill,
html[data-mro-theme="dark"] body:not(.section-admin) .mini-status,
html[data-mro-theme="dark"] body:not(.section-admin) .availability-line,
html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(112, 167, 255, 0.24);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .product-image,
html[data-mro-theme="dark"] body:not(.section-admin) .product-gallery-main,
html[data-mro-theme="dark"] body:not(.section-admin) .product-gallery-thumb,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-item-thumb,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-sidebar,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-mobile-panels .mobile-panel {
  background: rgba(7, 15, 28, 0.9);
  border-color: rgba(120, 150, 194, 0.25);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-service-link,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-sidebar-heading {
  background: linear-gradient(135deg, rgba(242, 210, 79, 0.22), rgba(112, 167, 255, 0.12) 88%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-service-link:hover,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-service-link:focus-visible {
  border-color: rgba(255, 122, 112, 0.52);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
}

html[data-mro-theme="dark"] body:not(.section-admin) .catalog-pagination {
  border-top-color: rgba(120, 150, 194, 0.22);
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-footer {
  border-top-color: rgba(120, 150, 194, 0.22);
}

/* Checkout: keep labels readable when light-mode cards are replaced by dark surfaces. */
html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab {
  background: linear-gradient(180deg, #172944 0%, #102038 100%);
  border-color: rgba(136, 174, 230, 0.42);
  color: #eaf2ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab > span:not(.ui-icon) {
  background: rgba(137, 177, 236, 0.2);
  color: #f4f8ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab .ui-icon {
  color: #9fc5ff;
  stroke: currentColor;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab.is-active {
  background: linear-gradient(135deg, #ffe36a 0%, #fff3ad 100%);
  border-color: #f4cd2f;
  color: #102a55;
  box-shadow: 0 10px 24px rgba(242, 210, 79, 0.18);
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab.is-active > span:not(.ui-icon) {
  background: #173f86;
  color: #ffffff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab.is-active .ui-icon {
  color: #173f86;
}

html[data-mro-theme="dark"] body:not(.section-admin) .checkout-step-tab.is-done {
  background: linear-gradient(135deg, rgba(31, 103, 68, 0.96), #142b30);
  border-color: rgba(90, 215, 143, 0.52);
  color: #eafff2;
}

html[data-mro-theme="dark"] body:not(.section-admin) .info-strip {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.96), rgba(54, 49, 39, 0.94));
  border-color: rgba(133, 174, 232, 0.34);
}

html[data-mro-theme="dark"] body:not(.section-admin) .info-strip strong,
html[data-mro-theme="dark"] body:not(.section-admin) .summary-note-box strong {
  color: #f1f6ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .info-strip span,
html[data-mro-theme="dark"] body:not(.section-admin) .summary-note-box span,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-step small,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step small {
  color: #b9cbe5;
}

html[data-mro-theme="dark"] body:not(.section-admin) .summary-note-box {
  background: linear-gradient(135deg, rgba(27, 50, 84, 0.98), rgba(18, 34, 58, 0.98));
  border-color: rgba(133, 174, 232, 0.38);
}

html[data-mro-theme="dark"] .commerce-topbar .commerce-brand-logo {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
}

html[data-mro-theme="dark"] body:not(.section-admin) .commerce-footer-logo {
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  filter: none;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-roadmap,
html[data-mro-theme="dark"] body:not(.section-admin) .cart-roadmap-section,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-roadmap-section {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-hero-panel::after {
  background: radial-gradient(circle, rgba(112, 167, 255, 0.16), rgba(112, 167, 255, 0));
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-hero-panel {
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 167, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-hero-panel .offers-hero-copy h1,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-hero-panel .offers-category-label {
  color: #eef5ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-hero-panel .offers-hero-copy .hero-text {
  color: #b9c9df;
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button {
  color: var(--text);
  background: rgba(23, 40, 66, 0.9);
  border-color: rgba(120, 150, 194, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button:hover,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button:focus-visible,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button.is-selected {
  background: rgba(31, 52, 84, 0.98);
  border-color: rgba(112, 167, 255, 0.56);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button strong,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-home-rebalanced .hero-metrics button span {
  color: #eef5ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-service-card {
  background: linear-gradient(135deg, rgba(24, 41, 68, 0.96), rgba(16, 29, 49, 0.98));
  border-color: rgba(120, 150, 194, 0.3);
  box-shadow: none;
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-current,
html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-done {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(112, 167, 255, 0.76), rgba(112, 167, 255, 0.34));
  box-shadow: 0 0 10px rgba(112, 167, 255, 0.18);
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step strong {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(120, 150, 194, 0.34);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-current strong {
  background: linear-gradient(135deg, #ffe66a, #d6b721);
  border-color: rgba(255, 231, 102, 0.95);
  color: #102047;
  box-shadow: 0 10px 24px rgba(242, 210, 79, 0.22);
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-current strong span {
  background: #102047;
  color: #fff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .journey-steps-roadmap .journey-step.is-done strong {
  background: linear-gradient(135deg, rgba(76, 196, 123, 0.18), rgba(17, 31, 54, 0.96));
  border-color: rgba(76, 196, 123, 0.32);
}

html[data-mro-theme="dark"] body:not(.section-admin) .how-it-works,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border: 1px solid rgba(120, 150, 194, 0.28);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .eyebrow {
  color: rgba(112, 167, 255, 0.92);
}

html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps h2,
html[data-mro-theme="dark"] body:not(.section-admin) .offers-compact-steps .section-heading {
  color: var(--text);
}

/* Dark mode: residual light surfaces on shop pages. */
html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.96), rgba(18, 34, 58, 0.98));
  border-color: rgba(133, 174, 232, 0.34);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner strong {
  color: #f1f6ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner span {
  color: #b9cbe5;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-paid {
  background: linear-gradient(135deg, rgba(22, 72, 48, 0.96), rgba(18, 34, 58, 0.98));
  border-color: rgba(76, 196, 123, 0.36);
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-paid strong {
  color: #d7ffe5;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-paid span {
  color: #a8e8bf;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-failed {
  background: linear-gradient(135deg, rgba(92, 24, 32, 0.96), rgba(18, 34, 58, 0.98));
  border-color: rgba(226, 82, 98, 0.38);
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-failed strong {
  color: #ffd1cd;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-status-banner.is-failed span {
  color: #ffb0aa;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 227, 74, 0.32), transparent 26%),
    linear-gradient(135deg, rgba(232, 250, 239, 0.98), rgba(239, 248, 255, 0.95));
  border-color: rgba(16, 124, 65, 0.18);
  box-shadow: 0 22px 48px rgba(16, 124, 65, 0.14);
  color: #132345;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero h1 {
  color: #08703a;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero p {
  color: #315070;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero .pill {
  background: rgba(19, 82, 209, 0.08);
  border-color: rgba(19, 82, 209, 0.14);
  color: #0d3a9a;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero .button-secondary {
  background: #ffffff;
  border-color: rgba(19, 82, 209, 0.24);
  color: #1352d1;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-payment-success-hero .button-secondary:hover {
  background: #f4f8ff;
  border-color: rgba(19, 82, 209, 0.34);
  color: #0d3a9a;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.96), rgba(18, 34, 58, 0.98));
  border-color: rgba(133, 174, 232, 0.34);
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice strong {
  color: #f1f6ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice span {
  color: #b9cbe5;
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice.is-warning {
  background: linear-gradient(135deg, rgba(92, 72, 16, 0.92), rgba(18, 34, 58, 0.98));
  border-color: rgba(242, 210, 79, 0.38);
}

html[data-mro-theme="dark"] body:not(.section-admin) .order-inline-notice.is-error {
  background: linear-gradient(135deg, rgba(92, 24, 32, 0.96), rgba(18, 34, 58, 0.98));
  border-color: rgba(226, 82, 98, 0.38);
}

html[data-mro-theme="dark"] body:not(.section-admin) .account-onboarding-note {
  background: linear-gradient(135deg, rgba(22, 72, 48, 0.88), rgba(18, 34, 58, 0.98));
  border-color: rgba(76, 196, 123, 0.28);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .account-onboarding-note h3,
html[data-mro-theme="dark"] body:not(.section-admin) .account-onboarding-note p {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .account-security-summary {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .account-security-summary .account-data-list strong {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .account-security-summary .account-data-list span {
  color: var(--muted);
}

html[data-mro-theme="dark"] body:not(.section-admin) .category-group,
html[data-mro-theme="dark"] body:not(.section-admin) .catalog-explorer-panel .category-group {
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.98) 0%, rgba(12, 22, 38, 0.98) 100%);
  border-color: rgba(120, 150, 194, 0.28);
}

html[data-mro-theme="dark"] body:not(.section-admin) .category-root-link {
  background: rgba(112, 167, 255, 0.1);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .category-child-link {
  background: rgba(7, 15, 28, 0.62);
  color: #b9c9df;
}

html[data-mro-theme="dark"] body:not(.section-admin) .category-count {
  background: rgba(112, 167, 255, 0.14);
  color: var(--muted);
}

html[data-mro-theme="dark"] body:not(.section-admin) .category-children {
  border-left-color: rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .desktop-catalog-toolbar {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.96), rgba(54, 49, 39, 0.94));
  border-color: rgba(133, 174, 232, 0.34);
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .desktop-catalog-toolbar h3 {
  color: #eef5ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .desktop-catalog-toolbar p {
  color: #b9cbe5;
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-offer-ticker {
  background: linear-gradient(90deg, rgba(54, 49, 39, 0.94), rgba(17, 27, 45, 0.98) 26%, rgba(25, 52, 91, 0.96) 72%, rgba(11, 90, 120, 0.32));
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-offer-ticker-head {
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-offer-ticker-item {
  background: rgba(17, 31, 54, 0.96);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-mro-theme="dark"] body:not(.section-admin) .home-offer-ticker-item strong {
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .promo-strip {
  background: linear-gradient(135deg, rgba(54, 49, 39, 0.94) 0%, rgba(17, 27, 45, 0.98) 40%, rgba(25, 52, 91, 0.96) 100%);
  border-color: rgba(120, 150, 194, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .promo-strip h2 {
  color: var(--text);
}

html[data-mro-theme="dark"] body:not(.section-admin) .promo-points p {
  background: rgba(112, 167, 255, 0.12);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .hero-card-copy {
  background: rgba(17, 31, 54, 0.92);
  color: #eef5ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .hero-card-copy h2,
html[data-mro-theme="dark"] body:not(.section-admin) .hero-card-copy p {
  color: inherit;
}

html[data-mro-theme="dark"] body:not(.section-admin) .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-support .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-help .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-refurb .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-chat .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-network .overview-icon,
html[data-mro-theme="dark"] body:not(.section-admin) .overview-card-shop .overview-icon {
  background: linear-gradient(135deg, rgba(112, 167, 255, 0.22), rgba(17, 27, 45, 0.9));
  border-color: rgba(120, 150, 194, 0.28);
  color: #dce9ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .service-icon {
  background: rgba(112, 167, 255, 0.18);
  border-color: rgba(120, 150, 194, 0.28);
  color: var(--primary-strong);
}

html[data-mro-theme="dark"] body:not(.section-admin) .trust-badge {
  background: rgba(112, 167, 255, 0.14);
  border-color: rgba(120, 150, 194, 0.28);
  color: #dce9ff;
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-payment-badges .trust-logo-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(120, 150, 194, 0.24);
}

html[data-mro-theme="dark"] body:not(.section-admin) .cart-roadmap-section .cart-section-kicker,
html[data-mro-theme="dark"] body:not(.section-admin) .order-roadmap .cart-section-kicker {
  color: var(--primary-strong);
}

/* Operational cards: shared urgency language across admin sections. */
.section-admin .admin-workcard.is-urgent,
.section-admin .admin-workcard.is-danger {
  border-color: rgba(210, 35, 42, 0.34);
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 56%, #f7fbff 100%);
}

.section-admin .admin-workcard.is-urgent::before,
.section-admin .admin-workcard.is-danger::before {
  background: #d2232a;
}

.section-admin .admin-workcard.is-urgent .admin-workcard-number,
.section-admin .admin-workcard.is-danger .admin-workcard-number {
  color: #b91c1c;
}

.section-admin .admin-workcard.is-warning {
  border-color: rgba(242, 195, 0, 0.42);
  background: linear-gradient(135deg, #fff9d8 0%, #ffffff 58%, #f7fbff 100%);
}

.section-admin .admin-workcard.is-warning::before {
  background: #f2c300;
}

.section-admin .admin-workcard.is-warning .admin-workcard-number {
  color: #9b5e09;
}

.section-admin .admin-workcard.is-info,
.section-admin .admin-workcard.is-recent {
  border-color: rgba(19, 82, 209, 0.3);
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 60%, #f7fbff 100%);
}

.section-admin .admin-workcard.is-info::before,
.section-admin .admin-workcard.is-recent::before {
  background: var(--primary);
}

.section-admin .admin-workcard.is-success {
  border-color: rgba(22, 101, 52, 0.26);
  background: linear-gradient(135deg, #e8f8ef 0%, #ffffff 60%, #f7fbff 100%);
}

.section-admin .admin-workcard.is-success::before {
  background: #16a34a;
}

.section-admin .admin-workcard.is-success .admin-workcard-number {
  color: #166534;
}

.section-admin .admin-workcard.is-muted,
.section-admin .admin-workcard.is-neutral {
  border-color: rgba(148, 163, 184, 0.24);
  background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 64%, #f7fbff 100%);
}

.section-admin .admin-workcard.is-muted::before,
.section-admin .admin-workcard.is-neutral::before {
  background: #94a3b8;
}

.catalog-feed-card.is-completed .catalog-feed-last-sync {
  background: linear-gradient(135deg, #d9f8e5 0%, #f4fff8 100%);
  border-color: rgba(22, 101, 52, 0.36);
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.08), 0 10px 22px rgba(22, 101, 52, 0.12);
}

.catalog-feed-card.is-completed {
  border-color: rgba(22, 101, 52, 0.24);
  background: linear-gradient(135deg, rgba(232, 248, 239, 0.72) 0%, #ffffff 56%, #f7fbff 100%);
}

.catalog-feed-card.is-error .catalog-feed-last-sync {
  background: linear-gradient(135deg, #ffe3e3 0%, #fff7f7 100%);
  border-color: rgba(210, 35, 42, 0.36);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.08), 0 10px 22px rgba(210, 35, 42, 0.1);
}

.catalog-feed-card.is-error {
  border-color: rgba(210, 35, 42, 0.28);
  background: linear-gradient(135deg, rgba(255, 241, 241, 0.78) 0%, #ffffff 58%, #f7fbff 100%);
}

.catalog-feed-card.is-warning .catalog-feed-last-sync {
  background: linear-gradient(135deg, #fff3bd 0%, #fffaf0 100%);
  border-color: rgba(242, 195, 0, 0.36);
  box-shadow: inset 0 0 0 1px rgba(242, 195, 0, 0.08), 0 10px 22px rgba(242, 195, 0, 0.1);
}

.catalog-feed-card.is-warning {
  border-color: rgba(242, 195, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 249, 216, 0.74) 0%, #ffffff 58%, #f7fbff 100%);
}

.catalog-feed-card.is-completed .catalog-feed-last-sync strong {
  color: #0f6d3a;
}

.catalog-feed-card.is-error .catalog-feed-last-sync strong {
  color: #b91c1c;
}

.catalog-feed-card.is-warning .catalog-feed-last-sync strong {
  color: #9b5e09;
}

.request-operation-card-new {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 62%);
  border-color: rgba(210, 35, 42, 0.32);
}

.request-operation-card-working {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 62%);
  border-color: rgba(19, 82, 209, 0.3);
}

.request-operation-card-completed {
  background: linear-gradient(135deg, #e8f8ef 0%, #ffffff 62%);
  border-color: rgba(22, 101, 52, 0.26);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-urgent,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-danger {
  background: linear-gradient(135deg, rgba(86, 25, 30, 0.9), rgba(17, 27, 45, 0.98));
  border-color: rgba(255, 122, 112, 0.38);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-urgent::before,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-danger::before {
  background: #ff7a70;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-urgent .admin-workcard-number,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-danger .admin-workcard-number {
  color: #ffb0aa;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-warning {
  background: linear-gradient(135deg, rgba(73, 60, 22, 0.84), rgba(17, 27, 45, 0.98));
  border-color: rgba(242, 210, 79, 0.36);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-warning::before {
  background: #f2d24f;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-warning .admin-workcard-number {
  color: #ffe384;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-info,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-recent {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.86), rgba(17, 27, 45, 0.98));
  border-color: rgba(112, 167, 255, 0.34);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-info::before,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-recent::before {
  background: #70a7ff;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-info .admin-workcard-number,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-recent .admin-workcard-number {
  color: #b9d5ff;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-success {
  background: linear-gradient(135deg, rgba(23, 70, 46, 0.78), rgba(17, 27, 45, 0.98));
  border-color: rgba(76, 196, 123, 0.32);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-success::before {
  background: #4cc47b;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-success .admin-workcard-number {
  color: #a8e8bf;
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-muted,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-neutral {
  background: linear-gradient(135deg, rgba(24, 34, 50, 0.92), rgba(17, 27, 45, 0.98));
  border-color: rgba(120, 150, 194, 0.24);
}

html[data-admin-theme="dark"] .section-admin .admin-workcard.is-muted::before,
html[data-admin-theme="dark"] .section-admin .admin-workcard.is-neutral::before {
  background: #64748b;
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-completed .catalog-feed-last-sync {
  background: linear-gradient(135deg, rgba(23, 95, 55, 0.9), rgba(17, 54, 39, 0.96));
  border-color: rgba(76, 196, 123, 0.48);
  box-shadow: inset 0 0 0 1px rgba(76, 196, 123, 0.08), 0 10px 24px rgba(23, 95, 55, 0.28);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-completed {
  background: linear-gradient(135deg, rgba(23, 70, 46, 0.36), rgba(17, 27, 45, 0.98) 62%);
  border-color: rgba(76, 196, 123, 0.28);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-warning .catalog-feed-last-sync {
  background: linear-gradient(135deg, rgba(92, 72, 18, 0.88), rgba(51, 42, 19, 0.96));
  border-color: rgba(242, 210, 79, 0.42);
  box-shadow: inset 0 0 0 1px rgba(242, 210, 79, 0.08), 0 10px 24px rgba(92, 72, 18, 0.22);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-warning {
  background: linear-gradient(135deg, rgba(73, 60, 22, 0.38), rgba(17, 27, 45, 0.98) 62%);
  border-color: rgba(242, 210, 79, 0.28);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-error .catalog-feed-last-sync {
  background: linear-gradient(135deg, rgba(100, 30, 34, 0.9), rgba(56, 24, 29, 0.96));
  border-color: rgba(255, 122, 112, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 112, 0.08), 0 10px 24px rgba(100, 30, 34, 0.25);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-error {
  background: linear-gradient(135deg, rgba(86, 25, 30, 0.42), rgba(17, 27, 45, 0.98) 62%);
  border-color: rgba(255, 122, 112, 0.3);
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-completed .catalog-feed-last-sync strong {
  color: #d7ffe5;
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-warning .catalog-feed-last-sync strong {
  color: #ffe384;
}

html[data-admin-theme="dark"] .section-admin .catalog-feed-card.is-error .catalog-feed-last-sync strong {
  color: #ffd1cd;
}

html[data-admin-theme="dark"] .section-admin .request-operation-card-new {
  background: linear-gradient(135deg, rgba(86, 25, 30, 0.9), rgba(17, 27, 45, 0.98));
  border-color: rgba(255, 122, 112, 0.38);
}

html[data-admin-theme="dark"] .section-admin .request-operation-card-working {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.86), rgba(17, 27, 45, 0.98));
  border-color: rgba(112, 167, 255, 0.34);
}

html[data-admin-theme="dark"] .section-admin .request-operation-card-completed {
  background: linear-gradient(135deg, rgba(23, 70, 46, 0.78), rgba(17, 27, 45, 0.98));
  border-color: rgba(76, 196, 123, 0.32);
}

.enrichment-progress {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230, 239, 255, 0.85), rgba(255, 252, 229, 0.62));
  box-shadow: 0 14px 34px rgba(17, 47, 94, 0.1);
}

.enrichment-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.enrichment-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(14, 72, 158, 0.12);
}

.enrichment-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #ffd72f);
  transition: width 0.25s ease;
}

.enrichment-progress p {
  margin: 10px 0 0;
  color: var(--muted);
}

.enrichment-progress-report {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.enrichment-progress-report strong,
.enrichment-progress-report span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 0.88rem;
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress {
  background: linear-gradient(135deg, rgba(25, 52, 91, 0.8), rgba(17, 27, 45, 0.98));
  border-color: rgba(112, 167, 255, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-track {
  background: rgba(112, 167, 255, 0.18);
}

html[data-admin-theme="dark"] .section-admin .enrichment-progress-report strong,
html[data-admin-theme="dark"] .section-admin .enrichment-progress-report span {
  background: rgba(12, 24, 42, 0.86);
  border-color: rgba(112, 167, 255, 0.28);
  color: #eaf2ff;
}

.miwo-candidate-grid {
  display: grid;
  gap: 14px;
}

.miwo-candidate-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(19, 82, 209, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow-soft);
}

.miwo-candidate-image {
  min-height: 210px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(19, 82, 209, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.miwo-candidate-image img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.miwo-candidate-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.miwo-candidate-body h2 {
  margin: 0;
  color: #0d3b9f;
  font-size: 1.35rem;
  line-height: 1.15;
}

.miwo-candidate-body p {
  margin: 0;
  color: #4f6687;
  font-size: 0.92rem;
  line-height: 1.48;
}

html[data-admin-theme="dark"] .section-admin .miwo-candidate-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(91, 150, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #102039, #0a1628);
  border-color: rgba(128, 174, 255, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

html[data-admin-theme="dark"] .section-admin .miwo-candidate-image {
  background: #f7faff;
  border-color: rgba(191, 211, 245, 0.28);
}

html[data-admin-theme="dark"] .section-admin .miwo-candidate-body h2 {
  color: #eef5ff;
}

html[data-admin-theme="dark"] .section-admin .miwo-candidate-body p,
html[data-admin-theme="dark"] .section-admin .miwo-candidate-body .admin-content-meta {
  color: #b9cae4;
}

html[data-admin-theme="dark"] .section-admin .miwo-candidate-body .admin-content-meta span {
  color: #d8e6ff;
}

@media (max-width: 760px) {
  .miwo-candidate-card {
    grid-template-columns: 1fr;
  }

  .miwo-candidate-image {
    min-height: 180px;
  }
}

/* UX mobile/tablet refresh — 2026-08-20 */
html[data-admin-theme="dark"] .section-admin .miwo-candidate-image {
  background: rgba(17, 27, 45, 0.96);
}

@media (max-width: 720px) {
  .section-admin .commerce-trust-features {
    display: none;
  }

  .section-admin .admin-subnav {
    box-shadow: inset -18px 0 16px -16px rgba(15, 23, 42, 0.12);
  }

  html[data-admin-theme="dark"] .section-admin .admin-subnav {
    box-shadow: inset -18px 0 16px -16px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 520px) {
  .admin-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-modal-actions .button,
  .admin-modal-actions .button-danger,
  .admin-modal-actions button {
    width: 100%;
    justify-content: center;
  }
}

.admin-mobile-tabbar {
  display: none;
}

.admin-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
}

.admin-mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(19, 82, 209, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
}

.admin-mobile-tabbar__item {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 56px;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-mobile-tabbar__item .ui-icon {
  width: 20px;
  height: 20px;
}

.admin-mobile-tabbar__item.is-active {
  color: var(--primary-strong);
  background: rgba(19, 82, 209, 0.08);
}

.admin-mobile-menu.is-open {
  pointer-events: auto;
}

.admin-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.admin-mobile-menu.is-open .admin-mobile-menu__backdrop {
  opacity: 1;
}

.admin-mobile-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.18);
  transform: translateY(100%);
  transition: transform 0.24s ease;
}

.admin-mobile-menu.is-open .admin-mobile-menu__panel {
  transform: translateY(0);
}

.admin-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.admin-mobile-menu__header h2 {
  margin: 6px 0 0;
  font-size: 1.05rem;
}

.admin-mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.admin-mobile-menu__body {
  overflow: auto;
  padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}

.admin-mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-mobile-menu__section + .admin-mobile-menu__section {
  margin-top: 16px;
}

.admin-mobile-menu__section h3 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-mobile-menu__links {
  display: grid;
  gap: 8px;
}

.admin-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(19, 82, 209, 0.12);
  border-radius: 14px;
  background: rgba(19, 82, 209, 0.04);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.admin-mobile-menu__link.is-active {
  border-color: rgba(19, 82, 209, 0.35);
  background: rgba(19, 82, 209, 0.1);
  color: var(--primary-strong);
}

.admin-mobile-menu__footer {
  margin-top: 18px;
}

.admin-mobile-menu__footer .button {
  width: 100%;
  justify-content: center;
}

body.admin-mobile-menu-open {
  overflow: hidden;
}

html[data-admin-theme="dark"] .section-admin .admin-subnav-group-label {
  background: rgba(112, 167, 255, 0.1);
  color: #b9cae4;
}

html[data-admin-theme="dark"] .section-admin .admin-mobile-tabbar {
  background: rgba(17, 24, 39, 0.96);
  border-color: rgba(128, 174, 255, 0.18);
}

html[data-admin-theme="dark"] .section-admin .admin-mobile-menu__panel {
  background: #111827;
}

html[data-admin-theme="dark"] .section-admin .admin-mobile-menu__link {
  background: rgba(112, 167, 255, 0.08);
  border-color: rgba(128, 174, 255, 0.18);
}

html[data-admin-theme="dark"] .section-admin .admin-subnav-scroll::before {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0));
}

html[data-admin-theme="dark"] .section-admin .admin-subnav-scroll::after {
  background: linear-gradient(270deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0));
}

@media (max-width: 720px) {
  .section-admin .admin-subnav {
    display: none;
  }

  .section-admin .admin-mobile-tabbar {
    display: grid;
  }

  .section-admin .admin-mobile-menu {
    display: block;
  }

  .section-admin .commerce-shell {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .section-admin .cookie-notice {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .section-admin .commerce-trust-strip,
  .section-admin .commerce-footer {
    display: none;
  }

  .section-admin .stat-card {
    border-left: 4px solid rgba(19, 82, 209, 0.24);
  }

  html[data-admin-theme="dark"] .section-admin .admin-compact-row {
    border-left-color: rgba(128, 174, 255, 0.35);
  }
}
