:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --line: #dbdde2;
  --text: #13161d;
  --muted: #6b7280;
  --primary: #101215;
  --accent: #8be85a;
  --sidebar-w: 250px;
  --announce-h: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: "Plus Jakarta Sans", "Manrope", "Avenir Next", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.announcement {
  height: var(--announce-h);
  background: #090d12;
  color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.brand {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.8px;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-logo-toggle {
  cursor: pointer;
}

.top-links {
  display: flex;
  gap: 16px;
  font-size: 16px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbfc;
  padding: 8px 10px;
  min-width: 320px;
}

.search-wrap input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  font-size: 14px;
}

.icon-btn,
.ghost-btn,
.primary-btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  padding: 9px 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 700;
}

.promo-pill {
  border: 3px solid transparent;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 15px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(90deg, #ff7300, #f2ea00, #1bbf24, #3364ff, #8a2be2) border-box;
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.timer {
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 14px;
  letter-spacing: 0.6px;
}

.layout {
  height: calc(100vh - var(--announce-h));
  display: flex;
  min-height: 0;
}

.sidebar {
  width: var(--sidebar-w);
  background: #e9eaec;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: width 180ms ease;
}

.sidebar-brand {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

body.sidebar-collapsed .sidebar {
  width: 80px;
}

.store-switch-wrap {
  position: relative;
}

.store-switch {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9f9f8;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  cursor: pointer;
}

.store-main {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.store-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.store-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-caret {
  font-size: 16px;
  color: #4c4f56;
  transition: transform 160ms ease;
}

.store-switch[aria-expanded="true"] .store-caret {
  transform: rotate(180deg);
}

.store-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  max-width: min(340px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(20, 24, 30, 0.18);
  z-index: 30;
  padding: 8px;
}

.store-current {
  background: #f0f0ea;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.store-current-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.store-status {
  margin-left: 32px;
  color: #656a72;
  font-size: 15px;
}

.store-action {
  width: 100%;
  border: 0;
  background: transparent;
  border-top: 1px solid #eceef2;
  padding: 12px 10px;
  text-align: left;
  font-size: 17px;
  color: #20242d;
  cursor: pointer;
}

.store-action.add-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-add-box {
  border-top: 1px solid #eceef2;
  margin-top: 2px;
  padding-top: 2px;
}

.add-plus {
  font-size: 30px;
  line-height: 1;
  color: #333841;
}

.add-store-hint {
  margin: 6px 10px 2px;
  font-size: 12px;
  color: #6c7482;
}


.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  border-radius: 10px;
  padding: 10px 12px;
  color: #3f4651;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item > a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.nav-icon {
  width: 24px;
  height: 24px;
  border: 1px solid #c9ced6;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #4a5260;
  flex: 0 0 auto;
}

.nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.active {
  background: #fff;
  color: #111;
}

.nav-item-submenu {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.nav-item-main {
  border-radius: 10px;
  padding: 10px 12px;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item-main:hover {
  background: #eef1f5;
}

.nav-item-submenu.active .nav-item-main {
  background: #fff;
  color: #111;
}

.nav-caret {
  margin-left: auto;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5d6675;
  transition: transform 140ms ease;
}

.nav-item-submenu.submenu-open .nav-caret {
  transform: rotate(180deg);
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px 44px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.nav-item-submenu.submenu-open .nav-submenu {
  display: flex;
}

.nav-subitem {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4b5565;
  text-align: left;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-subitem:hover {
  background: #eef1f5;
  color: #1a2230;
}

.nav-subitem.active {
  background: #e4ebf5;
  color: #111;
  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: #3f4651;
  font-weight: 700;
}

body.sidebar-collapsed .store-switch,
body.sidebar-collapsed .nav-item,
body.sidebar-collapsed .sidebar-footer {
  font-size: 0;
  padding-left: 8px;
  padding-right: 8px;
}

body.sidebar-collapsed .store-switch .store-main,
body.sidebar-collapsed .store-switch .store-caret {
  display: none;
}

body.sidebar-collapsed .nav-item {
  justify-content: center;
  padding-left: 6px;
  padding-right: 6px;
}

body.sidebar-collapsed .nav-item-submenu {
  padding: 0;
}

body.sidebar-collapsed .nav-item-main {
  justify-content: center;
  padding-left: 6px;
  padding-right: 6px;
}

body.sidebar-collapsed .nav-label {
  display: none;
}

body.sidebar-collapsed .nav-caret,
body.sidebar-collapsed .nav-submenu {
  display: none;
}

body.sidebar-collapsed .store-menu {
  display: none;
}

body.sidebar-collapsed .sidebar-brand {
  justify-content: center;
  padding-right: 8px;
}

.content {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-section {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.page-section.page-section-active {
  display: flex;
}

.onboard-head h1 {
  margin: 0;
  font-size: 44px;
}

.onboard-shell {
  border: 1px solid #e7e7de;
  border-radius: 14px;
  background: #f6f6ef;
  padding: 16px;
}

.steps-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.onboard-title {
  margin: 0;
  font-size: 26px;
}

.steps-complete {
  color: #5a6471;
  font-weight: 600;
}

.steps-subtitle {
  margin: 8px 0 10px;
  color: #4f5968;
  font-size: 17px;
}

.steps-track {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  height: 36px;
}

.track-line {
  position: absolute;
  left: 2%;
  right: 2%;
  height: 3px;
  background: #d8e2eb;
  border-radius: 999px;
}

.track-dot {
  display: none;
}

.track-slider {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #70a5c3;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(112, 165, 195, 0.25);
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  transform: translateX(-50%);
}

.journey-grid {
  display: flex;
  gap: 10px;
  min-height: 300px;
}

.journey-step {
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fbfbfb;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  transition: flex 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.journey-step.active {
  flex: 2.4 1 0;
  background: #f2f7fb;
  border-color: #71a7c8;
}

.journey-step.completed {
  background: #eaf8ea;
  border-color: #9dd6a7;
}

.journey-step.completed .step-status {
  color: #2f7d45;
  font-weight: 700;
}

.step-head {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.step-kicker {
  font-size: 13px;
  color: #23262b;
}

.journey-step h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1.18;
}

.step-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease 0.05s;
}

.journey-step.active .step-detail {
  max-height: 400px;
  opacity: 1;
}

.full {
  width: 100%;
  justify-content: center;
}

.step-status {
  color: #8a93a0;
  font-size: 16px;
}

.journey-step p {
  margin: 0;
  color: #3c4958;
  font-size: 16px;
}

.journey-step:not(.active) .step-head h3 {
  font-size: 22px;
  color: #8b96a2;
}

.next-block {
  margin-top: 14px;
}

.next-block h3 {
  margin: 0;
  font-size: 38px;
}

.next-block p {
  margin: 6px 0 10px;
  color: #606975;
}

.next-list {
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
}

.next-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px dashed #d9d9d9;
}

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

.next-row strong {
  font-size: 18px;
}

.next-row span {
  color: #5f6875;
}

.link-btn {
  border: 0;
  background: transparent;
  color: #151a24;
  font-size: 18px;
  cursor: pointer;
}

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

.orders-head h1 {
  margin: 0;
  font-size: 42px;
}

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

.orders-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid #cfd6df;
  background: #fff;
  color: #2a3441;
  border-radius: 999px;
  font-size: 14px;
  padding: 7px 12px;
  cursor: pointer;
}

.filter-pill.active {
  background: #11171e;
  border-color: #11171e;
  color: #fff;
}

.orders-search {
  min-width: 320px;
}

.orders-search input {
  width: 100%;
  border: 1px solid #ced6df;
  border-radius: 10px;
  background: #fff;
  padding: 9px 12px;
  font-size: 14px;
  outline: 0;
}

.orders-table-wrap {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  overflow: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.orders-table th,
.orders-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eceff3;
  font-size: 14px;
}

.orders-table th {
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #627080;
  font-weight: 700;
}

.orders-table tbody tr:hover {
  background: #f7f9fb;
}

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

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

.status-prod {
  background: #e6f3ff;
  color: #145e9a;
}

.status-ship {
  background: #e5f7eb;
  color: #22693b;
}

.status-pending {
  background: #fff4dd;
  color: #815b10;
}

.status-cancel {
  background: #ffe6e6;
  color: #8f1b1b;
}

.row-link {
  border: 0;
  background: transparent;
  color: #1d5f95;
  font-weight: 700;
  cursor: pointer;
}

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

.wallet-head h1 {
  margin: 0;
  font-size: 42px;
}

.wallet-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  width: fit-content;
}

.wallet-tab {
  border: 0;
  background: transparent;
  color: #5b6573;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.wallet-tab.active {
  background: #11171e;
  color: #fff;
}

.wallet-tab-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.wallet-tab-panel.wallet-tab-panel-active {
  display: flex;
}

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

.wallet-payments-panel {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.wallet-payments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wallet-payments-head h2 {
  margin: 0;
  font-size: 22px;
}

.wallet-balance-amount {
  font-size: 36px;
  font-weight: 800;
  color: #11171e;
}

.wallet-payments-note {
  margin: 8px 0 14px;
  color: #6d7888;
  font-size: 14px;
}

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

.wallet-cards-panel {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.wallet-cards-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-cards-head h2 {
  margin: 0;
  font-size: 22px;
}

.wallet-card-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-pay-card {
  border: 1px solid #dce1e8;
  border-radius: 10px;
  background: #f9fbfc;
  padding: 12px;
}

.wallet-pay-card-top,
.wallet-pay-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wallet-pay-card-top span {
  font-size: 12px;
  color: #6d7b8c;
}

.wallet-pay-card-bottom {
  margin-top: 10px;
  font-size: 13px;
  color: #6d7b8c;
}

.wallet-currency-panel {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.wallet-currency-head h2 {
  margin: 0;
  font-size: 22px;
}

.wallet-currency-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-currency-note {
  margin: 8px 0 12px;
  font-size: 14px;
  color: #6d7888;
}

.wallet-currency-current {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-currency-current span {
  font-size: 13px;
  color: #768294;
}

.wallet-currency-current strong {
  font-size: 16px;
  color: #11171e;
}

.currency-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.28);
  display: none;
}

.currency-modal.open {
  display: block;
}

.currency-modal-panel {
  width: min(620px, calc(100vw - 24px));
  height: min(92vh, 860px);
  margin-left: auto;
  background: #f3f3f3;
  border-left: 1px solid #d3d6dc;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.currency-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.currency-modal-head h2 {
  margin: 0;
  font-size: 38px;
}

.currency-modal-close {
  border: 0;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  color: #2f3440;
  cursor: pointer;
}

.currency-modal-subtitle {
  margin: 14px 0 18px;
  color: #363c46;
  font-size: 16px;
}

.currency-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #151a22;
}

.currency-option input[type="radio"] {
  width: 18px;
  height: 18px;
}

.currency-modal-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Create Order Modal Box ── */
.co-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
}
.co-overlay.open {
  display: flex;
}
.co-panel {
  display: flex;
  flex-direction: column;
  width: min(620px, calc(100vw - 48px));
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.co-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.co-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.co-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.co-toolbar-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.15s;
}
.co-toolbar-btn:hover { background: #f1f5f9; }
.co-close-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s;
}
.co-close-btn:hover { color: #1e293b; }
.co-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.co-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin: 0;
  background: #fff;
}
.co-fieldset legend {
  font-weight: 600;
  font-size: 0.92rem;
  color: #1e293b;
  padding: 0 6px;
}
.co-row {
  display: flex;
  gap: 12px;
}
.co-row > * { flex: 1; }
.co-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.co-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}
.co-field input,
.co-field select,
.co-field textarea {
  padding: 10px 12px;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: #1e293b;
}
.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  border-color: #3b82f6;
}
.co-field textarea { resize: vertical; }
.co-product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.co-product-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.co-remove-btn {
  border: none;
  background: transparent;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px 4px;
  margin-bottom: 2px;
  transition: color 0.15s;
}
.co-remove-btn:hover { color: #ef4444; }
.co-add-btn {
  margin-top: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: transparent;
  padding: 10px;
  font: inherit;
  font-size: 0.88rem;
  color: #3b82f6;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.co-add-btn:hover {
  background: #f0f7ff;
  border-color: #93c5fd;
}
.co-order-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
}
.co-summary-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}
.co-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.co-payment-option {
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.co-payment-option input[type="radio"] {
  margin-top: 14px;
  accent-color: #3b82f6;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.co-payment-card {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.15s, background 0.15s;
}
.co-payment-option input[type="radio"]:checked ~ .co-payment-card {
  border-color: #3b82f6;
  background: #f0f7ff;
}
.co-payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.co-payment-card-head strong {
  font-size: 0.92rem;
}
.co-wallet-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 20px;
}
.co-payment-card p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}
.co-card-fields {
  margin-top: 12px;
}
.co-submit-area {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.coupon-create-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.coupon-create-modal.open {
  display: flex;
}

.coupon-create-panel {
  width: min(500px, calc(100vw - 24px));
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d8dde6;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.22);
  padding: 16px;
}

.coupon-create-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.coupon-create-head h2 {
  margin: 0;
  font-size: 34px;
}

.coupon-create-close {
  border: 0;
  background: transparent;
  font-size: 30px;
  color: #4b5563;
  cursor: pointer;
  line-height: 1;
}

.coupon-create-subtitle {
  margin: 6px 0 12px;
  color: #667085;
  font-size: 15px;
}

.coupon-create-field {
  margin-bottom: 10px;
}

.coupon-create-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.coupon-create-field input,
.coupon-create-field select {
  width: 100%;
  border: 1px solid #d1d7e2;
  border-radius: 10px;
  background: #f8fafc;
  min-height: 40px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: #1f2937;
}

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

.coupon-create-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.products-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 20, 26, 0.28);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.products-preview-modal.open {
  display: flex;
}

.products-preview-panel {
  position: relative;
  width: min(1060px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  background: #f3f3f2;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  overflow: auto;
  padding: 16px;
}

.products-preview-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  color: #1c2634;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

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

.products-preview-stage {
  position: relative;
  border: 1px solid #d0d5de;
  background: #fff;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-preview-main-image {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
}

.products-preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid #cfd6e1;
  border-radius: 6px;
  background: #fff;
  color: #1d2735;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.products-preview-nav-prev {
  left: 10px;
}

.products-preview-nav-next {
  right: 10px;
}

.products-preview-side {
  padding-top: 4px;
}

.products-preview-side-title {
  margin: 0 0 8px;
  font-size: 32px;
}

.products-preview-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.products-preview-thumb {
  border: 1px solid #ced5df;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
}

.products-preview-thumb.active {
  border-color: #8b949f;
}

.products-preview-thumb img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  display: block;
}

