@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800;900&display=swap');

/* ─── CSS Variables (scoped to account page only) ──────────────────────── */
body.shuk-baldi-ma-page {
  --g1:#2A5414;--g2:#3D7A1F;--g3:#8BC34A;--g4:#C5E384;--g5:#F0F9E8;
  --cream:#F5F1E8;--cream2:#EBE5D8;--gold:#F5C842;
  --text:#2C3A1A;--muted:#7A8A6A;--red:#E53935;
  --radius:14px;--radius-sm:9px;
  --shadow:0 2px 14px rgba(44,58,26,.08);
  --shadow-lg:0 8px 36px rgba(44,58,26,.14);
  --font:'Assistant',sans-serif;
}

/* ── OTP Popup vars (global — needed on all pages) ─────────────────────── */
:root {
  --noy-g1:#2A5414;--noy-g2:#3D7A1F;--noy-g3:#8BC34A;--noy-g4:#C5E384;--noy-g5:#F0F9E8;
  --noy-cream:#F5F1E8;--noy-cream2:#EBE5D8;--noy-gold:#F5C842;
  --noy-text:#2C3A1A;--noy-muted:#7A8A6A;--noy-red:#E53935;
  --noy-radius:14px;--noy-radius-sm:9px;
  --noy-shadow:0 2px 14px rgba(44,58,26,.08);
  --noy-shadow-lg:0 8px 36px rgba(44,58,26,.14);
  --noy-font:'Assistant',sans-serif;
}

/* ════════════════════════════════════════════════════════════════════════════
   SECTION A — ACCOUNT PAGE ONLY
   ALL rules below are scoped to body.shuk-baldi-ma-page
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Page background & font ─────────────────────────────────────────────── */
body.shuk-baldi-ma-page {
  background: #EDEAE0 !important;
  font-family: var(--font) !important;
}

/* ── Reset WoodMart layout containers ───────────────────────────────────── */
body.shuk-baldi-ma-page .site-content,
body.shuk-baldi-ma-page #content,
body.shuk-baldi-ma-page .wd-page-content,
body.shuk-baldi-ma-page .woodmart-content-block,
body.shuk-baldi-ma-page main.site-main,
body.shuk-baldi-ma-page #primary {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  background: transparent !important;
}

/* ── WC outer wrapper → flex row ────────────────────────────────────────── */
body.shuk-baldi-ma-page .woocommerce {
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 28px 20px !important;
  direction: rtl !important;
  font-family: var(--font) !important;
  flex-wrap: nowrap !important;
}

body.shuk-baldi-ma-page .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex-shrink: 0 !important;
  order: 2 !important;
}

body.shuk-baldi-ma-page .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex: 1 !important;
  min-width: 0 !important;
  order: 1 !important;
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
body.shuk-baldi-ma-page .noy-ma-side {
  width: 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  animation: noy-slide-in-right .45s cubic-bezier(.22,1,.36,1) both;
}

@keyframes noy-slide-in-right {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

body.shuk-baldi-ma-page .noy-ma-user {
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 18px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--cream2);
}
body.shuk-baldi-ma-page .noy-ma-ava {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--g5);
  border: 2.5px solid var(--g4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
}
body.shuk-baldi-ma-page .noy-ma-ava:hover { transform: scale(1.1) rotate(-6deg); }
body.shuk-baldi-ma-page .noy-ma-ava svg  { width: 44px; height: 44px; display: block; flex-shrink: 0; }
body.shuk-baldi-ma-page .noy-ma-uname     { font-size: 14px; font-weight: 800; color: var(--g1); margin-bottom: 3px; }
body.shuk-baldi-ma-page a.noy-ma-logout  { font-size: 11px; color: var(--muted); text-decoration: none; transition: color .2s; }
body.shuk-baldi-ma-page a.noy-ma-logout:hover { color: var(--red); }

