/* قالب فروشگاه مدرن — شیشه‌ای + کلاسیک v2.12.2 */
:root {
  --mrt-primary: #0d9488;
  --mrt-primary-dark: #0f766e;
  --mrt-primary-soft: rgba(13, 148, 136, 0.14);
  --mrt-dark: #1e293b;
  --mrt-header: #0f172a;
  --mrt-text: #1e293b;
  --mrt-muted: #64748b;
  --mrt-bg: #eef2f7;
  --mrt-card: rgba(255, 255, 255, 0.72);
  --mrt-radius: 18px;
  --mrt-radius-sm: 12px;
  --mrt-shadow: 0 8px 32px rgba(15, 23, 42, 0.1), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  --mrt-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  --mrt-glass: rgba(255, 255, 255, 0.55);
  --mrt-glass-strong: rgba(255, 255, 255, 0.78);
  --mrt-glass-border: rgba(255, 255, 255, 0.55);
  --mrt-glass-border-dark: rgba(15, 23, 42, 0.08);
  --mrt-blur: 16px;
  --mrt-font: Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mrt-classic-serif: Georgia, "Times New Roman", "Noto Naskh Arabic", serif;
}

/* Hide theme chrome on MRT pages */
body.mrt-no-theme-chrome #wpadminbar,
body.mrt-fullpage header:not(.mrt-panel-head):not(.mrt-topbar),
body.mrt-fullpage footer:not(.mrt-app),
body.mrt-fullpage .site-header,
body.mrt-fullpage .site-footer,
body.mrt-fullpage .entry-header,
body.mrt-fullpage .page-header,
body.mrt-fullpage nav.main-navigation,
body.mrt-fullpage .navbar,
body.mrt-fullpage #masthead,
body.mrt-fullpage #colophon {
  display: none !important;
}
body.mrt-fullpage .site-content,
body.mrt-fullpage #content,
body.mrt-fullpage .entry-content,
body.mrt-fullpage article,
body.mrt-fullpage .page,
body.mrt-fullpage main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.mrt-fullpage {
  background: var(--mrt-bg) !important;
}

.mrt-app {
  font-family: var(--mrt-font);
  color: var(--mrt-text);
  direction: rtl;
  text-align: right;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background: var(--mrt-bg);
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  .mrt-app.mrt-store-wrap {
    max-width: 560px;
  }
}
.mrt-app *, .mrt-app *::before, .mrt-app *::after { box-sizing: border-box; }

/* Top bar */
.mrt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.mrt-topbar-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--mrt-dark);
}
.mrt-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mrt-icon-btn {
  background: none;
  border: 0;
  color: var(--mrt-primary);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

.mrt-page-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 16px 16px 12px;
  color: var(--mrt-dark);
}

/* Cover */
.mrt-cover {
  margin: 0 16px;
  height: 180px;
  border-radius: var(--mrt-radius);
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--mrt-shadow);
}
.mrt-cover-inner { position: relative; z-index: 1; }
.mrt-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  background: #fff;
}
.mrt-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  text-align: center;
  padding: 8px;
}
.mrt-logo-chef-default {
  background: radial-gradient(circle at 40% 35%, #fde68a 0%, #fbbf24 55%, #f59e0b 100%) !important;
  border: 4px solid #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18), inset 0 0 0 3px rgba(255,255,255,.35) !important;
}
.mrt-chef { font-size: 40px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.12)); }
.mrt-logo-name { font-size: 11px; font-weight: 700; margin-top: 2px; color: var(--mrt-dark); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Info row */
.mrt-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.mrt-store-name-lg {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.mrt-phone-link {
  color: var(--mrt-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
  margin-left: 8px;
}
.mrt-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}
.mrt-badge.open { background: #d1fae5; color: #065f46; }
.mrt-badge.closed { background: #fee2e2; color: #991b1b; }
.mrt-info-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Buttons */
.mrt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: .15s ease;
  line-height: 1.3;
}
.mrt-btn-primary { background: var(--mrt-primary); color: #fff; }
.mrt-btn-primary:hover { background: var(--mrt-primary-dark); color: #fff; }
.mrt-btn-outline { background: #fff; color: var(--mrt-dark); border: 1.5px solid #cbd5e1; }
.mrt-btn-outline:hover { background: #f1f5f9; }
.mrt-btn-dark { background: var(--mrt-dark); color: #fff; }
.mrt-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: 11px; padding: 6px 10px; }
.mrt-btn-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.mrt-btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 10px; }
.mrt-btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 12px; }
.mrt-btn-block { width: 100%; }

/* Pills */
.mrt-pills {
  display: flex;
  gap: 8px;
  padding: 4px 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mrt-pill {
  flex-shrink: 0;
  background: var(--mrt-dark);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* Categories */
.mrt-cats {
  display: flex;
  gap: 8px;
  padding: 8px 16px 12px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  -webkit-overflow-scrolling: touch;
}
.mrt-cat {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 0;
  padding: 8px 14px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: var(--mrt-text);
}
.mrt-cat.is-active { background: var(--mrt-primary); color: #fff; }
.mrt-cat-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

/* Product cards */
.mrt-products {
  padding: 12px 16px 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mrt-card {
  display: flex;
  gap: 12px;
  background: var(--mrt-card);
  border-radius: var(--mrt-radius);
  padding: 12px;
  box-shadow: var(--mrt-shadow);
}
.mrt-card-img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}
.mrt-card-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.mrt-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mrt-card-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}
.mrt-card-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--mrt-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mrt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}
.mrt-price {
  font-weight: 800;
  color: var(--mrt-primary-dark);
  font-size: 14px;
}
.mrt-price small { font-weight: 600; font-size: 11px; color: var(--mrt-muted); }
.mrt-empty {
  text-align: center;
  color: var(--mrt-muted);
  padding: 48px 16px;
  font-size: 14px;
}
.mrt-muted { color: var(--mrt-muted); font-size: 13px; }

/* Cart */
.mrt-cart-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--mrt-header);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  z-index: 50;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.mrt-cart-info { display: flex; flex-direction: column; gap: 2px; }
.mrt-cart-count { font-size: 12px; opacity: .85; }
.mrt-cart-total { font-weight: 800; font-size: 15px; }

/* Modal */
.mrt-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.mrt-modal[hidden] { display: none !important; }
.mrt-modal-sheet {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 28px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
}
.mrt-modal-sheet h3 { margin: 0 0 16px; font-size: 1.15rem; }
.mrt-modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.mrt-modal-actions .mrt-btn { flex: 1; }

/* Forms */
.mrt-form label, .mrt-modal-sheet label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 13px;
}
.mrt-form input, .mrt-form textarea, .mrt-form select,
.mrt-modal-sheet input, .mrt-modal-sheet textarea, .mrt-modal-sheet select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 11px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s;
}
.mrt-form input:focus, .mrt-form textarea:focus, .mrt-form select:focus,
.mrt-modal-sheet input:focus, .mrt-modal-sheet textarea:focus {
  outline: none;
  border-color: var(--mrt-primary);
}
.mrt-check { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; }
.mrt-check input { width: auto !important; margin: 0 !important; }

/* Blocks / sections public */
.mrt-block {
  padding: 20px 16px;
  border-top: 10px solid #e2e8f0;
  background: #fff;
}
.mrt-block h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
}
.mrt-hours-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}
.mrt-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  color: var(--mrt-text);
  font-weight: 600;
  font-size: 14px;
}
.mrt-link-icon { font-size: 18px; }

.mrt-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mrt-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--mrt-text);
  font-weight: 700;
  font-size: 13px;
  transition: .15s;
}
.mrt-social-item:hover { background: #e2e8f0; }
.mrt-social-ico { font-size: 20px; }

.mrt-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mrt-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: #e2e8f0;
}
.mrt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mrt-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 11px;
  padding: 20px 8px 8px;
  font-weight: 600;
}