.products-preview-thumb span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #1a2433;
}

.products-preview-product-title {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.products-preview-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #727e90;
  background: #f0f0ef;
  display: inline-block;
}

.wallet-card {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.wallet-card-label {
  font-size: 13px;
  color: #6b7685;
}

.wallet-card-value {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
}

.wallet-card-note {
  margin-top: 8px;
  font-size: 13px;
  color: #728091;
}

#walletSection {
  gap: 16px;
}

#walletSection .wallet-head {
  display: block;
}

#walletSection .wallet-head h1 {
  margin: 0;
  font-size: 44px;
}

#walletSection .wallet-head p {
  margin: 6px 0 0;
  color: #566274;
  font-size: 17px;
}

#walletSection .wallet-balance-hero {
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #2a5de6 0%, #2347c4 100%);
  color: #fff;
}

#walletSection .wallet-balance-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#walletSection .wallet-balance-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

#walletSection .wallet-balance-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

#walletSection .wallet-balance-label {
  display: block;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

#walletSection .wallet-balance-main strong {
  display: block;
  font-size: 46px;
  line-height: 1.08;
  margin-top: 2px;
}

#walletSection .wallet-growth-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 17px;
  font-weight: 700;
  background: rgba(22, 189, 119, 0.36);
}

#walletSection .wallet-balance-split {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#walletSection .wallet-balance-split article {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
}

