@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand: #1E40AF;
  --brand-dark: #1E3A8A;
  --brand-mid: #2563EB;
  --brand-light: #EFF6FF;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --sage: #059669;
  --sage-light: #ECFDF5;
  --gold: #B45309;
  --gold-light: #FFFBEB;
  --crimson: #DC2626;
  --amber: #D97706;
  --amber-light: #FFFBEB;
  --stone: #F1F5F9;
  --stone-dark: #E2E8F0;
  --stone-darker: #CBD5E1;
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-light: #94A3B8;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: Inter, system-ui, "Segoe UI", sans-serif;
  --container: 80rem;
  --header-h: 64px;
  --bottom-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.mp-container,
.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.mp-page-main,
main.mp-main {
  padding: 1.25rem 0 5.5rem;
}
@media (min-width: 768px) {
  .mp-page-main,
  main.mp-main { padding-bottom: 3rem; }
}

/* Responsive chrome split (v26: md = 768px) */
.mp-mobile-only { display: block; }
.mp-desktop-only { display: none !important; }
@media (min-width: 768px) {
  .mp-mobile-only { display: none !important; }
  .mp-desktop-only { display: block !important; }
}

/* Utility bar — desktop only */
.mp-utility {
  background: var(--stone);
  border-bottom: 1px solid var(--stone-dark);
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.mp-utility-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 32px;
  flex-wrap: wrap;
}
.mp-utility a,
.mp-utility-city {
  color: var(--ink-muted);
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.mp-utility a:hover,
.mp-utility-city:hover { color: var(--brand); }
.mp-utility-register { color: var(--brand) !important; font-weight: 700; }
.mp-utility-sep { color: var(--stone-darker); }
.mp-utility .mp-spacer { margin-left: auto; display: flex; gap: 1rem; align-items: center; }

/* Header */
.mp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--stone-dark);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.mp-header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: nowrap;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.mp-desktop-chrome {
  width: 100%;
}
.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  flex-shrink: 0;
}
.mp-brand:hover { text-decoration: none; color: var(--brand); }
/* v27 logo wordmark is uppercase PAMBERI; prose brand name stays title case elsewhere */
.mp-brand-text {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mp-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  /* Prevent transforms/filters from distorting the P silhouette */
  transform: none;
}

/* Mobile Takealot-style bar (v26): menu | centered logo | search + account + cart */
.mp-mobile-chrome {
  background: #fff;
}
.mp-mobile-top-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 3.5rem;
  padding: max(env(safe-area-inset-top), 0.35rem) 0.75rem 0.35rem;
}
.mp-brand-mobile {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: 0.45rem;
  font-size: 1.2rem;
}
.mp-brand-mobile .mp-brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
}
.mp-mobile-top-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}
.mp-mobile-loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-top: 1px solid var(--stone-dark);
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.mp-loc-pin {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
  flex-shrink: 0;
}
/* v26 mobile drawer */
.mp-mobile-drawer[hidden] { display: none !important; }
.mp-mobile-drawer:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 80;
}
.mp-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}
.mp-mobile-drawer-panel {
  position: relative;
  width: min(18rem, 85vw);
  height: 100%;
  background: #fff;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: max(env(safe-area-inset-top), 0.5rem);
}
.mp-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid var(--stone-dark);
}
.mp-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--stone-dark);
}
.mp-mobile-drawer-links a,
.mp-mobile-drawer-disabled {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}
.mp-mobile-drawer-links a:hover {
  background: var(--stone);
  text-decoration: none;
  color: var(--brand);
}
.mp-mobile-drawer-disabled {
  color: var(--ink-light);
  cursor: not-allowed;
}
.mp-mobile-drawer-section {
  margin: 0;
  padding: 1rem 1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mp-mobile-drawer-cats {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}
.mp-mobile-drawer-cats a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
  text-decoration: none;
}
.mp-mobile-drawer-cats a:hover {
  background: var(--stone);
  text-decoration: none;
}
.mp-mobile-drawer-cats a > span:last-child {
  margin-left: auto;
  color: var(--ink-light);
  font-size: 0.8rem;
}
.mp-mobile-drawer-all {
  font-weight: 600;
  color: var(--brand) !important;
}
body.mp-drawer-open { overflow: hidden; }
.mp-mobile-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.mp-mobile-icon-btn:hover,
.mp-mobile-icon-btn.active {
  background: var(--stone);
  color: var(--brand);
  text-decoration: none;
}
.mp-mobile-icon-btn .mp-icon-svg {
  width: 1.45rem;
  height: 1.45rem;
}
.mp-mobile-icon-btn .mp-badge-count {
  top: 0.15rem;
  right: 0.1rem;
}
.mp-mobile-search-panel {
  border-top: 1px solid var(--stone-dark);
  background: rgba(241, 245, 249, 0.55);
  padding: 0.65rem 0.75rem 0.85rem;
}
.mp-mobile-search-form {
  display: flex;
  align-items: stretch;
  height: 2.5rem;
  border: 1px solid var(--stone-darker);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.mp-mobile-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 0.85rem;
  outline: none;
  font-size: 0.9rem;
}
.mp-mobile-search-form button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
}
.mp-search {
  flex: 1 1 220px;
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: 42rem;
  height: 44px;
  border: 1px solid var(--stone-darker);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.mp-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}