.mrt-reviews { margin-top: 16px; }
.mrt-review {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.mrt-review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mrt-stars { color: #f59e0b; letter-spacing: 1px; }
.mrt-footer-space { height: 24px; }

/* Drawer */
.mrt-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}
.mrt-drawer-bg.show { opacity: 1; pointer-events: auto; }
.mrt-drawer {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(82vw, 300px);
  background: var(--mrt-dark);
  z-index: 90;
  transform: translateX(105%);
  transition: transform .28s ease;
  overflow-y: auto;
  padding-top: 8px;
}
.mrt-drawer.open { transform: translateX(0); }
.mrt-drawer-head {
  color: rgba(255,255,255,.5);
  padding: 12px 18px 8px;
  font-size: 12px;
  font-weight: 700;
}
.mrt-drawer button {
  display: block;
  width: 100%;
  text-align: right;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

/* ========== PANEL ========== */
.mrt-panel { max-width: 560px; background: #f1f5f9; }
.mrt-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--mrt-header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.mrt-panel-nav-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.mrt-panel-head-title { flex: 1; display: flex; flex-direction: column; }
.mrt-panel-head-title strong { font-size: 15px; }
.mrt-store-name { opacity: .8; font-size: 12px; }
.mrt-panel-head-actions { display: flex; align-items: center; gap: 8px; }
.mrt-status-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}
.mrt-status-pill.open { background: var(--mrt-primary); }
.mrt-status-pill.closed { background: #ef4444; }

.mrt-panel-nav-bg {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.45);
  z-index: 80; opacity: 0; pointer-events: none; transition: .25s;
}
.mrt-panel-nav-bg.show { opacity: 1; pointer-events: auto; }
.mrt-panel-nav {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(82vw, 300px);
  background: var(--mrt-dark);
  z-index: 90;
  transform: translateX(105%);
  transition: transform .28s ease;
  overflow-y: auto;
  padding-top: 8px;
}
.mrt-panel-nav.open { transform: translateX(0); }
.mrt-panel-nav button,
.mrt-panel-nav a {
  display: block;
  width: 100%;
  text-align: right;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.mrt-panel-nav button.is-active { background: var(--mrt-primary); }
.mrt-panel-nav .nav-logout { color: #fca5a5 !important; }

.mrt-panel-body { padding: 16px; }
.mrt-panel-section {
  display: none;
  background: #fff;
  border-radius: var(--mrt-radius);
  padding: 18px 16px;
  box-shadow: var(--mrt-shadow);
}
.mrt-panel-section.is-active { display: block; }
.mrt-panel-section h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: 2px solid var(--mrt-primary);
  padding-bottom: 8px;
}

.mrt-upload-row {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}
.mrt-upload-row input { flex: 1; margin-top: 0 !important; }
.mrt-preview-lg {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
  border: 3px solid #e2e8f0;
}
.mrt-preview-cover {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 10px;
}

.mrt-admin-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mrt-admin-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: none;
  margin: 0;
}
.mrt-thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.mrt-admin-item-body { flex: 1; min-width: 100px; }
.mrt-admin-item-body strong { display: block; font-size: 14px; }
.mrt-admin-item-body span { font-size: 12px; color: var(--mrt-muted); }

.mrt-gallery-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.mrt-gallery-admin-item {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.mrt-gallery-admin-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.mrt-gallery-admin-item span {
  display: block;
  padding: 6px;
  font-size: 12px;
}
.mrt-gallery-admin-item .mrt-btn { margin: 6px; }

.mrt-order-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}
.mrt-order-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.mrt-order-status {
  margin-right: auto;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 12px;
}
.mrt-order-total { font-weight: 800; color: var(--mrt-primary-dark); margin-top: 6px; }

.mrt-review-admin {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.mrt-ok { color: #059669; font-weight: 700; font-size: 13px; }

/* Auth */
.mrt-auth-box {
  max-width: 400px;
  margin: 40px auto;
  background: #fff;
  border-radius: var(--mrt-radius);
  padding: 28px 22px;
  box-shadow: var(--mrt-shadow);
}
.mrt-auth-box h2 { margin: 0 0 20px; text-align: center; font-size: 1.25rem; }
.mrt-auth-form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 13px;
}
.mrt-auth-form input[type="text"],
.mrt-auth-form input[type="email"],
.mrt-auth-form input[type="password"],
.mrt-auth-form input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 11px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
}
.mrt-auth-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--mrt-muted); }
.mrt-auth-switch a { color: var(--mrt-primary); font-weight: 700; }
.mrt-alert { padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 13px; }
.mrt-alert-error { background: #fee2e2; color: #991b1b; }
.mrt-auth-msg { text-align: center; padding: 48px 20px; }

@media (min-width: 520px) {
  .mrt-app, .mrt-panel, .mrt-cart-bar, .mrt-modal-sheet { max-width: 520px; }
}

/* Drawer accordion */
.mrt-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  color: #fff;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mrt-drawer-close {
  background: rgba(255,255,255,.12);
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.mrt-drawer-acc {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mrt-acc-btn {
  display: block;
  width: 100%;
  text-align: right;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}
.mrt-acc-btn::after {
  content: "▾";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .6;
  font-size: 12px;
  transition: .2s;
}
.mrt-acc-btn.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}
.mrt-acc-btn.is-open {
  background: rgba(13,148,136,.35);
}
.mrt-acc-panel {
  display: none;
  padding: 4px 16px 16px;
  background: rgba(0,0,0,.2);
  color: #e2e8f0;
  font-size: 13px;
}
.mrt-acc-panel.open {
  display: block;
}
.mrt-acc-panel .mrt-link-row {
  color: #e2e8f0;
  padding: 8px 0;
}
.mrt-acc-panel .mrt-hours-text {
  color: #e2e8f0;
  white-space: pre-line;
  margin: 0;
}
.mrt-acc-panel .mrt-social-grid {
  grid-template-columns: 1fr;
}
.mrt-acc-panel .mrt-social-item {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.mrt-acc-panel .mrt-form label {
  color: #cbd5e1;
}
.mrt-acc-panel .mrt-form input,
.mrt-acc-panel .mrt-form textarea,
.mrt-acc-panel .mrt-form select {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.mrt-acc-panel .mrt-review {
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
}
.mrt-acc-panel .mrt-gallery {
  grid-template-columns: 1fr 1fr;
}

/* Independent upload box */
.mrt-upload-box {
  margin-top: 6px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
  text-align: center;
}
.mrt-upload-preview {
  margin-bottom: 10px;
}
.mrt-upload-preview:empty {
  display: none;
}
.mrt-upload-preview img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.mrt-preview-cover-wrap img {
  max-width: 100%;
  max-height: 100px;
  width: 100%;
  border-radius: 10px;
}
.mrt-upload-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px !important;
  background: #fff;
  border: 1.5px solid #0d9488;
  border-radius: 12px;
  color: #0d9488;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin: 0 !important;
  width: auto !important;
}
.mrt-upload-btn:hover {
  background: #f0fdfa;
}
.mrt-upload-box .mrt-clear-img {
  margin-top: 8px;
}

/* style polish v1.2 */
.mrt-cover {
  margin: 0 16px;
  height: 170px;
}
.mrt-card {
  transition: transform .15s, box-shadow .15s;
}
.mrt-card:active {
  transform: scale(0.98);
}
.mrt-btn-primary {
  box-shadow: 0 2px 8px rgba(13,148,136,.35);
}
.mrt-cat.is-active {
  box-shadow: 0 2px 8px rgba(13,148,136,.3);
}
.mrt-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
}

.mrt-info-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.mrt-info-inline .mrt-store-name-lg {
  margin: 0;
  font-size: 1.05rem;
}
.mrt-info-inline .mrt-phone-link {
  margin: 0;
  flex-shrink: 0;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  font-size: 15px !important;
  text-decoration: none !important;
}
.mrt-card-desc[hidden] {
  display: none !important;
}

.mrt-topbar-actions-end {
  margin-right: auto;
  width: 100%;
  justify-content: flex-end;
}
.mrt-share-btn {
  background: rgba(255,255,255,.15);
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  margin: 0 4px;
  vertical-align: middle;
}
.mrt-store-name-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mrt-cat-emoji {
  font-size: 14px;
  line-height: 1;
}
/* Mobile full-bleed public */
@media (max-width: 767px) {
  .mrt-app.mrt-store-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }
  .mrt-cover {
    margin: 0;
    border-radius: 0;
  }
  .mrt-products {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== v1.5 polish ===== */

/* 1. Share link blue next to login */
.mrt-btn-share,
.mrt-share-public {
  background: #2563eb !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
}
.mrt-btn-share:hover,
.mrt-share-public:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}

/* 2. Category chips: no blue fill on images, larger photos */
.mrt-cat {
  background: #fff !important;
  color: var(--mrt-text) !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 6px 12px 6px 10px !important;
  gap: 8px !important;
}
.mrt-cat.is-active {
  background: #fff !important;
  color: var(--mrt-primary-dark) !important;
  border-color: var(--mrt-primary) !important;
  box-shadow: 0 0 0 2px rgba(13,148,136,.2);
}
.mrt-cat-img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  object-fit: cover;
  background: #f1f5f9;
}
.mrt-cat-emoji {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 3. Product search */
.mrt-search-wrap {
  padding: 8px 16px 4px;
}
.mrt-search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
.mrt-search-input:focus {
  outline: none;
  border-color: var(--mrt-primary);
}

/* 4. Install app – red */
.mrt-btn-install,
.mrt-install-app {
  background: #dc2626 !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.mrt-btn-install:hover {
  background: #b91c1c !important;
}
.mrt-info-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 7. Panel black bar full width */
.mrt-panel {
  max-width: 100% !important;
  width: 100% !important;
}
.mrt-panel-head {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}

/* 8. No lines under support / view / logout */
.mrt-panel-nav a,
.mrt-panel-nav .nav-logout,
.mrt-panel-nav a.mrt-nav-support {
  border-bottom: 0 !important;
}
.mrt-panel-head-actions .mrt-btn-ghost,
.mrt-no-underline {
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 9. Panel nav items as bold buttons */
.mrt-panel-nav {
  padding: 12px 10px 24px !important;
}
.mrt-panel-nav button,
.mrt-panel-nav a {
  border-bottom: 0 !important;
  margin: 6px 0 !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.08) !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  padding: 14px 16px !important;
  letter-spacing: 0;
}
.mrt-panel-nav button.is-active,
.mrt-panel-nav button:hover,
.mrt-panel-nav a:hover {
  background: var(--mrt-primary) !important;
  color: #fff !important;
}
.mrt-panel-nav .nav-logout {
  background: rgba(239,68,68,.2) !important;
  color: #fecaca !important;
  margin-top: 14px !important;
}
.mrt-panel-nav .nav-logout:hover {
  background: #ef4444 !important;
  color: #fff !important;
}

/* Captcha row */
.mrt-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.mrt-captcha-label {
  font-weight: 800 !important;
  font-size: 13px !important;
  margin: 0 !important;
  white-space: nowrap;
}
.mrt-captcha-q {
  color: var(--mrt-primary-dark);
  background: #f0fdfa;
  padding: 4px 10px;
  border-radius: 8px;
  margin-right: 4px;
}
.mrt-captcha-input {
  width: 72px !important;
  margin: 0 !important;
  text-align: center;
  font-weight: 800;
  font-size: 16px !important;
  padding: 10px !important;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
}
.mrt-alert-ok {
  background: #ecfdf5;
  color: #065f46;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Panel sections default hidden – ensure */
.mrt-panel-section { display: none; }
.mrt-panel-section.is-active { display: block; }

/* Panel body full width feel */
.mrt-panel-body {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ===== v1.6 ===== */

/* Category: photo on top, label below, underline when active */
.mrt-cats {
  display: flex;
  gap: 14px;
  padding: 12px 16px 8px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  -webkit-overflow-scrolling: touch;
}
.mrt-cat {
  flex-shrink: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 4px 6px 8px !important;
  cursor: pointer;
  font-family: inherit;
  color: #334155 !important;
  min-width: 72px;
}
.mrt-cat-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mrt-cat.is-active .mrt-cat-photo {
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15,23,42,.15);
}
.mrt-cat-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50% !important;
}
.mrt-cat-emoji {
  font-size: 28px;
}
.mrt-cat-label {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.mrt-cat.is-active .mrt-cat-label {
  border-bottom-color: #0f172a;
  color: #0f172a;
}

/* Customer guide */
.mrt-guide-block {
  margin: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  border: 1px solid #e2e8f0;
}
.mrt-guide-block h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}
.mrt-guide-text {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

/* Panel gold/black theme under navy buttons */
.mrt-panel-nav.mrt-panel-nav-berry {
  background-color: #0a0a0a !important;
  background-image:
    linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.88) 100%),
    none;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.mrt-panel-nav.mrt-panel-nav-berry button,
.mrt-panel-nav.mrt-panel-nav-berry a {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%) !important;
  border: 1px solid #c9a227 !important;
  color: #f5e6a6 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
  box-shadow: 0 2px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,215,0,.12);
}
.mrt-panel-nav.mrt-panel-nav-berry button.is-active,
.mrt-panel-nav.mrt-panel-nav-berry button:hover,
.mrt-panel-nav.mrt-panel-nav-berry a:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
  color: #0a0a0a !important;
  border-color: #f0d060 !important;
  text-shadow: none;
}
.mrt-panel-nav.mrt-panel-nav-berry .nav-logout {
  background: rgba(80,20,20,.55) !important;
  border-color: #8b4513 !important;
  color: #ffc9c9 !important;
}
.mrt-panel-nav.mrt-panel-nav-berry .nav-logout:hover {
  background: #8b0000 !important;
  color: #fff !important;
}

.mrt-panel-head {
  background: #0a0a0a !important;
  border-bottom: 2px solid #c9a227;
}

.mrt-install-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  z-index: 9999;
  max-width: 90vw;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  text-align: center;
}

.mrt-qr-box {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

/* ===== v1.7 ===== */

/* Store name bigger bold */
.mrt-store-name-lg {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  color: #0f172a !important;
}

/* Search with icon */
.mrt-search-wrap {
  position: relative;
  padding: 10px 16px 6px;
}
.mrt-search-icon {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
  font-size: 16px;
  pointer-events: none;
  line-height: 1;
}
.mrt-search-input {
  width: 100%;
  padding: 12px 42px 12px 14px !important;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

/* Discount display */
.mrt-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.mrt-price-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}
.mrt-price-sale {
  color: #dc2626 !important;
}
.mrt-disc-badge {
  background: #fef2f2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
}
.mrt-discount-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.mrt-discount-row label { margin-bottom: 0 !important; }

.mrt-settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}
.mrt-settings-actions .mrt-btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.mrt-social-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.mrt-social-ico { font-size: 20px; }

/* Panel nav: light strawberry bg (like sample) + gold/black buttons */
.mrt-panel-nav.mrt-panel-nav-berry {
  background-color: #fffaf0 !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,250,240,.78) 100%),
    none;
  background-size: 85% auto !important;
  background-position: center 40% !important;
  background-repeat: no-repeat !important;
}
.mrt-panel-nav.mrt-panel-nav-berry button,
.mrt-panel-nav.mrt-panel-nav-berry a {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) !important;
  border: 1.5px solid #c9a227 !important;
  color: #f5e6a6 !important;
  font-weight: 900 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.mrt-panel-nav.mrt-panel-nav-berry button.is-active,
.mrt-panel-nav.mrt-panel-nav-berry button:hover,
.mrt-panel-nav.mrt-panel-nav-berry a:hover {
  background: linear-gradient(180deg, #e8c547 0%, #c9a227 100%) !important;
  color: #111 !important;
  border-color: #f0d060 !important;
}
.mrt-panel-nav.mrt-panel-nav-berry .nav-logout {
  background: #3b0a0a !important;
  border-color: #8b4513 !important;
  color: #ffb4b4 !important;
}
.mrt-panel-head {
  background: #0a0a0a !important;
  border-bottom: 2px solid #c9a227;
}

/* ===== v1.8 guide + theme ===== */
.mrt-acc-panel .mrt-guide-text,
.mrt-guide-text {
  color: #f1f5f9 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  white-space: pre-wrap;
  word-break: break-word;
  display: block;
  min-height: 1.5em;
}
.mrt-acc-panel .mrt-muted {
  color: #94a3b8 !important;
}
.mrt-acc-panel.open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mrt-install-app.is-ready {
  box-shadow: 0 0 0 2px #fbbf24;
}


/* v1.9 no strawberry */
.mrt-panel-nav {
  background-color: var(--mrt-panel-nav-bg, #0f172a) !important;
  background-image: none !important;
}
.mrt-panel-nav.mrt-panel-nav-berry {
  background-image: none !important;
}
.mrt-btn-review {
  background: #22c55e !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(34,197,94,.35);
}
.mrt-btn-review:hover {
  background: #16a34a !important;
}
.mrt-acc-panel .mrt-btn-review {
  background: #4ade80 !important;
  color: #052e16 !important;
}


/* ===== v2.0 cart + login + logout ===== */
.mrt-card-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mrt-btn-cart {
  background: #0ea5e9 !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 800;
}
.mrt-fab-cart {
  position: fixed;
  bottom: 22px;
  left: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #0ea5e9;
  color: #fff;
  box-shadow: 0 8px 24px rgba(14,165,233,.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.mrt-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.mrt-cart-bg {
  position: fixed; inset: 0; background: rgba(15,23,42,.45);
  z-index: 100; opacity: 0; pointer-events: none; transition: .25s;
}
.mrt-cart-bg.show { opacity: 1; pointer-events: auto; }
.mrt-cart-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  max-height: 85vh;
  overflow-x: hidden !important;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 110;
  transform: translate3d(0, 110%, 0);
  transition: transform .28s ease;
  padding: 16px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.15);
  touch-action: pan-y;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.mrt-cart-sheet.open {
  transform: translate3d(0, 0, 0) !important;
}
body.mrt-cart-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
  width: 100%;
  position: relative;
}
body.mrt-cart-open .mrt-app {
  overflow-x: hidden;
  touch-action: pan-y;
}
.mrt-cart-sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.mrt-cart-close { background: transparent; border: 0; font-size: 20px; cursor: pointer; }
.mrt-cart-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #f1f5f9;
}
.mrt-cart-row-actions { display: flex; align-items: center; gap: 6px; }
.mrt-cart-row-actions button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e2e8f0;
  background: #f8fafc; cursor: pointer; font-weight: 800;
}
.mrt-cart-total { font-size: 15px; font-weight: 800; margin: 12px 0; }