#walletSection .wallet-balance-split article span {
  display: block;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}

#walletSection .wallet-balance-split article strong {
  display: block;
  margin-top: 4px;
  font-size: 38px;
}

#walletSection .wallet-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

#walletSection .wallet-panel {
  border: 1px solid #d8dde6;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

#walletSection .wallet-panel h2 {
  margin: 0 0 12px;
  font-size: 37px;
}

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

#walletSection .wallet-action-btn {
  border: 0;
  background: transparent;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #131d2d;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

#walletSection .wallet-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
}

#walletSection .wallet-action-icon-blue { background: #3b82f6; }
#walletSection .wallet-action-icon-green { background: #22c55e; }
#walletSection .wallet-action-icon-purple { background: #a855f7; }
#walletSection .wallet-action-icon-orange { background: #f97316; }

#walletSection .wallet-currency-v2-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#walletSection .wallet-currency-v2-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #dbeafe;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#walletSection .wallet-currency-v2-head h2 {
  margin: 0;
  font-size: 36px;
}

#walletSection .wallet-currency-v2-head p {
  margin: 4px 0 0;
  color: #5d6a7d;
  font-size: 15px;
}

#walletSection .wallet-currency-v2-field {
  margin-top: 12px;
}

#walletSection .wallet-currency-v2-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1b2739;
  font-size: 14px;
}

#walletSection .wallet-currency-v2-trigger {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 10px;
  background: #f7f9fc;
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

#walletSection .wallet-currency-v2-trigger strong {
  font-size: 15px;
  color: #111d2e;
}

#walletSection .wallet-currency-v2-trigger span {
  color: #6a7485;
  font-size: 14px;
  flex: 1;
}

#walletSection .wallet-currency-v2-trigger em {
  color: #96a0b2;
  font-style: normal;
}

#walletSection .wallet-currency-v2-note {
  margin: 12px 0 0;
  border: 1px solid #b8d3ff;
  background: #eef5ff;
  color: #2a5bba;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
}

#walletSection .wallet-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#walletSection .wallet-card {
  border: 1px solid #d8dde6;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

#walletSection .wallet-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#walletSection .wallet-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

#walletSection .wallet-card-icon-green { background: #d9fbe5; color: #129a47; }
#walletSection .wallet-card-icon-blue { background: #dbeafe; color: #2563eb; }
#walletSection .wallet-card-icon-amber { background: #ffedd5; color: #ea580c; }
#walletSection .wallet-card-icon-purple { background: #efe7ff; color: #9333ea; }