.mp-search-location {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  border: 0;
  border-right: 1px solid var(--stone-darker);
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.mp-search-location:hover { background: var(--stone); }
.mp-search-location strong { color: var(--brand); }
@media (min-width: 640px) {
  .mp-search-location { display: inline-flex; }
}
.mp-search input {
  border: 0;
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
  outline: none;
  font-size: 0.9rem;
}
.mp-search button[type="submit"] {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 1.25rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.mp-search button[type="submit"]:hover { background: var(--brand-dark); }
.mp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-shrink: 0;
}
.mp-icon-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: none;
  border: 0;
}
.mp-icon-link:hover { color: var(--brand); text-decoration: none; background: var(--brand-light); }
.mp-icon-link.active { color: var(--brand); }
.mp-icon-link-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.mp-mobile-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: none;
  padding: 0.4rem 0;
  font: inherit;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  text-align: left;
  min-width: 0;
}
.mp-mobile-loc-btn strong { color: var(--ink); font-weight: 700; }
.mp-mobile-loc-change {
  border: 0;
  background: none;
  padding: 0.4rem 0;
  font: inherit;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  body.mp-mega-open { overflow: hidden; }
  .mp-mega {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 60;
    border-top: 0;
    overflow: auto;
    padding-top: env(safe-area-inset-top, 0px);
    background: #fff;
  }
  .mp-mega-inner {
    flex-direction: column;
    min-height: 100%;
  }
  .mp-mega-left {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--stone-dark);
  }
  .mp-mega-right { padding: 1rem; }
  .mp-page-main,
  main.mp-main {
    padding-top: 0.85rem;
  }
}
.mp-icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.mp-badge-count {
  position: absolute;
  top: -2px;
  right: 0;
  min-width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}
.mp-badge-count.is-wish { background: var(--crimson); }