.mrt-login-hero {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 16px 16px 0 0;
  margin: -18px -16px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.mrt-login-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,.75));
}
.mrt-login-hero-title {
  position: relative; z-index: 1;
  color: #fff !important;
  margin: 0 0 16px !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.mrt-auth-box { overflow: hidden; }

.mrt-panel-nav .nav-logout,
a.nav-logout {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #1d4ed8 !important;
  font-weight: 900 !important;
  transition: background .2s, color .2s;
}
.mrt-panel-nav .nav-logout:hover,
.mrt-panel-nav .nav-logout:active,
a.nav-logout:hover,
a.nav-logout:active {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #dc2626 !important;
}

/* ===== v2.1 card layout + visible FAB ===== */
.mrt-card {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  gap: 12px !important;
  background: #fff !important;
  border-radius: 18px !important;
  padding: 12px !important;
  box-shadow: 0 4px 18px rgba(15,23,42,.06) !important;
  border: 1px solid #eef2f7 !important;
}
.mrt-card-img,
.mrt-card-img-empty {
  width: 88px !important;
  height: 88px !important;
  min-width: 88px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}
.mrt-card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.mrt-card-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 0 0 6px !important;
  text-align: right !important;
}
.mrt-card-foot {
  margin-top: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}
.mrt-price-wrap {
  order: 1;
  flex: 1;
  text-align: right;
}
.mrt-card-actions {
  order: 2;
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
}
.mrt-card-actions .mrt-btn-outline {
  border: 1.5px solid #cbd5e1 !important;
  background: #fff !important;
  color: #334155 !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  font-weight: 700 !important;
}
.mrt-card-actions .mrt-btn-cart,
.mrt-btn-cart {
  background: #0ea5e9 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.mrt-fab-cart {
  position: fixed !important;
  bottom: 24px !important;
  left: 20px !important;
  z-index: 9999 !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #0ea5e9 !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(14,165,233,.55) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  cursor: pointer !important;
}
.mrt-fab-count {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1 !important;
}

.mrt-admin-login-details {
  margin-top: 18px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
  font-size: 13px;
}
.mrt-admin-login-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #64748b;
}


/* ===== v2.2 responsive + FAB right + customer modal ===== */
.mrt-fab-cart {
  left: auto !important;
  right: 18px !important;
}

.mrt-store-code {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 8px;
}