#walletSection .wallet-card-trend {
  font-size: 15px;
  font-weight: 700;
}

#walletSection .wallet-card-trend.is-up { color: #16a34a; }
#walletSection .wallet-card-trend.is-down { color: #ea580c; }

#walletSection .wallet-card-label {
  margin-top: 10px;
  color: #5b6678;
  font-size: 15px;
}

#walletSection .wallet-card-value {
  margin-top: 6px;
  font-size: 43px;
  font-weight: 700;
  color: #0f1b2e;
}

#walletSection .wallet-ledger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#walletSection .wallet-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#walletSection .wallet-panel-head p {
  margin: 4px 0 0;
  color: #5f6b7d;
  font-size: 14px;
}

#walletSection .wallet-payment-methods-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#walletSection .wallet-payment-card {
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

#walletSection .wallet-payment-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: -24px;
  top: -24px;
  background: rgba(255, 255, 255, 0.14);
}

#walletSection .wallet-payment-card-purple {
  background: linear-gradient(135deg, #4f6af1, #8b1de5);
}

#walletSection .wallet-payment-card-pink {
  background: linear-gradient(135deg, #ef2ea8, #f1006a);
}

#walletSection .wallet-payment-card-green {
  background: linear-gradient(135deg, #10b981, #0ea5a6);
}

#walletSection .wallet-payment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#walletSection .wallet-payment-card-icon {
  font-size: 24px;
}

#walletSection .wallet-payment-card-tag {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  padding: 4px 8px;
}

#walletSection .wallet-payment-card-number {
  margin-top: 20px;
  font-size: 31px;
  font-weight: 700;
}

#walletSection .wallet-payment-card-meta {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}

#walletSection .wallet-transaction-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#walletSection .wallet-transaction-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #d5dbe6;
  background: #f3f5f8;
  border-radius: 999px;
  padding: 3px;
}

#walletSection .wallet-transaction-tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #263246;
  cursor: pointer;
}

#walletSection .wallet-transaction-tab.active {
  background: #fff;
}

#walletSection .wallet-transaction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#walletSection .wallet-transaction-row {
  border: 1px solid #d8dde6;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#walletSection .wallet-transaction-main h3 {
  margin: 0;
  font-size: 16px;
}

#walletSection .wallet-transaction-main p {
  margin: 5px 0 0;
  color: #5f6b7d;
  font-size: 14px;
}

#walletSection .wallet-transaction-status {
  margin-left: 8px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

#walletSection .wallet-transaction-status.is-completed {
  background: #0b1022;
  color: #fff;
}

#walletSection .wallet-transaction-status.is-pending {
  background: #e5e7eb;
  color: #1f2937;
}

#walletSection .wallet-transaction-status.is-failed {
  background: #e11d48;
  color: #fff;
}

#walletSection .wallet-transaction-amount {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

#walletSection .wallet-transaction-amount.is-positive {
  color: #0aaf55;
}

#walletSection .wallet-transaction-amount.is-negative {
  color: #0f172a;
}

#walletSection .wallet-coupon-manager {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#walletSection .wallet-coupon-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#walletSection .wallet-coupon-item {
  border: 1px solid #d8dde6;
  border-radius: 12px;
  padding: 12px;
}

#walletSection .wallet-coupon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#walletSection .wallet-coupon-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

#walletSection .wallet-coupon-code {
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
}

#walletSection .wallet-coupon-state {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}

#walletSection .wallet-coupon-state.is-active {
  background: #22c55e;
  color: #fff;
}

#walletSection .wallet-coupon-state.is-expired {
  background: #e11d48;
  color: #fff;
}

#walletSection .wallet-coupon-menu {
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #374151;
  cursor: pointer;
}

#walletSection .wallet-coupon-actions {
  position: relative;
}

#walletSection .wallet-coupon-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
  padding: 6px;
  display: none;
  z-index: 20;
}

#walletSection .wallet-coupon-actions.open .wallet-coupon-dropdown {
  display: block;
}

#walletSection .wallet-coupon-action {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 6px;
  padding: 7px 8px;
  color: #1f2937;
  font-size: 13px;
  cursor: pointer;
}

#walletSection .wallet-coupon-action:hover {
  background: #f3f5f8;
}

#walletSection .wallet-coupon-action.is-danger {
  color: #dc2626;
}

#walletSection .wallet-coupon-meta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#walletSection .wallet-coupon-meta span {
  display: block;
  color: #5f6b7d;
  font-size: 14px;
}

#walletSection .wallet-coupon-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: #0f172a;
}

#walletSection .wallet-coupon-progress {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

#walletSection .wallet-coupon-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #a855f7;
}

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

.branding-head h1 {
  margin: 0;
  font-size: 42px;
}

.branding-head p {
  margin: 8px 0 0;
  color: #5f6a79;
  font-size: 16px;
}

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

.branding-card {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.branding-card p {
  margin: 0;
  color: #667386;
  font-size: 14px;
}

.branding-card-media {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d6dce5;
  display: block;
}

.branding-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3f4c5d;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branding-card .ghost-btn {
  margin-top: auto;
}

.branding-guidelines {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.branding-guidelines h2 {
  margin: 0;
  font-size: 22px;
}

.branding-checklist {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.branding-checklist div {
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  background: #fafbfc;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branding-checklist strong {
  font-size: 14px;
}

.branding-checklist span {
  font-size: 12px;
  color: #6d7a8c;
}

.store-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-settings-head h1 {
  margin: 0;
  font-size: 42px;
}

.store-settings-head p {
  margin: 8px 0 0;
  color: #5f6a79;
  font-size: 16px;
}

.store-settings-grid {
  display: block;
}

.store-settings-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: none;
}

.store-settings-card.is-hidden {
  display: none;
}

.store-settings-card + .store-settings-card {
  margin-top: 20px;
}

.store-settings-card h2 {
  margin: 0;
  font-size: 22px;
}

.store-settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.store-settings-toggle::after {
  content: "?";
  font-size: 16px;
  color: #556277;
}

.store-settings-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-settings-card.collapsed .store-settings-body {
  display: none;
}

.store-settings-card.collapsed .store-settings-toggle::after {
  content: "?";
}

.store-settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-settings-field label {
  font-size: 13px;
  color: #5f6a79;
}

.store-settings-field input,
.store-settings-field select {
  width: 100%;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.store-settings-field textarea {
  width: 100%;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  resize: vertical;
}

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

.store-settings-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #3f4c5d;
}

.store-settings-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-settings-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #d9dccf;
  margin-bottom: 14px;
}

.order-settings-subtab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #20262f;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 14px 10px;
  cursor: pointer;
}