/* Category nav + mega menu */
.mp-catnav {
  position: relative;
  border-top: 1px solid var(--stone-dark);
  background: #fff;
}
.mp-catnav-inner {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mp-catnav a {
  white-space: nowrap;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
}
.mp-catnav a:hover,
.mp-catnav a.active { color: var(--brand); background: var(--brand-light); }
.mp-catnav .mp-all-cats {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand);
  color: #fff !important;
  border: 0;
  border-radius: 0;
  padding: 0 0.85rem;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.mp-catnav .mp-all-cats:hover,
.mp-catnav .mp-all-cats.is-open { background: var(--brand-dark); }
.mp-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--stone-dark);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.mp-mega-inner {
  display: flex;
  min-height: 280px;
}
.mp-mega-left {
  width: 16rem;
  flex-shrink: 0;
  border-right: 1px solid var(--stone-dark);
  padding: 0.5rem 0;
}
.mp-mega-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.mp-mega-item:hover,
.mp-mega-item.is-active {
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 600;
}
.mp-mega-item-label { display: inline-flex; align-items: center; gap: 0.5rem; }
.mp-mega-view-all-cats { font-weight: 600; color: var(--brand); }
.mp-mega-right { flex: 1; padding: 1.5rem; }
.mp-mega-pane-title {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mp-mega-pane-sub {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  max-width: 36rem;
}
.mp-mega-cta {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.mp-mega-cta:hover { color: var(--brand-dark); }
@media (max-width: 767px) {
  .mp-mega-inner { flex-direction: column; }
  .mp-mega-left { width: 100%; border-right: 0; border-bottom: 1px solid var(--stone-dark); max-height: 12rem; overflow: auto; }
}

/* City picker dialog */
.mp-city-dialog[hidden] { display: none !important; }
.mp-city-dialog:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.mp-city-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.mp-city-panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(80vh, 32rem);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  padding: 1.25rem;
}
.mp-city-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.mp-city-header h2 { margin: 0; font-size: 1.1rem; font-family: var(--font-display); }
.mp-city-close {
  border: 0;
  background: var(--stone);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
}
.mp-city-hint { color: var(--ink-muted); font-size: 0.85rem; margin: 0 0 1rem; }
.mp-city-list { list-style: none; margin: 0; padding: 0; }
.mp-city-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.mp-city-option:hover { background: var(--stone); text-decoration: none; }
.mp-city-option.is-selected { background: var(--brand-light); color: var(--brand); }
body.mp-dialog-open { overflow: hidden; }

/* Buttons */
.btn,
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}
.btn:hover,
.mp-btn:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-secondary,
.mp-btn-secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--stone-darker);
}
.btn-secondary:hover,
.mp-btn-secondary:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn-danger { background: var(--crimson); }
.btn-sm { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Badges */
.mp-badge,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--brand-light);
  color: var(--brand-dark);
}
.mp-badge-sage { background: var(--sage-light); color: var(--sage); }
.mp-badge-crimson { background: #fef2f2; color: var(--crimson); }
.mp-badge-amber { background: var(--amber-light); color: var(--amber); }
.mp-badge-navy { background: var(--navy); color: #fff; }

/* Sections */
.mp-section { margin: 1.75rem 0; }
.mp-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mp-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}
.mp-section-sub { color: var(--ink-muted); font-size: 0.92rem; margin: 0.2rem 0 0; }
.mp-section-accent {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.mp-section-fulfilled {
  background: var(--brand-light);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, calc(50vw - 40rem));
  padding-right: max(1rem, calc(50vw - 40rem));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 0;
}
.mp-panel,
.panel {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.muted, .mp-muted { color: var(--ink-muted); }
.mp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--ink-muted);
}
.mp-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--stone-darker);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: mp-spin 0.8s linear infinite;
}
@keyframes mp-spin { to { transform: rotate(360deg); } }

/* Hero / banners */
.mp-hero {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  min-height: 180px;
  display: grid;
  gap: 0.75rem;
  align-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.mp-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0;
  color: #fff;
}
.mp-hero p { margin: 0; max-width: 36rem; color: rgba(255,255,255,0.9); }
.mp-hero-rich {
  min-height: clamp(220px, 32vw, 320px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.mp-hero-carousel {
  position: relative;
  margin-bottom: 1.25rem;
}
.mp-hero-viewport {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(240px, 34vw, 340px);
}
.mp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}
.mp-hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.mp-hero-photo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.35) 70%, rgba(15, 23, 42, 0.15) 100%),
    var(--hero-image, none),
    linear-gradient(135deg, var(--hero-bg, var(--brand)), #0F172A);
  background-size: cover;
  background-position: center right;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.mp-hero-photo .mp-hero-media {
  display: none;
}
.mp-hero-photo .mp-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  display: grid;
  gap: 0.75rem;
  align-content: center;
}
.mp-hero-photo .btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: transparent;
}
.mp-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
}
.mp-hero-prev { left: 0.75rem; }
.mp-hero-next { right: 0.75rem; }
.mp-hero-nav:hover { background: #fff; }
.mp-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 0.35rem !important;
}
.mp-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem !important; }
.mp-banner-dots {
  display: flex;
  gap: 0.45rem;
  margin: 0.85rem 0 0.35rem;
  justify-content: flex-start;
}
.mp-banner-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--stone-darker);
  cursor: pointer;
}
.mp-banner-dots button.active { background: var(--brand); width: 1.35rem; border-radius: 999px; }
@media (max-width: 767px) {
  .mp-hero-photo {
    grid-template-columns: 1fr;
    min-height: clamp(240px, 58vw, 320px);
    background-position: center;
  }
  .mp-hero-nav { display: none; }
}

