:root {
  --background: #f8f5f0;
  --foreground: #1a2320;
  --primary: #2d6a4f;
  --primary-foreground: #ffffff;
  --secondary: #e8f4ee;
  --muted: #f0ece5;
  --muted-foreground: #6b7569;
  --accent: #c4993a;
  --accent-foreground: #1a2320;
  --card: #ffffff;
  --destructive: #d4183d;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { direction: rtl; scroll-behavior: smooth; }
body.manahel-body {
  margin: 0;
  font-family: "Cairo", Tahoma, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mh-display { font-family: "Playfair Display", Georgia, serif; }

#manahel-store-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#manahel-store-root > .mh-main,
#manahel-store-root > main {
  flex: 1 0 auto;
  width: 100%;
}
#manahel-store-root > .mh-footer {
  margin-top: auto;
  flex-shrink: 0;
}
.mh-empty-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 480px);
  padding-top: 0 !important;
}
.mh-empty-cart-panel {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.mh-totals { margin-top: 16px; }
.mh-totals .mh-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 15px;
}
.mh-totals .mh-total-final {
  font-size: 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mh-ship-hint { margin-top: 8px; font-size: 13px; }

/* Header */
.mh-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.mh-nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mh-logo {
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer; user-select: none;
}
.mh-logo-img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 16px;
  background: #f8f5f0;
  box-shadow: 0 4px 14px rgba(18, 53, 40, 0.12);
  flex-shrink: 0;
  display: block;
}
.mh-logo-img-footer {
  width: 76px; height: 76px; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.mh-logo-text {
  font-weight: 800; font-size: 24px; color: var(--accent);
  letter-spacing: 0.02em; line-height: 1.15;
  display: flex; flex-direction: column;
}
.mh-logo-text small {
  color: var(--primary); font-size: 12px; font-weight: 600;
  margin-top: 2px;
}
.mh-logo-footer .mh-logo-text { color: var(--accent); }
.mh-logo-footer .mh-logo-text small { color: #9cb5a8; }
.mh-nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.mh-nav-links button {
  background: transparent; border: 0; color: var(--foreground);
  padding: 8px 12px; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.mh-nav-links button.active, .mh-nav-links button:hover {
  background: var(--secondary); color: var(--primary);
}
.mh-nav-actions { display: flex; gap: 8px; align-items: center; }
.mh-icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  padding: 0;
}
.mh-icon-btn svg {
  width: 22px; height: 22px;
}
.mh-badge-count {
  position: absolute; top: -4px; left: -4px;
  background: var(--primary); color: #fff; font-size: 10px;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
}

/* Floating admin shortcut → Manahel dashboard (replaces WP admin bar) */
.mh-admin-fab {
  position: fixed;
  z-index: 99999;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #123528;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Cairo", Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(18, 53, 40, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.mh-admin-fab svg {
  flex-shrink: 0;
  display: block;
}
.mh-admin-fab span {
  line-height: 1;
  white-space: nowrap;
}
.mh-admin-fab:hover,
.mh-admin-fab:focus {
  background: #0C6E6E;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 53, 40, 0.34);
  color: #fff !important;
}
@media (max-width: 640px) {
  .mh-admin-fab {
    left: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
  }
  .mh-admin-fab span { display: none; }
  .mh-admin-fab svg { width: 24px; height: 24px; }
}

/* Buttons */
.mh-btn {
  border: 0; border-radius: 16px; padding: 12px 22px; cursor: pointer;
  font-weight: 700; font-size: 14px; transition: .2s transform, .2s box-shadow, .2s background;
}
.mh-btn:hover { transform: translateY(-1px); }
.mh-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(45,106,79,.25); }
.mh-btn-accent { background: var(--accent); color: var(--accent-foreground); }
.mh-btn-ghost {
  background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3);
}
.mh-btn-outline {
  background: var(--card); color: var(--foreground); border: 1px solid var(--border);
}
.mh-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Layout */
.mh-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.mh-section { padding: 48px 0; }
.mh-section-title {
  font-size: 28px; font-weight: 800; margin: 0 0 8px; color: var(--foreground);
}
.mh-section-sub { color: var(--muted-foreground); margin: 0 0 28px; }
.mh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Hero */
.mh-hero {
  position: relative; height: min(620px, 78vh); overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.mh-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.mh-hero-slide.on { opacity: 1; }
.mh-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.mh-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(26,35,32,.72), rgba(26,35,32,.22));
}
.mh-hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center;
}
.mh-hero-chip {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(196,153,58,.2); color: var(--accent);
  border: 1px solid rgba(196,153,58,.35); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.mh-hero h1 {
  color: #fff; font-size: clamp(32px, 5vw, 56px); margin: 0 0 14px;
  line-height: 1.2; max-width: 640px;
}
.mh-hero p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 480px; margin: 0 0 28px; }
.mh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mh-hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.mh-hero-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.4); cursor: pointer;
}
.mh-hero-dots button.on { background: var(--accent); width: 28px; }