.mrt-card-title {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
  max-height: 2.6em !important;
  line-height: 1.3 !important;
}
.mrt-card-desc {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.mrt-cust-bg {
  position: fixed; inset: 0; background: rgba(15,23,42,.5);
  z-index: 120; opacity: 0; pointer-events: none; transition: .25s;
}
.mrt-cust-bg.show { opacity: 1; pointer-events: auto; }
.mrt-cust-modal {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: min(92vw, 380px);
  background: #fff; border-radius: 18px; padding: 20px 16px 16px;
  z-index: 130; opacity: 0; pointer-events: none; transition: .25s;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.mrt-cust-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.mrt-cust-modal h3 { margin: 0 0 12px; font-size: 1.1rem; }

/* Mobile */
@media (max-width: 640px) {
  .mrt-card {
    padding: 10px !important;
    gap: 10px !important;
    border-radius: 14px !important;
  }
  .mrt-card-img, .mrt-card-img-empty {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    border-radius: 12px !important;
  }
  .mrt-card-title { font-size: 13px !important; }
  .mrt-card-actions .mrt-btn-sm {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .mrt-price { font-size: 13px !important; }
  .mrt-products { padding: 10px 12px 100px !important; gap: 10px !important; }
  .mrt-topbar-actions { flex-wrap: wrap; gap: 6px; }
  .mrt-topbar-actions .mrt-btn { font-size: 11px; padding: 6px 8px; }
  .mrt-info-inline { gap: 6px; padding: 10px 12px; }
  .mrt-store-name-lg { font-size: 1.15rem !important; }
  .mrt-fab-cart { width: 54px !important; height: 54px !important; right: 14px !important; bottom: 18px !important; }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .mrt-app, .mrt-store-wrap { max-width: 720px; margin: 0 auto; }
  .mrt-card-img, .mrt-card-img-empty { width: 100px !important; height: 100px !important; min-width: 100px !important; }
  .mrt-products { padding: 14px 18px 100px; }
}

/* Desktop */
@media (min-width: 1025px) {
  .mrt-app, .mrt-store-wrap { max-width: 860px; margin: 0 auto; }
  .mrt-products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 20px 110px; }
  .mrt-products .mrt-empty { grid-column: 1 / -1; }
  .mrt-card-img, .mrt-card-img-empty { width: 110px !important; height: 110px !important; min-width: 110px !important; }
}

/* ===== v2.3 orders bold, code btn, title row, no fab shadow ===== */
.mrt-fab-cart {
  box-shadow: none !important;
  border: 2px solid var(--mrt-fab-border, #0284c7) !important;
}
.mrt-btn-cart {
  border: 2px solid var(--mrt-btn-cart-border, #0284c7) !important;
  box-shadow: none !important;
}

.mrt-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #2563eb !important;
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.mrt-code-btn:hover { background: #dbeafe; }

.mrt-store-name-under-logo {
  margin: 12px 0 0 !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  text-align: center;
  width: 100%;
}
.mrt-cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 16px;
  box-sizing: border-box;
}

.mrt-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.mrt-card-title-row .mrt-card-title {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  max-height: none !important;
  -webkit-line-clamp: 2 !important;
  flex: 1 1 auto;
  min-width: 0;
}
.mrt-card-title-row .mrt-price-wrap {
  flex: 0 0 auto;
  white-space: nowrap;
}
.mrt-card-foot {
  justify-content: flex-start !important;
}

.mrt-order-body { color: #0f172a !important; }
.mrt-order-head {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a !important;
  margin-bottom: 6px;
}
.mrt-order-phone { color: #1d4ed8; font-weight: 800; }
.mrt-order-details {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b !important;
  line-height: 1.7;
}
.mrt-order-line { color: #0f172a !important; }
.mrt-order-total {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  color: #0d9488 !important;
}
.mrt-order-addr { color: #334155 !important; font-weight: 700; }
.mrt-order-note { color: #475569 !important; }
.mrt-order-item {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px;
  padding: 12px !important;
  margin-bottom: 10px;
}
.mrt-badge, .mrt-badge-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  margin-right: 6px;
}
.mrt-badge-lg { font-size: 16px; padding: 4px 12px; }

/* ===== v2.4 bale accordion ===== */
.mrt-bale-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: #0f172a;
  color: #f8fafc;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  font-size: 14px;
}
.mrt-bale-acc-btn.is-open .mrt-bale-caret { transform: rotate(180deg); }
.mrt-bale-caret { transition: .2s; margin-right: auto; }
.mrt-bale-acc-panel {
  display: none;
  padding: 14px 4px 4px;
}
.mrt-bale-acc-panel.open { display: block; }


/* ===== v2.4.1 bale accordion + banner width ===== */
.mrt-bale-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #0f172a;
  color: #f8fafc;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.mrt-bale-acc-panel {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.mrt-bale-acc-panel.open { display: block; }
.mrt-bale-caret { transition: transform .2s; }
.mrt-bale-acc-btn.is-open .mrt-bale-caret { transform: rotate(180deg); }
.mrt-panel-section[data-section="bale"].is-active .mrt-bale-acc-panel { display: block; }

.mrt-panel-head {
  width: var(--mrt-panel-head-width, 100%) !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}


/* bale accordion force */
#mrt-bale-panel { display: none !important; }
#mrt-bale-panel.open { display: block !important; }
.mrt-panel-section[data-section="bale"].is-active #mrt-bale-panel.open { display: block !important; }

.mrt-copy-label {
  font-weight: 800;
  margin-right: 6px;
  color: inherit;
}
.mrt-guide-code { margin-bottom: 12px; font-weight: 700; }


/* ===== Customer panel UI (match design) ===== */
.mrt-cust-ui {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 14px 40px;
  font-family: inherit;
  background: #f7f8fc;
  min-height: 70vh;
  box-sizing: border-box;
}
.mrt-cust-auth-head { text-align: center; padding: 12px 0 8px; }
.mrt-cust-auth-head h1 {
  margin: 10px 0 4px;
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e293b;
}
.mrt-cust-avatar-lg {
  width: 72px; height: 72px; border-radius: 50%;
  background: #e8f0fe; color: #2563eb;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto;
}
.mrt-cust-tabs {
  display: flex; gap: 10px; justify-content: center;
  margin: 16px 0 18px;
}
.mrt-cust-tab {
  min-width: 110px; text-align: center;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none !important;
  background: #eef2f7; color: #64748b;
  border: 0;
}
.mrt-cust-tab.is-active-blue {
  background: #2563eb !important; color: #fff !important;
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
}
.mrt-cust-tab.is-active-mint {
  background: #d1fae5 !important; color: #065f46 !important;
}
.mrt-cust-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.mrt-cust-card-bar {
  background: #2563eb;
  color: #fff;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 14px;
}
.mrt-cust-form { padding: 18px 16px 20px; }
.mrt-cust-label {
  display: block; font-weight: 700; color: #334155;
  font-size: 13px; margin-bottom: 12px;
}
.mrt-cust-label input {
  display: block; width: 100%; margin-top: 6px;
  border: 0; background: #f1f5f9; border-radius: 14px;
  padding: 14px 14px; font-size: 15px; box-sizing: border-box;
  text-align: right; direction: rtl;
}
.mrt-cust-remember {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; margin: 8px 0 14px;
  font-weight: 700; color: #475569; font-size: 13px;
}
.mrt-cust-captcha {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 16px; font-weight: 700; color: #334155; font-size: 13px;
}
.mrt-cust-captcha input {
  width: 90px; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px; text-align: center; background: #f8fafc;
}
.mrt-cust-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 12px 22px;
  font-weight: 900; cursor: pointer; text-decoration: none !important;
  font-family: inherit; font-size: 15px;
}
.mrt-cust-btn-blue {
  background: #2563eb !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
}
.mrt-cust-btn-block { width: 100%; }

/* Logged-in panel */
.mrt-cust-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.mrt-cust-enter-store {
  background: #bfdbfe; color: #1e3a8a;
  font-weight: 900; padding: 10px 18px; border-radius: 999px;
  text-decoration: none !important; font-size: 14px;
}
.mrt-cust-avatar-sm {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; background: #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1);
  font-size: 24px;
}
.mrt-cust-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.mrt-cust-profile { text-align: center; padding: 8px 0 16px; }
.mrt-cust-name {
  margin: 8px 0 4px; font-size: 1.35rem; font-weight: 900; color: #1e293b;
}
.mrt-cust-phone { margin: 0; color: #64748b; font-weight: 700; font-size: 14px; }
.mrt-cust-code-label {
  margin: 14px 0 8px; color: #94a3b8; font-size: 12px; font-weight: 700;
}
.mrt-cust-code-pill {
  display: inline-block; background: #2563eb; color: #fff;
  font-weight: 900; letter-spacing: 1px; border: 0;
  border-radius: 14px; padding: 10px 28px; cursor: pointer;
  font-size: 16px; font-family: inherit;
  box-shadow: 0 6px 16px rgba(37,99,235,.3);
}
.mrt-cust-wallet {
  background: #f1f5f9; border-radius: 18px; padding: 16px;
  margin-bottom: 16px; text-align: center;
}
.mrt-cust-wallet-title { margin: 0 0 12px; font-weight: 700; color: #334155; }
.mrt-cust-club {
  display: block; background: #d1fae5; color: #047857;
  border-radius: 14px; padding: 12px 14px; font-weight: 800;
  text-decoration: none !important; font-size: 13px;
}
.mrt-cust-menu {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,23,42,.05);
}
.mrt-cust-menu-item {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
  padding: 16px 18px; border: 0; border-bottom: 1px solid #f1f5f9;
  background: #fff; font-weight: 800; color: #1e293b;
  font-size: 15px; cursor: pointer; font-family: inherit;
  text-align: right;
}
.mrt-cust-menu-item:last-child { border-bottom: 0; }
.mrt-cust-mi { opacity: .7; font-size: 16px; }
.mrt-cust-sheet {
  margin-top: 16px; background: #fff; border-radius: 16px;
  padding: 16px; box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.mrt-cust-sheet h3 { margin: 0 0 12px; font-size: 1rem; }
.mrt-cust-order-card {
  border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px; margin-bottom: 8px; font-size: 13px;
}
.mrt-cust-empty { text-align: center; padding: 40px 16px; }


/* Customer auth larger on mobile */
.mrt-cust-auth {
  max-width: 480px !important;
  padding: 20px 16px 48px !important;
}
.mrt-cust-auth .mrt-cust-auth-head h1 {
  font-size: 1.7rem !important;
}
.mrt-cust-auth .mrt-cust-avatar-lg {
  width: 88px !important;
  height: 88px !important;
  font-size: 40px !important;
}
.mrt-cust-auth .mrt-cust-tab {
  min-width: 130px !important;
  padding: 12px 22px !important;
  font-size: 16px !important;
}
.mrt-cust-auth .mrt-cust-card-bar {
  font-size: 1.2rem !important;
  padding: 16px !important;
}
.mrt-cust-auth .mrt-cust-label {
  font-size: 15px !important;
  margin-bottom: 14px !important;
}
.mrt-cust-auth .mrt-cust-label input {
  padding: 16px 16px !important;
  font-size: 17px !important;
  border-radius: 16px !important;
  min-height: 52px !important;
}
.mrt-cust-auth .mrt-cust-btn-block {
  padding: 16px !important;
  font-size: 17px !important;
  min-height: 54px !important;
}
.mrt-cust-auth .mrt-cust-captcha {
  font-size: 15px !important;
}
.mrt-cust-auth .mrt-cust-captcha input {
  width: 110px !important;
  padding: 12px !important;
  font-size: 16px !important;
}
@media (max-width: 480px) {
  .mrt-cust-ui.mrt-cust-auth {
    max-width: 100% !important;
    padding: 16px 12px 40px !important;
  }
  .mrt-cust-auth .mrt-cust-form {
    padding: 20px 14px 22px !important;
  }
}

/* Circular profile avatar */
.mrt-cust-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mrt-cust-avatar-sm {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.mrt-cust-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.mrt-cust-avatar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.mrt-cust-avatar-btn {
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
}
.mrt-cust-avatar-del {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Bale inbox */
.mrt-bale-inbox-head { margin: 10px 0 12px; }
.mrt-bale-inbox {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
  max-height: 360px;
  overflow: auto;
}
.mrt-bale-inbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.mrt-bale-msg {
  background: #1e293b;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
}
.mrt-bale-msg-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 6px;
}
.mrt-bale-msg-type {
  background: #0d9488;
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 800;
}
.mrt-bale-msg-text {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: #f8fafc;
}

.mrt-cust-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  direction: rtl;
  margin-bottom: 12px !important;
}
.mrt-cust-enter-store {
  order: 1;
}
.mrt-cust-avatar-sm {
  order: 2;
  margin-right: auto;
}
.mrt-cust-info-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mrt-cust-avatar-lg-info {
  width: 96px !important;
  height: 96px !important;
  font-size: 40px !important;
}
.mrt-seller-code-hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-weight: 600;
  font-size: 12px;
}
.mrt-cust-auth-head h1 { margin-top: 8px !important; }

.mrt-copy-pulse {
  transform: scale(1.18) !important;
  transition: transform .2s ease !important;
}
.mrt-code-btn, .mrt-cust-code-pill {
  transition: transform .2s ease;
}
.mrt-cust-hub-btn {
  white-space: nowrap;
  font-weight: 900 !important;
}
.mrt-cust-forgot-link {
  background: none; border: 0; color: #2563eb;
  font-weight: 800; cursor: pointer; font-family: inherit;
  font-size: 13px; text-decoration: underline;
}
.mrt-cust-forgot {
  margin-top: 12px; padding: 12px;
  background: #f8fafc; border-radius: 16px;
  border: 1px solid #e2e8f0;
}
@media (max-width: 640px) {
  .mrt-cust-ui.mrt-cust-auth {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 10px 32px !important;
    min-height: 100vh;
  }
  .mrt-cust-auth .mrt-cust-card {
    border-radius: 16px !important;
  }
  .mrt-cust-auth .mrt-cust-form {
    padding: 18px 12px 20px !important;
  }
}

.mrt-phone-link {
  display: inline-flex !important;
  visibility: visible !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}
.mrt-admin-login-details form {
  overflow: visible !important;
}
.mrt-admin-login-details .mrt-btn,
.mrt-admin-login-details .mrt-btn-dark {
  width: 100% !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  padding: 12px 14px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 14px !important;
}
.mrt-cust-forgot-link {
  display: inline-block !important;
  visibility: visible !important;
  color: #2563eb !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  padding: 8px !important;
}

/* Phone copy */
.mrt-phone-link.mrt-copy-phone {
  border: 0;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease;
}
.mrt-phone-link.mrt-copy-phone.mrt-copy-pulse {
  transform: scale(1.12);
}

/* Customer modern accordion */
.mrt-cust-ui {
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 40%, #fff 100%) !important;
}
.mrt-cust-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  direction: rtl !important;
}
.mrt-cust-avatar-sm {
  order: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.mrt-cust-enter-store { order: 1 !important; }
.mrt-cust-menu {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15,23,42,.08) !important;
}
.mrt-cust-menu-item {
  transition: background .15s ease;
}
.mrt-cust-menu-item.is-open {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.mrt-cust-sheet {
  display: none;
  margin-top: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  animation: mrtSheetIn .2s ease;
}
.mrt-cust-sheet:not([hidden]) { display: block !important; }
@keyframes mrtSheetIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.mrt-cust-wallet {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15,23,42,.05);
}

/* Bale inbox visible */
.mrt-bale-wrap { display: flex; flex-direction: column; gap: 12px; }
.mrt-bale-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.mrt-bale-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 0;
  background: #0f172a;
  color: #f8fafc;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}
.mrt-bale-toggle.is-open { background: #1e293b; }
.mrt-bale-body {
  padding: 14px;
  background: #f8fafc;
  display: none;
}
.mrt-bale-body:not([hidden]) { display: block !important; }
.mrt-bale-msgs {
  max-height: 420px;
  overflow: auto;
  background: #0f172a;
  border-radius: 12px;
  padding: 12px;
}
.mrt-bale-msg {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-radius: 12px;
  padding: 14px !important;
  margin-bottom: 10px;
  font-size: 14px !important;
}
.mrt-bale-msg-text {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #f8fafc !important;
  white-space: pre-wrap;
  margin: 0;
  font-family: inherit;
}
.mrt-bale-msg-del {
  background: #ef4444;
  color: #fff;
  border: 0;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.mrt-bale-inbox-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* QR modern — centered */
.mrt-qr-box.mrt-qr-modern {
  text-align: center;
  margin: 18px auto;
  max-width: 420px;
}
.mrt-qr-modern h3 {
  margin: 16px 0 12px;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.mrt-qr-card {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: 18px;
  padding: 22px 18px;
  color: #fff;
}
.mrt-qr-card img {
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  width: 220px;
  height: 220px;
  max-width: 100%;
}
.mrt-qr-side {
  flex: none;
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.mrt-qr-label {
  margin: 0 0 6px;
  opacity: .8;
  font-size: 12px;
  text-align: center;
}
.mrt-qr-url {
  display: block;
  background: rgba(255,255,255,.1);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  word-break: break-all;
  margin: 0 auto 12px;
  color: #e2e8f0;
  text-align: center;
  direction: ltr;
}
.mrt-qr-modern .mrt-settings-actions,
.mrt-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.mrt-qr-actions .mrt-btn {
  min-width: 120px;
}

/* Info row one line */
.mrt-info-inline {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mrt-info-inline .mrt-code-btn,
.mrt-info-inline .mrt-phone-link,
.mrt-info-inline .mrt-btn-install {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px !important;
  padding: 8px 12px !important;
}
@media (max-width: 480px) {
  .mrt-info-inline { gap: 6px !important; padding: 10px 8px !important; }
  .mrt-info-inline .mrt-code-btn,
  .mrt-info-inline .mrt-phone-link,
  .mrt-info-inline .mrt-btn-install {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
}

.mrt-btn-settings-save {
  background: #16a34a !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  padding: 12px 22px !important;
  width: 100%;
  margin-top: 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.mrt-btn-settings-save:hover,
.mrt-btn-settings-save:active,
.mrt-btn-settings-save:focus {
  background: #2563eb !important;
  color: #fff !important;
}
.mrt-settings-save-row { margin-top: 12px; width: 100%; }

.mrt-orders-toolbar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.mrt-order-tools {
  display: flex; gap: 8px; align-items: center; margin-bottom: 8px;
}
.mrt-guide-text { line-height: 1.8; color: #334155; margin: 0; }

/* Customer center blue buttons */
.mrt-cust-sheet .mrt-cust-btn-blue,
.mrt-cust-sheet .mrt-cust-btn {
  display: flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: auto !important;
  min-width: 140px;
  justify-content: center;
}
.mrt-cust-code-pill { transition: transform .2s ease; }
.mrt-cust-code-pill.mrt-copy-pulse { transform: scale(1.15); }

/* Bale force visible */
.mrt-bale-body:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  max-height: none !important;
}
#mrt-bale-inbox-body:not([hidden]),
#mrt-bale-settings-body:not([hidden]) {
  display: block !important;
}

.mrt-bale-body.open {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
}

/* Customer avatar circle + button position */
.mrt-cust-avatar-sm,
.mrt-cust-avatar-sm img,
#mrt-cust-avatar-preview,
#mrt-cust-avatar-preview img {
  border-radius: 50% !important;
  object-fit: cover !important;
  overflow: hidden !important;
}
.mrt-cust-top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  direction: rtl !important;
  padding: 4px 4px 8px;
}
.mrt-cust-avatar-sm {
  order: 1 !important;
  margin: 0 !important;
}
.mrt-cust-enter-store {
  order: 2 !important;
  margin-right: 8px !important;
  margin-left: auto !important;
}
.mrt-cust-club {
  display: block;
  width: 100%;
  background: #d1fae5 !important;
  color: #047857 !important;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

/* Bale messages readable */
.mrt-bale-msg,
.mrt-bale-msg * {
  color: #f8fafc !important;
}
.mrt-bale-msg {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  padding: 14px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  word-break: break-word;
}
.mrt-bale-msg-text {
  color: #f1f5f9 !important;
  font-size: 14px !important;
  white-space: pre-wrap !important;
}
.mrt-bale-msg-type {
  background: #0d9488 !important;
  color: #fff !important;
}
.mrt-bale-msgs {
  background: #020617 !important;
}
@media (max-width: 480px) {
  .mrt-bale-msg { font-size: 13px !important; padding: 12px !important; }
  .mrt-bale-msg-text { font-size: 13px !important; }
  .mrt-bale-toggle { font-size: 14px !important; padding: 12px !important; }
  .mrt-bale-msgs { max-height: 50vh; }
}

.mrt-settings-save-row {
  margin-top: 18px !important;
  padding-top: 4px;
  border-top: 0;
  width: 100%;
}
.mrt-order-date { font-size: 12px; color: #64748b; margin-top: 4px; font-weight: 700; }

.mrt-phone-link { font-weight: 900 !important; font-size: 15px !important; }
.mrt-cust-avatar-sm, .mrt-cust-avatar-sm img, #mrt-cust-avatar-preview, #mrt-cust-avatar-preview img,
.mrt-cust-avatar-lg-info, .mrt-cust-avatar-lg-info img {
  border-radius: 50% !important; object-fit: cover !important; overflow: hidden !important;
}
.mrt-guide-text { color: #0f172a !important; font-size: 14px !important; line-height: 1.85 !important; font-weight: 600 !important; }
.mrt-bale-msg, .mrt-bale-msg pre, .mrt-bale-msg-text { color: #f8fafc !important; }
.mrt-bale-msg { background: #334155 !important; border: 1px solid #64748b !important; }
.mrt-panel-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(28px) scale(.92);
  background: linear-gradient(135deg, #059669, #10b981); color: #fff !important;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-size: 14px; z-index: 99999; opacity: 0; pointer-events: none;
  transition: opacity .28s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 10px 28px rgba(16,185,129,.35);
}
.mrt-panel-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.mrt-panel-toast.is-pop {
  animation: mrt-toast-pop .55s cubic-bezier(.34,1.56,.64,1);
}
.mrt-panel-toast.is-error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 10px 28px rgba(220,38,38,.35);
}
@keyframes mrt-toast-pop {
  0% { transform: translateX(-50%) translateY(24px) scale(.85); }
  55% { transform: translateX(-50%) translateY(-4px) scale(1.06); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}


/* ===== Bale inbox modern light (like settings cards) ===== */
.mrt-bale-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 16px;
}
.mrt-bale-box {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.mrt-bale-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  color: #0f172a !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  border-bottom: 1px solid #e2e8f0;
}
.mrt-bale-toggle.is-open {
  background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
  color: #1e40af !important;
}
.mrt-bale-toggle .mrt-badge-lg {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 900;
}
.mrt-bale-caret { margin-right: auto; opacity: .6; }
.mrt-bale-body {
  background: #fafbfc !important;
  padding: 14px !important;
  display: none;
}
.mrt-bale-body.open,
.mrt-bale-body:not([hidden]) {
  display: block !important;
}
.mrt-bale-inbox-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.mrt-bale-msgs {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 12px !important;
  max-height: 420px;
  overflow: auto;
}
.mrt-bale-msg {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 10px;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.mrt-bale-msg,
.mrt-bale-msg * {
  color: #0f172a !important;
}
.mrt-bale-msg-text {
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  white-space: pre-wrap !important;
  margin: 0 !important;
  font-family: inherit !important;
  background: transparent !important;
}
.mrt-bale-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
}
.mrt-bale-msg-type {
  background: #2563eb !important;
  color: #fff !important;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
}
.mrt-bale-msg-meta .mrt-muted {
  color: #64748b !important;
  font-weight: 600;
}
.mrt-bale-msg-del {
  margin-right: auto;
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: 0;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}
.mrt-bale-box .mrt-form label {
  color: #334155;
  font-weight: 700;
}
.mrt-bale-box .mrt-form input {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}
@media (max-width: 480px) {
  .mrt-bale-msg { padding: 12px !important; }
  .mrt-bale-msg-text { font-size: 13px !important; }
  .mrt-bale-msgs { max-height: 50vh; }
}

/* Force visible bale message text */
.mrt-bale-msg-text,
.mrt-bale-msg-text * {
  color: #0f172a !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
  height: auto !important;
  max-height: none !important;
}
.mrt-bale-msg {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
.mrt-bale-msg-meta { color: #475569 !important; }
.mrt-bale-msg-meta .mrt-muted { color: #64748b !important; }
.mrt-bale-check-wrap { display: inline-flex; margin-left: 6px; }

/* Public guide */
.mrt-public-guide {
  margin: 12px 14px;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: #1e3a8a !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.8;
}
.mrt-public-guide-inner { color: #1e3a8a !important; }
#mrt-acc-guide .mrt-guide-text,
#mrt-acc-guide .mrt-guide-text * {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.mrt-orders-toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:12px; }
.mrt-order-tools { display:flex; gap:8px; align-items:center; margin-bottom:8px; }
.mrt-order-name, .mrt-order-total, .mrt-order-line { color: #0f172a !important; font-weight: 700; }

/* Guide in drawer: classic black / white */
#mrt-acc-guide.mrt-acc-panel,
#mrt-acc-guide {
  background: #0f172a !important;
  color: #fff !important;
  padding: 14px 16px !important;
  border-radius: 12px;
  margin: 8px 10px 12px !important;
}
#mrt-acc-guide .mrt-guide-text,
#mrt-acc-guide .mrt-guide-text *,
#mrt-acc-guide p,
#mrt-acc-guide span {
  color: #f8fafc !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
  opacity: 1 !important;
}
#mrt-acc-guide .mrt-guide-code,
#mrt-acc-guide .mrt-code-btn {
  color: #e2e8f0 !important;
  margin-bottom: 8px !important;
}
/* remove duplicate public guide if any left */
.mrt-public-guide { display: none !important; }

/* Hide WP admin bar on plugin pages */
body.mrt-fullpage #wpadminbar,
html.mrt-fullpage #wpadminbar,
body.mrt-no-theme-chrome #wpadminbar {
  display: none !important;
}
html.mrt-adminbar-hide #wpadminbar { display: none !important; }
body.mrt-adminbar-hide { margin-top: 0 !important; padding-top: 0 !important; }

.mrt-panel-nav .mrt-badge {
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 900;
  margin-right: 6px;
}

/* Guide tighter spacing with code */
#mrt-acc-guide .mrt-guide-code {
  margin: 0 0 4px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  font-size: 12px !important;
}
#mrt-acc-guide .mrt-guide-text {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#mrt-acc-guide {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Category / search filter */
.mrt-card.mrt-card-hidden {
  display: none !important;
}

/* Product multi thumbs */
.mrt-card-media {
  position: relative;
  width: 100%;
}
.mrt-card-thumbs {
  display: flex;
  gap: 6px;
  padding: 6px 8px 0;
  justify-content: center;
  flex-wrap: wrap;
}
.mrt-card-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #f1f5f9;
  cursor: pointer;
}
.mrt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mrt-card-thumb.is-active {
  border-color: #2563eb;
}
.mrt-card-img.mrt-lightbox-open {
  cursor: zoom-in;
}

/* Lightbox */
.mrt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mrt-lightbox.is-open,
.mrt-lightbox:not([hidden]) {
  display: flex !important;
}
.mrt-lightbox-img {
  max-width: min(92vw, 720px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.mrt-lightbox-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}
.mrt-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.95);
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
.mrt-lightbox-prev { right: 12px; }
.mrt-lightbox-next { left: 12px; }
.mrt-lightbox-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.mrt-lb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
.mrt-lb-dot.is-active { background: #fff; }

.mrt-product-imgs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .mrt-product-imgs-grid { grid-template-columns: 1fr; }
}


/* ===== Product card layout fix (v2.9.8) ===== */
.mrt-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 12px 14px 110px !important;
}
.mrt-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  background: #fff !important;
  border-radius: 16px !important;
  padding: 12px !important;
  box-shadow: 0 4px 14px rgba(15,23,42,.06) !important;
  overflow: visible !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.mrt-card-side {
  flex: 0 0 auto !important;
  width: 108px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  order: 2 !important;
}
.mrt-card-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  order: 1 !important;
  color: #0f172a !important;
}
.mrt-card-media {
  width: 108px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.mrt-card-img,
.mrt-card-img-empty {
  width: 108px !important;
  height: 108px !important;
  min-width: 108px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  display: block !important;
  background: #f1f5f9 !important;
}
.mrt-card-img-empty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;
}
.mrt-card-thumbs {
  display: flex !important;
  gap: 4px !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  width: 108px !important;
}
.mrt-card-thumb {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 2px solid #e2e8f0 !important;
  padding: 0 !important;
  background: #fff !important;
  cursor: pointer !important;
}
.mrt-card-thumb.is-active { border-color: #2563eb !important; }
.mrt-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.mrt-card-title-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 10px !important;
  width: 100% !important;
}
.mrt-card-title {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mrt-price, .mrt-price-sale {
  color: #0f172a !important;
  font-weight: 800 !important;
}
.mrt-card.mrt-card-hidden { display: none !important; }
.mrt-lightbox[hidden] { display: none !important; }
.mrt-lightbox.is-open {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(15,23,42,.92) !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Guide one-row code */
.mrt-guide-code-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.mrt-guide-code-label {
  color: #e2e8f0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.mrt-guide-body {
  color: #f8fafc !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#mrt-acc-guide {
  padding: 10px 12px !important;
}

/* Glass product cards */
.mrt-card {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
}
.mrt-products {
  background: transparent !important;
}

/* Cart delivery + payment */
.mrt-delivery-box {
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}
.mrt-delivery-title {
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 14px;
  color: #93c5fd;
}
.mrt-delivery-hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}
.mrt-share-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mrt-share-row input {
  flex: 1;
  border-radius: 12px !important;
  border: 0 !important;
  padding: 12px !important;
}
.mrt-share-prefix {
  white-space: nowrap;
  border-radius: 12px !important;
  font-weight: 900 !important;
}
.mrt-pay-label {
  font-weight: 800;
  margin: 14px 0 10px;
  font-size: 14px;
  text-align: center;
  color: #64748b;
}
.mrt-pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.mrt-pay-opt {
  display: block;
  padding: 5px;
  border-radius: 16px;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.mrt-pay-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mrt-pay-radio { display: none !important; }
.mrt-pay-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 12px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f1f5f9;
}
.mrt-pay-text {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a !important;
  transition: color .2s;
}
/* پیش‌فرض: کادر سفید */
.mrt-pay-opt[data-pay="onsite"],
.mrt-pay-opt[data-pay="card"] {
  background: #fff;
  border-color: #e2e8f0;
}
/* فعال: پرداخت در محل — پرتقالی */
.mrt-pay-opt[data-pay="onsite"].is-active {
  background: linear-gradient(145deg, #fb923c, #f59e0b, #ea580c);
  border-color: #ea580c;
  box-shadow: 0 10px 26px rgba(234, 88, 12, .28);
}
.mrt-pay-opt[data-pay="onsite"].is-active .mrt-pay-inner {
  background: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* فعال: کارت به کارت — توت‌فرنگی */
.mrt-pay-opt[data-pay="card"].is-active {
  background: linear-gradient(145deg, #fb7185, #e11d48, #be123c);
  border-color: #e11d48;
  box-shadow: 0 10px 26px rgba(225, 29, 72, .28);
}
.mrt-pay-opt[data-pay="card"].is-active .mrt-pay-inner {
  background: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mrt-pay-opt.is-active {
  transform: scale(1.03);
}
.mrt-pay-opt:not(.is-active) {
  opacity: 1;
}
/* حس ژله‌ای هنگام کلیک */
.mrt-pay-opt:active {
  transform: scale(.92);
  transition: transform .08s ease-out;
}
.mrt-pay-opt.is-active:active {
  transform: scale(.94);
}
@keyframes mrt-pay-jelly {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  50% { transform: scale(.96); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1.03); }
}
.mrt-pay-opt.mrt-pay-jelly {
  animation: mrt-pay-jelly .45s cubic-bezier(.34,1.56,.64,1);
}

/* نوار کد اشتراک — زمینه سفید + کادر + بج سبز کمرنگ */
.mrt-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
  margin: 10px 0 6px;
  animation: mrt-share-soft 2.8s ease-in-out infinite;
}
@keyframes mrt-share-soft {
  0%, 100% { transform: translateY(0); box-shadow: 0 2px 12px rgba(15, 23, 42, .05); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(34, 197, 94, .12); }
}
.mrt-share-input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 11px 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #0f172a !important;
  text-align: center !important;
  box-shadow: none !important;
}
.mrt-share-input:focus {
  border-color: #86efac !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .35) !important;
}
.mrt-share-input::placeholder {
  color: #94a3b8;
  font-weight: 700;
}
.mrt-share-code-badge {
  flex-shrink: 0;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  cursor: pointer;
  direction: ltr;
  box-shadow: none;
  animation: mrt-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes mrt-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.mrt-share-code-badge:active {
  transform: scale(.96);
  animation: none;
}

.mrt-card2card {
  background: linear-gradient(160deg, #f59e0b, #fbbf24);
  border-radius: 18px;
  padding: 16px;
  margin: 10px 0 14px;
  color: #1c1917;
}
.mrt-c2c-title {
  text-align: center;
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 15px;
}
.mrt-c2c-info {
  background: rgba(255,255,255,.55);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.mrt-c2c-copy {
  margin-top: 10px !important;
  background: #a8a29e !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
}
.mrt-card2card label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 13px;
}
.mrt-card2card input,
.mrt-card2card textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
  box-sizing: border-box;
}
.mrt-order-submit {
  border-radius: 999px !important;
  padding: 14px !important;
  font-weight: 900 !important;
  background: #0f172a !important;
  color: #fff !important;
}
.mrt-settings-sub {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}


/* Product elevated black shadow */
.mrt-card {
  box-shadow: 0 6px 0 #0f172a, 0 12px 28px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  transform: translateY(0);
}
.mrt-card:active {
  box-shadow: 0 3px 0 #0f172a, 0 6px 16px rgba(15, 23, 42, 0.14) !important;
  transform: translateY(2px);
}

/* Guide compact style */
#mrt-acc-guide {
  background: #0b1220 !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  margin: 6px 8px 10px !important;
}
.mrt-guide-code-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  padding: 0 0 8px !important;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.45) !important;
}
.mrt-guide-code-label {
  font-size: 12px !important;
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}
#mrt-acc-guide .mrt-code-btn {
  background: #2563eb !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mrt-acc-guide .mrt-copy-label {
  font-size: 10px !important;
  opacity: .9;
}
.mrt-guide-body {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #f1f5f9 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}
.mrt-guide-body p {
  margin: 0 0 6px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.3);
}
.mrt-guide-body p:last-child {
  border-bottom: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* View button yellow on click + gray shadow */
.mrt-btn-view {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.35) !important;
  transition: .15s ease;
}
.mrt-btn-view:hover,
.mrt-btn-view.is-clicked,
.mrt-btn-view:active {
  background: #facc15 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(148, 163, 184, 0.45) !important;
}

.mrt-receipt-upload-label {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 13px;
}
.mrt-receipt-file {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.mrt-card.mrt-card-hidden {
  display: none !important;
}


/* Share code fixed (not copy) */
.mrt-delivery-sub {
  margin: 0 0 8px;
  font-size: 12px;
  color: #93c5fd;
  font-weight: 700;
}
.mrt-share-fixed {
  flex-shrink: 0;
  background: #1e293b !important;
  color: #fbbf24 !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.mrt-share-fixed.is-fixed {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

/* Receipt thumbs in panel / bale */
.mrt-order-receipts { margin-top: 10px; }
.mrt-order-receipt-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.mrt-receipt-thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: block;
  background: #f8fafc;
}

/* Glass better — remove black elevation shadow */
.mrt-card {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08) !important;
  transform: none !important;
}
.mrt-card:active {
  transform: none !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.1) !important;
}

/* Mobile glass for whole public store */
@media (max-width: 768px) {
  .mrt-app:not(.mrt-panel) {
    background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 40%, #ecfeff 100%) !important;
    min-height: 100vh;
  }
  .mrt-app:not(.mrt-panel) .mrt-card {
    background: rgba(255, 255, 255, 0.48) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07) !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-search-wrap {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-info-inline {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
  }
}


/* ========== Minimal app-like public products (v2.10.2) ========== */
.mrt-app:not(.mrt-panel) {
  background: #f3f4f6 !important;
  min-height: 100vh;
}
.mrt-app:not(.mrt-panel) .mrt-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 16px 16px 120px !important;
  background: transparent !important;
}
.mrt-app:not(.mrt-panel) .mrt-card,
.mrt-app:not(.mrt-panel) .mrt-product-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  background: #ffffff !important;
  border-radius: 30px !important;
  padding: 16px 18px !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: visible !important;
}
@media (hover: hover) {
  .mrt-app:not(.mrt-panel) .mrt-product-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09) !important;
  }
}
.mrt-app:not(.mrt-panel) .mrt-product-row:active {
  transform: scale(0.985);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
}
.mrt-card-side {
  order: 2 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.mrt-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5b800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 184, 0, 0.25);
}
.mrt-card-icon-btn {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}
.mrt-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mrt-card-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.mrt-card-body {
  order: 1 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  position: relative;
  padding-left: 22px;
}
.mrt-card-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.mrt-card-title {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 0 2px !important;
  line-height: 1.35 !important;
}
.mrt-card-title-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}
.mrt-price-wrap {
  margin-top: 2px;
}
.mrt-price, .mrt-price-sale {
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.mrt-card-desc-preview,
.mrt-card-desc {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  margin: 4px 0 0 !important;
  line-height: 1.4 !important;
}
.mrt-card-thumbs {
  display: none; /* hide under icon for minimal look; still openable via main */
}
.mrt-card-foot {
  margin-top: 8px !important;
}
.mrt-card-actions .mrt-btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
}

/* Cover modern */
.mrt-cover-modern {
  position: relative !important;
  min-height: 160px !important;
  border-radius: 0 0 28px 28px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #1e293b !important;
}
.mrt-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.55), rgba(15,23,42,.15));
  pointer-events: none;
}
.mrt-cover-inner {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 28px 16px 20px !important;
  text-align: center !important;
}
.mrt-logo-sm {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid rgba(255,255,255,.9) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.2) !important;
  margin: 0 auto 10px !important;
}
.mrt-logo-sm.mrt-logo-fallback {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f5b800 !important;
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 900 !important;
}
.mrt-store-name-under-logo {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* Compact share code */
.mrt-share-compact {
  margin: 10px 0 12px;
}
.mrt-share-compact-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.mrt-share-row-compact {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mrt-share-row-compact input {
  flex: 1;
  border-radius: 14px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 11px 12px !important;
  font-size: 13px !important;
  background: #fff !important;
}
.mrt-share-fixed {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  border: 0 !important;
}

/* Receipt file chip (no full image in form) */
.mrt-file-chip {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
.mrt-file-err {
  display: inline-block;
  margin-top: 8px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}
.mrt-receipt-file-status img {
  display: none !important;
}

/* Remove old delivery dark box if any leftover */
.mrt-delivery-box { display: none !important; }

@media (min-width: 768px) {
  .mrt-app:not(.mrt-panel) .mrt-products {
    max-width: 640px;
    margin: 0 auto;
    gap: 18px !important;
    padding: 20px 20px 120px !important;
  }
  .mrt-card-icon-wrap {
    width: 64px;
    height: 64px;
  }
}
@media (min-width: 1024px) {
  .mrt-app:not(.mrt-panel) .mrt-products {
    max-width: 720px;
    gap: 20px !important;
  }
}


/* Search/filter must win over product row display:flex */
.mrt-app .mrt-card.mrt-card-hidden,
.mrt-app:not(.mrt-panel) .mrt-card.mrt-card-hidden,
.mrt-app:not(.mrt-panel) .mrt-product-row.mrt-card-hidden,
article.mrt-card.mrt-card-hidden,
.mrt-product-row.mrt-card-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Blue share code box */
.mrt-share-blue {
  background: #2563eb !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin: 10px 0 14px !important;
}
.mrt-share-blue .mrt-share-compact-label {
  color: #fff !important;
  margin-bottom: 8px !important;
}
.mrt-share-blue .mrt-share-row-compact input {
  background: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
}
.mrt-share-blue .mrt-share-fixed {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border-radius: 12px !important;
}

/* Product circle image clear */
.mrt-card-icon-wrap {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #f5b800 !important;
  overflow: hidden !important;
  position: relative !important;
}
.mrt-card-icon-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
.mrt-card-icon-btn {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
/* multi-image hint dot */
.mrt-card-icon-wrap[data-imgs] .mrt-card-icon-btn::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}

/* Share one row, less bottom space */
.mrt-share-inline {
  padding: 10px 12px !important;
  margin: 8px 0 10px !important;
}
.mrt-share-inline .mrt-share-row-compact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100%;
}
.mrt-share-inline .mrt-share-fixed {
  flex: 0 0 auto !important;
}
.mrt-share-inline input#mrt-share-code {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Only one description */
.mrt-card-desc[hidden] {
  display: none !important;
}
.mrt-card-desc-preview { display: none !important; }

/* Lightbox always on top */
.mrt-lightbox.is-open {
  display: flex !important;
  z-index: 999999 !important;
}

.mrt-forgot-box {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 13px;
}
.mrt-forgot-box summary {
  cursor: pointer;
  font-weight: 800;
  color: #2563eb;
}


/* Title + price + discount one row */
.mrt-title-price-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 8px !important;
  width: 100% !important;
}
.mrt-title-price-row .mrt-card-title {
  display: inline !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.mrt-title-price-row .mrt-price-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.mrt-title-price-row .mrt-price-old {
  text-decoration: line-through;
  color: #94a3b8 !important;
  font-size: 12px !important;
}
.mrt-title-price-row .mrt-price,
.mrt-title-price-row .mrt-price-sale {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.mrt-currency { color: #64748b; font-size: 11px; }

/* Circle image fill */
.mrt-card-icon-wrap {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.mrt-card-icon-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* Required red */
.mrt-req-star { color: #dc2626; font-weight: 900; }
.mrt-req { font-weight: 800; }
.mrt-req input:invalid:not(:placeholder-shown),
.mrt-req textarea:invalid:not(:placeholder-shown) {
  border-color: #fca5a5;
}
.mrt-req-input:required {
  border-color: #fecaca !important;
}
.mrt-c2c-or-hint {
  font-size: 12px;
  font-weight: 800;
  color: #b45309;
  margin: 8px 0 6px;
}
.mrt-req-or textarea {
  border: 1.5px solid #fbbf24 !important;
}

/* Forgot form fit */
.mrt-forgot-box {
  overflow: hidden !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.mrt-forgot-form {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.mrt-forgot-form label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}
.mrt-forgot-form input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block;
}
.mrt-forgot-btn {
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  box-sizing: border-box !important;
}
.mrt-forgot-hint {
  font-size: 11px !important;
  margin-top: 8px !important;
  line-height: 1.5 !important;
}


/* Force title+price one row for ALL products */
.mrt-app .mrt-product-row .mrt-title-price-row,
.mrt-app .mrt-card .mrt-title-price-row,
.mrt-card-title-row.mrt-title-price-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
  width: 100% !important;
}
.mrt-app .mrt-product-row .mrt-card-title,
.mrt-title-price-row .mrt-card-title {
  display: inline !important;
  margin: 0 !important;
  white-space: normal !important;
}
.mrt-app .mrt-product-row .mrt-price-wrap,
.mrt-title-price-row .mrt-price-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin: 0 !important;
}

/* Circle image full fill */
.mrt-card-icon-wrap {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #f5b800 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
.mrt-card-icon-btn {
  display: block !important;
  width: 68px !important;
  height: 68px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: transparent !important;
  line-height: 0 !important;
}
.mrt-card-icon-img {
  width: 68px !important;
  height: 68px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block !important;
  max-width: none !important;
}

/* Category edit highlight yellow */
.mrt-admin-item.is-editing {
  background: #fef08a !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 2px #facc15 !important;
  transition: background .2s ease;
}
#mrt-cat-form.is-editing-form,
.mrt-panel-section[data-section="categories"] form.is-editing-form {
  background: #fef9c3 !important;
  border-radius: 16px !important;
  padding: 12px !important;
}

/* Customer panel minimal app */
.mrt-cust-panel,
.mrt-app.mrt-cust,
body .mrt-customer-panel {
  background: #f3f4f6 !important;
  min-height: 100vh;
  padding: 16px !important;
}
.mrt-cust-menu button,
.mrt-cust-nav-item,
.mrt-cust-item {
  background: #fff !important;
  border-radius: 22px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.05) !important;
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mrt-cust-menu button:active,
.mrt-cust-nav-item:active {
  transform: scale(0.98);
}
.mrt-cust-sheet {
  background: #fff !important;
  border-radius: 24px !important;
  padding: 18px !important;
  box-shadow: 0 8px 28px rgba(15,23,42,.06) !important;
  margin-top: 12px;
}

/* Customer panel minimal (mrt-cust-ui) */
.mrt-cust-ui {
  background: #f3f4f6 !important;
  min-height: 100vh;
  padding: 16px 14px 40px !important;
  box-sizing: border-box;
  max-width: 480px;
  margin: 0 auto;
}
.mrt-cust-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.mrt-cust-menu-item {
  background: #fff !important;
  border-radius: 22px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.05) !important;
  padding: 16px 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  cursor: pointer;
  font-size: 15px !important;
  font-family: inherit;
}
.mrt-cust-menu-item:active {
  transform: scale(0.985);
  background: #f8fafc !important;
}
.mrt-cust-wallet,
.mrt-cust-profile {
  background: #fff !important;
  border-radius: 22px !important;
  padding: 16px !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.05) !important;
  margin-bottom: 12px;
}


/* Mobile product row: title+price one line, circle fill */
@media (max-width: 768px) {
  .mrt-app:not(.mrt-panel) .mrt-product-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 28px !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-card-side {
    order: 2 !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-card-body {
    order: 1 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-title-price-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px 6px !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-card-title {
    font-size: 14px !important;
    font-weight: 800 !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-price-wrap {
    display: inline-flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    align-items: baseline !important;
  }
  .mrt-card-icon-wrap,
  .mrt-card-icon-btn,
  .mrt-card-icon-img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }
  .mrt-card-icon-wrap {
    overflow: hidden !important;
    background: #e2e8f0 !important;
  }
}

/* Category edit: cloudy blue */
.mrt-admin-item.is-editing {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #eff6ff 100%) !important;
  box-shadow: 0 0 0 2px #38bdf8 !important;
  border-radius: 14px !important;
}
.mrt-panel-section[data-section="categories"] form.is-editing-form,
#mrt-cat-form.is-editing-form {
  background: linear-gradient(160deg, #e0f2fe, #f0f9ff) !important;
  border: 1px solid #7dd3fc !important;
  border-radius: 16px !important;
  padding: 14px !important;
}


/* Product circle 160px + Album button (screenshot style) */
.mrt-app:not(.mrt-panel) .mrt-card-side {
  order: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  width: 160px !important;
  flex: 0 0 160px !important;
  position: relative !important;
}
.mrt-app:not(.mrt-panel) .mrt-card-icon-wrap {
  width: 160px !important;
  height: 160px !important;
  min-width: 160px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.mrt-app:not(.mrt-panel) .mrt-card-icon-img {
  width: 160px !important;
  height: 160px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
}
.mrt-album-btn {
  background: transparent !important;
  border: 0 !important;
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 0 4px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}
.mrt-album-btn:active {
  opacity: .75;
}
.mrt-card-thumbs { display: none !important; }
.mrt-card-arrow { display: none !important; }

.mrt-product-imgs-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}
@media (min-width: 600px) {
  .mrt-product-imgs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .mrt-app:not(.mrt-panel) .mrt-card-side {
    width: 120px !important;
    flex-basis: 120px !important;
  }
  .mrt-app:not(.mrt-panel) .mrt-card-icon-wrap,
  .mrt-app:not(.mrt-panel) .mrt-card-icon-img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
  }
}


/* Product form actions row */
.mrt-form-actions-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin-top: 12px !important;
}
.mrt-btn-save-green {
  flex: 1 !important;
  background: #16a34a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  cursor: pointer !important;
}
.mrt-btn-save-green:hover { background: #15803d !important; }
.mrt-btn-new-blue {
  flex: 1 !important;
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  cursor: pointer !important;
}
.mrt-btn-new-blue:hover { background: #1d4ed8 !important; }

/* Orders modern + payment colors */
.mrt-order-card {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(15,23,42,.06) !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
  color: #0f172a !important;
}
.mrt-order-body, .mrt-order-line, .mrt-order-addr, .mrt-order-note, .mrt-order-head {
  color: #0f172a !important;
  font-weight: 600 !important;
}
.mrt-pay-method {
  font-weight: 900 !important;
  font-size: 14px !important;
  margin: 8px 0 !important;
}
.mrt-pay-onsite { color: #dc2626 !important; }
.mrt-pay-card { color: #2563eb !important; }

/* Contact prominent — شیشه‌ای */
.mrt-phone-prominent {
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
}
.mrt-contact-highlight {
  background: #eff6ff !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1e40af !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 8px 0 !important;
  border: 1px solid #bfdbfe !important;
}

/* Card-to-card cream textured bg */
.mrt-c2c-cream {
  background-color: #faf6e8 !important;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255,248,220,.9) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255,236,179,.5) 0%, transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.012) 2px, rgba(0,0,0,.012) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.01) 2px, rgba(0,0,0,.01) 3px) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  border: 1px solid #f0e6c8 !important;
}

/* Fingerprint switch row */
.mrt-fp-row {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 14px 0 !important;
  padding: 4px 0 !important;
}
.mrt-fp-label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.mrt-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}
.mrt-switch input { opacity: 0; width: 0; height: 0; }
.mrt-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #e2e8f0;
  border-radius: 28px;
  transition: .25s;
}
.mrt-switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.mrt-switch input:checked + .mrt-switch-slider {
  background: #94a3b8;
}
.mrt-switch input:checked + .mrt-switch-slider:before {
  transform: translateX(20px);
}

/* customer forgot link visible */


.mrt-fp-settings {
  margin: 16px 0;
  padding: 14px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.mrt-fp-status-box {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
  font-size: 13px;
}
.mrt-fp-status-box.is-on {
  background: #dcfce7;
  color: #166534;
}

/* =========================================================
   Glass + Classic Fusion — all plugin surfaces (v2.12.2)
   شیشه‌ای مدرن + حس کلاسیک برای تمام بخش‌ها
   ========================================================= */

/* Soft classic ambient background */
body.mrt-fullpage,
.mrt-app,
.mrt-panel {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(13, 148, 136, 0.12) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(30, 41, 59, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #e8edf4 50%, #f4f6fa 100%) !important;
}

/* Shared glass surface */
.mrt-glass,
.mrt-card,
.mrt-topbar,
.mrt-auth-box,
.mrt-panel-section,
.mrt-admin-item,
.mrt-order-card,
.mrt-fp-settings,
.mrt-modal-sheet,
.mrt-cats,
.mrt-c2c-cream {
  background: var(--mrt-glass-strong) !important;
  backdrop-filter: blur(var(--mrt-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--mrt-blur)) saturate(1.35);
  border: 1px solid var(--mrt-glass-border) !important;
  box-shadow: var(--mrt-shadow) !important;
}

/* —— Store public page —— */
.mrt-topbar {
  background: rgba(255, 255, 255, 0.7) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 0 0 16px 16px;
}

.mrt-cover {
  border-radius: 22px !important;
  box-shadow: var(--mrt-shadow-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.mrt-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

.mrt-logo {
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.mrt-card {
  border-radius: var(--mrt-radius) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.mrt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mrt-shadow-lg) !important;
}
.mrt-card-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mrt-card-img {
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.mrt-cat {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  font-weight: 700;
}
.mrt-cat.is-active {
  background: linear-gradient(145deg, var(--mrt-primary) 0%, var(--mrt-primary-dark) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.mrt-pill {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mrt-btn {
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.mrt-btn-primary {
  background: linear-gradient(145deg, #14b8a6 0%, #0d9488 55%, #0f766e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35), 0 1px 0 rgba(255, 255, 255, 0.25) inset !important;
  color: #fff !important;
}
.mrt-btn-primary:hover {
  background: linear-gradient(145deg, #0d9488 0%, #0f766e 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.42) !important;
}
.mrt-btn-outline {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(15, 23, 42, 0.12) !important;
}
.mrt-btn-dark {
  background: linear-gradient(145deg, #334155 0%, #0f172a 100%) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}
.mrt-btn-ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.mrt-badge {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
}
.mrt-badge.open {
  background: rgba(209, 250, 229, 0.85) !important;
}
.mrt-badge.closed {
  background: rgba(254, 226, 226, 0.85) !important;
}

/* Cart bar — dark glass classic */
.mrt-cart-bar {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%) !important;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28) !important;
  border-radius: 20px 20px 0 0;
}

/* Modal glass sheet */
.mrt-modal {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mrt-modal-sheet {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18) !important;
}
.mrt-modal-sheet h3 {
  font-family: var(--mrt-classic-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Forms — frosted inputs */
.mrt-form input,
.mrt-form textarea,
.mrt-form select,
.mrt-modal-sheet input,
.mrt-modal-sheet textarea,
.mrt-modal-sheet select,
.mrt-auth-form input[type="text"],
.mrt-auth-form input[type="email"],
.mrt-auth-form input[type="password"],
.mrt-auth-form input[type="tel"],
.mrt-auth-form input[type="number"],
.mrt-captcha-input {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.mrt-form input:focus,
.mrt-form textarea:focus,
.mrt-form select:focus,
.mrt-modal-sheet input:focus,
.mrt-modal-sheet textarea:focus,
.mrt-auth-form input:focus,
.mrt-captcha-input:focus {
  outline: none !important;
  border-color: var(--mrt-primary) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 0 0 3px var(--mrt-primary-soft), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

/* —— Auth / Login —— */
.mrt-auth-box {
  max-width: 420px;
  margin: 36px auto !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: var(--mrt-shadow-lg) !important;
}
.mrt-login-hero {
  min-height: 120px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
}
.mrt-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.72) 100%);
}
.mrt-login-hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff !important;
  font-family: var(--mrt-classic-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.mrt-auth-form {
  padding: 22px 22px 26px;
}
.mrt-auth-form label {
  color: var(--mrt-dark);
  font-weight: 700;
}
.mrt-alert {
  margin: 14px 18px 0 !important;
  border-radius: 14px !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid transparent;
}
.mrt-alert-error {
  background: rgba(254, 226, 226, 0.85) !important;
  border-color: rgba(252, 165, 165, 0.6) !important;
}
.mrt-alert-ok {
  background: rgba(220, 252, 231, 0.85) !important;
  border-color: rgba(134, 239, 172, 0.5) !important;
  color: #166534;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.mrt-fp-row {
  padding: 12px 14px !important;
  background: rgba(248, 250, 252, 0.65) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mrt-fp-label {
  color: var(--mrt-dark) !important;
}
.mrt-switch input:checked + .mrt-switch-slider {
  background: linear-gradient(145deg, #14b8a6, #0d9488) !important;
}
.mrt-forgot-box {
  margin: 0 18px 18px;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, 0.1);
}
.mrt-forgot-box summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--mrt-muted);
  font-size: 13px;
}
.mrt-auth-switch {
  padding: 0 22px 22px;
}

/* —— Seller panel —— */
.mrt-panel-head {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.mrt-panel-nav {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.98) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.mrt-panel-nav button,
.mrt-panel-nav a {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(6px);
}
.mrt-panel-nav button.is-active,
.mrt-panel-nav button:hover,
.mrt-panel-nav a:hover {
  background: linear-gradient(145deg, #14b8a6, #0d9488) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
.mrt-panel-body {
  background: transparent !important;
}
.mrt-panel-section {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: var(--mrt-shadow) !important;
  padding: 16px !important;
  margin-bottom: 14px;
}
.mrt-panel-section h2 {
  font-family: var(--mrt-classic-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.mrt-admin-item {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
  margin-bottom: 0 !important;
  padding: 14px 12px !important;
}
#mrt-products-list.mrt-admin-list,
.mrt-panel-section .mrt-admin-list {
  gap: 14px !important;
}

.mrt-order-card {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 18px !important;
  box-shadow: var(--mrt-shadow) !important;
}

.mrt-fp-settings {
  background: rgba(248, 250, 252, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
}
.mrt-fp-status-box {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Contact / C2C */
.mrt-contact-highlight {
  background: rgba(239, 246, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 219, 254, 0.7) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}
.mrt-c2c-cream {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 248, 220, 0.75) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 236, 179, 0.4) 0%, transparent 45%),
    rgba(250, 246, 232, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 230, 200, 0.8) !important;
  box-shadow: var(--mrt-shadow) !important;
}

/* Classic typography accents on titles */
.mrt-page-title,
.mrt-store-name-lg {
  font-family: var(--mrt-classic-serif);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Price classic weight */
.mrt-price {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Cats strip glass */
.mrt-cats {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
  border-radius: 0 0 16px 16px;
}

/* Drawer / accordion glass */
.mrt-drawer-head {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.95)) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
}

/* Subtle classic double-line under section titles in panel */
.mrt-panel-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--mrt-primary), transparent);
  border-radius: 2px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .mrt-card,
  .mrt-btn {
    transition: none !important;
  }
  .mrt-card:hover {
    transform: none;
  }
}

/* Fallback when backdrop-filter unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mrt-card,
  .mrt-auth-box,
  .mrt-modal-sheet,
  .mrt-panel-section,
  .mrt-topbar,
  .mrt-order-card,
  .mrt-admin-item {
    background: #ffffff !important;
  }
  .mrt-cart-bar,
  .mrt-panel-head {
    background: #0f172a !important;
  }
}


/* Login hero — configurable brightness + bold title */
.mrt-login-hero {
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
}
.mrt-login-hero::before,
.mrt-login-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, calc(var(--mrt-hero-overlay, 35) / 100)) 100%
  ) !important;
}
.mrt-login-hero-title {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  text-align: center !important;
  color: #fff !important;
  margin: 0 0 18px !important;
  padding: 0 16px !important;
  font-size: var(--mrt-hero-title-size, 28px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.35) !important;
}


/* Customer fingerprint box */
.mrt-cust-fp-box {
  margin: 16px 0;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(15,23,42,0.04), rgba(59,130,246,0.06));
  border: 1px solid rgba(148,163,184,0.35);
}
.mrt-cust-fp-box .mrt-settings-sub {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}
.mrt-cust-fp-go {
  border-radius: 12px !important;
  font-weight: 800 !important;
  padding: 12px !important;
}


/* Customer FP button always usable */
#mrt-cust-fp-go,
.mrt-cust-fp-go {
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  background: #0f172a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin-top: 8px !important;
}
#mrt-cust-fp-go:disabled {
  opacity: 0.85 !important;
  pointer-events: auto !important;
  cursor: wait !important;
}




/* Customer forgot password — pink button at form end */
.mrt-cust-forgot-btn-wrap {
  padding: 4px 16px 16px !important;
  width: 100%;
  box-sizing: border-box;
}
.mrt-cust-forgot-btn,
#mrt-cust-forgot-toggle.mrt-cust-forgot-btn,
#mrt-cust-forgot-toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 13px 16px !important;
  border: none !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 55%, #be185d 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 6px 16px rgba(219, 39, 119, 0.35) !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.mrt-cust-forgot-btn:hover,
#mrt-cust-forgot-toggle:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(219, 39, 119, 0.45) !important;
}
.mrt-cust-forgot-btn:active,
#mrt-cust-forgot-toggle:active {
  transform: scale(0.98);
}
.mrt-cust-forgot-link {
  display: none !important; /* old underline style unused */
}
.mrt-cust-forgot.is-open,
#mrt-cust-forgot.is-open {
  display: block !important;
}


/* Customer forgot password — pink button at form end */
.mrt-cust-forgot-btn-wrap {
  padding: 4px 16px 16px !important;
  width: 100%;
  box-sizing: border-box;
}
.mrt-cust-forgot-btn,
#mrt-cust-forgot-toggle.mrt-cust-forgot-btn,
#mrt-cust-forgot-toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 13px 16px !important;
  border: none !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 55%, #be185d 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 6px 16px rgba(219, 39, 119, 0.35) !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.mrt-cust-forgot-btn:hover,
#mrt-cust-forgot-toggle:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(219, 39, 119, 0.45) !important;
}
.mrt-cust-forgot-btn:active,
#mrt-cust-forgot-toggle:active {
  transform: scale(0.98);
}
.mrt-cust-forgot-link {
  display: none !important; /* old underline style unused */
}
.mrt-cust-forgot.is-open,
#mrt-cust-forgot.is-open {
  display: block !important;
}


/* Customer login: forgot + fingerprint side by side under ورود */
.mrt-cust-actions-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 8px 16px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  direction: rtl !important;
}
.mrt-cust-actions-row .mrt-cust-forgot-btn,
.mrt-cust-actions-row #mrt-cust-forgot-toggle {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 8px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.mrt-cust-actions-row .mrt-cust-fp-go,
.mrt-cust-actions-row #mrt-cust-fp-go {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 8px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #0f172a !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}
.mrt-cust-fp-login-wrap,
.mrt-cust-forgot-btn-wrap {
  display: none !important;
}


/* Seller settings accordion */
.mrt-acc-item {
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.35);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(248,250,252,.88));
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.mrt-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: none;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: right;
}
.mrt-acc-toggle.is-open {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}
.mrt-acc-chevron {
  transition: transform .2s ease;
  font-size: 12px;
}
.mrt-acc-toggle.is-open .mrt-acc-chevron {
  transform: rotate(180deg);
}
.mrt-acc-body {
  padding: 14px 14px 16px;
}
.mrt-acc-body[hidden] {
  display: none !important;
}
.mrt-share-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}
.mrt-share-prefix-pill {
  background: #0f172a;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
#mrt-share-code-input {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
}
.mrt-share-codes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mrt-share-code-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: 12px;
  background: rgba(15,23,42,.04);
  border: 1px solid #e2e8f0;
}
.mrt-share-full {
  font-weight: 800;
  font-size: 13px;
  direction: ltr;
  text-align: left;
}


/* Card number blue */
#mrt-c2c-num,
.mrt-c2c-info strong#mrt-c2c-num,
.mrt-c2c-info #mrt-c2c-num {
  color: #2563eb !important;
  font-weight: 900 !important;
  font-size: 1.05em !important;
  letter-spacing: 0.04em;
  direction: ltr;
  display: inline-block;
}

/* دسته/سلکت — متن انتخاب‌شده همیشه خوانا */
.mrt-form select,
.mrt-panel-section select,
.mrt-modal-sheet select,
select[name="category_id"] {
  color: #0f172a !important;
  background: #fff !important;
  -webkit-text-fill-color: #0f172a !important;
}
.mrt-form select option,
.mrt-panel-section select option,
select[name="category_id"] option {
  color: #0f172a !important;
  background: #fff !important;
}
.mrt-prod-meta {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.mrt-prod-cat {
  color: #047857;
  font-weight: 800;
  margin-right: 4px;
}
.mrt-store-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-weight: 800;
  font-size: 14px;
}
.mrt-store-rating .mrt-star-num {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}
.mrt-star-pick {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 4px;
  margin: 8px 0 12px;
}
.mrt-star-pick input { display: none; }
.mrt-star-pick label {
  font-size: 28px;
  cursor: pointer;
  color: #cbd5e1;
  transition: color .15s, transform .12s;
  line-height: 1;
}
.mrt-star-pick label:hover,
.mrt-star-pick label:hover ~ label,
.mrt-star-pick input:checked ~ label {
  color: #f59e0b;
  transform: scale(1.08);
}

/* لینک زیر بنر + شماره تماس — شیشه‌ای مدرن با سایه دودی */
.mrt-info-inline .mrt-phone-link,
.mrt-info-inline .mrt-phone-prominent,
.mrt-btn-banner-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  backdrop-filter: blur(14px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, filter .15s !important;
  -webkit-tap-highlight-color: transparent;
}
.mrt-info-inline .mrt-phone-link,
.mrt-info-inline .mrt-phone-prominent {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #0f172a !important;
}
.mrt-btn-banner-link {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.88), rgba(2, 132, 199, 0.92)) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.mrt-info-inline .mrt-phone-link:hover,
.mrt-info-inline .mrt-phone-prominent:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.18),
    0 4px 10px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  color: #0f172a !important;
}
.mrt-btn-banner-link:hover {
  filter: brightness(1.06);
  color: #fff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 12px 28px rgba(2, 132, 199, 0.35),
    0 4px 10px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}