.order-settings-subtab.active {
  border-bottom-color: #76715d;
  font-weight: 600;
}

.order-settings-panel {
  display: none;
}

.order-settings-panel.order-settings-panel-active {
  display: block;
}

.order-submission-intro {
  margin: 0 0 14px;
  color: #424b5a;
  font-size: 16px;
  line-height: 1.35;
}

.order-submission-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #7c7a66;
  background: #ebece5;
  color: #232b36;
  padding: 14px 14px;
  margin-bottom: 16px;
}

.order-submission-note-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid #2c3747;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

.order-submission-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-submission-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.order-submission-option input[type="radio"] {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: #666752;
}

.order-submission-option .option-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-submission-option .option-copy strong {
  font-size: 30px;
  font-weight: 500;
  color: #111822;
  line-height: 1.15;
}

.order-submission-option .option-copy small {
  font-size: 16px;
  color: #404b5c;
  line-height: 1.35;
}

.delayed-order-bullet {
  display: block;
}

.daily-updates-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.daily-updates-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #111822;
}

.daily-updates-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #6e6a4f;
}

.daily-updates-option p {
  margin: 0;
  color: #404b5c;
  font-size: 16px;
}

.ship-from-fixed-note {
  border-left: 4px solid #7c7a66;
  background: #ebece5;
  color: #232b36;
  padding: 12px 14px;
}

.ship-from-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.ship-from-section + .ship-from-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #dde2ea;
}

.ship-from-section-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.ship-from-custom-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ship-from-custom-fields.is-hidden {
  display: none;
}

.mockups-section {
  padding-top: 6px;
}

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

.mockups-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mockups-header-left h2 {
  margin: 0;
}

.mockups-selected-count {
  color: #222d3d;
  font-size: 18px;
}

.mockups-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}

.mockup-tile {
  position: relative;
  border: 1px solid #d3d9e3;
  border-radius: 6px;
  background: #fff;
  min-height: 150px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-tile img {
  width: 100%;
  height: 130px;
  object-fit: contain;
}

.mockup-tile:not(.is-selected) {
  opacity: 0.48;
}

.mockup-tile.is-primary {
  border-color: #8f9aad;
}

.mockup-primary-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  border: 1px solid #ced5df;
  border-radius: 6px;
  background: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #243248;
}

.mockup-upload-tile {
  border-style: dashed;
  gap: 6px;
  flex-direction: column;
}

.mockup-upload-icon {
  font-size: 24px;
  color: #293547;
}

.mockup-upload-text {
  font-size: 16px;
  font-weight: 700;
  color: #111c2a;
}

.mockups-footer {
  margin-top: 14px;
  border-top: 1px solid #d8dde6;
  padding-top: 12px;
  color: #1f2a3a;
  font-size: 15px;
}

.listing-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.listing-header-left h2 {
  margin: 0;
}

.listing-optimize-btn {
  min-height: 34px;
  padding: 6px 10px;
  color: #5032a8;
  border-color: #d8cff6;
  background: #f6f2ff;
  font-weight: 700;
}

.listing-credits {
  color: #4b5567;
  font-size: 14px;
}

.listing-header-right {
  color: #232e41;
  font-size: 15px;
  white-space: nowrap;
}

.listing-field-title {
  font-size: 34px;
  font-weight: 700;
  color: #152135;
}

.listing-field-help {
  margin: 0;
  color: #475466;
  font-size: 15px;
}

.listing-editor-label {
  font-size: 13px;
  color: #2a364b;
  margin-bottom: 2px;
}

.listing-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-toolbar-btn {
  border: 1px solid #d1d7e1;
  background: #fff;
  color: #1b283c;
  border-radius: 4px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.listing-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.listing-toolbar-group .listing-toolbar-btn {
  border-radius: 0;
  margin-left: -1px;
}

.listing-toolbar-group .listing-toolbar-btn:first-child {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.listing-toolbar-group .listing-toolbar-btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.listing-editor-area {
  min-height: 220px;
  font-size: 16px;
  line-height: 1.45;
}

.listing-size-table-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 16px;
  color: #182235;
}

.listing-size-table-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #6d6a4f;
}

.product-details-fixed-footer {
  position: fixed;
  left: var(--sidebar-w);
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid #d8dde6;
  background: rgba(248, 249, 251, 0.96);
  backdrop-filter: blur(2px);
}

.product-details-fixed-footer .primary-btn {
  min-width: 120px;
}

.pricing-section h2 {
  margin: 0;
}

.pricing-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-subtitle {
  margin: 4px 0 0;
  color: #4a576a;
  font-size: 15px;
}

.pricing-sync-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1d2a3d;
}

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

.pricing-card {
  border: 1px solid #d7dde7;
  border-radius: 10px;
  background: #fafbfc;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-note {
  font-size: 13px;
  color: #5b677a;
}

.order-submission-time-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-submission-time-row.is-disabled {
  opacity: 0.5;
}

.order-submission-time-separator {
  font-size: 24px;
  font-weight: 700;
  color: #182233;
}

.order-time-dropdown {
  position: relative;
}

.order-time-trigger {
  width: 100%;
  border: 1px solid #d1d6dd;
  border-radius: 6px;
  background: #fff;
  min-height: 44px;
  padding: 9px 10px;
  font-size: 31px;
  font-weight: 500;
  color: #182233;
  cursor: pointer;
}

.order-time-trigger:disabled {
  cursor: not-allowed;
  background: #f3f5f8;
  color: #778295;
}

.order-time-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  list-style: none;
  margin: 0;
  padding: 6px;
  border: 1px solid #d1d6dd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 19, 29, 0.14);
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.order-time-dropdown.open .order-time-menu {
  display: block;
}