body.shuk-baldi-ma-page .noy-mas-nav { background: #fff; padding: 6px 0; border-radius: 0 0 var(--radius) var(--radius); display: flex !important; flex-direction: column !important; }

body.shuk-baldi-ma-page a.noy-ma-link {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 20px;
  color: var(--text) !important;
  font-size: 14px; font-weight: 600;
  text-decoration: none !important;
  position: relative;
  transition: background .18s, color .18s, padding-right .18s;
}
body.shuk-baldi-ma-page a.noy-ma-link:hover {
  background: var(--g5);
  color: var(--g2) !important;
  padding-right: 24px;
}
body.shuk-baldi-ma-page a.noy-ma-link.is-active {
  background: linear-gradient(90deg,#EBF7D8,transparent);
  color: var(--g1) !important;
  font-weight: 800;
}
body.shuk-baldi-ma-page .noy-mas-icon      { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
body.shuk-baldi-ma-page .noy-ma-dot {
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 4px; background: var(--g2); border-radius: 2px 0 0 2px;
  animation: noy-grow-y .3s ease;
}
@keyframes noy-grow-y { from{scaleY(0);opacity:0} to{scaleY(1);opacity:1} }

body.shuk-baldi-ma-page a.noy-ma-logout { color: #C0392B !important; border-top: 1px solid var(--cream2); margin-top: 4px; }
body.shuk-baldi-ma-page a.noy-ma-logout:hover { background: #FFF5F5 !important; }

/* Sidebar loyalty card — rounded card style */
body.shuk-baldi-ma-page .noy-ma-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,58,26,.18);
  margin: 12px;
}
body.shuk-baldi-ma-page .noy-ma-card-body {
  background: linear-gradient(145deg,#0D2406 0%,#1A4A08 35%,#2D6A10 65%,#1E5008 100%);
  padding: 22px 20px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
body.shuk-baldi-ma-page .noy-ma-card-body::before {
  content:''; position:absolute; top:-40px; right:-40px;
  width:140px; height:140px;
  background:radial-gradient(circle,rgba(197,227,132,.12),transparent 70%);
}
body.shuk-baldi-ma-page .noy-ma-card-stamp    { font-family:Georgia,serif; font-size:20px; font-weight:900; color:var(--gold); letter-spacing:2px; margin-bottom:10px; }
body.shuk-baldi-ma-page .noy-ma-card-ava {
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.1); border:2px solid rgba(255,255,255,.2);
  overflow:hidden; display:flex; align-items:center; justify-content:center; margin-bottom:8px;
}
body.shuk-baldi-ma-page .noy-ma-card-ava svg { width:34px; height:34px; display:block; }
body.shuk-baldi-ma-page .noy-ma-card-name { font-size:13px; font-weight:700; margin-bottom:4px; }
body.shuk-baldi-ma-page .noy-ma-card-pts  { font-size:22px; font-weight:900; color:var(--gold); margin-bottom:10px; }
body.shuk-baldi-ma-page .noy-ma-card-pts span { font-size:12px; font-weight:400; opacity:.7; }
body.shuk-baldi-ma-page .noy-ma-card-bar  { height:4px; background:rgba(255,255,255,.15); border-radius:2px; margin-bottom:5px; overflow:hidden; }
body.shuk-baldi-ma-page .noy-ma-card-fill { height:100%; background:linear-gradient(90deg,var(--gold),#FFE084); border-radius:2px; transition:width 1.4s cubic-bezier(.4,0,.2,1); }
body.shuk-baldi-ma-page .noy-ma-card-hint { font-size:10px; opacity:.55; margin-bottom:10px; }
body.shuk-baldi-ma-page .noy-ma-card-logo { font-size:11px; font-weight:700; opacity:.4; }
body.shuk-baldi-ma-page a.noy-ma-card-cta {
  display:block; text-align:center;
  background:var(--cream); color:var(--g2) !important;
  padding:10px; font-size:13px; font-weight:700;
  text-decoration:none !important; transition:background .2s;
  border-radius:0 0 16px 16px;
}
body.shuk-baldi-ma-page a.noy-ma-card-cta:hover { background:var(--cream2); }


/* ── MAIN CONTENT ─────────────────────────────────────────────────────────── */
body.shuk-baldi-ma-page .noy-ma-content {
  font-family: var(--font);
  animation: noy-fade-up .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes noy-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.shuk-baldi-ma-page .noy-page-h2 { font-size: 20px; font-weight: 900; color: var(--g1); margin: 0 0 20px; }

/* ── DASHBOARD ────────────────────────────────────────────────────────────── */
body.shuk-baldi-ma-page .noy-db { display: flex; flex-direction: column; gap: 18px; }

body.shuk-baldi-ma-page .noy-db-hero {
  background: linear-gradient(135deg,var(--g1),var(--g2));
  border-radius: var(--radius); padding: 24px 28px;
  color: #fff; display: flex; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
  animation: noy-hero-in .55s cubic-bezier(.22,1,.36,1) both;
}
@keyframes noy-hero-in {
  from { opacity: 0; transform: translateY(-12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
body.shuk-baldi-ma-page .noy-db-hero::after {
  content:'🌿'; position:absolute; bottom:-8px; left:14px;
  font-size:52px; opacity:.06; pointer-events:none;
  animation: noy-float 4s ease-in-out infinite;
}
body.shuk-baldi-ma-page .noy-db-hero-ava {
  width:64px; height:64px; border-radius:50%;
  background:rgba(255,255,255,.15); border:3px solid rgba(255,255,255,.25);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
body.shuk-baldi-ma-page .noy-db-hero-ava:hover { transform: scale(1.1) rotate(-5deg); }
body.shuk-baldi-ma-page .noy-db-hero-ava svg { width:55px; height:55px; display:block; }
body.shuk-baldi-ma-page .noy-db-hero-txt h2 { font-size:20px; font-weight:900; margin:0 0 3px; }
body.shuk-baldi-ma-page .noy-db-hero-txt p  { font-size:13px; opacity:.8; margin:0 0 9px; }

body.shuk-baldi-ma-page .noy-badge {
  display:inline-block; padding:3px 12px; border-radius:20px;
  font-size:12px; font-weight:700; background:rgba(255,255,255,.18);
}
body.shuk-baldi-ma-page .noy-badge-gold   { background:rgba(245,200,66,.3); }
body.shuk-baldi-ma-page .noy-badge-silver { background:rgba(200,210,220,.3); }

/* Stats */
body.shuk-baldi-ma-page .noy-db-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
body.shuk-baldi-ma-page .noy-db-stat {
  background:#fff; border-radius:var(--radius); padding:20px 14px;
  text-align:center; box-shadow:var(--shadow);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  opacity:0; animation: noy-stat-pop .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
body.shuk-baldi-ma-page .noy-db-stat:nth-child(1) { animation-delay:.1s; }
body.shuk-baldi-ma-page .noy-db-stat:nth-child(2) { animation-delay:.18s; }
body.shuk-baldi-ma-page .noy-db-stat:nth-child(3) { animation-delay:.26s; }
@keyframes noy-stat-pop {
  from { opacity:0; transform:translateY(14px) scale(.95); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
body.shuk-baldi-ma-page .noy-db-stat:hover { transform:translateY(-4px) scale(1.02); box-shadow:var(--shadow-lg); }
body.shuk-baldi-ma-page .noy-dbs-ico { width:44px;height:44px;border-radius:10px;background:var(--g5);display:flex;align-items:center;justify-content:center;margin:0 auto 10px; } body.shuk-baldi-ma-page .noy-dbs-ico svg { stroke:var(--g2); }
body.shuk-baldi-ma-page .noy-dbs-n   { font-size:22px; font-weight:900; color:var(--g1); }
body.shuk-baldi-ma-page .noy-dbs-l   { font-size:11px; color:var(--muted); font-weight:600; margin-top:3px; }

/* Orders block */
body.shuk-baldi-ma-page .noy-db-block {
  background:#fff; border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden;
  animation: noy-fade-up .5s cubic-bezier(.22,1,.36,1) .2s both;
}
body.shuk-baldi-ma-page .noy-db-bh {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 22px 13px; border-bottom:1px solid var(--cream2);
}
body.shuk-baldi-ma-page .noy-db-bt { font-size:16px; font-weight:800; color:var(--g1); }
body.shuk-baldi-ma-page a.noy-db-ba { font-size:13px; color:var(--g2); text-decoration:none; font-weight:700; transition:color .2s; }
body.shuk-baldi-ma-page a.noy-db-ba:hover { color:var(--g1); }

body.shuk-baldi-ma-page .noy-or {
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 22px; gap:10px;
  border-bottom:1px solid var(--cream);
  transition:background .18s, transform .18s; flex-wrap:wrap;
}
body.shuk-baldi-ma-page .noy-or:last-child { border:none; }
body.shuk-baldi-ma-page .noy-or:hover { background:#FAFAF6; transform:translateX(-3px); }
body.shuk-baldi-ma-page .noy-or-info  { display:flex; align-items:center; gap:14px; flex-wrap:wrap; flex:1; }
body.shuk-baldi-ma-page .noy-or-n     { font-weight:800; font-size:14px; color:var(--g1); }
body.shuk-baldi-ma-page .noy-or-d     { font-size:12px; color:var(--muted); }
body.shuk-baldi-ma-page .noy-or-t     { font-size:14px; font-weight:700; color:var(--text); }
body.shuk-baldi-ma-page .noy-or-btns  { display:flex; gap:8px; flex-shrink:0; }

body.shuk-baldi-ma-page .noy-st { padding:3px 11px; border-radius:20px; font-size:11px; font-weight:700; }
body.shuk-baldi-ma-page .noy-st-completed  { background:#E8F5E9; color:#2E7D32; }
body.shuk-baldi-ma-page .noy-st-processing { background:#E3F2FD; color:#1565C0; }
body.shuk-baldi-ma-page .noy-st-on-hold    { background:#FFF8E1; color:#F57F17; }
body.shuk-baldi-ma-page .noy-st-pending    { background:#F3E5F5; color:#6A1B9A; }
body.shuk-baldi-ma-page .noy-st-cancelled  { background:#FFEBEE; color:#C62828; }

/* Shortcuts */
body.shuk-baldi-ma-page .noy-shortcuts {
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
  animation: noy-fade-up .5s cubic-bezier(.22,1,.36,1) .3s both;
}
/* Shortcut cards — identical style for all, including "coming soon" */
body.shuk-baldi-ma-page .noy-sc {
  background:#fff; border-radius:var(--radius); padding:22px 10px 18px;
  text-align:center; text-decoration:none !important;
  color:var(--text) !important; box-shadow:var(--shadow);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  position:relative; cursor:pointer;
  transition:background .22s, color .22s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  border: 2px solid transparent;
}
body.shuk-baldi-ma-page a.noy-sc:hover {
  background:var(--g2); color:#fff !important;
  transform:translateY(-5px); box-shadow:var(--shadow-lg);
  border-color:var(--g3);
}
body.shuk-baldi-ma-page a.noy-sc:hover svg { stroke:#fff; }

/* Icon wrapper */
body.shuk-baldi-ma-page .noy-sc-icon {
  width:48px; height:48px;
  border-radius:12px;
  background:var(--g5);
  display:flex; align-items:center; justify-content:center;
  transition:background .22s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
body.shuk-baldi-ma-page .noy-sc-icon svg { stroke:var(--g2); transition:stroke .22s; }
body.shuk-baldi-ma-page a.noy-sc:hover .noy-sc-icon { background:rgba(255,255,255,.2); transform:scale(1.1) rotate(-5deg); }
body.shuk-baldi-ma-page a.noy-sc:hover .noy-sc-icon svg { stroke:#fff; }

body.shuk-baldi-ma-page .noy-sc-label { font-size:12px; font-weight:700; }

/* Coming-soon card — same look, disabled */
body.shuk-baldi-ma-page .noy-sc--soon {
  cursor:default;
  border: 2px dashed var(--cream2);
}
body.shuk-baldi-ma-page .noy-sc--soon:hover {
  background:#fff !important; color:var(--text) !important;
  transform:none !important; box-shadow:var(--shadow) !important;
  border-color:var(--cream2) !important;
}
body.shuk-baldi-ma-page .noy-sc--soon:hover svg { stroke:var(--g2); }
body.shuk-baldi-ma-page .noy-sc--soon:hover .noy-sc-icon { background:var(--g5) !important; transform:none !important; }
body.shuk-baldi-ma-page .noy-sc--soon:hover .noy-sc-icon svg { stroke:var(--g2) !important; }
body.shuk-baldi-ma-page .noy-sc--soon .noy-sc-icon { background:var(--cream); }
body.shuk-baldi-ma-page .noy-sc--soon .noy-sc-icon svg { stroke:var(--muted); }

/* "בקרוב" badge */
body.shuk-baldi-ma-page .noy-sc-badge {
  font-size:10px; font-weight:700;
  background:var(--g4); color:var(--g1);
  padding:2px 10px; border-radius:20px;
  letter-spacing:.5px;
}

/* Stats — "בקרוב" pill */
body.shuk-baldi-ma-page .noy-pts-soon {
  font-size:13px !important;
  color:var(--muted) !important;
  font-weight:600 !important;
}

/* Empty state */
body.shuk-baldi-ma-page .noy-empty-state { padding:40px 20px; text-align:center; animation: noy-fade-up .5s ease .1s both; }
body.shuk-baldi-ma-page .noy-es-ico      { font-size:52px; margin-bottom:12px; animation:noy-float 3s ease-in-out infinite; }
body.shuk-baldi-ma-page .noy-empty-state h3 { font-size:18px; font-weight:800; color:var(--g1); margin:0 0 7px; }
body.shuk-baldi-ma-page .noy-empty-state p  { color:var(--muted); margin:0 0 18px; }

/* Buttons */
body.shuk-baldi-ma-page .noy-btn-g {
  display:inline-flex; align-items:center; gap:5px;
  background:var(--g2); color:#fff !important;
  padding:9px 18px; border-radius:var(--radius-sm);
  font-size:13px; font-weight:700; font-family:var(--font);
  border:none; cursor:pointer; text-decoration:none !important;
  transition:background .18s, transform .2s cubic-bezier(.34,1.56,.64,1);
}
body.shuk-baldi-ma-page .noy-btn-g:hover { background:var(--g1); transform:translateY(-2px); }
body.shuk-baldi-ma-page .noy-btn-o {
  display:inline-flex; align-items:center;
  background:var(--cream); color:var(--text) !important;
  padding:8px 16px; border-radius:var(--radius-sm);
  font-size:13px; font-weight:700; font-family:var(--font);
  border:1px solid var(--cream2); cursor:pointer;
  text-decoration:none !important; transition:background .18s;
}
body.shuk-baldi-ma-page .noy-btn-o:hover { background:var(--cream2); }

/* Orders page */
body.shuk-baldi-ma-page .noy-orders-page  { font-family:var(--font); }
body.shuk-baldi-ma-page .noy-op-header    { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:8px; }
body.shuk-baldi-ma-page .noy-op-header h2 { font-size:20px; font-weight:900; color:var(--g1); margin:0; }
body.shuk-baldi-ma-page .noy-op-count     { font-size:12px; color:var(--muted); background:#fff; padding:4px 12px; border-radius:20px; font-weight:600; }
body.shuk-baldi-ma-page .noy-orders-list  { display:flex; flex-direction:column; gap:12px; }
body.shuk-baldi-ma-page .noy-order-card {
  background:#fff; border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  animation: noy-fade-up .5s ease both;
}
body.shuk-baldi-ma-page .noy-order-card:nth-child(1) { animation-delay:.05s; }
body.shuk-baldi-ma-page .noy-order-card:nth-child(2) { animation-delay:.12s; }
body.shuk-baldi-ma-page .noy-order-card:nth-child(3) { animation-delay:.19s; }
body.shuk-baldi-ma-page .noy-order-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
body.shuk-baldi-ma-page .noy-oc-head   { display:flex; align-items:center; gap:14px; padding:14px 20px; background:var(--g5); border-bottom:1px solid var(--g4); flex-wrap:wrap; }
body.shuk-baldi-ma-page .noy-oc-num    { font-weight:800; font-size:14px; color:var(--g1); }
body.shuk-baldi-ma-page .noy-oc-date   { font-size:12px; color:var(--muted); }
body.shuk-baldi-ma-page .noy-oc-total  { font-size:16px; font-weight:900; color:var(--g1); margin-right:auto; }
body.shuk-baldi-ma-page .noy-oc-body   { padding:12px 20px; font-size:13px; color:var(--muted); }
body.shuk-baldi-ma-page .noy-oc-actions { padding:10px 20px; display:flex; gap:8px; border-top:1px solid var(--cream); background:#FAFAF7; }
body.shuk-baldi-ma-page .noy-pagination  { display:flex; gap:6px; justify-content:center; padding-top:20px; }
body.shuk-baldi-ma-page a.noy-pg-btn {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; text-decoration:none;
  color:var(--text); background:#fff; border:1px solid var(--cream2);
  transition:all .22s cubic-bezier(.34,1.56,.64,1);
}
body.shuk-baldi-ma-page a.noy-pg-btn.active,
body.shuk-baldi-ma-page a.noy-pg-btn:hover { background:var(--g2); color:#fff; border-color:var(--g2); transform:scale(1.1); }

/* Edit account */
body.shuk-baldi-ma-page .noy-edit-wrap  { display:flex; flex-direction:column; gap:18px; }
body.shuk-baldi-ma-page .noy-edit-card  {
  background:#fff; border-radius:var(--radius); padding:22px 26px;
  box-shadow:var(--shadow); animation:noy-fade-up .4s ease both;
}
body.shuk-baldi-ma-page .noy-edit-title {
  font-size:15px; font-weight:800; color:var(--g1);
  padding-bottom:12px; margin-bottom:16px; border-bottom:1px solid var(--cream2);
}
body.shuk-baldi-ma-page .noy-edit-title small { font-size:11px; font-weight:400; color:var(--muted); }
body.shuk-baldi-ma-page .noy-grid-2    { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
body.shuk-baldi-ma-page .noy-fgroup    { display:flex; flex-direction:column; gap:6px; }
body.shuk-baldi-ma-page .noy-fgroup label { font-size:12px; font-weight:700; color:var(--text); }
body.shuk-baldi-ma-page .noy-fgroup input {
  border:2px solid var(--cream2); border-radius:var(--radius-sm);
  padding:11px 13px; font-size:14px; font-family:var(--font);
  background:#FAFAF6; color:var(--text); outline:none;
  transition:border-color .2s, background .2s, box-shadow .2s;
  width:100%; box-sizing:border-box;
}
body.shuk-baldi-ma-page .noy-fgroup input:focus {
  border-color:var(--g3); background:var(--g5);
  box-shadow:0 0 0 3px rgba(139,195,74,.15);
}
body.shuk-baldi-ma-page .noy-alert-ok  { background:#E8F5E9;border:1px solid #A5D6A7;color:#2E7D32;padding:12px 16px;border-radius:10px;font-weight:700;margin-bottom:14px;font-family:var(--font); animation:noy-fade-up .3s ease; }
body.shuk-baldi-ma-page .noy-alert-err { background:#FFEBEE;border:1px solid #FFCDD2;color:#C62828;padding:12px 16px;border-radius:10px;font-weight:700;margin-bottom:12px;font-family:var(--font); animation:noy-fade-up .3s ease; }
body.shuk-baldi-ma-page .noy-ava-picker { display:flex; gap:12px; flex-wrap:wrap; }
body.shuk-baldi-ma-page .noy-ava-opt {
  width:60px; height:60px; border-radius:50%;
  background:var(--cream); border:3px solid transparent;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  overflow:hidden; transition:all .3s cubic-bezier(.34,1.56,.64,1); padding:0;
}
body.shuk-baldi-ma-page .noy-ava-opt:hover { transform:scale(1.12) rotate(-5deg); border-color:var(--g3); }
body.shuk-baldi-ma-page .noy-ava-opt.selected {
  border-color:var(--g2); background:var(--g5);
  box-shadow:0 0 0 3px rgba(139,195,74,.25);
  transform:scale(1.05);
}
body.shuk-baldi-ma-page .noy-ava-opt svg { width:50px; height:50px; }

/* Loyalty page */
body.shuk-baldi-ma-page .noy-loy-wrap  { display:flex; flex-direction:column; gap:22px; }
body.shuk-baldi-ma-page .noy-loy-bigcard {
  border-radius:var(--radius); overflow:hidden;
  box-shadow:0 14px 44px rgba(0,0,0,.16);
  animation: noy-hero-in .5s cubic-bezier(.22,1,.36,1) both;
}
body.shuk-baldi-ma-page .noy-loy-bigcard-body {
  background:linear-gradient(140deg,#0A1F05 0%,#1A4A08 35%,#2D6A10 65%,#1A3A07 100%);
  padding:32px 36px 24px; color:#fff; text-align:center;
  position:relative; overflow:hidden;
}
body.shuk-baldi-ma-page .noy-loy-bigcard-body::before { content:'';position:absolute;top:-70px;right:-70px;width:250px;height:250px;background:radial-gradient(circle,rgba(197,227,132,.12),transparent 70%); }
body.shuk-baldi-ma-page .noy-loy-bigcard-body::after  { content:'';position:absolute;bottom:-40px;left:-40px;width:200px;height:160px;background:radial-gradient(ellipse,rgba(245,200,66,.1),transparent 70%); }
body.shuk-baldi-ma-page .noy-lbc-stamp   { font-family:Georgia,serif;font-size:36px;font-weight:900;color:var(--gold);letter-spacing:3px;margin-bottom:14px;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-ava     { width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.1);border:3px solid rgba(255,255,255,.2);overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-ava svg { width:60px;height:60px;display:block; }
body.shuk-baldi-ma-page .noy-lbc-name    { font-size:18px;font-weight:900;margin-bottom:5px;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-level   { font-size:12px;opacity:.7;margin-bottom:14px;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-pts     { font-size:44px;font-weight:900;color:var(--gold);line-height:1;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-pts-lbl { font-size:13px;opacity:.65;margin-bottom:16px;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-bar     { height:7px;background:rgba(255,255,255,.15);border-radius:3px;margin:0 auto 7px;overflow:hidden;position:relative;z-index:1;width:85%; }
body.shuk-baldi-ma-page .noy-lbc-fill    { height:100%;background:linear-gradient(90deg,var(--gold),#FFE084);border-radius:3px;transition:width 1.6s cubic-bezier(.4,0,.2,1); }
body.shuk-baldi-ma-page .noy-lbc-hint    { font-size:11px;opacity:.6;position:relative;z-index:1; }
body.shuk-baldi-ma-page .noy-lbc-logo    { font-size:13px;font-weight:700;opacity:.4;margin-top:14px;position:relative;z-index:1; }
body.shuk-baldi-ma-page a.noy-loy-bigcard-cta { display:block;text-align:center;background:var(--cream);color:var(--g2)!important;padding:13px;font-size:13px;font-weight:700;text-decoration:none!important;transition:background .2s; }
body.shuk-baldi-ma-page a.noy-loy-bigcard-cta:hover { background:var(--cream2); }

body.shuk-baldi-ma-page .noy-loy-levels-title { font-size:17px;font-weight:800;color:var(--g1);margin-bottom:12px; }
body.shuk-baldi-ma-page .noy-loy-levels       { display:grid;grid-template-columns:repeat(4,1fr);gap:10px; }
body.shuk-baldi-ma-page .noy-loy-level {
  background:#fff;border-radius:var(--radius-sm);padding:16px 10px;
  text-align:center;box-shadow:var(--shadow);border:2px solid transparent;
  position:relative;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
  animation: noy-fade-up .4s ease both;
}
body.shuk-baldi-ma-page .noy-loy-level:nth-child(1) { animation-delay:.05s; }
body.shuk-baldi-ma-page .noy-loy-level:nth-child(2) { animation-delay:.12s; }
body.shuk-baldi-ma-page .noy-loy-level:nth-child(3) { animation-delay:.19s; }
body.shuk-baldi-ma-page .noy-loy-level:nth-child(4) { animation-delay:.26s; }
body.shuk-baldi-ma-page .noy-loy-level.is-current   { border-color:var(--g2);background:var(--g5);transform:translateY(-4px);box-shadow:var(--shadow-lg); }
body.shuk-baldi-ma-page .noy-loy-lv-ico { font-size:28px;margin-bottom:7px; }
body.shuk-baldi-ma-page .noy-loy-lv-nm  { font-size:14px;font-weight:800;color:var(--g1);margin-bottom:3px; }
body.shuk-baldi-ma-page .noy-loy-lv-min { font-size:10px;color:var(--muted);margin-bottom:7px; }
body.shuk-baldi-ma-page .noy-loy-lv-ben { font-size:11px;font-weight:600;color:var(--text); }
body.shuk-baldi-ma-page .noy-loy-lv-cur { position:absolute;top:-9px;right:50%;transform:translateX(50%);background:var(--g2);color:#fff;font-size:9px;font-weight:700;padding:2px 8px;border-radius:10px;white-space:nowrap; }

body.shuk-baldi-ma-page .noy-loy-log-title { font-size:17px;font-weight:800;color:var(--g1);margin-bottom:12px; }
body.shuk-baldi-ma-page .noy-loy-log       { background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow); }
body.shuk-baldi-ma-page .noy-loy-log-head,
body.shuk-baldi-ma-page .noy-loy-log-row   { display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr;padding:11px 18px;gap:10px; }
body.shuk-baldi-ma-page .noy-loy-log-head  { background:var(--g1);color:#fff;font-size:12px;font-weight:700; }
body.shuk-baldi-ma-page .noy-loy-log-row   { font-size:12px;border-bottom:1px solid var(--cream);transition:background .15s; }
body.shuk-baldi-ma-page .noy-loy-log-row:last-child { border:none; }
body.shuk-baldi-ma-page .noy-loy-log-row:hover      { background:var(--cream); }
body.shuk-baldi-ma-page .noy-pts-pos       { color:var(--g2);font-weight:700; }

/* WC address form override */
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields input,
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields select,
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields textarea {
  border:2px solid var(--cream2)!important;border-radius:var(--radius-sm)!important;
  padding:10px 13px!important;font-size:14px!important;
  background:#FAFAF6!important;font-family:var(--font)!important;outline:none!important;
  transition:border-color .2s!important;
}
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields input:focus,
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields select:focus { border-color:var(--g3)!important; }
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields .button,
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-address-fields button[type="submit"] {
  background:var(--g2)!important;color:#fff!important;border:none!important;
  border-radius:var(--radius-sm)!important;padding:12px 24px!important;font-weight:700!important;
  font-family:var(--font)!important;
}
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-message { background:var(--g5);border:1px solid var(--g4);color:var(--g1);border-radius:10px!important;padding:12px 16px!important;margin-bottom:16px;font-family:var(--font); }
body.shuk-baldi-ma-page .noy-ma-content .woocommerce-error   { background:#FFEBEE;border:1px solid #FFCDD2;color:#C62828;border-radius:10px!important;padding:12px 16px!important;margin-bottom:16px;font-family:var(--font); }

/* Coming soon card */
body.shuk-baldi-ma-page .noy-coming-soon-wrap { display:flex;align-items:center;justify-content:center;min-height:400px;padding:20px; }
body.shuk-baldi-ma-page .noy-cs-card { background:#fff;border-radius:20px;padding:48px 40px;text-align:center;max-width:480px;width:100%;box-shadow:0 4px 32px rgba(44,58,26,.1);animation:noy-hero-in .5s ease; }
body.shuk-baldi-ma-page .noy-cs-icon  { font-size:64px;margin-bottom:16px;animation:noy-float 3s ease-in-out infinite; }
body.shuk-baldi-ma-page .noy-cs-title { font-size:28px;font-weight:900;color:#2A5414;margin:0 0 6px; }
body.shuk-baldi-ma-page .noy-cs-sub   { font-size:16px;color:#8BC34A;font-weight:700;margin:0 0 24px;letter-spacing:1px; }
body.shuk-baldi-ma-page .noy-cs-divider { height:2px;background:linear-gradient(90deg,transparent,#C5E384,transparent);margin:0 0 24px;border-radius:2px; }
body.shuk-baldi-ma-page .noy-cs-desc  { font-size:15px;color:#7A8A6A;line-height:1.7;margin:0 0 28px; }
body.shuk-baldi-ma-page .noy-cs-features { display:flex;flex-direction:column;gap:12px; }
body.shuk-baldi-ma-page .noy-cs-feat { display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;background:#F0F9E8;color:#2A5414;font-size:14px;font-weight:600;text-align:right; }
body.shuk-baldi-ma-page .noy-cs-feat span:first-child { font-size:20px;flex-shrink:0; }
body.shuk-baldi-ma-page .noy-ma-card--soon { text-align:center; }

@media(max-width:900px){
  body.shuk-baldi-ma-page .woocommerce-MyAccount-navigation { width:100%!important; }
  body.shuk-baldi-ma-page .noy-ma-side { width:100%!important; }
  body.shuk-baldi-ma-page .noy-mas-nav { display:flex;overflow-x:auto;padding:8px 10px;gap:5px;scrollbar-width:none; }
  body.shuk-baldi-ma-page .noy-mas-nav::-webkit-scrollbar { display:none; }
  body.shuk-baldi-ma-page a.noy-ma-link { padding:8px 14px;border-radius:20px;border:1px solid var(--cream2);white-space:nowrap;flex-shrink:0;font-size:12px; }
  body.shuk-baldi-ma-page a.noy-ma-link:hover { padding-right:14px; }
  body.shuk-baldi-ma-page a.noy-ma-link.is-active { background:var(--g2);color:#fff!important; }
  body.shuk-baldi-ma-page .noy-ma-dot { display:none; }
  body.shuk-baldi-ma-page .noy-ma-card { display:none; }
  body.shuk-baldi-ma-page .noy-db-stats { gap:8px; }
  body.shuk-baldi-ma-page .noy-dbs-n { font-size:18px; }
  body.shuk-baldi-ma-page .noy-shortcuts { grid-template-columns:repeat(3,1fr); }
  body.shuk-baldi-ma-page .noy-loy-levels { grid-template-columns:repeat(2,1fr); }
  body.shuk-baldi-ma-page .noy-grid-2 { grid-template-columns:1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════
   SECTION B — GLOBAL (OTP Popup + Toast — appear on ALL pages)
   ════════════════════════════════════════════════════════════════════════════ */

@keyframes noy-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes noy-fade-up { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes noy-pop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
@keyframes noy-shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px)} 40%{transform:translateX(8px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)} }

/* OTP Popup */
.noy-otp-overlay {
  position:fixed; inset:0;
  background:rgba(30,40,20,.65); backdrop-filter:blur(6px);
  z-index:1000000; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .35s,visibility .35s;
  font-family:var(--noy-font);
}
.noy-otp-overlay.is-open { opacity:1; visibility:visible; }
.noy-otp-popup {
  background:#fff; border-radius:var(--noy-radius); padding:36px 32px;
  width:100%; max-width:420px; position:relative; direction:rtl;
  box-shadow:0 16px 60px rgba(0,0,0,.2);
  transform:translateY(30px) scale(.96);
  transition:transform .35s cubic-bezier(.34,1.56,.64,1); overflow:hidden;
}
.noy-otp-overlay.is-open .noy-otp-popup { transform:translateY(0) scale(1); }
.noy-otp-popup::before {
  content:''; position:absolute; top:-40px; left:-40px; width:130px; height:130px;
  background:radial-gradient(circle,rgba(197,227,132,.5),transparent 70%); pointer-events:none;
}
.noy-otp-close {
  position:absolute; top:14px; left:14px; background:var(--noy-cream); border:none;
  width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:13px;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s,transform .2s; color:var(--noy-muted);
}
.noy-otp-close:hover { background:var(--noy-cream2); transform:rotate(90deg); }
.noy-otp-logo         { text-align:center; margin-bottom:24px; }
.noy-otp-icon         { font-size:38px; display:block; margin-bottom:7px; animation:noy-float 3s ease-in-out infinite; }
.noy-otp-logo h2      { font-size:20px; font-weight:800; color:var(--noy-g1); margin:0 0 4px; }
.noy-otp-logo p       { font-size:13px; color:var(--noy-muted); margin:0; }
.noy-otp-field        { margin-bottom:16px; }
.noy-otp-field label  { display:block; font-size:13px; font-weight:700; color:var(--noy-text); margin-bottom:7px; }
.noy-phone-wrapper    { display:flex; align-items:center; gap:8px; border:2px solid var(--noy-cream2); border-radius:var(--noy-radius-sm); padding:0 13px; background:var(--noy-cream); transition:border-color .2s; }
.noy-phone-wrapper:focus-within { border-color:var(--noy-g3); }
.noy-phone-flag       { font-size:18px; flex-shrink:0; }
.noy-phone-wrapper input { flex:1; border:none; background:transparent; padding:13px 0; font-size:16px; font-family:var(--noy-font); color:var(--noy-text); outline:none; direction:ltr; text-align:right; letter-spacing:1px; }
.noy-otp-field input[type="email"] { width:100%; border:2px solid var(--noy-cream2); border-radius:var(--noy-radius-sm); padding:12px 14px; font-size:14px; font-family:var(--noy-font); background:var(--noy-cream); color:var(--noy-text); outline:none; box-sizing:border-box; transition:border-color .2s; direction:ltr; }
.noy-otp-field input[type="email"]:focus { border-color:var(--noy-g3); }
.noy-code-inputs { display:flex; gap:8px; justify-content:center; }
.noy-digit { width:46px; height:54px; border:2px solid var(--noy-cream2); border-radius:var(--noy-radius-sm); text-align:center; font-size:20px; font-weight:800; font-family:var(--noy-font); color:var(--noy-g1); background:var(--noy-cream); outline:none; transition:border-color .2s,transform .15s,box-shadow .2s; }
.noy-digit:focus { border-color:var(--noy-g2); transform:scale(1.08); box-shadow:0 0 0 4px rgba(139,195,74,.2); }
.noy-digit.filled { border-color:var(--noy-g3); background:var(--noy-g5); }
.noy-otp-btn { width:100%; padding:14px; background:var(--noy-g2); color:#fff; border:none; border-radius:var(--noy-radius-sm); font-size:15px; font-weight:700; font-family:var(--noy-font); cursor:pointer; transition:background .2s,transform .15s; display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:11px; }
.noy-otp-btn:hover:not(:disabled) { background:var(--noy-g1); transform:translateY(-1px); }
.noy-otp-btn:disabled { opacity:.5; cursor:not-allowed; }
.noy-link-btn { background:none; border:none; cursor:pointer; color:var(--noy-g2); font-size:12px; font-family:var(--noy-font); text-decoration:underline; padding:4px 0; display:block; text-align:center; width:100%; transition:color .2s; }
.noy-link-btn:hover { color:var(--noy-g1); }
.noy-otp-divider { display:flex; align-items:center; gap:10px; color:#BCC8A8; font-size:12px; margin:14px 0; }
.noy-otp-divider::before,.noy-otp-divider::after { content:''; flex:1; height:1px; background:var(--noy-cream2); }
.noy-classic-login { display:block; text-align:center; color:var(--noy-muted); font-size:12px; text-decoration:none; transition:color .2s; }
.noy-classic-login:hover { color:var(--noy-g2); }
.noy-code-sent-msg { text-align:center; background:var(--noy-g5); border-radius:var(--noy-radius-sm); padding:11px; margin-bottom:18px; font-size:13px; color:var(--noy-g1); border:1px solid var(--noy-g4); }
.noy-resend-wrapper { text-align:center; font-size:12px; color:var(--noy-muted); margin-top:7px; }
.noy-otp-error { background:#FFF0F0; border:1px solid #FFCDD2; border-radius:var(--noy-radius-sm); color:var(--noy-red); padding:9px 13px; font-size:12px; margin-top:10px; text-align:center; }
.noy-success-animation { text-align:center; padding:18px 0; }
.noy-success-circle { width:68px; height:68px; background:var(--noy-g2); border-radius:50%; color:#fff; font-size:28px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; animation:noy-pop .5s cubic-bezier(.34,1.56,.64,1); }
.noy-success-animation h3 { font-size:20px; font-weight:800; color:var(--noy-g1); margin:0 0 7px; }

/* Toast */
.noy-toast { position:fixed; bottom:28px; right:28px; background:var(--noy-g1); color:#fff; border-radius:var(--noy-radius-sm); padding:13px 20px; font-size:13px; font-weight:600; font-family:var(--noy-font); box-shadow:var(--noy-shadow-lg); z-index:999999; direction:rtl; max-width:300px; transform:translateY(70px); opacity:0; transition:all .35s cubic-bezier(.34,1.56,.64,1); }
.noy-toast.is-visible { transform:translateY(0); opacity:1; }
.noy-toast-title { font-size:13px; font-weight:800; margin-bottom:2px; }
.noy-toast.is-warning { background:#E65100; }
.noy-toast.is-error   { background:var(--noy-red); }

@media(max-width:480px){ .noy-otp-popup { margin:12px; padding:26px 18px; } }

body.shuk-baldi-ma-page .noy-mas-icon { color:var(--g2); display:flex; align-items:center; }
body.shuk-baldi-ma-page .noy-ma-link.is-active .noy-mas-icon svg { stroke:var(--g1); }

/* ═══ MOBILE ═══════════════════════════════════════════════════════════════ */
@media(max-width:900px){
  /* Kill padding on all containers */
  body.shuk-baldi-ma-page .site-content,
  body.shuk-baldi-ma-page #content,
  body.shuk-baldi-ma-page .wd-page-content,
  body.shuk-baldi-ma-page #primary { padding:0!important; margin:0!important; }

  body.shuk-baldi-ma-page .woocommerce {
    flex-direction:column!important;
    padding:0!important;
    gap:0!important;
    max-width:100%!important;
  }

  body.shuk-baldi-ma-page .noy-ma {
    flex-direction:column!important;
    gap:0!important;
  }

  /* Full width nav + content */
  body.shuk-baldi-ma-page .woocommerce-MyAccount-navigation,
  body.shuk-baldi-ma-page .woocommerce-MyAccount-content { width:100%!important; }

  /* Sidebar: horizontal scrollable pill nav */
  body.shuk-baldi-ma-page .noy-ma-side {
    width:100%!important;
    position:sticky;
    top:0;
    z-index:100;
    background:#fff;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
  }
  body.shuk-baldi-ma-page .noy-ma-user { padding:12px 16px; border-radius:0; }
  body.shuk-baldi-ma-page .noy-ma-uname { font-size:13px; }
  body.shuk-baldi-ma-page .noy-ma-ava { width:42px; height:42px; flex-shrink:0; }
  body.shuk-baldi-ma-page .noy-ma-ava svg { width:36px; height:36px; }

  body.shuk-baldi-ma-page .noy-mas-nav {
    display:flex !important;
    flex-direction:row !important;
    overflow-x:auto;
    padding:8px 12px 10px;
    gap:6px;
    scrollbar-width:none;
    border-radius:0!important;
    border-top:1px solid var(--cream2);
    background:#fff;
  }
  body.shuk-baldi-ma-page .noy-mas-nav::-webkit-scrollbar { display:none; }

  body.shuk-baldi-ma-page a.noy-ma-link {
    padding:9px 16px;
    border-radius:22px;
    border:1.5px solid var(--cream2);
    white-space:nowrap;
    flex-shrink:0;
    font-size:13px;
    gap:6px;
  }
  body.shuk-baldi-ma-page a.noy-ma-link:hover { padding-right:16px; }
  body.shuk-baldi-ma-page a.noy-ma-link.is-active {
    background:var(--g2);
    color:#fff!important;
    border-color:var(--g2);
  }
  body.shuk-baldi-ma-page a.noy-ma-link.is-active svg { stroke:#fff; }
  body.shuk-baldi-ma-page .noy-ma-dot { display:none; }
  body.shuk-baldi-ma-page a.noy-ma-logout { border-top:none; border-left:1.5px solid var(--cream2); }

  /* Hide card on mobile */
  body.shuk-baldi-ma-page .noy-ma-card { display:none; }

  /* Main content full width with padding */
  body.shuk-baldi-ma-page .noy-ma-content { padding:14px 14px 32px; }

  /* Dashboard adjustments */
  body.shuk-baldi-ma-page .noy-db { gap:14px; }
  body.shuk-baldi-ma-page .noy-db-hero { padding:18px 16px; border-radius:12px; }
  body.shuk-baldi-ma-page .noy-db-hero-ava { width:52px; height:52px; }
  body.shuk-baldi-ma-page .noy-db-hero-ava svg { width:44px; height:44px; }
  body.shuk-baldi-ma-page .noy-db-hero-txt h2 { font-size:17px; }
  body.shuk-baldi-ma-page .noy-db-stats { gap:8px; }
  body.shuk-baldi-ma-page .noy-db-stat { padding:14px 8px; border-radius:10px; }
  body.shuk-baldi-ma-page .noy-dbs-ico { width:36px; height:36px; border-radius:8px; }
  body.shuk-baldi-ma-page .noy-dbs-n { font-size:17px; }
  body.shuk-baldi-ma-page .noy-dbs-l { font-size:10px; }
  body.shuk-baldi-ma-page .noy-db-block { border-radius:12px; }

  /* Shortcuts: 3 columns, tighter */
  body.shuk-baldi-ma-page .noy-shortcuts { grid-template-columns:repeat(3,1fr); gap:8px; }
  body.shuk-baldi-ma-page .noy-sc { padding:16px 8px 14px; border-radius:12px; }
  body.shuk-baldi-ma-page .noy-sc-icon { width:40px; height:40px; border-radius:10px; }
  body.shuk-baldi-ma-page .noy-sc-label { font-size:11px; }

  /* Other adjustments */
  body.shuk-baldi-ma-page .noy-loy-levels { grid-template-columns:repeat(2,1fr); }
  body.shuk-baldi-ma-page .noy-grid-2 { grid-template-columns:1fr; }
  body.shuk-baldi-ma-page .noy-or { padding:12px 14px; }
  body.shuk-baldi-ma-page .noy-db-bh { padding:13px 16px 11px; }
}

@media(max-width:480px){
  body.shuk-baldi-ma-page .noy-db-stats { grid-template-columns:repeat(3,1fr); }
  body.shuk-baldi-ma-page .noy-shortcuts { grid-template-columns:repeat(3,1fr); }
  body.shuk-baldi-ma-page a.noy-ma-link { padding:9px 12px; }
  .noy-otp-popup { margin:8px; padding:24px 16px; }
}
/* New popup uses #noy-overlay */
#noy-overlay { animation: none; }
#noy-popup { direction: rtl; }


/* ===== Restored My Account page design (merged from Noy Account System v1.0.0 backup) ===== */

/* Shuk Baldi Account System - v1.1.0 */

/* ===== OVERLAY ===== */
#shuk-baldi-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.55) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

/* ===== MODAL ===== */
#shuk-baldi-modal {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 36px 32px 28px !important;
  max-width: 420px !important;
  width: 100% !important;
  position: relative !important;
  direction: rtl !important;
  font-family: 'Rubik','Assistant','Arial Hebrew',Arial,sans-serif !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
}

/* ===== CLOSE BUTTON ===== */
#shuk-baldi-close,
.shuk-baldi-modal-close {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: #f0f0f0 !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 15px !important;
  color: #555 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
}
#shuk-baldi-close:hover,
.shuk-baldi-modal-close:hover {
  background: #ddd !important;
  color: #111 !important;
}

/* ===== ICON ===== */
.shuk-baldi-modal-icon {
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* ===== TITLE ===== */
#shuk-baldi-modal h2,
#shuk-baldi-modal .shuk-baldi-modal-title,
#shuk-baldi-modal-title {
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a3d18 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
}

/* ===== SUBTITLE ===== */
#shuk-baldi-modal p,
#shuk-baldi-modal .shuk-baldi-modal-subtitle {
  text-align: center !important;
  color: #666 !important;
  font-size: 14px !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.5 !important;
}

/* ===== FORM SECTIONS ===== */
#shuk-baldi-modal .shuk-baldi-form-section {
  margin-bottom: 14px !important;
}

/* ===== LABELS ===== */
#shuk-baldi-modal label,
#shuk-baldi-modal .shuk-baldi-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 6px !important;
  text-align: right !important;
}

/* ===== INPUTS ===== */
#shuk-baldi-modal input[type="tel"],
#shuk-baldi-modal input[type="text"],
#shuk-baldi-modal input[type="email"],
#shuk-baldi-modal input[type="password"],
#shuk-baldi-modal input[type="date"],
#shuk-baldi-modal .shuk-baldi-input {
  display: block !important;
  width: 100% !important;
  padding: 12px 14px !important;
  border: 2px solid #d8e8d8 !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  color: #222 !important;
  background: #fafffe !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: auto !important;
}
#shuk-baldi-modal input[type="tel"]:focus,
#shuk-baldi-modal input[type="text"]:focus,
#shuk-baldi-modal input[type="email"]:focus,
#shuk-baldi-modal input[type="password"]:focus,
#shuk-baldi-modal input[type="date"]:focus {
  border-color: #3a7a30 !important;
  box-shadow: 0 0 0 3px rgba(58,122,48,0.12) !important;
  background: #ffffff !important;
  outline: none !important;
}

/* ===== SUCCESS MSG ===== */
#shuk-baldi-modal .shuk-baldi-success-msg,
#shuk-baldi-msg {
  background: #edf7ed !important;
  color: #2d6a27 !important;
  border: 1px solid #b8ddb4 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  font-weight: 500 !important;
}

/* ===== ERRORS ===== */
#shuk-baldi-modal .shuk-baldi-error,
#shuk-baldi-error,
#shuk-baldi-reg-error,
#shuk-baldi-email-error,
#shuk-baldi-update-error {
  background: #fff2f2 !important;
  color: #c0392b !important;
  border: 1px solid #f5c6c6 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

/* ===== MAIN BUTTON - HIGH SPECIFICITY + IMPORTANT ===== */
#shuk-baldi-modal button.shuk-baldi-btn,
#shuk-baldi-modal #shuk-baldi-submit-phone,
#shuk-baldi-modal #shuk-baldi-submit-email,
#shuk-baldi-modal #shuk-baldi-submit-register,
#shuk-baldi-modal #shuk-baldi-submit-update,
button#shuk-baldi-submit-phone,
button#shuk-baldi-submit-email,
button#shuk-baldi-submit-register,
button#shuk-baldi-submit-update {
  display: block !important;
  width: 100% !important;
  padding: 14px 20px !important;
  background: #3a7a30 !important;
  background-image: linear-gradient(135deg, #3a7a30 0%, #2d6a27 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  letter-spacing: 0.3px !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 12px rgba(45,106,39,0.3) !important;
  text-align: center !important;
  text-decoration: none !important;
  min-height: auto !important;
  height: auto !important;
  line-height: 1.4 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
#shuk-baldi-modal button.shuk-baldi-btn:hover,
#shuk-baldi-modal #shuk-baldi-submit-phone:hover,
#shuk-baldi-modal #shuk-baldi-submit-email:hover,
#shuk-baldi-modal #shuk-baldi-submit-register:hover,
#shuk-baldi-modal #shuk-baldi-submit-update:hover {
  background: #245520 !important;
  background-image: linear-gradient(135deg, #2d6a27 0%, #245520 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(45,106,39,0.35) !important;
}
#shuk-baldi-modal button:disabled,
button#shuk-baldi-submit-phone:disabled,
button#shuk-baldi-submit-email:disabled,
button#shuk-baldi-submit-register:disabled,
button#shuk-baldi-submit-update:disabled {
  background: #aaa !important;
  background-image: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ===== LINKS ===== */
#shuk-baldi-modal a,
#shuk-baldi-modal .shuk-baldi-link {
  color: #3a7a30 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.2s !important;
}
#shuk-baldi-modal a:hover,
#shuk-baldi-modal .shuk-baldi-link:hover {
  color: #2d6a27 !important;
  text-decoration: underline !important;
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  #shuk-baldi-modal {
    padding: 28px 20px 24px !important;
    border-radius: 16px !important;
  }
  #shuk-baldi-modal h2,
  #shuk-baldi-modal-title {
    font-size: 19px !important;
  }
}


/* ── Loyalty Club tab (shuk_baldi_render loyalty-club.php) ── */
body.shuk-baldi-ma-page .shuk-baldi-lc { padding: 4px 0 24px; font-family: var(--noy-font); }
body.shuk-baldi-ma-page .shuk-baldi-lc-header { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-info h2 { margin:0 0 4px; color:var(--noy-text); font-size:20px; font-weight:700; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier { margin:0; color:var(--noy-g2); font-weight:600; font-size:14px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-points { background: var(--noy-g5); border-radius: var(--noy-radius); padding: 26px; text-align:center; margin-bottom:24px; box-shadow: var(--noy-shadow); }
body.shuk-baldi-ma-page .shuk-baldi-lc-pts-num { display:block; font-size:38px; font-weight:800; color:var(--noy-g1); line-height:1.2; }
body.shuk-baldi-ma-page .shuk-baldi-lc-pts-lbl { color:var(--noy-muted); font-size:14px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tiers h3 { color:var(--noy-text); font-size:16px; font-weight:700; margin:0 0 12px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier-list { display:flex; gap:12px; flex-wrap:wrap; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier-item { flex:1 1 120px; background:#fff; border:2px solid var(--noy-cream2); border-radius: var(--noy-radius-sm); padding:14px 10px; text-align:center; opacity:.55; transition:.25s; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier-item.active { border-color: var(--noy-g3); opacity:1; box-shadow: var(--noy-shadow); }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier-item span { display:block; font-weight:700; color:var(--noy-text); margin-bottom:4px; font-size:14px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-tier-item small { color:var(--noy-muted); font-size:11px; }
body.shuk-baldi-ma-page .shuk-baldi-lc-info-box { margin-top:20px; background:var(--noy-cream); border-radius:var(--noy-radius-sm); padding:14px 18px; color:var(--noy-text); font-size:14px; }


/* ── Reliability fix: entrance animations must never leave content permanently invisible.
   Some browsers/tab states (backgrounded tab on load, reduced-motion, slow paint) can leave
   an animation stuck at its 0% keyframe (opacity:0) because of fill-mode:both/forwards.
   Force opacity to always resolve to 1 while still allowing the transform slide/scale to play. ── */
body.shuk-baldi-ma-page .noy-ma-side,
body.shuk-baldi-ma-page .noy-ma-content,
body.shuk-baldi-ma-page .noy-db-hero,
body.shuk-baldi-ma-page .noy-db-stat,
body.shuk-baldi-ma-page .noy-db-block,
body.shuk-baldi-ma-page .noy-shortcuts,
body.shuk-baldi-ma-page .noy-empty-state,
body.shuk-baldi-ma-page .noy-order-card,
body.shuk-baldi-ma-page .noy-edit-card,
body.shuk-baldi-ma-page .noy-alert-ok,
body.shuk-baldi-ma-page .noy-alert-err,
body.shuk-baldi-ma-page .noy-loy-bigcard,
body.shuk-baldi-ma-page .noy-loy-level,
body.shuk-baldi-ma-page .noy-cs-card {
  opacity: 1 !important;
}
@media (prefers-reduced-motion: reduce) {
  body.shuk-baldi-ma-page * {
    animation: none !important;
  }
}


/* ── Edit-account tab: ported precisely from original noy-account-system CSS,
   renamed noy-* -> shuk-baldi-* to match the active template's class names ── */
body.shuk-baldi-ma-page .shuk-baldi-edit-wrap  { display:flex; flex-direction:column; gap:18px; }
body.shuk-baldi-ma-page .shuk-baldi-edit-card  {
  background:#fff; border-radius:var(--radius); padding:22px 26px;
  box-shadow:var(--shadow); animation:noy-fade-up .4s ease both;
}
body.shuk-baldi-ma-page .shuk-baldi-edit-title {
  font-size:15px; font-weight:800; color:var(--g1);
  padding-bottom:12px; margin-bottom:16px; border-bottom:1px solid var(--cream2);
}
body.shuk-baldi-ma-page .shuk-baldi-edit-title small { font-size:11px; font-weight:400; color:var(--muted); }
body.shuk-baldi-ma-page .shuk-baldi-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
body.shuk-baldi-ma-page .shuk-baldi-fgroup { display:flex; flex-direction:column; gap:6px; }
body.shuk-baldi-ma-page .shuk-baldi-fgroup label { font-size:12px; font-weight:700; color:var(--text); }
body.shuk-baldi-ma-page .shuk-baldi-fgroup input {
  border:2px solid var(--cream2); border-radius:var(--radius-sm);
  padding:11px 13px; font-size:14px; font-family:var(--font);
  background:#FAFAF6; color:var(--text); outline:none;
  transition:border-color .2s, background .2s, box-shadow .2s;
  width:100%; box-sizing:border-box;
}
body.shuk-baldi-ma-page .shuk-baldi-fgroup input:focus {
  border-color:var(--g3); background:var(--g5);
  box-shadow:0 0 0 3px rgba(139,195,74,.15);
}
body.shuk-baldi-ma-page .shuk-baldi-alert-ok  { background:#E8F5E9;border:1px solid #A5D6A7;color:#2E7D32;padding:12px 16px;border-radius:10px;font-weight:700;margin-bottom:14px;font-family:var(--font); animation:noy-fade-up .3s ease; }
body.shuk-baldi-ma-page .shuk-baldi-alert-err { background:#FFEBEE;border:1px solid #FFCDD2;color:#C62828;padding:12px 16px;border-radius:10px;font-weight:700;margin-bottom:12px;font-family:var(--font); animation:noy-fade-up .3s ease; }
body.shuk-baldi-ma-page .shuk-baldi-ava-picker { display:flex; gap:12px; flex-wrap:wrap; }
body.shuk-baldi-ma-page .shuk-baldi-ava-opt {
  width:60px; height:60px; border-radius:50%;
  background:var(--cream); border:3px solid transparent;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  overflow:hidden; transition:all .3s cubic-bezier(.34,1.56,.64,1); padding:0;
}
body.shuk-baldi-ma-page .shuk-baldi-ava-opt:hover { transform:scale(1.12) rotate(-5deg); border-color:var(--g3); }
body.shuk-baldi-ma-page .shuk-baldi-ava-opt.selected {
  border-color:var(--g2); background:var(--g5);
  box-shadow:0 0 0 3px rgba(139,195,74,.25);
  transform:scale(1.05);
}
body.shuk-baldi-ma-page .shuk-baldi-ava-opt svg { width:50px; height:50px; }
body.shuk-baldi-ma-page .shuk-baldi-btn-g {
  display:inline-flex; align-items:center; gap:5px;
  background:var(--g2); color:#fff !important;
  padding:9px 18px; border-radius:var(--radius-sm);
  font-size:13px; font-weight:700; font-family:var(--font);
  border:none; cursor:pointer; text-decoration:none !important;
  transition:background .18s, transform .2s cubic-bezier(.34,1.56,.64,1);
}
body.shuk-baldi-ma-page .shuk-baldi-btn-g:hover { background:var(--g1); transform:translateY(-2px); }


/* ── FIX: real flex row for .noy-ma wrapper (side+content) — precise port of original .woocommerce row layout ── */
body.shuk-baldi-ma-page .noy-ma {
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
  direction: rtl !important;
  flex-wrap: nowrap !important;
}
body.shuk-baldi-ma-page .noy-ma-content {
  flex: 1 !important;
  min-width: 0 !important;
}