.mrt-btn-banner-link:active,
.mrt-btn-banner-link.is-clicked,
.mrt-info-inline .mrt-phone-link:active,
.mrt-info-inline .mrt-phone-prominent:active {
  animation: mrt-banner-jelly .45s ease;
}
@media (max-width: 480px) {
  .mrt-info-inline .mrt-phone-link,
  .mrt-info-inline .mrt-phone-prominent,
  .mrt-info-inline .mrt-btn-banner-link {
    font-size: 12px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }
}
@keyframes mrt-banner-jelly {
  0% { transform: scale(1); }
  30% { transform: scale(0.9); }
  50% { transform: scale(1.06); }
  70% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

/* لوگوی پیش‌فرض فروشگاه */
.mrt-logo.mrt-logo-sm {
  background: #fff;
  object-fit: cover;
}

/* فیلدهای پنل فروشنده — پس‌زمینه سفید خالی‌نما */
.mrt-panel .mrt-form input[type="text"],
.mrt-panel .mrt-form input[type="tel"],
.mrt-panel .mrt-form input[type="url"],
.mrt-panel .mrt-form input[type="email"],
.mrt-panel .mrt-form input[type="password"],
.mrt-panel .mrt-form input[type="number"],
.mrt-panel .mrt-form textarea,
.mrt-panel .mrt-form select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: none !important;
}
.mrt-panel .mrt-form input::placeholder,
.mrt-panel .mrt-form textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