/* Stats */
.mh-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: -36px; position: relative; z-index: 5;
}
.mh-stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.mh-stat strong { display: block; color: var(--primary); font-size: 22px; }
.mh-stat span { color: var(--muted-foreground); font-size: 13px; }

/* Cards */
.mh-cat {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; text-align: center; cursor: pointer; transition: .2s;
}
.mh-cat:hover { border-color: var(--primary); transform: translateY(-2px); }
.mh-cat .ico {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; background: var(--secondary); color: var(--primary); font-size: 22px;
}
.mh-cat h3 { margin: 0 0 4px; font-size: 16px; }
.mh-cat p { margin: 0; color: var(--muted-foreground); font-size: 13px; }

.mh-product {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
.mh-product:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.mh-product-media { position: relative; aspect-ratio: 4/5; background: #f3f1ec; cursor: pointer; overflow: hidden; }
.mh-product-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.mh-product:hover .mh-product-media img { transform: scale(1.04); }
.mh-pill {
  position: absolute; top: 12px; right: 12px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.mh-pill.sale { background: var(--destructive); }
.mh-pill.new { background: var(--accent); color: #1a2320; }
.mh-product-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mh-product-body h3 { margin: 0; font-size: 15px; cursor: pointer; }
.mh-price { color: var(--primary); font-weight: 800; font-size: 17px; }
.mh-price s { color: var(--muted-foreground); font-weight: 500; font-size: 13px; margin-right: 6px; }
.mh-stars {
  color: #f59e0b; font-size: 12px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.mh-stars-glyphs { letter-spacing: 1px; }
.mh-stars-score { color: var(--foreground); font-weight: 700; }
.mh-stars-count { color: var(--muted-foreground); font-weight: 500; }
.mh-stars-empty { color: var(--muted-foreground); }
.mh-stars-lg { font-size: 16px; gap: 8px; }
.mh-stars-lg .mh-stars-score { font-size: 18px; }
.mh-product-rating-panel {
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--secondary); border-radius: 14px;
}
.mh-product-rating-label {
  margin: 0 0 6px; font-size: 12px; font-weight: 700;
  color: var(--muted-foreground);
}
.mh-product-detail-media {
  position: relative; background: #fff; border-radius: 20px;
  overflow: hidden; border: 1px solid var(--border);
}
.mh-product-detail-media img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
}
.mh-save-hint {
  display: inline-block; margin-right: 8px; font-size: 13px; font-weight: 700;
  color: var(--destructive); vertical-align: middle;
}
.mh-muted { color: var(--muted-foreground); font-size: 13px; }
.mh-error { color: var(--destructive); }
.mh-ok { color: var(--primary); }

/* Banners / misc */
.mh-offer-banner {
  background: linear-gradient(120deg, var(--primary), #1b4332 55%, var(--accent));
  color: #fff; border-radius: 24px; padding: 36px; display: flex;
  justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.mh-why, .mh-review, .mh-blog, .mh-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px;
}
.mh-avatar {
  width: 44px; height: 44px; border-radius: 999px; background: var(--secondary);
  color: var(--primary); display: grid; place-items: center; font-weight: 800;
}
.mh-blog img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.mh-suppliers { display: flex; flex-wrap: wrap; gap: 10px; }
.mh-supplier {
  background: var(--muted); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13px;
}

/* Page hero */
.mh-page-hero {
  background: linear-gradient(135deg, #123528, var(--primary));
  color: #fff; padding: 56px 0 40px; margin-bottom: 28px;
}
.mh-page-hero h1 { margin: 0 0 8px; font-size: 34px; }
.mh-page-hero p { margin: 0; opacity: .9; }

/* Forms */
.mh-field { display: grid; gap: 6px; margin-bottom: 12px; }
.mh-field label { font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.mh-field input, .mh-field select, .mh-field textarea {
  border: 1px solid var(--border); background: #f5f2ed; border-radius: 12px;
  padding: 12px 14px; font-size: 14px;
}
.mh-steps { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.mh-step {
  padding: 8px 14px; border-radius: 999px; background: var(--muted); font-size: 13px; font-weight: 700;
}
.mh-step.on { background: var(--primary); color: #fff; }

/* Cart / account */
.mh-cart-line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.mh-cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.mh-cart-info { min-width: 0; display: grid; gap: 6px; }
.mh-cart-name { display: block; font-size: 15px; line-height: 1.4; }
.mh-cart-controls {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 4px;
}
.mh-cart-total {
  text-align: left; align-self: start; padding-top: 2px; white-space: nowrap;
}
.mh-qty {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--muted); border-radius: 12px; padding: 4px;
}
.mh-qty span {
  min-width: 1.5rem; text-align: center; font-weight: 700; font-size: 14px;
}
.mh-qty button {
  width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); cursor: pointer; font-size: 16px; line-height: 1;
  display: grid; place-items: center; flex-shrink: 0;
}
.mh-cart-remove {
  border: 1px solid rgba(212, 24, 61, 0.25);
  background: #fde8ee;
  color: #9f1239;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  height: auto;
  width: auto;
  min-width: 64px;
}
.mh-cart-remove:hover {
  background: #fbd0da;
  border-color: rgba(212, 24, 61, 0.4);
}
.mh-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mh-tabs button {
  border: 1px solid var(--border); background: var(--card); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 13px;
}
.mh-tabs button.on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Footer */
.mh-footer {
  background: #123528; color: #d8e5de; margin-top: 48px; padding: 48px 0 24px;
}
.mh-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 28px;
}
.mh-footer h4 { color: var(--accent); margin: 0 0 14px; }
.mh-footer button, .mh-footer a {
  display: block; background: none; border: 0; color: #d8e5de; text-align: right;
  padding: 4px 0; cursor: pointer; font-size: 14px;
}
.mh-footer button:hover { color: #fff; }
.mh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}
.mh-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.mh-pay span {
  background: rgba(255,255,255,.08); border-radius: 8px; padding: 4px 8px; font-size: 11px;
}

.mh-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: var(--primary); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.mh-oos { color: var(--destructive); font-weight: 700; font-size: 13px; }
.mh-link {
  background: none; border: 0; color: var(--primary); font-weight: 700;
  cursor: pointer; padding: 0; text-decoration: underline; font-size: 14px;
}
.mh-step.done { background: var(--secondary); color: var(--primary); }

/* Auth / forgot */
.mh-auth-page {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.mh-auth-side {
  background:
    radial-gradient(circle at 20% 20%, rgba(196,153,58,.28), transparent 40%),
    linear-gradient(145deg, #123528 0%, var(--primary) 55%, #1b4332 100%);
  color: #fff;
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.mh-auth-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px; color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.mh-auth-logo {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 28px; margin-bottom: 18px;
  background: #f8f5f0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  display: block;
}
.mh-auth-side h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.35; }
.mh-auth-side p { margin: 0; opacity: .9; max-width: 360px; line-height: 1.8; }
.mh-auth-card {
  margin: auto;
  width: min(440px, calc(100% - 48px));
  padding: 32px 28px;
  box-shadow: 0 18px 50px rgba(18, 53, 40, .08);
}
.mh-auth-card h1 { margin: 0 0 8px; font-size: 28px; text-align: center; }
.mh-auth-links { text-align: center; margin-top: 16px; }

/* Toasts */
.mh-toast {
  position: fixed; top: 88px; left: 50%; transform: translateX(-50%);
  z-index: 80; width: min(440px, calc(100% - 28px));
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(18, 53, 40, .16);
  animation: mh-toast-in .35s ease;
}
.mh-toast-success { border-color: rgba(45,106,79,.35); }
.mh-toast-error { border-color: rgba(212,24,61,.3); }
.mh-toast-info { border-color: rgba(196,153,58,.4); }
.mh-toast-icon {
  width: 34px; height: 34px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
.mh-toast-success .mh-toast-icon { background: var(--primary); }
.mh-toast-error .mh-toast-icon { background: var(--destructive); }
.mh-toast-info .mh-toast-icon { background: var(--accent); color: var(--accent-foreground); }
.mh-toast-body { flex: 1; min-width: 0; }
.mh-toast-body strong { display: block; font-size: 14px; margin-bottom: 2px; }
.mh-toast-body p { margin: 0; font-size: 13px; color: var(--muted-foreground); line-height: 1.55; }
.mh-toast-close {
  border: 0; background: transparent; cursor: pointer; font-size: 20px;
  line-height: 1; color: var(--muted-foreground); padding: 0 2px;
}
@keyframes mh-toast-in {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Account / orders */
.mh-order-card {
  width: 100%; text-align: right; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 10px; font: inherit; color: inherit;
  transition: .2s border-color, .2s box-shadow, .2s transform;
}
.mh-order-card:hover {
  border-color: rgba(45,106,79,.35);
  box-shadow: 0 10px 24px rgba(18,53,40,.08);
  transform: translateY(-1px);
}
.mh-order-card-side { text-align: left; display: grid; gap: 6px; justify-items: end; }
.mh-status {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.mh-status-ok { background: #e8f4ee; color: #1b4332; }
.mh-status-info { background: #e7f0ff; color: #1d4ed8; }
.mh-status-warn { background: #fff6e5; color: #92400e; }
.mh-status-bad { background: #fde8ee; color: #9f1239; }
.mh-profile-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.mh-profile-grid span { display: block; font-size: 12px; margin-bottom: 4px; }
.mh-empty {
  text-align: center; padding: 40px 20px; background: var(--card);
  border: 1px dashed var(--border); border-radius: 18px;
}
.mh-timeline {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px;
}
.mh-timeline-step {
  flex: 1; min-width: 140px; background: var(--muted); border-radius: 14px;
  padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--muted-foreground);
  display: flex; align-items: center; gap: 8px;
}
.mh-timeline-step span {
  width: 10px; height: 10px; border-radius: 50%; background: #c5c9c3;
}
.mh-timeline-step.done { background: var(--secondary); color: var(--primary); }
.mh-timeline-step.done span { background: var(--primary); }
.mh-timeline-step.active { outline: 2px solid var(--accent); }

/* Checkout / thanks */
.mh-pay-option {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px;
  margin-bottom: 10px; cursor: pointer; background: #faf8f4;
}
.mh-pay-option input { margin-top: 4px; }
.mh-pay-option strong { display: block; }
.mh-pay-option small { color: var(--muted-foreground); font-size: 12px; }
.mh-review-block { margin-bottom: 16px; }
.mh-review-block h3 { margin: 0 0 6px; font-size: 15px; }
.mh-review-block p { margin: 0; color: var(--muted-foreground); line-height: 1.7; }
.mh-total-row {
  display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px;
}
.mh-total-final { font-size: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.mh-thanks {
  min-height: calc(100vh - 70px);
  display: grid; place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 80% 10%, rgba(196,153,58,.18), transparent 35%),
    linear-gradient(180deg, #f8f5f0, #eef6f1);
}
.mh-thanks-card { text-align: center; max-width: 480px; width: 100%; }
.mh-thanks-icon {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 24px;
  display: grid; place-items: center; font-size: 34px; font-weight: 800;
  background: var(--secondary); color: var(--primary);
  box-shadow: 0 12px 28px rgba(45,106,79,.18);
}
.mh-thanks-box {
  background: var(--muted); border-radius: 16px; padding: 16px; margin: 20px 0;
}
.mh-thanks-box strong { display: block; font-size: 22px; margin-top: 4px; color: var(--primary); }
.mh-thanks-actions { display: grid; gap: 10px; }

/* Checkout location */
.mh-field-title { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.mh-req { color: var(--destructive); }
.mh-opt { color: var(--muted-foreground); font-weight: 600; font-size: 12px; }
.mh-loc-box {
  background: linear-gradient(180deg, #f3faf6, #faf8f4);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}
.mh-loc-actions { display: grid; gap: 10px; margin-bottom: 12px; }
.mh-loc-selected {
  background: var(--card);
  border: 1px solid rgba(45,106,79,.25);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.mh-loc-selected p { margin: 4px 0; font-size: 13px; line-height: 1.55; }
.mh-loc-selected small { color: var(--muted-foreground); font-size: 12px; }
.mh-loc-empty {
  background: #fff6e5; color: #92400e; border-radius: 12px;
  padding: 12px; font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.mh-map-wrap { margin-top: 8px; }
.mh-map {
  height: 280px; width: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); z-index: 1;
}
.mh-saved-addresses { margin-bottom: 14px; }
.mh-saved-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-saved-chip {
  border: 1px solid var(--border); background: var(--card); border-radius: 14px;
  padding: 10px 12px; cursor: pointer; text-align: right; font: inherit;
}
.mh-saved-chip strong { display: block; font-size: 13px; }
.mh-saved-chip small { color: var(--muted-foreground); font-size: 11px; }
.mh-saved-chip.on {
  border-color: var(--primary); background: var(--secondary); color: var(--primary);
}
.mh-photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mh-photo-thumb {
  position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.mh-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mh-photo-thumb button {
  position: absolute; top: 2px; left: 2px; width: 22px; height: 22px;
  border: 0; border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; cursor: pointer;
}
.mh-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 8px 0 14px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.mh-check input { margin-top: 3px; }
.mh-account-box {
  border: 1px dashed rgba(45,106,79,.35);
  background: #f3faf6;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}
.mh-account-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.mh-account-hero .mh-btn-ghost {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.mh-account-logout-bar {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: center;
}
.mh-account-logout-bar .mh-btn { min-width: 200px; }

@media (max-width: 980px) {
  .mh-grid-4, .mh-stats, .mh-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mh-grid-3 { grid-template-columns: 1fr; }
  .mh-nav-links { display: none; }
  .mh-auth-page { grid-template-columns: 1fr; }
  .mh-auth-side { padding: 36px 24px; min-height: 220px; }
  .mh-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mh-grid-4, .mh-stats, .mh-grid-2, .mh-footer-grid { grid-template-columns: 1fr; }
  .mh-hero { height: 520px; border-radius: 0; }
  .mh-cart-line {
    grid-template-columns: 64px 1fr;
    align-items: start;
  }
  .mh-cart-line img { width: 64px; height: 64px; }
  .mh-cart-total {
    grid-column: 2;
    text-align: right;
  }
  .mh-nav-actions { gap: 6px; }
  .mh-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
  }
  .mh-icon-btn svg {
    width: 26px;
    height: 26px;
  }
  .mh-logo-img { width: 48px; height: 48px; border-radius: 12px; }
  .mh-logo-text { font-size: 20px; }
}
