* { box-sizing: border-box; }

:root {
  --bg: #f7f8f4;
  --ink: #151814;
  --muted: #667064;
  --line: #dce2db;
  --surface: #ffffff;
  --soft: #eef3ee;
  --dark: #101411;
  --accent: #1f6f56;
  --accent-2: #b65a6f;
  --accent-3: #0c7d8b;
  --gold: #bc8428;
  --shadow: 0 22px 60px rgba(16, 20, 17, 0.14);
}

body[data-page="glowlab"] { --accent: #b65a6f; --soft: #f7edf0; }
body[data-page="autopulse"] { --accent: #0c7d8b; --soft: #edf5f6; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(220, 226, 219, 0.9);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 950;
}

.shop-brand {
  display: grid;
  grid-template-columns: 36px auto;
  column-gap: 10px;
  row-gap: 1px;
  align-items: center;
}

.shop-brand span {
  grid-row: span 2;
}

.shop-brand strong {
  line-height: 1;
}

.shop-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

nav a:hover { color: var(--ink); }

.cart-button, .primary-link, .ghost-link, .mini-button, .checkout-button, .chat-toggle, .chat-form button, .account-button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
}

.cart-button, .primary-link, .checkout-button, .chat-toggle, .chat-form button, .account-button {
  border: 1px solid var(--dark);
  color: white;
  background: var(--dark);
}

.cart-button {
  padding: 9px 13px;
  white-space: nowrap;
}

.cart-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  place-items: center;
  border-radius: 999px;
  color: var(--dark);
  background: white;
  font-size: 12px;
}

.shop-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.search-box {
  display: grid;
  min-width: min(280px, 26vw);
  gap: 3px;
}

.search-box span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.account-button {
  padding: 0 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  min-height: calc(100vh - 69px);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(34px, 6vw, 80px) clamp(18px, 5vw, 74px);
}

.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6.8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: 0; }
h3 { margin-bottom: 8px; letter-spacing: 0; }

.hero-copy p:not(.eyebrow), .section p, .store-intro p, .strategy-card p, .product-card p, .portfolio-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow) { font-size: 18px; }

.hero-actions, .card-actions, .product-actions, .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-link, .ghost-link, .mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--dark);
}

.ghost-link, .mini-button {
  color: var(--ink);
  background: transparent;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-collage img:first-child { grid-row: span 2; min-height: 470px; }

.portfolio, .section, .store-products, .store-intro, .trust-strip, .shop-footer {
  padding: 42px clamp(18px, 5vw, 74px);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: var(--soft);
}

.portfolio-card, .product-card, .strategy-card, .trust-strip article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 20, 17, 0.06);
}

.portfolio-card img { width: 100%; height: 260px; object-fit: cover; }
.portfolio-card div, .strategy-card, .trust-strip article { padding: 20px; }

.badge {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 26px;
  align-items: center;
}

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

.scoreboard article {
  min-height: 140px;
  padding: 20px;
  border-radius: 8px;
  color: white;
  background: var(--dark);
}

.scoreboard strong { display: block; color: #f1c36a; font-size: 44px; line-height: 1; }
.scoreboard span { display: block; margin-top: 12px; color: #d7ded8; }

.store-hero {
  position: relative;
  min-height: calc(100vh - 69px);
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 80px) clamp(18px, 5vw, 74px);
  color: white;
  background: var(--dark);
}

.store-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 20, 17, 0.82), rgba(16, 20, 17, 0.22));
}

.store-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.store-hero .eyebrow, .store-hero p { color: rgba(255, 255, 255, 0.86); }
.store-hero .ghost-link { border-color: rgba(255,255,255,0.7); color: white; }
.store-hero .primary-link { border-color: white; background: white; color: var(--dark); }

.announcement {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 850;
}

.usp-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--dark);
}

.usp-bar span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 5vw, 74px);
  border-bottom: 1px solid var(--line);
  background: white;
}

.category-rail a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 900;
}

.category-rail span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 12px;
}

.deal-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 26px;
  align-items: center;
  padding: 42px clamp(18px, 5vw, 74px);
  color: white;
  background: var(--dark);
}

.deal-strip p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.deal-strip img {
  width: 100%;
  height: 310px;
  border-radius: 8px;
  object-fit: cover;
}

.deal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.deal-actions strong {
  font-size: 34px;
}

.deal-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--dark);
  background: white;
  font-weight: 950;
}

.quick-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px clamp(18px, 5vw, 74px);
  background: white;
}

.quick-picks article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.quick-picks img {
  width: 86px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.quick-picks div {
  display: grid;
  gap: 3px;
}

.quick-picks span,
.quick-picks small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.store-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
  background: var(--soft);
}

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

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

.admin-shell {
  padding: 36px clamp(18px, 5vw, 74px);
}

.admin-hero {
  display: grid;
  align-items: end;
  min-height: 280px;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
  color: white;
  background: linear-gradient(135deg, #101411, #1f6f56);
}

.admin-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.admin-metrics article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
}