.order-time-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 7px 8px;
  border-radius: 4px;
  font-size: 16px;
  color: #1e293b;
  cursor: pointer;
}

.order-time-option:hover {
  background: #f4f6f9;
}

.order-submission-time {
  width: 84px;
}

.order-submission-meridiem {
  width: 84px;
}

.personalized-orders-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.tracking-time-row {
  margin-left: 36px;
  margin-bottom: 10px;
}

.store-name-title {
  font-size: 36px;
  margin-bottom: 2px;
}

.store-name-subtitle {
  margin: 0 0 10px;
  color: #4f5968;
  font-size: 16px;
}

.store-name-input-wrap {
  max-width: 860px;
  margin-bottom: 28px;
}

.store-name-gpsr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.store-name-gpsr h3 {
  margin: 0;
  font-size: 22px;
}

.store-name-gpsr-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 2px;
  background: #f6c28d;
  color: #1d1d1d;
  font-size: 13px;
  font-weight: 600;
}

.store-name-gpsr-subtitle {
  margin: 4px 0 0;
  color: #4f5968;
  font-size: 16px;
}

.store-name-link {
  color: #1d1d1d;
  font-weight: 700;
  text-decoration: underline;
}

.store-name-choice-title {
  margin: 6px 0 2px;
  font-size: 18px;
}

.store-name-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-name-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e4e6e1;
  background: #f2f2ef;
  padding: 16px 18px;
}

.store-name-choice input[type="radio"] {
  width: 24px;
  height: 24px;
  margin-top: 3px;
  accent-color: #5f5f49;
}

.store-name-choice .choice-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-name-choice .choice-copy strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.store-name-choice .choice-copy small {
  font-size: 14px;
  color: #4f5968;
  line-height: 1.35;
}

.store-name-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

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

.packins-head h1 {
  margin: 0;
  font-size: 42px;
}

.packins-head p {
  margin: 8px 0 0;
  color: #5f6a79;
  font-size: 16px;
}

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

.packins-saved {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.packins-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.products-head h1 {
  margin: 0;
  font-size: 42px;
}

.products-subtitle {
  margin: 8px 0 0;
  color: #5f6a79;
  font-size: 16px;
}

.products-status {
  border: 1px solid #d6dce5;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: #3f4b5d;
}

.products-status[data-state="loading"] {
  color: #48627f;
}

.products-status[data-state="error"] {
  color: #8f1b1b;
  border-color: #efcaca;
  background: #fff3f3;
}

.products-status[data-state="empty"] {
  color: #6c7686;
}

.products-status[data-state="success"] {
  color: #1d5c32;
  border-color: #cde8d4;
  background: #f2fbf5;
}

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

.analytics-head h1 {
  margin: 0;
  font-size: 42px;
}

.analytics-head p {
  margin: 6px 0 0;
  color: #5d687a;
}

.analytics-head-actions {
  display: flex;
  gap: 10px;
}

.analytics-range-dropdown {
  position: relative;
  display: inline-block;
}
.analytics-range-btn,
.analytics-export-btn {
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 600;
}
.analytics-range-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #d7dde7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 100;
  padding: 6px 0;
  flex-direction: column;
}
.analytics-range-dropdown.open .analytics-range-menu {
  display: flex;
}
.analytics-range-menu > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.15s;
}
.analytics-range-menu > button:hover {
  background: #f1f5f9;
}
.analytics-range-menu > button.active {
  color: #3b82f6;
  font-weight: 600;
}
.analytics-custom-range {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
}
.analytics-custom-range label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}
.analytics-custom-range input[type="date"] {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  font: inherit;
  font-size: 0.85rem;
  outline: none;
}
.analytics-custom-range input[type="date"]:focus {
  border-color: #3b82f6;
}
.analytics-custom-apply {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.analytics-custom-apply:hover {
  background: #2563eb;
}

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

.analytics-kpi-card {
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.analytics-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5a6679;
  font-size: 14px;
  font-weight: 600;
}

.analytics-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #edf3ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.analytics-kpi-card strong {
  display: block;
  margin-top: 10px;
  font-size: 45px;
  line-height: 1.1;
}

.analytics-kpi-card p {
  margin: 8px 0 0;
  color: #5f6b7d;
  font-size: 16px;
}

.analytics-kpi-card .is-up {
  color: #00a63e;
  font-weight: 700;
}

.analytics-kpi-card .is-down {
  color: #dc2626;
  font-weight: 700;
}