/* Product grid / cards */
.mp-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .mp-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1024px) {
  .mp-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mp-product-card {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, border-color .15s;
  position: relative;
}
.mp-product-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}
.mp-product-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fff 0%, var(--stone) 100%);
  overflow: hidden;
}
.mp-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease;
}
.mp-product-card:hover .mp-product-card-media img {
  transform: scale(1.03);
}
.mp-product-card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.mp-product-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.mp-product-card-title:hover { color: var(--brand); }
.mp-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.mp-price.is-deal { color: var(--brand); }
.mp-price-was {
  color: var(--ink-light);
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.35rem;
}
.mp-rating { font-size: 0.8rem; color: var(--amber); font-weight: 600; }
.mp-rating span { color: var(--ink-light); font-weight: 500; }
.mp-card-meta { font-size: 0.78rem; color: var(--ink-muted); }
.mp-card-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
}
.mp-card-pill-right { left: auto; right: 0.5rem; }
.mp-card-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* Category tiles */
.mp-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .mp-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mp-cat-tile {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color .15s, box-shadow .15s;
}
.mp-cat-tile:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.mp-cat-icon { font-size: 1.6rem; }
.mp-cat-tile strong { font-family: var(--font-display); }
.mp-cat-tile span { color: var(--ink-muted); font-size: 0.8rem; }

/* Seller cards */
.mp-seller-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .mp-seller-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-seller-card {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1rem;
}
.mp-seller-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
}

/* Promo bands */
.mp-promo-band {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(120deg, #0f172a, #1e3a8a 60%, #1e40af);
  color: #fff;
  display: grid;
  gap: 0.75rem;
}
.mp-promo-band.navy {
  background: var(--navy);
}
.mp-promo-band.sage {
  background: linear-gradient(120deg, #064e3b, #059669);
}
.mp-promo-band h2 { color: #fff; margin: 0; }
.mp-promo-band p { margin: 0; color: rgba(255,255,255,0.88); max-width: 40rem; }

/* Flash */
.flash {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}
.flash-success { background: var(--sage-light); color: #065f46; }
.flash-error { background: #fef2f2; color: #991b1b; }
.flash-warn { background: var(--amber-light); color: #92400e; }

/* Forms */
.form label,
.mp-form label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
.form input,
.form select,
.form textarea,
.mp-form input,
.mp-form select,
.mp-form textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--stone-darker);
  border-radius: 10px;
  background: #fff;
}
.form input:focus,
.form select:focus,
.mp-form input:focus,
.mp-form select:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-light);
}
.mp-form-error { color: var(--crimson); font-size: 0.85rem; margin-top: 0.25rem; }
.mp-auth-card {
  max-width: 26rem;
  margin: 1.5rem auto 2rem;
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.mp-auth-card h1 { font-size: 1.5rem; }

/* Search layout */
.mp-search-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mp-search-layout { grid-template-columns: 240px 1fr; align-items: start; }
}
.mp-filters {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1rem;
}
.mp-filters h2 { font-size: 1rem; margin: 0 0 0.75rem; }
.mp-filter-drawer-toggle { display: inline-flex; margin-bottom: 0.75rem; }
@media (min-width: 768px) {
  .mp-filter-drawer-toggle { display: none; }
  .mp-filters.is-drawer { display: block !important; }
}
@media (max-width: 767px) {
  .mp-filters.is-drawer {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    max-height: 75vh;
    overflow: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  }
  .mp-filters.is-drawer.open { display: block; }
  .mp-filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.45);
    z-index: 45;
  }
  .mp-filter-backdrop.open { display: block; }
}