/* رنگ دسته‌ها از تنظیمات مدیر */
.mrt-cats .mrt-cat {
  background: var(--mrt-cat-bg, #0d9488) !important;
  color: var(--mrt-cat-color, #fff) !important;
  border-color: transparent !important;
}
.mrt-cats .mrt-cat.is-active {
  background: var(--mrt-cat-active-bg, #0f766e) !important;
  color: var(--mrt-cat-active-color, #fff) !important;
}
.mrt-cats .mrt-cat .mrt-cat-label {
  color: inherit !important;
}
.mrt-cats .mrt-cat-photo {
  background: rgba(255,255,255,.95) !important;
}
.mrt-cats .mrt-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* ========== صفحه عمومی — شیشه‌ای مدرن (نوک‌مدادی، سایه دودی) ========== */
.mrt-app:not(.mrt-panel) {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.08), transparent 50%),
    radial-gradient(900px 500px at 100% 0%, rgba(13, 148, 136, 0.07), transparent 45%),
    linear-gradient(180deg, #eef2f7 0%, #e8eef5 100%) !important;
}

.mrt-app:not(.mrt-panel) .mrt-topbar {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(18px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
}

.mrt-app:not(.mrt-panel) .mrt-topbar .mrt-btn,
.mrt-app:not(.mrt-panel) .mrt-topbar a.mrt-btn {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s !important;
}
.mrt-app:not(.mrt-panel) .mrt-topbar .mrt-btn:hover,
.mrt-app:not(.mrt-panel) .mrt-topbar a.mrt-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16) !important;
}

.mrt-app:not(.mrt-panel) .mrt-cover {
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.mrt-app:not(.mrt-panel) .mrt-logo,
.mrt-app:not(.mrt-panel) .mrt-logo-sm {
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  border: 3px solid rgba(255, 255, 255, 0.85) !important;
}

.mrt-app:not(.mrt-panel) .mrt-card,
.mrt-app:not(.mrt-panel) .mrt-product-row {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 18px !important;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s !important;
}
.mrt-app:not(.mrt-panel) .mrt-card:hover,
.mrt-app:not(.mrt-panel) .mrt-product-row:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.14),
    0 4px 10px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.mrt-app:not(.mrt-panel) .mrt-cats .mrt-cat {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s !important;
}
.mrt-app:not(.mrt-panel) .mrt-cats .mrt-cat:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16) !important;
}