.analytics-bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.analytics-chart-card,
.analytics-geo-card {
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.analytics-chart-card h2,
.analytics-geo-card h2 {
  margin: 0;
  font-size: 35px;
}

.analytics-chart-card p,
.analytics-geo-card p {
  margin: 6px 0 0;
  color: #5f6b7d;
  font-size: 16px;
}

.analytics-chart-area {
  margin-top: 12px;
  height: 380px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background:
    linear-gradient(#eef2f7 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, #eef2f7 1px, transparent 1px) 0 0 / 80px 100%;
}

.analytics-chart-area svg {
  width: 100%;
  height: 100%;
  display: block;
}

.analytics-chart-legend {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #2655d9;
  font-size: 14px;
}

.analytics-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.analytics-chart-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.analytics-pie-wrap {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.analytics-pie {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    #3b82f6 0 32%,
    #8b5cf6 32% 54%,
    #ec4899 54% 72%,
    #f59e0b 72% 84%,
    #10b981 84% 93%,
    #6366f1 93% 100%
  );
  border: 1px solid #d7dde7;
}

.analytics-pie-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: grid;
  gap: 6px;
}

.analytics-pie-legend li {
  font-size: 14px;
  color: #203047;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analytics-pie-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background: #3b82f6; }
.dot-purple { background: #8b5cf6; }
.dot-pink { background: #ec4899; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #10b981; }
.dot-indigo { background: #6366f1; }

.analytics-subtabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #f3f4f6;
  padding: 4px;
  width: fit-content;
}

.analytics-subtab {
  border: 0;
  background: transparent;
  color: #1c2638;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.analytics-subtab.active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.analytics-detail-card {
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: none;
}

.analytics-detail-card.analytics-detail-card-active {
  display: block;
}

.analytics-detail-card h2 {
  margin: 0;
  font-size: 34px;
}

.analytics-detail-card > p {
  margin: 6px 0 0;
  color: #5f6b7d;
  font-size: 16px;
}

.analytics-table-wrap {
  margin-top: 14px;
  overflow: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

.analytics-table th,
.analytics-table td {
  text-align: left;
  border-bottom: 1px solid #e9edf3;
  padding: 12px 10px;
  font-size: 14px;
  color: #1c2738;
}

.analytics-table th {
  color: #4f5b70;
  font-size: 13px;
  font-weight: 700;
}

.analytics-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  background: #eef2f7;
  color: #1c2738;
  font-size: 12px;
  font-weight: 700;
}

.analytics-chip-success {
  background: #e8f8ee;
  color: #1d7a3b;
}

.analytics-chip-warning {
  background: #fff4db;
  color: #a16407;
}

.analytics-chip-danger {
  background: #ffe8e8;
  color: #bf1d1d;
}

.analytics-chip-info {
  background: #dbeafe;
  color: #1d4ed8;
}

.analytics-chip-shipped {
  background: #ede9fe;
  color: #6d28d9;
}

.analytics-more-link {
  color: #2563eb;
}

.analytics-action-btn {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.analytics-progress {
  display: inline-block;
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: #e6e9ef;
  vertical-align: middle;
  margin-right: 8px;
  overflow: hidden;
}

.analytics-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0b1022;
}

.analytics-progress-text {
  font-size: 14px;
  color: #4b5668;
}

.analytics-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.analytics-rating-star {
  color: #f4b400;
  font-size: 14px;
}

.analytics-table-compact th,
.analytics-table-compact td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.top-products-chart {
  margin-top: 14px;
  position: relative;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  padding: 12px 12px 8px;
  background: #fff;
  overflow: hidden;
}

.top-products-grid-lines {
  position: absolute;
  left: 132px;
  right: 12px;
  top: 12px;
  bottom: 38px;
  pointer-events: none;
  background:
    linear-gradient(#e9edf4 1px, transparent 1px) 0 0 / 100% 45px,
    linear-gradient(90deg, #e9edf4 1px, transparent 1px) 0 0 / 25% 100%;
}

.top-products-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 45px;
}

.top-products-label {
  color: #8a94a7;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.top-products-bar {
  height: 36px;
  border-radius: 8px;
}

.top-products-bar-blue { background: #3f7ee0; }
.top-products-bar-purple { background: #7b57e2; }
.top-products-bar-pink { background: #e14697; }
.top-products-bar-amber { background: #f59e0b; }
.top-products-bar-green { background: #1db785; }
.top-products-bar-indigo { background: #6163dc; }
.top-products-bar-red { background: #ef4444; }
.top-products-bar-teal { background: #2ab3a8; }

.top-products-axis {
  position: relative;
  z-index: 1;
  margin-left: 132px;
  margin-right: 12px;
  margin-top: 8px;
  border-top: 1px solid #d5dbe7;
  padding-top: 4px;
  display: flex;
  justify-content: space-between;
  color: #8a94a7;
  font-size: 13px;
}

.products-tools {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
}

.products-search,
.products-filter {
  width: 100%;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  background: #fff;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  color: #243046;
}

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

.products-list {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.products-list-head {
  display: grid;
  grid-template-columns: 46px 1.5fr 1.2fr 1fr 1fr 1.1fr;
  gap: 10px;
  padding: 12px;
  background: #f4f6f9;
  border-bottom: 1px solid #dfe5ee;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4f5d72;
}

.products-list-body {
  display: flex;
  flex-direction: column;
}

.products-list-row {
  display: grid;
  grid-template-columns: 46px 1.5fr 1.2fr 1fr 1fr 1.1fr;
  gap: 10px;
  padding: 22px 12px;
  border-bottom: 1px solid #edf1f6;
  align-items: center;
}

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

.products-list-row {
  cursor: pointer;
}

.products-list-row:hover {
  background: #f8fafd;
}

.products-list-row:focus-visible {
  outline: 2px solid #4d7db3;
  outline-offset: -2px;
}

.products-cell-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.products-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #eef2f7;
  object-fit: cover;
  border: 1px solid #d8dfe9;
}

.products-thumb-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.products-thumb-overlay {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(17, 23, 30, 0.58);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.14s ease;
  pointer-events: none;
}

.products-thumb-wrap:hover .products-thumb-overlay {
  opacity: 1;
}

.products-thumb-fallback {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px dashed #c6cfdd;
  background: #f7f9fc;
  color: #6e7d92;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
}

.products-cell-title {
  font-size: 14px;
  font-weight: 600;
  color: #182133;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.products-cell-sub {
  margin-top: 3px;
  font-size: 12px;
  color: #607087;
}

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

.products-select-head,
.products-cell-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.products-select-head input,
.products-cell-select input {
  width: 16px;
  height: 16px;
  accent-color: #111111;
}

.products-action-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid #d2dbe8;
  border-radius: 10px;
  background: #fff;
  color: #1f2b3f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.products-action-icon-btn:hover {
  background: #f6f8fb;
}

.products-action-icon-btn svg {
  width: 18px;
  height: 18px;
}

.products-action-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #111111;
  color: #ffffff;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 20;
}

.products-action-icon-btn:hover::after {
  opacity: 1;
}

.products-more-wrap {
  position: relative;
  display: inline-flex;
}

.products-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 140px;
  border: 1px solid #d5ddea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(19, 28, 44, 0.14);
  padding: 6px;
  z-index: 30;
}

.products-more-menu.open {
  display: flex;
}

.products-more-menu-btn {
  border: 0;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  padding: 8px 10px;
  min-height: 34px;
  font-size: 13px;
  color: #202b3f;
  cursor: pointer;
}

.products-more-menu-btn:hover {
  background: #f4f7fb;
}

.products-more-menu-btn:disabled {
  color: #95a0b2;
  cursor: not-allowed;
}

.product-draft-card {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-draft-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f5f7fa;
}

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

.product-draft-image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #7b8696;
  font-size: 14px;
}

.product-draft-image-wrap.is-missing .product-draft-image-fallback {
  display: flex;
}

.product-draft-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-draft-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.product-draft-meta {
  margin: 0;
  color: #657386;
  font-size: 13px;
}

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

.packins-card {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.packins-card h2 {
  margin: 0;
  font-size: 22px;
}

.packins-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.packins-field label {
  font-size: 13px;
  color: #5f6a79;
}

.packins-field input,
.packins-field textarea {
  width: 100%;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.packins-field textarea {
  resize: vertical;
}

.packins-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #3f4c5d;
}

.packins-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.packins-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallet-rewards-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-rewards-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: #fff;
  width: fit-content;
}

.wallet-rewards-tab {
  border: 0;
  background: transparent;
  color: #5b6573;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.wallet-rewards-tab.active {
  background: #11171e;
  color: #fff;
}

.wallet-reward-content {
  display: none;
}

.wallet-reward-content.wallet-reward-content-active {
  display: block;
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

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

.stat-value {
  margin: 10px 0 0;
  font-size: 44px;
  font-weight: 800;
}

.stat-note {
  margin: 6px 0 0;
  color: var(--muted);
}

.setup-card,
.news-card,
.bestsellers {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.setup-head h2,
.news-head h2,
.section-head h2 {
  margin: 0;
  font-size: 42px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e8ecf0;
  margin: 14px 0;
}

.progress-fill {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ab7ff, #4dd2a7);
}

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

.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fafbfc;
}

.step h3 {
  margin: 0;
  font-size: 26px;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.active-step {
  border-color: #8cb6d8;
  background: #f0f7ff;
}

.step-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.connector-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.connector-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.inline-link-btn {
  border: 0;
  background: transparent;
  color: #1c2431;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 4px;
  align-self: center;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.news-visual {
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 25%, #8cf15b 0, #8cf15b 14%, transparent 15%),
    linear-gradient(130deg, #bfc6bf 5%, #6c87c8 52%, #f79441 92%);
  min-height: 220px;
}

.news-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  background: #caf1ff;
  color: #0d5069;
  border-radius: 5px;
  padding: 2px 8px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
}

.news-copy h3 {
  margin: 10px 0 8px;
  font-size: 40px;
}

.news-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.4;
}

.section-head a {
  color: #444;
  font-weight: 700;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.product-image {
  height: 140px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.tone-a { background: linear-gradient(135deg, #f9d2df, #ffe5a8); }
.tone-b { background: linear-gradient(135deg, #d2f5e8, #b7d6ff); }
.tone-c { background: linear-gradient(135deg, #f9d2d2, #d4dcff); }
.tone-d { background: linear-gradient(135deg, #c5f1ff, #ffd9b7); }

.product-card h4 {
  margin: 0;
  font-size: 22px;
}

.product-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.chat-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

@media (max-width: 1280px) {
  .journey-grid {
    flex-direction: column;
    min-height: 0;
  }

  .journey-step,
  .journey-step.active {
    flex: initial;
  }

  .journey-step .step-detail {
    max-height: 0;
    opacity: 0;
  }

  .journey-step.active .step-detail {
    max-height: 400px;
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .announcement {
    display: none;
  }

  .layout {
    height: 100vh;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    height: 100vh;
    transform: translateX(-100%);
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .content {
    padding: 14px;
  }

  .onboard-head h1,
  .onboard-title,
  .next-block h3 {
    font-size: 30px;
  }

  .steps-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }

  .next-row {
    grid-template-columns: 1fr;
  }

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

  .orders-search {
    min-width: 0;
  }

  .wallet-head {
    flex-direction: column;
    align-items: stretch;
  }

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

  .wallet-payments-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wallet-payments-actions {
    width: 100%;
    flex-direction: column;
  }

  .wallet-cards-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wallet-card-list {
    grid-template-columns: 1fr;
  }

  .branding-head {
    flex-direction: column;
    align-items: stretch;
  }

  .store-settings-head {
    flex-direction: column;
    align-items: stretch;
  }

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

  .packins-head {
    flex-direction: column;
    align-items: stretch;
  }

  .branding-grid,
  .store-settings-grid,
  .branding-checklist,
  .packins-grid,
  .products-grid,
  .packins-saved-grid {
    grid-template-columns: 1fr;
  }

  .store-settings-row {
    grid-template-columns: 1fr;
  }

  .wallet-currency-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .currency-modal-panel {
    width: 100%;
    height: 100vh;
  }

  .product-details-fixed-footer {
    left: 0;
    padding: 10px 14px;
  }
}

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

.orders-head h1 {
  margin: 0;
  font-size: 42px;
}

.orders-subtitle {
  margin: 6px 0 0;
  color: #5d6675;
  font-size: 16px;
}

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

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

.orders-kpi {
  background: #fff;
  border: 1px solid #d9dde5;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  color: #657082;
  font-size: 13px;
}

.kpi-value {
  font-size: 30px;
  line-height: 1;
}

.kpi-note {
  color: #6f7887;
  font-size: 13px;
}

.order-id-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-id-cell strong {
  font-size: 14px;
}

.order-id-cell span {
  color: #707a8a;
  font-size: 12px;
}

.status-hold {
  background: #f0e8ff;
  color: #53308c;
}

@media (max-width: 1280px) {
  .orders-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .analytics-bottom-grid {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-main-grid {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-ledger-grid {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-list-head,
  .products-list-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .orders-head {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-head-actions {
    width: 100%;
  }

  .orders-head-actions .ghost-btn,
  .orders-head-actions .primary-btn {
    flex: 1;
  }

  .orders-kpi-grid {
    grid-template-columns: 1fr;
  }

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

  .analytics-head {
    flex-direction: column;
    align-items: stretch;
  }

  .analytics-head-actions {
    width: 100%;
  }

  .analytics-head-actions .ghost-btn {
    flex: 1;
  }

  .analytics-kpi-grid {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-balance-top {
    flex-direction: column;
    align-items: flex-start;
  }

  #walletSection .wallet-balance-split {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #walletSection .wallet-coupon-meta {
    grid-template-columns: 1fr;
  }

  #walletSection .wallet-stats-grid {
    grid-template-columns: 1fr;
  }

  .coupon-create-grid {
    grid-template-columns: 1fr;
  }

  .products-list-head {
    display: none;
  }
}