.admin-metrics strong {
  display: block;
  font-size: 30px;
}

.admin-metrics span {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 20, 17, 0.06);
}

.admin-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-detail {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
}

.admin-detail strong {
  display: block;
  color: var(--ink);
}

.admin-order-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-order-form input,
.admin-order-form select,
.admin-order-form button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.admin-order-form button {
  color: white;
  border-color: var(--dark);
  background: var(--dark);
  font-weight: 850;
}

.filters button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
  background: white;
  font-weight: 850;
}

.filters button.active { color: white; border-color: var(--accent); background: var(--accent); }

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(31, 111, 86, 0.35); box-shadow: var(--shadow); }
.product-card img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(135deg, #fbfaf6 0%, #ffffff 54%, #f0f4ef 100%);
  transition: transform 260ms ease;
}
.product-card:hover img { transform: scale(1.025); }
.product-image-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fbfaf6;
}
.corner-label {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: var(--dark);
  font-size: 12px;
  font-weight: 850;
}
.deal-label {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--dark);
  background: #f1c36a;
  font-size: 12px;
  font-weight: 950;
}
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.product-body h3 { margin-bottom: 8px; }
.product-body p { min-height: 66px; }

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

.stars {
  color: #bc8428;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.product-usps {
  display: grid;
  gap: 4px;
  min-height: 42px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.product-stats span {
  min-height: 58px;
  padding: 9px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.product-stats strong { display: block; color: var(--ink); font-size: 13px; }

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.admin-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: white;
  color: var(--muted);
  font-weight: 850;
}

.admin-tabs a.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.admin-hero-clean {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.admin-hero-clean h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.95;
}

.admin-hero-clean p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.admin-kpis article {
  display: grid;
  gap: 4px;
  min-height: 84px;
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.admin-kpis span,
.admin-kpis small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-kpis strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

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

.fulfillment-kpis article {
  display: grid;
  gap: 4px;
  min-height: 84px;
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.fulfillment-kpis span,
.fulfillment-kpis small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.fulfillment-kpis strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

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

.admin-module {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
}

.admin-module > span {
  color: var(--muted);
  font-weight: 850;
}

.admin-module h2 {
  margin: 6px 0 14px;
  font-size: 38px;
}

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

.compact-list p {
  display: flex;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.compact-list strong {
  color: var(--ink);
  white-space: nowrap;
}

.price-row {
  margin-top: auto;
  display: grid;
  gap: 2px;
  margin: 14px 0;
}

.price-row strong { font-size: 26px; }
.price-row small { color: var(--muted); line-height: 1.35; }

.product-actions a, .product-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font-weight: 850;
}

.product-actions a:first-child { color: white; border-color: var(--dark); background: var(--dark); }

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

.trust-strip strong { display: block; margin-bottom: 7px; }
.trust-strip span { color: var(--muted); line-height: 1.45; }

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(460px, 100vw);
  height: 100vh;
  padding: 22px;
  background: white;
  box-shadow: -24px 0 60px rgba(16, 20, 17, 0.22);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-panel.open { transform: translateX(0); }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.cart-items { overflow: auto; padding: 14px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.cart-item h3 { font-size: 15px; margin-bottom: 4px; }
.cart-item p, .small-note { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 18px;
}

.checkout-form {
  display: grid;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.orders-grid {
  display: grid;
  gap: 12px;
}

.admin-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 260px);
  gap: 12px;
  align-items: end;
  margin: 22px 0;
}

.admin-tools select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.order-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 18px;
}

.order-filter-chips button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: white;
  font-weight: 850;
}

.order-filter-chips button.active {
  color: white;
  border-color: var(--dark);
  background: var(--dark);
}

.order-filter-chips span {
  display: inline-flex;
  min-width: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 12px;
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 20, 17, 0.06);
}

.content-card h2 {
  font-size: 24px;
}

.content-card p {
  color: var(--muted);
  line-height: 1.6;
}

.content-card a {
  color: var(--accent);
  font-weight: 850;
}

.ready-card {
  border-color: rgba(31, 111, 86, 0.28);
  background: #f7fbf8;
}

.blocked-card {
  border-color: rgba(196, 133, 37, 0.32);
  background: #fffaf0;
}

.legal-page {
  min-height: calc(100vh - 86px);
}

.legal-page h1 {
  max-width: 820px;
}

.legal-page > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.content-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.shop-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: #fff;
}

.shop-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.shop-footer a {
  color: var(--accent);
  font-weight: 900;
}

.shop-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  font-weight: 850;
}

.terms-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.terms-check input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
}