.mrt-app:not(.mrt-panel) .mrt-search,
.mrt-app:not(.mrt-panel) input.mrt-search-input,
.mrt-app:not(.mrt-panel) .mrt-search-wrap {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  border-radius: 14px !important;
}

.mrt-app:not(.mrt-panel) .mrt-fab-cart {
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.2),
    0 4px 10px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1) !important;
}
.mrt-app:not(.mrt-panel) .mrt-fab-cart:hover {
  transform: translateY(-3px) scale(1.05) !important;
}

.mrt-app:not(.mrt-panel) .mrt-drawer {
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.35) !important;
}

.mrt-app:not(.mrt-panel) .mrt-acc-panel .mrt-link-row,
.mrt-app:not(.mrt-panel) .mrt-contact-highlight {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
  border-radius: 14px !important;
  transition: transform .2s ease, background .2s !important;
}
.mrt-app:not(.mrt-panel) .mrt-acc-panel .mrt-link-row:hover,
.mrt-app:not(.mrt-panel) .mrt-contact-highlight:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.mrt-app:not(.mrt-panel) .mrt-btn-outline,
.mrt-app:not(.mrt-panel) .mrt-btn-sm {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s !important;
}
.mrt-app:not(.mrt-panel) .mrt-card .mrt-btn:hover,
.mrt-app:not(.mrt-panel) .mrt-product-row .mrt-btn:hover {
  transform: translateY(-2px) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mrt-app:not(.mrt-panel) .mrt-card,
  .mrt-app:not(.mrt-panel) .mrt-product-row,
  .mrt-app:not(.mrt-panel) .mrt-topbar {
    background: #ffffff !important;
  }
}