/* Product detail */
.mp-product-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .mp-product-layout { grid-template-columns: 1.1fr 1fr; }
}
.mp-gallery {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.mp-gallery-main {
  aspect-ratio: 1;
  background: var(--stone);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.mp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.mp-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.mp-gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  width: 64px;
  height: 64px;
  cursor: pointer;
  background: var(--stone);
  flex: 0 0 auto;
}
.mp-gallery-thumbs button.active { border-color: var(--brand); }
.mp-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mp-offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mp-offer-table th,
.mp-offer-table td {
  border-bottom: 1px solid var(--stone-dark);
  padding: 0.75rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.mp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stone-darker);
  border-radius: 10px;
  overflow: hidden;
}
.mp-qty button {
  border: 0;
  background: var(--stone);
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  font-weight: 700;
}
.mp-qty input {
  width: 3rem;
  border: 0;
  text-align: center;
  padding: 0.4rem;
  max-width: none;
}

/* Cart */
.mp-cart-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .mp-cart-layout { grid-template-columns: 1.6fr 0.9fr; align-items: start; }
}
.mp-cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone-dark);
}
.mp-cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--stone);
}
.mp-cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.mp-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0;
  color: var(--ink-muted);
}
.mp-summary-total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  border-top: 1px solid var(--stone-dark);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* Empty state */
.mp-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  background: #fff;
  border: 1px dashed var(--stone-darker);
  border-radius: var(--radius);
}
.mp-empty-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

/* Account shell */
.mp-account-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mp-account-layout { grid-template-columns: 220px 1fr; }
}
.mp-account-nav {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.mp-account-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--ink-muted);
  font-weight: 600;
  text-decoration: none;
}
.mp-account-nav a:hover,
.mp-account-nav a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* Footer */
.mp-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.mp-footer a { color: rgba(255,255,255,0.8); }
.mp-footer a:hover { color: #fff; }
.mp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .mp-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.mp-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.mp-footer ul { list-style: none; padding: 0; margin: 0; }
.mp-footer li { margin: 0.4rem 0; }
.mp-footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.mp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.mp-pay-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mp-pay-chips span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  color: #fff;
}

/* Mobile bottom nav */
.mp-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--stone-dark);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--bottom-nav-h);
  padding-top: 0.2rem;
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .mp-bottom-nav { display: none; }
}
.mp-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}
.mp-bottom-nav a.active {
  color: var(--brand);
}
.mp-bottom-nav a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--brand);
  border-radius: 0 0 2px 2px;
}
.mp-bottom-nav .mp-icon { font-size: 1.15rem; }
.mp-bottom-nav .mp-icon-svg { width: 1.25rem; height: 1.25rem; margin-bottom: 0.1rem; }
.mp-bottom-nav a .mp-badge-count {
  position: absolute;
  top: 0.15rem;
  right: calc(50% - 1.1rem);
}

