:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-soft: #fbfdff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --panel-muted: #eef3f9;
  --panel-dark: linear-gradient(180deg, #132238 0%, #0d1728 100%);
  --text: #142033;
  --text-soft: #4f6178;
  --text-faint: #74849a;
  --line: rgba(148, 163, 184, 0.24);
  --line-strong: rgba(148, 163, 184, 0.34);
  --sidebar-text: rgba(243, 248, 255, 0.92);
  --sidebar-muted: rgba(197, 213, 235, 0.72);
  --primary: #ee6c4d;
  --primary-strong: #d45b3d;
  --green: #12a36f;
  --orange: #f59e0b;
  --blue: #2563eb;
  --purple: #7c3aed;
  --dark: #142033;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.12);
  --radius-xs: 14px;
  --radius-sm: 18px;
  --radius: 24px;
  --radius-lg: 32px;
  --content-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at right 15%, rgba(238, 108, 77, 0.08), transparent 22%),
    linear-gradient(180deg, #f7faff 0%, #f2f6fb 100%);
}

body.admin-body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(18, 163, 111, 0.09), transparent 20%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

body.public-body {
  background:
    radial-gradient(circle at top left, rgba(18, 163, 111, 0.12), transparent 25%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 20%),
    linear-gradient(180deg, #fcfdfd 0%, #f4f8fb 100%);
}

body.public-app-body {
  background:
    linear-gradient(180deg, #fffaf8 0%, #fff 26%, #f7fbff 100%);
}

body.auth-body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(238, 108, 77, 0.08), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #f2f6fb 100%);
}

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

img {
  max-width: 100%;
}

input,
select,
textarea,
button {
  font: inherit;
}

.shell {
  display: grid;
  grid-template-columns: minmax(268px, 312px) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 28px 22px;
  color: var(--sidebar-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--panel-dark);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  overflow-y: auto;
}

.main {
  min-width: 0;
}

.main-frame {
  min-height: 100vh;
  padding: 24px;
}

.content-shell {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.shell-toolbar {
  width: min(100%, var(--content-width));
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-sidebar {
  align-items: flex-start;
  margin-bottom: 4px;
}

.brand-public {
  padding: 4px 2px 10px;
}

.consumer-brand {
  display: inline-flex;
  align-items: center;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.brand p {
  margin: 0;
  color: inherit;
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.45;
}

.brand-badge,
.brand-badge-public {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: white;
  box-shadow: var(--shadow-sm);
}

.brand-badge {
  background: linear-gradient(135deg, #ee6c4d, #f59e0b);
}

.brand-badge-public {
  background: linear-gradient(135deg, #12a36f, #2563eb);
}

.brand-logo-image {
  width: 108px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.brand-sidebar .brand-logo-image {
  width: 142px;
  height: 74px;
}

.brand-sidebar .brand-badge {
  width: 74px;
  height: 74px;
  border-radius: 24px;
}

.brand-sidebar .brand-copy strong,
.brand-sidebar .brand-copy p {
  color: var(--sidebar-text);
}

.brand-sidebar .brand-copy p {
  color: var(--sidebar-muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-group {
  display: grid;
  gap: 8px;
}

.nav-label {
  margin: 0;
  padding: 0 14px;
  color: var(--sidebar-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--sidebar-text);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.nav-text {
  font-weight: 700;
  line-height: 1.25;
}

.merchant-sidebar-card,
.sidebar-footer {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.merchant-sidebar-card strong,
.sidebar-footer strong {
  color: var(--sidebar-text);
  line-height: 1.3;
}

.merchant-sidebar-card span,
.sidebar-footer span {
  color: var(--sidebar-muted);
  font-size: 13px;
}

.public-sidebar-footer {
  margin-top: auto;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow,
.page-description,
.field span,
.section-title-row p,
.stat-card span,
.stat-card small,
.topbar-badge,
.upload-field small,
.auth-message,
table th {
  color: var(--text-soft);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-head h1,
.hero h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-description {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.topbar-actions,
.session-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.session-user,
.topbar-badge {
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.session-user {
  background: rgba(20, 32, 51, 0.06);
  color: #324257;
}

.topbar-badge {
  background: rgba(18, 163, 111, 0.12);
  color: #0d7a53;
}

.card,
.flow-card,
.stack-item,
.stat-card,
.chip-card,
.store-card,
.product-card,
.modal-dialog,
.icon-chip {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  padding: 26px;
}

.highlight-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #15243b 0%, #1e3557 100%);
  color: white;
}

.highlight-card .eyebrow,
.highlight-card p {
  color: rgba(255, 255, 255, 0.75);
}

.stats-grid,
.dashboard-grid,
.flow-grid,
.store-grid,
.chip-grid,
.product-grid,
.mini-metrics,
.logo-preview-grid,
.merchant-product-grid,
.merchant-category-columns,
.merchant-catalog-list,
.merchant-category-products,
.merchant-side-stack,
.merchant-category-sections,
.stack-list,
.users-kpis {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 28px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.09;
}

.stat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

.stat-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.stat-card strong {
  display: block;
  margin: 12px 0 6px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.accent-red {
  color: var(--primary);
}

.accent-orange {
  color: var(--orange);
}

.accent-blue {
  color: var(--blue);
}

.accent-green {
  color: var(--green);
}

.accent-purple {
  color: var(--purple);
}

.accent-dark {
  color: var(--dark);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}

.section-title-row,
.section-head,
.users-toolbar,
.modal-header,
.merchant-storebar,
.merchant-category-head,
.merchant-catalog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.section-title-row {
  margin-bottom: 22px;
}

.section-head {
  margin: 38px 0 18px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.section-title-row p,
.section-head p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

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

.flow-card,
.stack-item,
.mini-metrics div,
.merchant-product-card,
.merchant-line-card,
.merchant-category-chip,
.store-card,
.chip-card,
.product-card,
.checkout-summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
  border: 1px solid var(--line);
  box-shadow: none;
}

.flow-card,
.stack-item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-card:hover,
.chip-card:hover,
.store-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow-sm);
}

.flow-card strong,
.stack-item strong {
  display: block;
  font-size: 16px;
  margin: 0;
}

.flow-card p,
.stack-item p,
.flow-card small,
.stack-item small,
.merchant-product-copy p,
.merchant-line-card p,
.store-card p,
.product-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.flow-card .button-icon,
.stack-item .button-icon {
  width: 20px;
  height: 20px;
  color: var(--text-soft);
}

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

.mini-metrics div {
  padding: 18px;
  border-radius: 20px;
}

.mini-metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.mini-metrics strong {
  font-size: 30px;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 360px);
  gap: 18px;
  margin-bottom: 24px;
}

.card-public {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.82));
}

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

.hero-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-panel span {
  color: var(--text-soft);
  font-size: 14px;
}

.hero-panel strong {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.accent {
  color: var(--green);
}

.chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.chip-card {
  padding: 22px 18px;
  text-align: center;
  border-radius: 22px;
}

.chip-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  font-size: 28px;
  background: rgba(18, 163, 111, 0.1);
}

.store-grid,
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.store-card,
.product-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
}

.product-card {
  flex-direction: column;
  justify-content: space-between;
}

.store-logo {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #15243b, #315072);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button,
.icon-option,
.icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.icon-button:hover,
.icon-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button.primary {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.button-success {
  color: #081a12;
  border-color: transparent;
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.button-soft {
  background: #fff7ee;
  border-color: #f5dfc3;
  color: #81501f;
}

.button-icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button-icon,
.merchant-search-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg,
.merchant-search-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.button-with-icon {
  gap: 10px;
}

.consumer-chip-icon,
.floating-cart-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.consumer-chip-icon svg,
.floating-cart-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

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

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

.field-full,
.form-actions {
  grid-column: 1 / -1;
}

.field span {
  font-size: 13px;
  font-weight: 700;
}

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

.field-heading small {
  color: var(--text-soft);
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.44);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: white;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(79, 97, 120, 0.1);
  color: var(--text-soft);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.password-eye {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-eye svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.password-eye-hide {
  display: none;
}

.password-toggle.is-visible .password-eye-show {
  display: none;
}

.password-toggle.is-visible .password-eye-hide {
  display: inline-flex;
}

.checkbox-field {
  justify-content: flex-end;
}

.checkbox-field input {
  width: 22px;
  height: 22px;
}

.color-input {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
}

.color-input input[type="color"] {
  min-height: 52px;
  padding: 6px;
}

.upload-field {
  padding: 14px;
  border-radius: 20px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.54);
}

.upload-field-card {
  display: grid;
  gap: 14px;
}

.upload-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 20px;
  border-radius: 22px;
  border: 1px dashed var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.upload-dropzone:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-sm);
}

.upload-dropzone:focus-within {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone-content {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.upload-dropzone-content strong {
  font-size: 17px;
}

.upload-dropzone-content small,
.upload-preview,
.profile-upload-card small,
.modal-subtitle,
.user-person small,
.icon-chip p,
.merchant-product-category {
  color: var(--text-soft);
}

.upload-dropzone-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  color: #315072;
  background: linear-gradient(180deg, #eef4ff, #deebff);
  border: 1px solid rgba(49, 80, 114, 0.12);
}

.upload-dropzone-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.upload-preview {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.upload-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 14px;
}

.option-builder {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.option-builder-toolbar,
.option-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.option-builder-toolbar strong,
.option-group-head strong {
  display: block;
  font-size: 15px;
}

.option-builder-empty {
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  color: var(--text-soft);
  text-align: center;
}

.option-builder-groups,
.option-item-stack {
  display: grid;
  gap: 10px;
}

.option-group-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.option-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.option-group-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2456c2;
  font-size: 12px;
  font-weight: 800;
}

.option-group-main,
.option-group-settings,
.option-item-grid {
  display: grid;
  gap: 12px;
}

.option-group-main {
  grid-template-columns: 1.2fr 1.2fr;
}

.option-group-settings {
  grid-template-columns: 0.9fr 0.5fr 0.5fr auto auto;
  align-items: end;
}

.option-item-row {
  display: block;
  padding: 0;
}

.option-item-grid {
  grid-template-columns: 1.15fr 1.15fr 0.6fr auto auto;
  align-items: end;
  padding: 12px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.option-group-mini input {
  text-align: center;
}

.option-items-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

.option-items-head strong {
  font-size: 14px;
}

.button-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}

.switch-field {
  align-self: end;
  justify-content: flex-start;
}

.switch-control {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

.switch-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-ui {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  transition: background 0.18s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: transform 0.18s ease;
}

.switch-control input:checked + .switch-ui {
  background: rgba(238, 108, 77, 0.75);
}

.switch-control input:checked + .switch-ui::after {
  transform: translateX(20px);
}

.option-item-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
  color: #516275;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  align-self: end;
  margin-bottom: 10px;
}

.profile-upload-field {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.profile-upload-card {
  display: grid;
  place-items: center;
  gap: 10px;
  cursor: pointer;
}

.profile-upload-card input[type="file"] {
  display: none;
}

.profile-upload-preview {
  width: 118px;
  height: 118px;
  border-radius: 30px;
  overflow: hidden;
  border: 3px solid rgba(20, 32, 51, 0.14);
  background: rgba(255, 255, 255, 0.84);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.profile-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 10px;
}

.icon-option {
  min-height: 54px;
  border-radius: 16px;
  font-size: 24px;
  cursor: pointer;
}

.icon-option.active {
  border-color: rgba(238, 108, 77, 0.5);
  box-shadow: 0 0 0 4px rgba(238, 108, 77, 0.14);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

td {
  color: var(--text);
}

.table-wrap table td:last-child,
.table-wrap table th:last-child {
  text-align: right;
}

.table-wrap table td:nth-child(3),
.table-wrap table td:nth-child(4),
.table-wrap table td:nth-child(5),
.table-wrap table td:nth-child(6),
.table-wrap table th:nth-child(3),
.table-wrap table th:nth-child(4),
.table-wrap table th:nth-child(5),
.table-wrap table th:nth-child(6) {
  white-space: nowrap;
}

.empty,
.empty-card {
  text-align: center;
  color: var(--text-soft);
}

.empty-card {
  padding: 44px 24px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.merchant-section {
  margin-bottom: 18px;
}

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

.merchant-catalog-topbar {
  align-items: center;
  padding: 16px 18px;
}

.merchant-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.merchant-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
}

.merchant-category-chip strong {
  font-size: 13px;
}

.merchant-category-chip span,
.merchant-storemeta span,
.merchant-category-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
  color: #324257;
  font-size: 13px;
  font-weight: 700;
}

.merchant-hero {
  display: grid;
  gap: 18px;
}

.merchant-cover {
  height: 240px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #dceaff, #eef4ff);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.merchant-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merchant-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  color: #203047;
}

.merchant-storebrand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.merchant-storebrand h2,
.merchant-category-head h3,
.merchant-side-panel h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.merchant-storebrand p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.merchant-storelogo {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.merchant-storelogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-storemeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.merchant-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.merchant-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.merchant-search input {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.merchant-search input:focus {
  border: 0;
  box-shadow: none;
}

.merchant-product-grid,
.merchant-category-columns {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.merchant-product-grid-managed {
  grid-template-columns: repeat(auto-fill, minmax(220px, 220px));
  justify-content: start;
}

.merchant-product-card {
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
}

.merchant-product-image,
.merchant-line-thumb {
  overflow: hidden;
  background: rgba(243, 246, 251, 0.92);
}

.merchant-product-image {
  height: 116px;
  border-radius: 14px;
}

.merchant-line-thumb {
  min-height: 112px;
  border-radius: 16px;
}

.merchant-product-image img,
.merchant-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merchant-product-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: var(--text-soft);
  background: linear-gradient(135deg, #eef5ff, #f7faff);
}

.merchant-product-copy strong,
.merchant-line-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.merchant-product-copy p {
  display: -webkit-box;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.merchant-product-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.merchant-product-category {
  display: inline-flex;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.merchant-product-config {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2456c2;
  font-size: 12px;
  font-weight: 700;
}

.merchant-product-meta,
.merchant-line-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.merchant-product-meta span,
.merchant-line-price span {
  color: #109c68;
  font-size: 17px;
  font-weight: 800;
}

.merchant-product-meta small,
.merchant-line-price small {
  color: #95a4b7;
  font-size: 13px;
  text-decoration: line-through;
}

.merchant-catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 320px;
  gap: 18px;
}

.merchant-category-block,
.merchant-cardio-group {
  padding: 0;
}

.merchant-category-head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.merchant-line-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
}

.merchant-status-badge {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.merchant-status-badge.active {
  background: rgba(18, 163, 111, 0.12);
  color: #0d7a53;
}

.merchant-status-badge.inactive {
  background: rgba(238, 108, 77, 0.12);
  color: #b5482d;
}

.merchant-side-panel {
  padding: 20px;
}

.merchant-side-stack {
  gap: 16px;
}

.merchant-side-stack span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
}

.merchant-side-stack strong {
  display: block;
  line-height: 1.4;
}

.merchant-product-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.merchant-product-footer .button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 14px;
}

.consumer-checkout-shell {
  padding-top: 8px;
}

.consumer-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 408px;
  gap: 22px;
  align-items: start;
}

.consumer-checkout-main,
.consumer-checkout-sticky {
  padding: 28px;
  border-radius: 30px;
}

.consumer-checkout-head h2,
.consumer-checkout-section-head h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.consumer-checkout-head p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.consumer-cart-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.consumer-checkout-back {
  min-height: 42px;
  padding-inline: 16px;
}

.consumer-checkout-section + .consumer-checkout-section {
  margin-top: 22px;
}

.consumer-checkout-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.consumer-checkout-section .field-full span {
  display: none;
}

.consumer-checkout-aside {
  position: sticky;
  top: 96px;
}

.consumer-checkout-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(234, 29, 44, 0.08);
  color: #d4323f;
  font-size: 12px;
  font-weight: 800;
}

.consumer-checkout-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.consumer-checkout-sheet-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consumer-checkout-sheet-head h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.consumer-checkout-sheet-link {
  color: #d4323f;
  font-size: 14px;
  font-weight: 800;
}

.checkout-summary {
  display: grid;
  gap: 16px;
}

.checkout-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 247, 248, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(234, 29, 44, 0.12);
}

.checkout-store-copy {
  display: grid;
  gap: 4px;
}

.checkout-store-kicker {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
}

.checkout-store-copy strong {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.checkout-store-copy small {
  color: var(--text-soft);
  font-size: 13px;
}

.checkout-store-link {
  color: #d4323f;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-warning {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 245, 232, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #8a5b18;
  font-size: 14px;
  font-weight: 700;
}

.checkout-items {
  display: grid;
  gap: 12px;
}

.checkout-item-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.checkout-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.checkout-item-copy {
  display: grid;
  gap: 6px;
}

.checkout-item-copy strong {
  font-size: 18px;
  line-height: 1.2;
}

.checkout-item-qty {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
}

.checkout-item-price {
  white-space: nowrap;
  font-size: 18px;
  line-height: 1.2;
}

.checkout-item-options {
  display: grid;
  gap: 4px;
}

.checkout-item-options span {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.checkout-item-actions {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

.checkout-item-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d4323f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.checkout-totals {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.checkout-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
}

.checkout-total-line strong {
  color: var(--text);
}

.checkout-total-line-main {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.checkout-total-line-main strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.checkout-empty {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.54);
}

.checkout-empty strong {
  color: var(--text);
}

.checkout-empty p {
  margin: 0;
}

.checkout-submit-bar {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-submit-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.checkout-submit-total span {
  color: var(--text-soft);
  font-weight: 700;
}

.checkout-submit-total strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.checkout-submit-button {
  min-height: 54px;
  width: 100%;
  border-radius: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  margin: 38px auto;
  padding: 24px;
  max-height: calc(100vh - 76px);
  overflow: auto;
}

.modal-dialog-profile {
  width: min(760px, calc(100vw - 32px));
  padding: 28px 28px 24px;
}

.modal-dialog-product {
  width: min(760px, calc(100vw - 32px));
  padding: 26px;
}

.modal-header {
  align-items: flex-start;
  margin-bottom: 10px;
}

.modal-subtitle {
  margin: 6px 0 0;
}

.product-config-shell,
.product-config-groups {
  display: grid;
  gap: 18px;
}

.product-config-summary {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
  border: 1px solid var(--line);
}

.product-config-cover {
  min-height: 140px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-soft);
  background: linear-gradient(135deg, #eff5ff, #f8fbff);
}

.product-config-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-config-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-config-kicker {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-config-copy strong {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-config-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.config-group {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

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

.config-group-head strong {
  display: block;
  font-size: 18px;
}

.config-group-head p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.config-group-meta {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.08);
  color: #324257;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.config-option-list {
  display: grid;
  gap: 12px;
}

.config-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
}

.config-option-card.selected {
  border-color: rgba(238, 108, 77, 0.32);
  box-shadow: 0 0 0 3px rgba(238, 108, 77, 0.1);
}

.config-option-copy strong {
  display: block;
  font-size: 15px;
}

.config-option-copy p {
  margin: 6px 0;
  color: var(--text-soft);
  line-height: 1.45;
}

.config-option-copy span {
  color: #109c68;
  font-size: 13px;
  font-weight: 800;
}

.config-option-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.option-stepper,
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.option-stepper strong,
.quantity-stepper strong {
  min-width: 18px;
  text-align: center;
}

.selection-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.selection-check input {
  position: absolute;
  opacity: 0;
}

.selection-check span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(20, 32, 51, 0.18);
  background: white;
}

.selection-check input:checked + span {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 45%, transparent 46%);
}

.product-config-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
}

.product-config-submit {
  min-width: 220px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 6px;
}

.form-actions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.auth-panel {
  width: min(640px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.auth-brand {
  display: inline-flex;
}

.auth-brand-outside {
  margin: 0;
  justify-content: center;
}

.auth-brand-outside .brand-logo-image {
  width: 172px;
  height: 88px;
}

.auth-card {
  width: 100%;
  padding: 38px 34px 34px;
}

.auth-login-card {
  padding-top: 32px;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.consumer-auth-form {
  gap: 18px;
}

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

.consumer-auth-field {
  gap: 9px;
}

.consumer-input {
  position: relative;
  display: flex;
  align-items: center;
}

.consumer-input-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  pointer-events: none;
}

.consumer-input-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.consumer-input input {
  padding-left: 46px;
}

.consumer-input select {
  padding-left: 46px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-faint) 50%),
    linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.consumer-select::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(148, 163, 184, 0.22);
  transform: translateY(-50%);
  pointer-events: none;
}

.consumer-password-field input {
  padding-left: 46px;
  padding-right: 54px;
}

.consumer-auth-field.is-loading .consumer-input {
  opacity: 0.72;
}

.auth-submit {
  width: 100%;
}

.auth-message {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(238, 108, 77, 0.22);
  background: rgba(255, 241, 238, 0.9);
  font-weight: 700;
}

.users-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

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

.icon-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.icon-chip-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
}

.icon-chip-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1;
}

.icon-chip p {
  margin: 0;
}

.tone-blue .icon-chip-badge {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}

.tone-green .icon-chip-badge {
  background: rgba(18, 163, 111, 0.12);
  color: var(--green);
}

.tone-orange .icon-chip-badge {
  background: rgba(245, 158, 11, 0.12);
  color: var(--orange);
}

.tone-purple .icon-chip-badge {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple);
}

.users-toolbar {
  align-items: flex-end;
}

.users-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
  flex: 1;
}

.users-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.user-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.user-person strong {
  display: block;
  line-height: 1.15;
}

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  background: linear-gradient(135deg, #16253b, #315072);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 700;
}

.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.status-dot.active {
  color: #0d7a53;
}

.status-dot.inactive {
  color: #b5482d;
}

.status-dot.pending {
  color: #a16207;
}

.status-dot.warning {
  color: #2563eb;
}

.table-helper {
  color: var(--text-soft);
  font-size: 0.92rem;
}

td form {
  margin: 0;
}

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

.logo-preview-card {
  display: grid;
  gap: 10px;
}

.logo-preview-card span {
  color: var(--text-soft);
}

.logo-preview-surface {
  min-height: 140px;
  border-radius: 24px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-preview-surface.light {
  background: #ffffff;
}

.logo-preview-surface.dark {
  background: linear-gradient(180deg, #0f1c2f 0%, #16263d 100%);
}

.logo-preview-surface img {
  max-width: 70%;
  max-height: 90px;
  object-fit: contain;
}

.logo-preview-surface-copy {
  padding: 18px;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.logo-preview-surface-copy strong {
  font-size: 1.05rem;
  color: var(--text-strong);
}

.logo-preview-surface-copy small {
  color: var(--text-soft);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}

.toast-root {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  color: white;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: linear-gradient(135deg, #12a36f, #19bf82);
}

.toast-error {
  background: linear-gradient(135deg, #d55338, #ee6c4d);
}

.public-app {
  min-height: 100vh;
}

.consumer-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.consumer-header-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
}

.consumer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.consumer-nav a {
  color: var(--text-soft);
  font-weight: 700;
}

.consumer-nav a.active {
  color: var(--primary-strong);
}

.consumer-searchbar input {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  padding-inline: 22px;
  background: rgba(247, 249, 253, 0.95);
}

.consumer-address-chip,
.consumer-cart-chip {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
}

.consumer-address-chip {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 2px 10px;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
}

.consumer-address-chip .consumer-chip-icon {
  grid-row: 1 / span 2;
  align-self: center;
}

.consumer-address-label {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.consumer-address-chip strong {
  font-size: 14px;
}

.consumer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.consumer-header-action-label {
  white-space: nowrap;
}

.consumer-cart-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  font-weight: 800;
}

.consumer-main {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 28px 24px 96px;
}

.consumer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 400px;
  gap: 22px;
  padding: 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(18, 163, 111, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(238, 108, 77, 0.12), transparent 22%),
    linear-gradient(135deg, #fff5f0 0%, #fff 55%, #f2fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.consumer-hero-copy h1,
.consumer-store-hero-body h1 {
  margin: 0;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.consumer-hero-copy p,
.consumer-store-hero-body p {
  color: var(--text-soft);
  line-height: 1.6;
}

.consumer-hero-panel {
  display: grid;
  gap: 16px;
}

.consumer-hero-metric,
.consumer-hero-highlight,
.consumer-store-hero,
.consumer-store-card,
.consumer-product-card,
.consumer-strip {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.consumer-hero-metric,
.consumer-hero-highlight,
.consumer-strip {
  padding: 22px;
}

.consumer-hero-metric span {
  color: var(--text-soft);
  display: block;
  margin-bottom: 10px;
}

.consumer-hero-metric strong {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.consumer-hero-highlight {
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  line-height: 1.4;
}

.consumer-strip {
  margin-top: 18px;
  background: linear-gradient(90deg, #12a36f, #1fbf84);
  color: white;
}

.consumer-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 34px 0 16px;
}

.consumer-section-head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.consumer-category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 14px;
}

.consumer-category-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-sm);
}

.consumer-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.consumer-store-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consumer-store-card:hover,
.consumer-product-card:hover,
.consumer-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.consumer-store-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.consumer-store-brand h3 {
  margin: 0;
  font-size: 22px;
}

.consumer-store-brand p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.consumer-store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consumer-store-meta span,
.consumer-store-footer small,
.consumer-store-footer strong {
  display: inline-flex;
  align-items: center;
}

.consumer-store-meta span {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
  color: #324257;
  font-weight: 700;
}

.consumer-store-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
}

.consumer-store-hero {
  overflow: hidden;
}

.consumer-store-hero-cover {
  height: 260px;
  background: linear-gradient(135deg, #eff5ff, #fff5f0);
}

.consumer-store-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-store-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.consumer-store-hero-body {
  padding: 24px;
}

.consumer-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.consumer-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 16px;
  padding: 16px;
}

.consumer-product-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.consumer-product-copy h3 {
  margin: 2px 0 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.consumer-product-copy p {
  margin: 2px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.consumer-product-copy strong {
  font-size: 28px;
  line-height: 1;
}

.consumer-product-thumb {
  height: 126px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(243, 246, 251, 0.92);
}

.consumer-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-modal {
  width: min(560px, calc(100vw - 32px));
}

.consumer-bottom-nav {
  display: none;
}

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

.consumer-bottom-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

pre {
  white-space: pre-wrap;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .dashboard-grid,
  .hero,
  .merchant-catalog-layout {
    grid-template-columns: 1fr;
  }

  .consumer-header-inner,
  .consumer-hero {
    grid-template-columns: 1fr;
  }

  .consumer-nav {
    order: 4;
    overflow: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 960px) {
  .shell,
  .grid-form,
  .mini-metrics,
  .users-kpis,
  .users-filters,
  .logo-preview-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-frame {
    min-height: 0;
    padding: 18px;
  }

  .page-head,
  .section-title-row,
  .section-head,
  .users-toolbar,
  .modal-header,
  .merchant-storebar,
  .merchant-category-head,
  .merchant-catalog-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .consumer-store-grid,
  .consumer-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-group-main,
  .option-group-settings,
  .option-item-grid,
  .product-config-summary,
  .config-option-card {
    grid-template-columns: 1fr;
  }

  .option-group-head,
  .option-items-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .merchant-line-card {
    grid-template-columns: 1fr;
  }

  .merchant-product-grid-managed {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .form-actions,
  .form-actions-split {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .form-actions {
    flex-direction: column;
  }
}

body.public-app-body {
  background:
    radial-gradient(circle at top left, rgba(238, 108, 77, 0.14), transparent 18%),
    radial-gradient(circle at right 10%, rgba(37, 99, 235, 0.12), transparent 20%),
    linear-gradient(180deg, #fff7f3 0%, #fffdfa 22%, #f4f9ff 100%);
}

.consumer-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 246, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.consumer-searchbar input {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.consumer-cart-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #17253d, #233a5f);
  color: white;
  border-color: transparent;
  cursor: pointer;
}

.floating-cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ea1d2c, #f2474b);
  color: white;
  box-shadow: 0 24px 44px rgba(234, 29, 44, 0.28);
  border: 0;
  cursor: pointer;
}

.floating-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 48px rgba(234, 29, 44, 0.32);
}

.floating-cart-copy {
  display: grid;
  gap: 2px;
}

.floating-cart-copy strong,
.floating-cart-cta {
  font-weight: 800;
}

.floating-cart-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.consumer-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.consumer-cart-drawer.open {
  pointer-events: auto;
}

.consumer-cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.consumer-cart-drawer.open .consumer-cart-drawer-backdrop {
  opacity: 1;
}

.consumer-cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -24px 0 54px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.consumer-cart-drawer.open .consumer-cart-drawer-panel {
  transform: translateX(0);
}

.consumer-cart-drawer-head,
.consumer-cart-drawer-footer,
.drawer-cart-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.consumer-cart-drawer-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consumer-cart-drawer-head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.consumer-cart-drawer-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px 0;
  overflow-y: auto;
}

.drawer-store-card,
.drawer-cart-item {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.drawer-store-card {
  display: grid;
  gap: 4px;
}

.drawer-store-kicker {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
}

.drawer-store-card strong {
  font-size: 24px;
  line-height: 1.08;
}

.drawer-store-card small,
.drawer-cart-item small {
  color: var(--text-soft);
}

.drawer-cart-items,
.drawer-cart-totals {
  display: grid;
  gap: 12px;
}

.drawer-cart-item strong {
  font-size: 18px;
  line-height: 1.2;
}

.consumer-cart-drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.consumer-cart-drawer-footer .button {
  flex: 1 1 0;
}

.consumer-auth-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
}

.consumer-auth-switch button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  cursor: pointer;
}

.consumer-auth-switch button.active {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.consumer-main {
  width: min(100%, 1520px);
}

.consumer-section-head p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.consumer-hero-immersive {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 560px;
  padding: 40px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.9), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(63, 211, 174, 0.18), transparent 14%),
    radial-gradient(circle at 80% 80%, rgba(255, 167, 113, 0.18), transparent 16%),
    linear-gradient(145deg, #fff6ef 0%, #fffdfb 58%, #eef7ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 42px 100px rgba(18, 31, 53, 0.14);
}

.consumer-hero-immersive::before,
.consumer-hero-immersive::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.consumer-hero-immersive::before {
  left: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  background: rgba(255, 127, 80, 0.1);
  filter: blur(30px);
}

.consumer-hero-immersive::after {
  right: 10%;
  top: -70px;
  width: 220px;
  height: 220px;
  background: rgba(37, 99, 235, 0.1);
  filter: blur(26px);
}

.consumer-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: 760px;
}

.consumer-hero-copy .eyebrow {
  color: #ff8b63;
}

.consumer-hero-copy h1 {
  max-width: 640px;
  color: #15233a;
  text-wrap: balance;
  font-size: clamp(54px, 5vw, 82px);
}

.consumer-hero-copy p {
  max-width: 420px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.consumer-hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: stretch;
}

.consumer-hero-spotlight,
.consumer-hero-sidecard,
.consumer-stage-card,
.consumer-showcase-card,
.consumer-store-card,
.consumer-product-card-immersive,
.consumer-promo-marquee,
.consumer-category-rail a {
  border-radius: 30px;
}

.consumer-hero-spotlight {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.consumer-hero-spotlight-media {
  min-height: 100%;
  background: linear-gradient(135deg, #dfe9f8, #eef4ff);
}

.consumer-hero-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-hero-spotlight-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #5b6c82;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.consumer-hero-spotlight-copy {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
}

.consumer-hero-spotlight-copy span,
.consumer-showcase-copy span {
  color: #f16041;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consumer-hero-spotlight-copy strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.consumer-hero-spotlight-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 15px;
}

.consumer-hero-sidecards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.consumer-hero-sidecard {
  min-height: 132px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.consumer-hero-sidecard span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.consumer-hero-sidecard strong {
  display: block;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.consumer-hero-sidecard-dark,
.consumer-stage-card-dark {
  background: linear-gradient(145deg, #17253d, #243a5e);
  color: white;
  border-color: rgba(255, 255, 255, 0.08);
}

.consumer-hero-sidecard-dark span,
.consumer-hero-sidecard-dark p,
.consumer-stage-card-dark span {
  color: rgba(255, 255, 255, 0.72);
}

.consumer-category-row {
  grid-template-columns: repeat(4, minmax(92px, 104px));
  justify-content: start;
  gap: 18px;
}

.consumer-category-card {
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  border: 0;
  transform: none;
  box-shadow: none;
  background: transparent;
}

.consumer-category-card .chip-icon {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  font-size: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: #f4f6ef;
}

.consumer-category-card:hover {
  transform: none;
  box-shadow: none;
}

.consumer-category-card:hover .chip-icon {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.consumer-category-card strong {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  font-weight: 600;
  color: #5f6f84;
}

.consumer-category-card:nth-child(4n + 1) {
  background: transparent;
}

.consumer-category-card:nth-child(4n + 1) .chip-icon {
  background: #fff1ea;
}

.consumer-category-card:nth-child(4n + 2) {
  background: transparent;
}

.consumer-category-card:nth-child(4n + 2) .chip-icon {
  background: #fff4df;
}

.consumer-category-card:nth-child(4n + 3) {
  background: transparent;
}

.consumer-category-card:nth-child(4n + 3) .chip-icon {
  background: #eef8e9;
}

.consumer-category-card:nth-child(4n + 4) {
  background: transparent;
}

.consumer-category-card:nth-child(4n + 4) .chip-icon {
  background: #edf5ff;
}

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

.consumer-showcase-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.consumer-showcase-media {
  min-height: 260px;
  background: linear-gradient(135deg, #1a2b46, #304e77);
  overflow: hidden;
}

.consumer-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.consumer-showcase-copy {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.consumer-showcase-copy strong {
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.consumer-showcase-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.consumer-showcase-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.consumer-showcase-price strong {
  font-size: 34px;
  line-height: 1;
}

.consumer-showcase-price small {
  color: #95a4b7;
  text-decoration: line-through;
  font-size: 15px;
  font-weight: 700;
}

.consumer-store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.consumer-store-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.54), transparent 24%),
    linear-gradient(165deg, #fff 0%, #f8fbff 100%);
}

.consumer-store-hero-band {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 90px;
  padding: 18px 18px 14px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(135deg, #203250, #2d4a73);
}

.consumer-store-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consumer-store-status {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
}

.consumer-store-card > *:not(.consumer-store-hero-band) {
  padding-inline: 18px;
}

.consumer-store-brand {
  margin-top: -18px;
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 14px;
}

.consumer-store-brand .store-logo {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(17, 31, 53, 0.18);
}

.consumer-store-brand h3 {
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.consumer-store-brand p {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
}

.consumer-store-meta,
.consumer-store-footer {
  padding-bottom: 18px;
}

.consumer-store-meta {
  gap: 8px;
}

.consumer-store-meta span {
  min-height: 32px;
  padding: 6px 11px;
  font-size: 13px;
}

.consumer-store-footer {
  margin-top: auto;
  padding-top: 2px;
}

.consumer-store-footer small {
  font-size: 13px;
}

.consumer-store-footer strong {
  color: #203047;
  font-weight: 800;
  font-size: 14px;
}

.consumer-store-page {
  display: grid;
  gap: 18px;
}

.consumer-store-banner {
  height: 244px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8eef9, #fdf7f2);
}

.consumer-store-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.consumer-store-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.consumer-store-summary-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.consumer-store-summary-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.consumer-store-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-soft);
  font-weight: 700;
}

.consumer-store-rating {
  color: #f59e0b;
}

.consumer-store-summary-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.consumer-store-link {
  border: 0;
  background: transparent;
  color: #ea1d2c;
  font-weight: 800;
  cursor: pointer;
}

.consumer-store-timing {
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.consumer-store-timing strong {
  font-size: 16px;
}

.consumer-store-timing span {
  color: var(--text-soft);
  font-size: 14px;
}

.consumer-store-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.consumer-store-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.consumer-store-search input {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.consumer-store-search input:focus {
  box-shadow: none;
}

.consumer-store-search-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ea1d2c;
}

.consumer-store-search-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.consumer-store-toolbar-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.consumer-toolbar-pill {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--text);
  font-weight: 700;
}

.consumer-category-rail {
  position: sticky;
  top: 88px;
  z-index: 40;
  display: flex;
  gap: 18px;
  overflow: auto;
  margin: 18px 0 10px;
  padding: 0 0 8px;
}

.consumer-category-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #44556b;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}

.consumer-menu-section {
  margin-bottom: 42px;
}

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

.consumer-product-card-immersive {
  grid-template-columns: minmax(0, 1fr) 184px;
  align-items: start;
  gap: 16px;
  padding: 18px 18px 20px;
  overflow: visible;
  cursor: pointer;
  border-radius: 18px;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.08);
}

.consumer-product-card-immersive .consumer-product-copy {
  display: grid;
  gap: 14px;
  padding: 0;
}

.consumer-product-topline,
.consumer-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.consumer-product-store-tag,
.consumer-product-config-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.consumer-product-store-tag {
  background: transparent;
  color: #f16041;
  padding-inline: 0;
  min-height: auto;
}

.consumer-product-config-pill {
  background: rgba(37, 99, 235, 0.08);
  color: #2456c2;
}

.consumer-product-extra-meta {
  color: #303f54;
  font-size: 14px;
  font-weight: 700;
  margin-top: -2px;
}

.consumer-product-bottom .button {
  min-width: 0;
}

.consumer-product-thumb {
  position: relative;
  height: 136px;
  min-height: 136px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(243, 246, 251, 0.92);
}

.consumer-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-product-quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #ea5d3a;
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(234, 93, 58, 0.26);
}

.modal-dialog-product {
  width: min(1120px, calc(100vw - 40px));
  padding: 0;
  overflow: hidden;
}

.modal-header-product {
  align-items: flex-start;
  padding: 26px 28px 14px;
}

.modal-header-product .eyebrow {
  margin-bottom: 12px;
}

.modal-header-product h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.modal-header-product .modal-subtitle {
  margin-top: 12px;
  line-height: 1.5;
}

.product-config-shell {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 560px;
}

.product-config-summary {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #182740, #2d4d78);
}

.product-config-cover {
  min-height: 400px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.product-config-copy {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.product-config-copy strong,
.product-config-copy p,
.product-config-kicker {
  color: white;
}

.product-config-kicker {
  display: block;
  margin: 0;
}

.product-config-copy strong {
  margin: 0;
  line-height: 1.02;
}

.product-config-copy p {
  margin: 0;
  line-height: 1.55;
}

.product-config-groups {
  gap: 0;
  padding: 18px;
  background: #fff;
  overflow: auto;
}

.config-group {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-inline: 0;
  padding-bottom: 18px;
  background: transparent;
}

.product-config-footer {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .consumer-checkout-layout {
    grid-template-columns: 1fr;
  }

  .consumer-checkout-aside {
    position: static;
    order: -1;
  }

  .consumer-store-summary,
  .consumer-store-toolbar,
  .consumer-product-grid {
    grid-template-columns: 1fr;
  }

  .consumer-hero-immersive,
  .consumer-hero-spotlight,
  .consumer-showcase-grid,
  .product-config-shell {
    grid-template-columns: 1fr;
  }

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

  .consumer-category-row {
    grid-template-columns: repeat(4, minmax(92px, 104px));
  }
}

@media (max-width: 960px) {
  .consumer-category-row,
  .consumer-store-grid,
  .consumer-showcase-grid,
  .consumer-hero-sidecards {
    grid-template-columns: 1fr;
  }

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

  .consumer-store-summary-side {
    justify-content: space-between;
  }

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

  .consumer-category-rail {
    top: 82px;
  }

  .consumer-category-row {
    grid-template-columns: repeat(4, minmax(92px, 104px));
  }
}

@media (max-width: 640px) {
  .sidebar,
  .card,
  .page-head,
  .modal-dialog,
  .auth-card {
    padding: 20px;
  }

  .hero-panel,
  .merchant-side-panel {
    padding: 18px;
  }

  .product-config-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-config-submit {
    width: 100%;
    min-width: 0;
  }

  .page-head h1,
  .hero h2,
  .section-head h2 {
    font-size: clamp(26px, 9vw, 34px);
  }

  .consumer-main {
    padding: 18px 16px 96px;
  }

  .consumer-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 14px 12px;
    gap: 10px 12px;
  }

  .consumer-nav {
    display: none;
  }

  .consumer-brand {
    min-width: 0;
  }

  .consumer-brand .brand-logo-image {
    width: 92px;
    height: 48px;
  }

  .consumer-searchbar,
  .consumer-address-chip {
    grid-column: 1 / -1;
  }

  .consumer-searchbar input {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .consumer-address-chip {
    min-height: 50px;
    padding: 8px 14px;
    gap: 0 10px;
  }

  .consumer-address-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .consumer-address-chip strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .consumer-header-actions {
    justify-self: end;
    gap: 8px;
  }

  .consumer-header-actions .button,
  .consumer-cart-chip {
    min-height: 40px;
    min-width: 40px;
    padding: 0 12px;
    border-radius: 14px;
  }

  .consumer-header-actions .button .consumer-header-action-label {
    display: none;
  }

  .consumer-cart-chip {
    display: none;
  }

  .consumer-store-grid,
  .consumer-category-row {
    grid-template-columns: 1fr;
  }

  .consumer-auth-grid {
    grid-template-columns: 1fr;
  }

  .consumer-category-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84px;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .consumer-category-row::-webkit-scrollbar {
    display: none;
  }

  .consumer-category-card {
    min-height: 0;
    padding: 0;
  }

  .consumer-category-card .chip-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 22px;
  }

  .consumer-category-card strong {
    font-size: 11px;
  }

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

  .consumer-hero-immersive,
  .consumer-showcase-copy,
  .consumer-product-card-immersive .consumer-product-copy,
  .consumer-checkout-main,
  .consumer-checkout-sticky {
    padding: 22px;
  }

  .consumer-cart-page-head,
  .consumer-checkout-sheet-head,
  .checkout-store-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .consumer-checkout-sticky {
    border-radius: 28px 28px 22px 22px;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.08);
  }

  .consumer-hero-copy h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .consumer-store-banner {
    height: 152px;
    border-radius: 18px;
  }

  .consumer-store-summary {
    gap: 14px;
  }

  .consumer-store-summary-main {
    align-items: flex-start;
    gap: 14px;
  }

  .consumer-store-summary-copy h1 {
    font-size: 28px;
  }

  .consumer-store-summary-meta {
    gap: 8px;
    font-size: 13px;
  }

  .consumer-store-summary-side {
    display: grid;
    gap: 12px;
    justify-content: stretch;
  }

  .checkout-item-top {
    grid-template-columns: 1fr;
    display: grid;
  }

  .checkout-item-price {
    font-size: 24px;
  }

  .checkout-submit-bar {
    position: sticky;
    bottom: 0;
    margin-inline: -22px;
    margin-bottom: -22px;
    padding: 16px 22px 22px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
  }

  .consumer-store-timing,
  .consumer-toolbar-pill {
    min-height: 48px;
  }

  .consumer-store-search {
    min-height: 54px;
  }

  .consumer-category-rail {
    gap: 14px;
    margin-top: 10px;
  }

  .consumer-section-head h2 {
    font-size: 22px;
  }

  .consumer-menu-section {
    margin-bottom: 28px;
  }

  .consumer-product-card-immersive {
    gap: 12px;
    padding-bottom: 16px;
  }

  .consumer-product-thumb {
    height: 116px;
    min-height: 116px;
  }

  .consumer-product-topline,
  .consumer-product-bottom {
    gap: 8px;
  }

  .consumer-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  }

  .floating-cart {
    right: 12px;
    left: 12px;
    bottom: 78px;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
    min-height: 52px;
    padding: 10px 12px;
    box-shadow: 0 16px 30px rgba(234, 29, 44, 0.22);
  }

  .consumer-cart-drawer-panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: min(82vh, 720px);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .consumer-cart-drawer.open .consumer-cart-drawer-panel {
    transform: translateY(0);
  }

  .consumer-bottom-nav a,
  .consumer-bottom-nav button {
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    min-height: 48px;
    border-radius: 14px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 2px;
    font-size: 11px;
    line-height: 1.1;
  }

  .consumer-bottom-nav .active {
    color: var(--primary-strong);
    background: rgba(238, 108, 77, 0.08);
  }

  .floating-cart-icon {
    width: 16px;
    height: 16px;
  }

  .floating-cart-icon svg {
    width: 16px;
    height: 16px;
  }

  .floating-cart-copy {
    gap: 0;
    text-align: left;
  }

  .floating-cart-copy strong {
    font-size: 16px;
    line-height: 1;
  }

  .floating-cart-copy small {
    font-size: 11px;
  }

  .floating-cart-cta {
    font-size: 14px;
  }

  .toast-root {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}