.shop-details span,
.payment-logos span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.payment-logos .ideal { color: #fff; border-color: #cc0066; background: #cc0066; }
.payment-logos .paypal { color: #fff; border-color: #003087; background: #003087; }
.payment-logos .visa { color: #1434cb; border-color: #dfe5ff; background: #fff; }
.payment-logos .mastercard { color: #111; border-color: #f3c15d; background: #fff4d8; }
.payment-logos .amex { color: #fff; border-color: #2e77bc; background: #2e77bc; }

.order-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 20, 17, 0.06);
}

.compact-order-card {
  padding: 0;
  overflow: hidden;
}

.compact-order-card > * {
  margin-inline: 18px;
}

.compact-order-card > .order-card-head {
  margin: 0;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  background: #fbfdfb;
}

.order-card-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1;
}

.order-card-head p {
  margin: 0;
  color: var(--muted);
}

.order-total {
  display: grid;
  gap: 5px;
  min-width: 150px;
  text-align: right;
}

.order-total strong {
  color: var(--ink);
  font-size: 24px;
}

.order-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
}

.order-status-pill.waiting { color: #6a4300; background: #fff1cf; }
.order-status-pill.processing { color: #114a78; background: #e7f1fb; }
.order-status-pill.ordered { color: #0a5d43; background: #e6f4ee; }
.order-status-pill.tracking { color: #5b3b00; background: #f8ead0; }
.order-status-pill.done { color: #0a5d43; background: #dff3e8; }
.order-status-pill.bad { color: #8a1515; background: #fff0f0; }

.order-summary-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
}

.order-summary-grid > div,
.product-stats span {
  min-width: 0;
}

.order-summary-grid > div {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.order-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-summary-grid strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary-grid small {
  overflow: hidden;
  color: var(--muted);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.workflow-step {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  background: white;
  font-size: 13px;
  font-weight: 850;
}

.workflow-step i {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: #cfd7cc;
  font-style: normal;
  font-size: 12px;
}

.workflow-step.done {
  color: #0a5d43;
  border-color: rgba(31, 111, 86, 0.22);
  background: #f1f8f4;
}

.workflow-step.done i {
  background: var(--accent);
}

.order-quick-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.order-lines {
  display: grid;
  gap: 12px;
}

.integration-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 111, 86, 0.18);
  border-radius: 8px;
  padding: 20px;
  background: #f7fbf8;
}

.integration-panel h2 {
  margin: 0 0 8px;
}

.integration-panel p {
  margin: 0 0 12px;
  color: var(--muted);
}

.integration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.integration-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  font-weight: 850;
}

.order-line {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-line img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.order-line-placeholder {
  display: inline-flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-weight: 900;
}

.order-line span {
  display: block;
  margin: 4px 0 8px;
  color: var(--muted);
}

.order-line a {
  color: var(--accent);
  font-weight: 850;
}

.fulfillment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.fulfillment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fulfillment-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: #0b7a3b;
  font-weight: 850;
}

.fulfillment-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  font-weight: 850;
}

.fulfillment-actions button[data-send-processing],
.fulfillment-actions button[data-send-tracking-email],
.fulfillment-actions button[data-cj-submit] {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.fulfillment-actions button[data-status="fulfilled"] {
  color: white;
  border-color: var(--dark);
  background: var(--dark);
}

.fulfillment-actions .no-actions {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 850;
}

.fulfillment-actions .disabled-action {
  cursor: not-allowed;
  color: #8a5a00;
  border-color: #f0d8a8;
  background: #fff8e8;
  opacity: 1;
}

.manual-order-details {
  border: 1px solid rgba(31, 111, 86, 0.18);
  border-radius: 8px;
  background: #f7fbf8;
}

.cj-order-panel {
  border: 1px solid rgba(11, 101, 194, 0.18);
  border-radius: 8px;
  background: #f6f9ff;
}

.cj-order-panel summary {
  min-height: 34px;
  padding: 8px 11px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.cj-order-body {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(11, 101, 194, 0.14);
}

.cj-order-body pre {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(11, 101, 194, 0.16);
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #18221d;
  font-size: 12px;
  white-space: pre-wrap;
}

.cj-order-body ul {
  margin: 0;
  padding-left: 18px;
  color: #7a4a00;
  font-weight: 750;
}

.manual-order-details summary {
  min-height: 44px;
  padding: 12px 14px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.manual-order-details .manual-order-form {
  border: 0;
  border-top: 1px solid rgba(31, 111, 86, 0.14);
  border-radius: 0 0 8px 8px;
}

.copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.copy-actions button,
.copy-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font-size: 14px;
  font-weight: 850;
}

.copy-actions a {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.copy-actions a.supplier-link-search {
  color: #5f3b00;
  border-color: rgba(188, 112, 0, 0.35);
  background: #fff4d8;
}

.copy-actions a.supplier-link-missing {
  color: #8a1515;
  border-color: rgba(180, 0, 0, 0.35);
  background: #fff0f0;
}

.order-line .supplier-warning {
  color: #7a4a00;
  font-weight: 850;
}

.compact-order-card {
  gap: 8px;
  border-color: rgba(31, 111, 86, 0.2);
  border-left: 5px solid rgba(31, 111, 86, 0.24);
  box-shadow: 0 4px 14px rgba(16, 20, 17, 0.04);
}

.compact-order-card > * {
  margin-inline: 12px;
}

.compact-order-card > .order-card-head {
  margin: 0;
}

.order-card-head {
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(90deg, #f6fbf7 0%, #ffffff 100%);
}

.order-card-head h2 {
  margin: 5px 0 3px;
  font-size: clamp(17px, 1.3vw, 22px);
}

.order-card-head p {
  font-size: 13px;
}

.order-total strong {
  font-size: 18px;
}

.order-summary-grid {
  gap: 8px;
}

.order-summary-grid > div {
  padding: 8px 9px;
  border-left: 3px solid rgba(31, 111, 86, 0.25);
}

.order-summary-grid > div:nth-child(2) {
  border-left-color: rgba(11, 101, 194, 0.28);
}

.order-summary-grid > div:nth-child(3) {
  border-left-color: rgba(188, 112, 0, 0.32);
}

.workflow-checklist {
  gap: 6px;
}

.workflow-step {
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.workflow-step i {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  font-size: 10px;
}

.order-lines {
  gap: 8px;
}

.order-line {
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 8px 9px;
  background: #ffffff;
}

.order-line img,
.order-line-placeholder {
  width: 58px;
  height: 58px;
}

.order-line strong {
  font-size: 15px;
}

.order-line span {
  margin: 2px 0 4px;
  font-size: 13px;
}

.copy-actions {
  gap: 6px;
  margin-top: 7px;
}

.copy-actions button,
.copy-actions a,
.fulfillment-actions button,
.fulfillment-actions .no-actions {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.manual-order-details summary {
  min-height: 34px;
  padding: 8px 11px;
  background: #f4faf6;
}

.manual-order-form {
  gap: 8px;
  padding: 10px;
}

.manual-order-form > div {
  gap: 8px;
}

.manual-order-form input {
  min-height: 36px;
  padding: 0 10px;
}

.manual-order-form button {
  min-height: 36px;
}

.product-stats {
  gap: 8px;
}

.product-stats span {
  padding: 8px 9px;
  border-left: 3px solid rgba(31, 111, 86, 0.24);
}

.fulfillment-actions {
  gap: 6px;
  padding-top: 8px;
  margin-bottom: 10px;
}

.compact-order-card.status-waiting { border-left-color: #d6a33d; }
.compact-order-card.status-processing { border-left-color: #2f80c7; }
.compact-order-card.status-ordered { border-left-color: #1f7a57; }
.compact-order-card.status-tracking { border-left-color: #c78628; }
.compact-order-card.status-done { border-left-color: #0a8f61; opacity: 0.92; }
.compact-order-card.status-bad { border-left-color: #c83b3b; }
.compact-order-card.test-order {
  border-left-color: #9a9a9a;
  opacity: 0.72;
}

.compact-order-card.status-waiting .order-card-head { background: linear-gradient(90deg, #fffaf0 0%, #ffffff 100%); }
.compact-order-card.status-processing .order-card-head { background: linear-gradient(90deg, #eef6fd 0%, #ffffff 100%); }
.compact-order-card.status-ordered .order-card-head,
.compact-order-card.status-tracking .order-card-head { background: linear-gradient(90deg, #f4faf6 0%, #ffffff 100%); }
.compact-order-card.status-done .order-card-head { background: linear-gradient(90deg, #eef8f2 0%, #ffffff 100%); }
.compact-order-card.status-bad .order-card-head { background: linear-gradient(90deg, #fff2f2 0%, #ffffff 100%); }
.compact-order-card.test-order .order-card-head { background: linear-gradient(90deg, #f2f2f2 0%, #ffffff 100%); }

.compact-order-card {
  gap: 6px;
  overflow: hidden;
}

.compact-order-card > * {
  margin-inline: 10px;
}

.compact-order-card > .order-card-head {
  margin-inline: 0;
}

.order-card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.compact-order-card .order-card-head {
  padding: 8px 10px;
}

.compact-order-card .order-card-head h2 {
  margin: 4px 0 1px;
  font-size: 18px;
  line-height: 1.1;
}

.compact-order-card .order-card-head p,
.compact-order-card .order-total span,
.compact-order-card small {
  line-height: 1.25;
}

.compact-order-card .order-total {
  min-width: 120px;
  text-align: right;
}

.compact-order-card .order-total strong {
  display: block;
  font-size: 17px;
}

.compact-order-card .order-summary-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 6px;
}

.compact-order-card .order-summary-grid > div,
.compact-order-card .product-stats span {
  min-height: 0;
  padding: 7px 8px;
}

.compact-order-card .workflow-checklist {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.compact-order-card .workflow-step {
  min-height: 28px;
  padding: 0 7px;
}

.compact-order-card .order-quick-actions {
  margin-top: -2px;
}

.compact-order-card .order-lines {
  gap: 6px;
}

.compact-order-card .order-line {
  grid-template-columns: 46px 1fr;
  gap: 8px;
  padding: 7px 8px;
}

.compact-order-card .order-line img,
.compact-order-card .order-line-placeholder {
  width: 46px;
  height: 46px;
}

.compact-order-card .order-line strong {
  font-size: 14px;
  line-height: 1.25;
}

.compact-order-card .order-line span {
  margin: 1px 0 2px;
  font-size: 12px;
  line-height: 1.3;
}

.compact-order-card .manual-order-details summary {
  min-height: 30px;
  padding: 7px 10px;
}

.compact-order-card .manual-order-form {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 8px 10px 10px;
}

.compact-order-card .manual-order-form > div {
  gap: 7px;
}

.compact-order-card .manual-order-form label {
  gap: 4px;
}

.compact-order-card .manual-order-form input {
  min-height: 32px;
}

.compact-order-card .manual-order-form button {
  min-height: 34px;
}

.compact-order-card .product-stats {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 6px;
}

.compact-order-card .product-stats strong {
  display: block;
  margin-bottom: 2px;
}

.compact-order-card .fulfillment-actions {
  gap: 6px;
  padding-top: 5px;
  margin-bottom: 8px;
}

.compact-order-card .copy-actions button,
.compact-order-card .copy-actions a,
.compact-order-card .fulfillment-actions button,
.compact-order-card .fulfillment-actions .no-actions {
  min-height: 31px;
  padding: 0 9px;
}

.fulfillment-actions button[data-send-processing] {
  color: #0a4d38;
  border-color: rgba(31, 111, 86, 0.3);
  background: #e9f7ef;
}

.fulfillment-actions button[data-cj-preview] {
  color: #174a78;
  border-color: rgba(11, 101, 194, 0.28);
  background: #eaf3ff;
}

.fulfillment-actions button[data-cj-submit] {
  color: white;
  border-color: #1f6f56;
  background: #1f6f56;
}

.fulfillment-actions button[data-status="supplier_ordered"] {
  color: #174a78;
  border-color: rgba(11, 101, 194, 0.28);
  background: #eaf3ff;
}

.fulfillment-actions button[data-status="tracking_pending"] {
  color: #704300;
  border-color: rgba(188, 112, 0, 0.3);
  background: #fff3d9;
}

.fulfillment-actions button[data-send-tracking-email] {
  color: white;
  border-color: #1f6f56;
  background: #1f6f56;
}

.fulfillment-actions .disabled-action {
  cursor: not-allowed;
  color: #8a5a00;
  border-color: #f0d8a8;
  background: #fff8e8;
  opacity: 1;
}

.admin-data-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.admin-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  background: #f8fbf7;
}

.admin-list-toolbar label {
  display: grid;
  min-width: min(420px, 100%);
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-list-toolbar input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.admin-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-filter-buttons button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--muted);
  font-weight: 850;
}

.admin-filter-buttons button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-product-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 14px;
}

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

.admin-product-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f7f1;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-product-table strong,
.admin-product-table small {
  display: block;
}

.admin-product-table small {
  color: var(--muted);
  margin-top: 4px;
}

.admin-product-table a {
  color: var(--accent);
  font-weight: 850;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 260px;
}

.admin-product-cell img {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.table-action-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 111, 86, 0.24);
  border-radius: 8px;
  padding: 0 10px;
  color: #0a5d43;
  background: #eef8f2;
  white-space: nowrap;
}

.table-action-link.warn {
  color: #6a4300;
  border-color: rgba(188, 112, 0, 0.32);
  background: #fff4d8;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.status-pill.ok {
  color: #0a5d43;
  background: #e6f4ee;
}

.status-pill.warn {
  color: #6a4300;
  background: #fff1cf;
}

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

.manual-order-form {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 111, 86, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #f7fbf8;
}

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

.manual-order-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.manual-order-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: white;
  font-weight: 650;
}

.manual-order-form button {
  min-height: 42px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--dark);
  font-weight: 900;
}

.overlay { position: fixed; inset: 0; z-index: 40; display: none; background: rgba(16, 20, 17, 0.42); }
.overlay.show { display: block; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  pointer-events: none;
}

.product-modal.open {
  display: flex;
  pointer-events: auto;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.account-modal.open {
  display: flex;
}

.account-dialog {
  position: relative;
  width: min(460px, 100%);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: 0 30px 90px rgba(16, 20, 17, 0.36);
}

.account-dialog .icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.account-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.account-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--soft);
}

.account-status[data-type="error"] {
  border-color: #d88b8b;
  color: #8b1e1e;
  background: #fff1f1;
}

.account-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.account-form button {
  min-height: 44px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  color: white;
  background: var(--dark);
  font-weight: 950;
}

.account-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 850;
}

.account-links button {
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.account-create-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(31, 111, 86, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f3faf5;
  font-weight: 850;
}

.account-create-box button {
  min-height: 36px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--accent);
  font-weight: 950;
  cursor: pointer;
}

.account-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  background: #ffffff;
  border-left: 4px solid var(--accent);
}

.account-session-bar span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.account-session-bar strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.account-session-bar button {
  min-height: 38px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  padding: 0 18px;
  color: white;
  background: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

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

.account-card,
.account-orders article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.account-card span,
.account-orders span,
.account-orders small {
  color: var(--muted);
}

.account-orders {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
}

.account-orders a {
  color: var(--accent);
  font-weight: 900;
}

.account-logout {
  justify-self: start;
}

.account-page {
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 58px);
}

.account-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.account-hero h1 {
  max-width: 780px;
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
}

.account-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.account-login-layout {
  grid-template-columns: minmax(320px, 560px);
}

.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.account-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 950;
}

.account-tabs button.active {
  border-color: var(--dark);
  color: white;
  background: var(--dark);
}

.panel-headline h2 {
  margin: 4px 0 18px;
  font-size: 32px;
}

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

.account-stats article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.account-stats strong {
  display: block;
  font-size: 26px;
}

.account-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.hidden {
  display: none !important;
}

.account-area {
  background: #f3f3f3;
}

.account-shopbar {
  background: #171717;
  border-bottom: 0;
}

.account-shopbar .brand,
.account-shopbar nav a {
  color: white;
}

.customer-account-shell {
  display: grid;
  grid-template-columns: 296px minmax(0, 960px);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 28px 72px;
}

.customer-sidebar {
  display: grid;
  align-self: start;
  background: white;
}

.customer-sidebar strong {
  padding: 22px 16px 12px;
  font-size: 18px;
}

.customer-sidebar a {
  border-left: 4px solid transparent;
  padding: 12px 16px;
  color: #191919;
  text-decoration: none;
}

.customer-sidebar a.active {
  border-color: var(--accent);
  background: #f2f2f2;
}

.customer-account-main {
  display: grid;
  gap: 16px;
}

.account-login-card {
  max-width: 520px;
  box-shadow: none;
}

.account-login-card h1,
.customer-status-card h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.1;
}

.customer-order-view {
  display: grid;
  gap: 16px;
}

.customer-status-card,
.delivery-progress-card,
.promise-card,
.account-info-card,
.customer-order-card,
.customer-coupon-card,
.customer-recommendations {
  background: white;
}

.customer-status-card {
  padding: 22px 24px;
}

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

.empty-account-grid article {
  border-left: 4px solid rgba(31, 111, 86, 0.55);
  padding: 18px 20px;
  background: white;
}

.empty-account-grid article:nth-child(2) {
  border-left-color: rgba(11, 101, 194, 0.55);
}

.empty-account-grid article:nth-child(3) {
  border-left-color: rgba(188, 112, 0, 0.55);
}

.empty-account-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.empty-account-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
}

.empty-account-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.customer-status-card p,
.delivery-progress-card p,
.promise-card p,
.customer-coupon-card p {
  margin: 0;
  color: #6d6d6d;
  line-height: 1.55;
}

.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.vk-orange-button,
.vk-outline-button,
.vk-dark-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 900;
  text-decoration: none;
}

.vk-orange-button {
  border: 1px solid var(--accent);
  color: white;
  background: var(--accent);
}

.vk-outline-button {
  border: 1px solid #9d9d9d;
  color: #111;
  background: white;
}

.vk-dark-button {
  border: 1px solid #111;
  color: white;
  background: #111;
}

.delivery-progress-card {
  padding: 18px 24px 24px;
}

.delivery-progress-card strong {
  color: #009045;
}

.delivery-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 24px;
  text-align: center;
}

.delivery-steps::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: #d4d4d4;
}

.delivery-steps span {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  font-size: 13px;
  font-weight: 800;
}

.delivery-steps b {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d4d4d4;
}

.delivery-steps span:nth-child(-n + 1) b,
.delivery-steps[style*="--active-step:2"] span:nth-child(-n + 2) b,
.delivery-steps[style*="--active-step:3"] span:nth-child(-n + 3) b,
.delivery-steps[style*="--active-step:4"] span:nth-child(-n + 4) b {
  background: #202020;
}

.delivery-steps small {
  color: #777;
  font-weight: 600;
}

.promise-card {
  overflow: hidden;
}

.account-tracking-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: #f7fbf8;
}

.account-tracking-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-tracking-card strong {
  color: #0645ff;
  font-size: 24px;
}

.account-tracking-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.promise-card header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 24px;
  background: #e8f3ed;
}

.promise-card header span {
  border-radius: 3px;
  padding: 3px 8px;
  color: white;
  background: var(--accent);
  font-weight: 950;
}

.promise-card article {
  border-bottom: 1px solid #eee;
  padding: 18px 24px;
}

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

.account-info-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 24px;
}

.account-info-card p {
  margin: 5px 0;
  line-height: 1.45;
}

.info-icon {
  color: #1b1b1b;
  font-size: 24px;
}

.customer-order-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: #f5f5f5;
}

.customer-product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
}

.customer-product-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.customer-product-row h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.customer-product-row p {
  margin: 0 0 8px;
  color: #777;
}

.customer-product-row small {
  color: #009045;
}

.customer-order-card footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  border-top: 1px solid #eee;
  padding: 18px 24px 26px;
}

.customer-coupon-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
}

.customer-recommendations {
  padding: 22px 24px;
}

.customer-recommendations h2 {
  margin: 0 0 18px;
}

.customer-recommendations > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.customer-recommendations a {
  display: grid;
  gap: 8px;
  color: #111;
  text-decoration: none;
}

.customer-recommendations img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f7f7;
}

.customer-recommendations span {
  color: var(--accent);
  font-weight: 950;
}

.product-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  width: min(1120px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: 0 30px 90px rgba(16, 20, 17, 0.36);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.detail-gallery {
  display: grid;
  gap: 10px;
}

.detail-gallery > img {
  width: 100%;
  height: min(58vh, 620px);
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

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

.detail-thumbs button {
  height: 112px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: var(--soft);
}

.detail-thumbs button.active {
  border-color: var(--accent);
}

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

.detail-info {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.detail-panel h3 {
  font-size: 18px;
}

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

.detail-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.muted-panel {
  background: var(--soft);
}

.chat-widget { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.chat-panel {
  width: min(370px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.hidden { display: none; }
.chat-head { display: flex; justify-content: space-between; padding: 12px 14px; color: white; background: var(--dark); }
.chat-head button { border: 0; color: white; background: transparent; }
.chat-messages { display: grid; gap: 8px; max-height: 310px; overflow: auto; padding: 12px; }
.bot, .user { max-width: 88%; border-radius: 8px; padding: 10px 12px; line-height: 1.45; }
.bot { background: var(--soft); }
.user { justify-self: end; color: white; background: var(--accent); }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }

.supplier-list {
  display: grid;
  gap: 14px;
}

.supplier-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 14px;
  background: white;
}

.supplier-row.needs-check {
  border-left-color: #c77b2d;
}

.supplier-row.approved {
  border-left-color: #1f7a57;
}

.supplier-row img {
  width: 130px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.supplier-row h3 {
  margin: 3px 0 6px;
  font-size: 20px;
}

.supplier-row p {
  margin: 0;
}

.supplier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.supplier-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  background: var(--soft);
}

.supplier-meta .availability-pill {
  color: #17351f;
  background: #dff4e5;
}

.supplier-meta .availability-pill.page_loaded_review_variant,
.supplier-meta .availability-pill.needs_review,
.supplier-meta .availability-pill.blocked_or_needs_browser,
.supplier-meta .availability-pill.unchecked {
  color: #50340b;
  background: #fff0ce;
}

.supplier-meta .availability-pill.likely_unavailable,
.supplier-meta .availability-pill.check_failed {
  color: #641c1c;
  background: #ffe1df;
}

.supplier-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

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

.supplier-actions .button-link,
.supplier-actions button {
  white-space: nowrap;
}

.supplier-map-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

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

.supplier-map-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.supplier-map-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
}

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

.supplier-form-actions .button-link,
.supplier-form-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 0 13px;
  font-weight: 900;
}

.supplier-form-actions .button-link {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.supplier-form-actions button {
  color: white;
  background: var(--dark);
}

.link-monitor-list {
  display: grid;
  gap: 8px;
}

.monitor-compact-hero {
  min-height: 0;
  padding-block: 20px;
}

.monitor-compact-hero h1 {
  font-size: 44px;
}

.monitor-compact-hero p {
  max-width: none;
}

.link-monitor-table {
  display: grid;
  gap: 6px;
}

.link-monitor-table-head,
.link-monitor-mainline {
  display: grid;
  grid-template-columns: 92px minmax(230px, 1.25fr) 150px 72px minmax(260px, 1fr) 250px;
  gap: 10px;
  align-items: center;
}

.link-monitor-table-head {
  position: sticky;
  top: 72px;
  z-index: 8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  background: #f8faf8;
}

.link-monitor-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: start;
  border: 1px solid var(--line);
  border-left: 4px solid #c77b2d;
  border-radius: 8px;
  padding: 8px 10px;
  background: white;
}

.link-monitor-row.compact {
  min-height: 72px;
}

.link-monitor-row.low {
  border-left-color: #1f7a57;
}

.link-monitor-row.high {
  border-left-color: #9c2727;
}

.link-monitor-row img {
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.link-monitor-mainline code {
  overflow: hidden;
  border-radius: 8px;
  padding: 5px 7px;
  color: #17351f;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--soft);
}

.link-monitor-mainline > span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-monitor-product {
  min-width: 0;
}

.link-monitor-product strong,
.link-monitor-product small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-monitor-product strong {
  font-size: 15px;
}

.link-monitor-product small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.link-monitor-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

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

.link-monitor-head h3 {
  margin: 4px 0 6px;
  font-size: 22px;
}

.link-monitor-head p {
  margin: 0;
  color: var(--muted);
}

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

.link-monitor-actions.compact {
  align-items: center;
  gap: 6px;
}

.link-monitor-actions.compact a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
  background: white;
}

.link-monitor-actions.compact small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.replacement-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.replacement-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.replacement-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
}

.replacement-form .supplier-form-actions {
  grid-column: 1 / -1;
}

.supplier-import-page .orders-panel {
  margin-bottom: 14px;
}

.supplier-import-form {
  display: grid;
  gap: 12px;
}

.supplier-import-form > div {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px;
  gap: 12px;
}

.supplier-import-form label,
.compact-toolbar label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.74rem;
}

.supplier-import-form input,
.supplier-import-form textarea,
.compact-toolbar input,
.supplier-import-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.supplier-import-form textarea {
  min-height: 150px;
  resize: vertical;
  text-transform: none;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9rem;
}

.supplier-import-table {
  display: grid;
  gap: 6px;
}

.supplier-import-table-head,
.supplier-import-row {
  display: grid;
  grid-template-columns: 130px minmax(240px, 1.6fr) 90px 100px 120px minmax(220px, 1fr) 110px;
  gap: 10px;
  align-items: center;
}

.supplier-import-table-head {
  padding: 0 12px 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.supplier-import-row {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.supplier-import-row code {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supplier-import-row strong,
.supplier-import-row small {
  display: block;
}

.supplier-import-row strong {
  font-size: 0.95rem;
}

.supplier-import-row small {
  color: var(--muted);
  font-size: 0.78rem;
}

.replacement-form.compact {
  grid-template-columns: minmax(150px, 0.8fr) minmax(260px, 1.5fr) minmax(150px, 1fr) auto auto;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
}

.replacement-form.compact input {
  min-height: 30px;
  border-radius: 7px;
  padding: 0 8px;
  font-size: 12px;
}

.replacement-form.compact button {
  min-height: 30px;
  border: 1px solid var(--dark);
  border-radius: 7px;
  padding: 0 10px;
  color: white;
  font-size: 12px;
  font-weight: 950;
  background: var(--dark);
}

@media (max-width: 1050px) {
  .hero, .split, .store-intro, .product-dialog, .admin-grid, .supplier-row, .link-monitor-row, .shop-footer, .deal-strip, .customer-account-shell, .account-info-grid, .empty-account-grid, .admin-dashboard-grid, .order-summary-grid { grid-template-columns: 1fr; }
  .supplier-import-table-head, .supplier-import-row { grid-template-columns: 1fr; }
  .portfolio, .product-grid, .strategy-grid, .trust-strip, .content-grid, .admin-metrics, .quick-picks, .usp-bar, .admin-kpis, .fulfillment-kpis, .workflow-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-order-card .order-summary-grid,
  .compact-order-card .product-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compact-order-card .workflow-checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-order-form { grid-template-columns: 1fr 1fr; }
  .topbar { align-items: stretch; flex-wrap: wrap; }
  .shop-tools { order: 3; width: 100%; }
  .search-box { flex: 1; min-width: 180px; }
  .link-monitor-table-head, .supplier-import-table-head { display: none; }
  .link-monitor-mainline {
    grid-template-columns: 86px minmax(160px, 1fr) auto;
  }
  .link-monitor-mainline > span:nth-child(4),
  .link-monitor-mainline > span:nth-child(5) {
    grid-column: 2 / -1;
  }
  .link-monitor-actions.compact {
    grid-column: 1 / -1;
  }
  .replacement-form.compact {
    grid-template-columns: 1fr 1fr;
  }
  .replacement-form.compact input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero { min-height: auto; }
  .hero-collage, .portfolio, .product-grid, .strategy-grid, .scoreboard, .trust-strip, .content-grid, .admin-metrics, .admin-order-form, .quick-picks, .usp-bar, .admin-kpis, .fulfillment-kpis, .workflow-checklist { grid-template-columns: 1fr; }
  .admin-hero-clean { align-items: flex-start; flex-direction: column; }
  .manual-order-form > div { grid-template-columns: 1fr; }
  .supplier-map-form > div { grid-template-columns: 1fr; }
  .supplier-import-form > div { grid-template-columns: 1fr; }
  .replacement-form { grid-template-columns: 1fr; }
  .link-monitor-head { align-items: flex-start; flex-direction: column; }
  .link-monitor-row img { width: 100%; max-height: 240px; }
  .hero-collage img:first-child { min-height: 280px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 42px; }
  .customer-account-shell { padding: 22px 14px 42px; }
  .customer-sidebar { display: none; }
  .customer-product-row { grid-template-columns: 64px minmax(0, 1fr); }
  .customer-product-row > strong { grid-column: 2; }
  .customer-order-card header, .customer-coupon-card { align-items: flex-start; flex-direction: column; }
  .customer-recommendations > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .delivery-steps::before { display: none; }
  .order-card-head { align-items: flex-start; flex-direction: column; }
  .order-total { text-align: left; }
  .compact-order-card > * { margin-inline: 12px; }
  .compact-order-card .order-summary-grid,
  .compact-order-card .workflow-checklist,
  .compact-order-card .product-stats {
    grid-template-columns: 1fr;
  }
  .compact-order-card .order-total {
    min-width: 0;
    text-align: left;
  }
}