/* Pagination */
.mp-pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.mp-pagination a,
.mp-pagination span {
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--stone-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0 0.5rem;
}
.mp-pagination a:hover { border-color: var(--brand); color: var(--brand); }
.mp-pagination .active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Help topics */
.mp-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .mp-help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-help-tile {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Checkout */
.mp-checkout-progress ol {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.mp-checkout-progress li {
  padding: 0.35rem 0.75rem; border-radius: 999px; background: #fff; border: 1px solid var(--stone-darker);
  color: var(--ink-muted); font-size: 0.875rem; font-weight: 600;
}
.mp-checkout-progress li.is-active { background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark); }
.mp-checkout-layout {
  display: grid; gap: 1.25rem;
}
@media (min-width: 960px) {
  .mp-checkout-layout { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; }
}
.mp-checkout-main { display: grid; gap: 1rem; }
.mp-choice-row { display: flex; gap: 1rem; border: 0; padding: 0; margin: 0 0 1rem; }
.mp-choice-card {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid var(--stone-dark);
  border-radius: var(--radius); background: #fff; margin-bottom: 0.65rem;
}
.mp-choice-card.is-disabled { opacity: 0.55; }
.mp-inline-form { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: end; }
.mp-sticky-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.is-hidden { display: none !important; }
.mp-pickup-grid { display: grid; gap: 0.5rem; margin: 0.75rem 0; }
.flash-warn { background: var(--amber-light); border: 1px solid #fcd34d; color: #92400e; padding: 0.75rem 1rem; border-radius: var(--radius-sm); }

/* Investor demo presentation polish */
.mp-sold { color: var(--ink-light); font-weight: 500; }
.mp-brand-strip {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.mp-brand-strip-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.1rem;
  white-space: nowrap;
}
.mp-brand-strip-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mp-brand-strip a {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none;
}
.mp-brand-strip a:hover { color: var(--brand); }
.mp-seller-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.mp-seller-stats span {
  background: var(--stone);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.mp-speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .mp-speed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-speed-card {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--stone-dark);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.mp-speed-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.mp-speed-card.amber { background: var(--amber-light); border-color: #fcd34d; }
.mp-speed-card.brand { background: var(--brand-light); border-color: #bfdbfe; }
.mp-speed-card.sage { background: var(--sage-light); border-color: #a7f3d0; }
.mp-speed-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.mp-speed-card strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}
.mp-speed-card p { margin: 0; color: var(--ink-muted); font-size: 0.9rem; }
.mp-recent-placeholder .mp-recent-empty {
  border: 1px dashed var(--stone-darker);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  color: var(--ink-muted);
}
.mp-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .mp-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-review-card {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--stone);
  border: 1px solid var(--stone-dark);
}
.mp-review-card p { margin: 0.5rem 0; }
.mp-review-card footer {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.mp-gallery-main {
  background: linear-gradient(180deg, #fff, var(--stone));
  border-radius: var(--radius);
  border: 1px solid var(--stone-dark);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mp-cat-tile {
  transition: transform .15s, box-shadow .15s;
}
.mp-cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Seller Operations portal */
.mp-seller-body { background: var(--stone); margin: 0; }
.mp-seller-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
@media (max-width: 767px) {
  .mp-seller-shell { grid-template-columns: 1fr; }
  .mp-seller-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; border-right: 0; border-bottom: 1px solid var(--stone-dark); }
}
.mp-seller-nav {
  background: #fff;
  border-right: 1px solid var(--stone-dark);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mp-seller-nav-brand.mp-brand {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 0.95rem;
  gap: 0.45rem;
  padding: 0.15rem 0;
  border-radius: 0;
  background: transparent;
}
.mp-seller-nav-brand.mp-brand:hover,
.mp-seller-nav-brand.mp-brand:hover .mp-brand-text {
  background: transparent;
  color: var(--navy);
  text-decoration: none;
}
.mp-seller-nav-brand .mp-brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.mp-seller-nav-brand .mp-portal-label {
  text-transform: none;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 0.15rem;
}
.mp-seller-nav > a:not(.mp-seller-nav-brand) {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.mp-seller-nav > a:not(.mp-seller-nav-brand):hover,
.mp-seller-nav > a:not(.mp-seller-nav-brand).active {
  background: var(--brand-light);
  color: var(--brand);
  text-decoration: none;
}
.mp-seller-main { padding: 1.5rem 1.25rem 3rem; }
.mp-seller-main h1 { margin-top: 0; }
.mp-muted { color: var(--ink-muted); }
.mp-seller-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.mp-seller-kpi {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}
.mp-seller-kpi:hover { border-color: var(--brand); text-decoration: none; }
.mp-seller-kpi-label { display: block; font-size: 0.75rem; color: var(--ink-muted); font-weight: 600; }
.mp-seller-kpi-value { display: block; font-size: 1.4rem; font-weight: 800; font-family: var(--font-display); margin-top: 0.35rem; }
.mp-seller-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.mp-seller-actions form { margin: 0; }
.mp-seller-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1rem 0; }
.mp-seller-tabs a {
  font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--ink-muted);
  padding: 0.4rem 0.65rem; border-radius: 999px; background: #fff; border: 1px solid var(--stone-dark);
}
.mp-seller-tabs a.active, .mp-seller-tabs a:hover { background: var(--brand-light); color: var(--brand); border-color: var(--brand); text-decoration: none; }
.mp-seller-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--stone-dark); border-radius: var(--radius); }
.mp-seller-table { width: 100%; border-collapse: collapse; }
.mp-seller-table th, .mp-seller-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--stone-dark); text-align: left; font-size: 0.9rem; }
.mp-seller-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.mp-seller-table tr.is-low { background: var(--amber-light); }
.mp-seller-status { font-size: 0.75rem; font-weight: 700; }
.mp-seller-total { font-size: 1.6rem; font-weight: 800; font-family: var(--font-display); }
.mp-seller-inline-form { display: flex; gap: 0.35rem; align-items: center; }
.mp-seller-inline-form input[type="number"] { width: 5rem; padding: 0.35rem 0.45rem; border: 1px solid var(--stone-darker); border-radius: 6px; }

/* Operations Centre — aliases of seller shell/KPI styles */
.mp-ops-body { background: var(--stone); margin: 0; }
.mp-ops-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
@media (max-width: 860px) {
  .mp-ops-shell { grid-template-columns: 1fr; }
  .mp-ops-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; border-right: 0; border-bottom: 1px solid var(--stone-dark); }
}
.mp-ops-nav {
  background: #fff;
  border-right: 1px solid var(--stone-dark);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mp-ops-nav-brand.mp-brand {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 0.95rem;
  gap: 0.45rem;
  padding: 0.15rem 0;
  border-radius: 0;
  background: transparent;
}
.mp-ops-nav-brand.mp-brand:hover,
.mp-ops-nav-brand.mp-brand:hover .mp-brand-text {
  background: transparent;
  color: var(--navy);
  text-decoration: none;
}
.mp-ops-nav-brand .mp-brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.mp-ops-nav-brand .mp-portal-label {
  text-transform: none;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 0.15rem;
}
.mp-ops-nav > a:not(.mp-ops-nav-brand) {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.mp-ops-nav > a:not(.mp-ops-nav-brand):hover,
.mp-ops-nav > a:not(.mp-ops-nav-brand).active {
  background: var(--brand-light);
  color: var(--brand);
  text-decoration: none;
}
.mp-ops-main { padding: 1.5rem 1.25rem 3rem; }
.mp-ops-main h1 { margin-top: 0; }
.mp-ops-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}
.mp-ops-kpi {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  color: inherit;
  text-decoration: none;
}
.mp-ops-kpi:hover { border-color: var(--brand); text-decoration: none; }
.mp-ops-section { margin: 1.5rem 0; }
.mp-ops-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.mp-ops-list li {
  background: #fff;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
}
.mp-ops-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin: 1rem 0 1.25rem;
}
.mp-ops-search label { display: grid; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-muted); }
.mp-ops-search input[type="text"],
.mp-ops-search input[type="search"],
.mp-ops-note-form input,
.mp-ops-note-form textarea,
.mp-ops-note-form select {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--stone-darker);
  border-radius: 6px;
  font: inherit;
}
.mp-ops-note-form { display: grid; gap: 0.65rem; max-width: 36rem; margin-top: 1rem; }
.mp-ops-note-form label { display: grid; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-muted); }
.mp-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.mp-breadcrumbs {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.mp-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.mp-breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--ink-muted);
}
.mp-breadcrumbs a { color: inherit; text-decoration: none; }
.mp-breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.mp-breadcrumbs [aria-current="page"] span { color: var(--ink); font-weight: 600; }

.mp-faq-list { margin: 0; }
.mp-faq-list dt {
  font-weight: 700;
  margin-top: 1rem;
}
.mp-faq-list dt:first-child { margin-top: 0; }
.mp-faq-list dd {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
}

.mp-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.mp-link-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stone-darker);
}
.mp-article-body { line-height: 1.6; }
.mp-article-body p { margin: 0 0 1rem; }
