/* ============================================================
   EL BANNA — Nilotic Modernism
   Brand-new UI — NOT based on Jorero
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --g900: #2A0A0A;
  --g800: #4A1212;
  --g700: #7A1F1F;
  --g600: #9C2B2B;
  --g400: #C0605A;
  --g100: #FBEAEA;
  --g50:  #FDF3F3;
  --cream: #FAF7F0;
  --sand:  #ECE5D9;
  --sand2: #D4C9B0;
  --charcoal: #1C1C1A;
  --ink: #2D2D2B;
  --muted: #7A7570;
  --border: #E4DDD2;
  --white: #FFFFFF;
  --red: #B91C1C;
  /* ── SIGNATURE: Egyptian brass ── */
  --brass: #A97F45;
  --brass-soft: #C6A15E;
  --brass-tint: #F2E9D8;
  /* ── TYPE ── */
  --font-display: 'Fraunces', 'El Messiri', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(42,10,10,.05), 0 4px 12px rgba(42,10,10,.04);
  --shadow-md: 0 8px 28px rgba(42,10,10,.09);
  --shadow-lg: 0 22px 48px rgba(42,10,10,.14);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); line-height: 1.7; overflow-x: hidden; direction: rtl; letter-spacing: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── TOPBAR ── */
.m-topbar {
  background: var(--g900);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.m-topbar a { color: rgba(255,255,255,.65); }
.m-topbar a:hover { color: #fff; }
.m-topbar-center { display: flex; align-items: center; gap: 20px; }

/* ── HEADER ── */
.m-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  height: 68px;
  direction: rtl;
}
.m-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.m-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.m-logo-text b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--g700); letter-spacing: 3px; line-height: 1; }
.m-logo-text span { font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.m-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
  list-style: none;
}
.m-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: normal;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.m-nav a:hover, .m-nav a:focus-visible { color: var(--g700); border-color: var(--brass); }
.m-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}
.m-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: all .2s;
}
.m-icon-btn:hover { background: var(--g100); border-color: var(--g700); color: var(--g700); }
.m-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--g700);
  color: #fff;
  border-radius: 999px;
  min-width: 17px; height: 17px;
  font-size: 10px; font-weight: 700;
  line-height: 17px; text-align: center;
  padding: 0 3px;
  display: none;
}
.m-badge.visible, .m-badge[data-count]:not([data-count="0"]) { display: block; }
.m-cart-btn { background: var(--g700); color: #fff; border: none; border-radius: var(--radius-sm); padding: 9px 18px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; transition: background .2s; }
.m-cart-btn:hover { background: var(--g800); }
.m-mobile-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px; font-size: 20px; color: var(--ink); align-items: center; justify-content: center; }
.m-search-bar {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 5%;
  box-shadow: var(--shadow-md);
  z-index: 199;
  gap: 10px;
}
.m-search-bar.open { display: flex; }
.m-search-bar input { flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; font-family: inherit; }
.m-search-bar input:focus { outline: none; border-color: var(--g700); }
.m-search-bar button { background: var(--g700); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px 20px; font-weight: 700; }
.m-lang { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.m-lang a { color: var(--muted); padding: 2px 4px; border-radius: 4px; }
.m-lang a.active { color: var(--g700); background: var(--g100); }
.m-lang span { color: var(--border); }

/* ── HERO ── */
.m-hero {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--g900);
}
.m-hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
  display: block;
}
.m-hero-slide.active { opacity: 1; z-index: 1; }
.m-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42,10,10,.75) 0%, rgba(42,10,10,.2) 60%, transparent 100%);
  z-index: 2;
}
.m-hero-content {
  position: absolute;
  z-index: 3;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  max-width: 500px;
  color: #fff;
  text-align: right;
}
.m-hero-eyebrow {
  display: inline-block;
  background: rgba(169,127,69,.16);
  border: 1px solid rgba(198,161,94,.5);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--brass-soft);
}
.m-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.m-hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
}
.m-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--g800);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.m-hero-btn:hover { background: var(--g50); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.m-hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.m-hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 1.5px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .2s;
}
.m-hero-dots span.active { background: #fff; width: 24px; border-radius: 4px; }
.m-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.m-hero-arrow:hover { background: rgba(255,255,255,.35); }
.m-hero-prev { right: 20px; }
.m-hero-next { left: 20px; }

/* ── TRUST STRIP ── */
.m-trust {
  background: var(--g700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 14px 5%;
  flex-wrap: wrap;
}
.m-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.m-trust-item span { font-size: 18px; }

/* ── SECTION TITLE ── */
.m-section-title {
  text-align: center;
  margin: 60px auto 36px;
  padding: 0 20px;
  max-width: 700px;
}
.m-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--brass);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
}
.m-section-eyebrow::before,
.m-section-eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brass-soft);
  opacity: .7;
}
.m-section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
}
.m-section-title p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── CATALOG LAYOUT ── */
.m-catalog {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 3% 60px;
  align-items: start;
}

/* ── SIDEBAR ── */
.m-sidebar {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding-left: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--sand2) transparent;
}
.m-sidebar::-webkit-scrollbar { width: 4px; }
.m-sidebar::-webkit-scrollbar-thumb { background: var(--sand2); border-radius: 4px; }
.m-sidebar-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.m-sidebar-block h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.m-cat-list { list-style: none; }
.m-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s;
  font-size: 14px;
  color: var(--ink);
}
.m-cat-item:hover { background: var(--g50); color: var(--g700); }
.m-cat-item.active {
  background: var(--g100);
  color: var(--g700);
  font-weight: 700;
}
.m-cat-item-left { display: flex; align-items: center; gap: 10px; }
.m-cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand2);
  flex-shrink: 0;
  transition: background .15s;
}
.m-cat-item.active .m-cat-dot { background: var(--g700); }
.m-cat-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--sand);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
}
.m-cat-item.active .m-cat-count { background: var(--g700); color: #fff; }

.m-size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.m-size-tag {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
  color: var(--ink);
}
.m-size-tag:hover { border-color: var(--g700); color: var(--g700); }
.m-size-tag.active { background: var(--g700); color: #fff; border-color: var(--g700); }

.m-price-inputs { display: flex; gap: 8px; align-items: center; }
.m-price-inputs input {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 8px 10px;
  font-size: 13px; font-family: inherit;
  background: var(--cream); color: var(--ink);
}
.m-price-inputs input:focus { outline: none; border-color: var(--g700); }
.m-price-sep { color: var(--muted); font-size: 12px; flex-shrink: 0; }

.m-filter-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--g700);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
}
.m-filter-btn:hover { background: var(--g800); }

/* ── PRODUCT AREA ── */
.m-products-area { min-width: 0; }
.m-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
  gap: 10px;
}
.m-toolbar-left { display: flex; align-items: center; gap: 10px; }
.m-result-count { font-size: 13px; color: var(--muted); font-weight: 500; }
.m-sort {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.m-sort:focus { outline: none; border-color: var(--g700); }
.m-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--g100);
  color: var(--g700);
  border: 1.5px solid var(--g400);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

/* ── PRODUCT GRID ── */
.m-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── PRODUCT CARD ── */
.m-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  cursor: pointer;
  position: relative;
}
.m-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brass-soft); }
.m-card-img {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--sand);
  overflow: hidden;
}
.m-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.m-card:hover .m-card-img img { transform: scale(1.04); }
.m-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--g700);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.m-card-badge.new { background: var(--charcoal); }
.m-card-badge.sale, .m-card-badge.discount { background: var(--red); }
.m-card-fav {
  position: absolute;
  top: 12px; left: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: all .2s;
}
.m-card-fav:hover, .m-card-fav.saved { color: var(--red); background: #fff; }
.m-card-quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(42,10,10,.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition: all .2s;
}
.m-card:hover .m-card-quick { opacity: 1; transform: translateY(0); }
.m-card-body { padding: 14px 16px 16px; }
.m-card-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 5px;
}
.m-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 40px;
}
.m-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-card-price { font-size: 15px; font-weight: 800; color: var(--g700); }
.m-card-old { font-size: 12px; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.m-card-sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.m-card-sz { font-size: 10px; color: var(--muted); border: 1px solid var(--border); padding: 2px 5px; border-radius: 4px; }
.m-card-delivery { font-size: 11px; color: var(--muted); margin-top: 6px; }
.m-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; }
.m-empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--muted); margin-bottom: 8px; }

/* ── CATEGORY BANNER ROW ── */
.m-cat-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto 50px;
  padding: 0 3%;
}
.m-cat-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand);
  display: block;
  cursor: pointer;
}
.m-cat-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m-cat-banner:hover img { transform: scale(1.05); }
.m-cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(42,10,10,.75) 0%, transparent 55%);
}
.m-cat-banner-label {
  position: absolute;
  bottom: 18px;
  right: 16px;
  color: #fff;
  text-align: right;
}
.m-cat-banner-label h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.m-cat-banner-label span { font-size: 12px; opacity: .8; }
.m-cat-banner-label b { display: inline-block; margin-top: 8px; background: #fff; color: var(--g700); border-radius: 6px; padding: 5px 12px; font-size: 11px; font-weight: 800; }

/* ── SHOWROOM / CONTACT ── */
.m-showroom {
  display: block;
  background: var(--g900);
  color: #fff;
  margin: 0;
}
.m-showroom-img { height: 480px; background: var(--g800); overflow: hidden; }
.m-showroom-img img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.m-showroom-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; }
.m-showroom-body { max-width: 680px; margin: 0 auto; padding: 72px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.m-showroom-body .m-section-eyebrow { background: none; color: var(--brass-soft); }
.m-showroom-body .m-section-eyebrow::before, .m-showroom-body .m-section-eyebrow::after { background: var(--brass-soft); opacity: .5; }
.m-showroom-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.25; margin-bottom: 16px; color: #fff; }
.m-showroom-body p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 28px; }
.m-contact-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.m-contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.m-contact-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.m-contact-row a { color: rgba(255,255,255,.75); transition: color .15s; }
.m-contact-row a:hover { color: #fff; }
.m-hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  margin-bottom: 24px;
}
.m-hours-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: mpulse 2s infinite; }
@keyframes mpulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.m-showroom-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.m-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--g600); color: #fff; font-weight: 700; font-size: 13px; padding: 12px 24px; border-radius: var(--radius-sm); border: none; transition: background .2s; text-decoration: none; }
.m-btn-primary:hover { background: var(--g400); }
.m-btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-weight: 700; font-size: 13px; padding: 12px 24px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.4); text-decoration: none; transition: border-color .2s; }
.m-btn-ghost:hover { border-color: #fff; }

/* ── CTA BAND ── */
.m-cta {
  background: var(--g100);
  border-top: 1px solid var(--g400);
  border-bottom: 1px solid var(--g400);
  text-align: center;
  padding: 60px 20px;
}
.m-cta h2 { font-family: var(--font-display); font-size: clamp(26px,4vw,38px); color: var(--g800); margin-bottom: 12px; }
.m-cta p { font-size: 15px; color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.m-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.m-btn-green { background: var(--g700); color: #fff; font-weight: 700; font-size: 13px; padding: 13px 28px; border-radius: var(--radius-sm); border: none; text-decoration: none; display: inline-block; transition: background .2s; }
.m-btn-green:hover { background: var(--g800); }
.m-btn-outline-green { background: #fff; color: var(--g700); font-weight: 700; font-size: 13px; padding: 13px 28px; border-radius: var(--radius-sm); border: 2px solid var(--g700); text-decoration: none; display: inline-block; transition: all .2s; }
.m-btn-outline-green:hover { background: var(--g700); color: #fff; }

/* ── TESTIMONIALS ── */
.m-testimonials { max-width: 1100px; margin: 0 auto 60px; padding: 0 3%; }
.m-test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 10px; }
.m-test-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.m-test-stars { color: #FBBF24; font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.m-test-text { font-family: var(--font-display); font-size: 15px; color: var(--ink); line-height: 1.65; margin-bottom: 12px; font-style: italic; }
.m-test-author { font-size: 12px; font-weight: 700; color: var(--muted); }

/* ── FOOTER ── */
.m-footer {
  background: var(--g900);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 32px 5%;
  font-size: 13px;
}
.m-footer-logo { font-family: var(--font-display); font-size: 20px; color: #fff; letter-spacing: 3px; margin-bottom: 10px; }
.m-footer p { margin: 4px 0; }
.m-footer a { color: rgba(255,255,255,.5); transition: color .15s; }
.m-footer a:hover { color: #fff; }
.m-footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
.m-footer-links a { font-size: 12px; }

/* ── WHATSAPP FLOAT ── */
.m-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--g700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s;
  text-decoration: none;
}
.m-whatsapp:hover { transform: scale(1.1); }
.m-whatsapp::before {
  content: 'تواصل معنا';
  position: absolute;
  left: 64px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
html[lang="en"] .m-whatsapp::before { content: 'Contact us'; }

/* ── CART TOAST ── */
.m-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--g800);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: all .28s ease;
  white-space: nowrap;
}
.m-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── PRODUCT PAGE ── */
.m-breadcrumb { max-width: 1200px; margin: 16px auto 0; padding: 0 3%; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.m-breadcrumb a { color: var(--muted); }
.m-breadcrumb a:hover { color: var(--g700); }
.m-bc-sep { color: var(--border); }
.m-bc-cur { color: var(--ink); font-weight: 600; }
.m-product-wrap { max-width: 1200px; margin: 20px auto 60px; padding: 0 3%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.m-gallery {}
.m-main-img-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--sand); position: relative; }
#mMainImg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m-main-img-wrap:hover #mMainImg { transform: scale(1.03); }
.m-gallery-arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; pointer-events: none; }
.m-gallery-arrow { pointer-events: all; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; color: var(--ink); font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: all .15s; }
.m-gallery-arrow:hover { background: var(--g700); color: #fff; }
.m-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.m-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: border-color .15s; }
.m-thumbs img:hover { border-color: var(--sand2); }
.m-thumbs img.active { border-color: var(--g700); }
.m-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 80px; }
.m-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.m-tag { background: var(--g100); color: var(--g700); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.m-tag-new { background: var(--charcoal); color: #fff; }
.m-tag-offer { background: var(--red); color: #fff; }
.m-detail-name { font-family: var(--font-display); font-size: 26px; color: var(--charcoal); line-height: 1.25; margin-bottom: 14px; }
.m-price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px; background: var(--g50); border-radius: var(--radius-sm); border: 1px solid var(--g100); }
.m-price-now { font-size: 28px; font-weight: 800; color: var(--g700); }
.m-price-was { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.m-save-pill { background: var(--g100); color: var(--g700); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.m-offer-strip { background: #FFF8E1; border: 1px solid #FFD54F; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: #8a5b00; margin-bottom: 14px; }
.m-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.m-option-group { margin-bottom: 16px; }
.m-option-label { font-size: 12px; font-weight: 800; letter-spacing: normal; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: block; }
.m-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.m-choice-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; background: #fff; transition: all .15s; user-select: none; }
.m-choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.m-choice-pill:has(input:checked) { border-color: var(--g700); color: var(--g700); background: var(--g50); }
.m-color-pill img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
.m-qty-row { display: flex; align-items: center; gap: 10px; }
.m-qty-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); transition: all .15s; }
.m-qty-btn:hover { border-color: var(--g700); color: var(--g700); }
.m-qty-input { width: 54px; text-align: center; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px; font-size: 15px; font-weight: 700; font-family: inherit; }
.m-add-btn { width: 100%; background: var(--g700); color: #fff; border: none; border-radius: var(--radius-sm); padding: 15px; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; transition: background .2s; }
.m-add-btn:hover { background: var(--g800); }
.m-fav-detail-btn { width: 100%; background: #fff; color: var(--muted); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; transition: all .2s; font-family: inherit; }
.m-fav-detail-btn:hover, .m-fav-detail-btn.saved { border-color: var(--red); color: var(--red); background: #fff5f5; }
.m-sec-row { display: flex; gap: 10px; margin-top: 8px; }
.m-sec-btn { flex: 1; text-align: center; padding: 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink); transition: all .15s; }
.m-sec-btn:hover { border-color: var(--g700); color: var(--g700); }
.m-delivery-bar { display: flex; align-items: center; gap: 10px; background: var(--g50); border: 1px solid var(--g100); border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--g800); margin-top: 12px; }
.m-trust-row { display: flex; justify-content: space-around; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 12px; }
.m-trust-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); font-weight: 600; }
.m-trust-cell span { font-size: 20px; }

/* ── CART / CHECKOUT ── */
.m-page-head { background: var(--g700); color: #fff; padding: 32px 5%; text-align: center; }
.m-page-head h1 { font-family: var(--font-display); font-size: 30px; margin-bottom: 6px; }
.m-page-head p { font-size: 14px; color: rgba(255,255,255,.75); }
.m-cart-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; max-width: 1200px; margin: 32px auto 60px; padding: 0 3%; align-items: start; }
.m-cart-items, .m-cart-summary, .m-checkout-form, .m-success-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.m-cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.m-cart-item:last-child { border-bottom: none; }
.m-cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.m-cart-item-name { font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.m-cart-item-meta { font-size: 12px; color: var(--muted); }
.m-cart-item-price { font-weight: 800; color: var(--g700); font-size: 15px; }
.m-cart-remove { background: none; border: none; color: var(--red); font-size: 18px; cursor: pointer; }
.m-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.m-summary-total { font-size: 18px; font-weight: 800; color: var(--g700); padding-top: 12px; display: flex; justify-content: space-between; }
.m-checkout-btn { display: block; width: 100%; background: var(--g700); color: #fff; border: none; border-radius: var(--radius-sm); padding: 14px; font-size: 15px; font-weight: 800; text-align: center; margin-top: 16px; text-decoration: none; cursor: pointer; transition: background .2s; }
.m-checkout-btn:hover { background: var(--g800); }
.m-form-group { margin-bottom: 14px; }
.m-form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: .5px; }
.m-form-group input, .m-form-group textarea, .m-form-group select { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: inherit; background: var(--cream); transition: border-color .15s; }
.m-form-group input:focus, .m-form-group textarea:focus { outline: none; border-color: var(--g700); background: #fff; }
.m-form-group textarea { min-height: 90px; resize: vertical; }
.m-error { background: #FEE2E2; border: 1px solid #FECACA; border-radius: 10px; padding: 12px 14px; color: var(--red); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.m-success-box { max-width: 600px; margin: 40px auto 60px; text-align: center; }
.m-success-icon { font-size: 56px; margin-bottom: 14px; }
.m-success-box h1 { font-family: var(--font-display); font-size: 26px; color: var(--g700); margin-bottom: 10px; }
.m-empty-cart { text-align: center; padding: 60px 20px; }
.m-empty-cart h2 { font-family: var(--font-display); font-size: 24px; color: var(--muted); margin-bottom: 14px; }

/* ── FAVORITES ── */
.m-favs-page { max-width: 1200px; margin: 40px auto 80px; padding: 0 3%; }
.m-favs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.m-fav-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.m-fav-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.m-fav-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.m-fav-card-body { padding: 14px; }
.m-fav-card-name { font-family: var(--font-display); font-size: 14px; margin-bottom: 6px; }
.m-fav-card-price { color: var(--g700); font-weight: 800; font-size: 15px; }
.m-fav-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.m-fav-buy { background: var(--g700); color: #fff; border-radius: 8px; padding: 9px; font-size: 12px; font-weight: 700; text-align: center; display: block; transition: background .15s; }
.m-fav-buy:hover { background: var(--g800); }
.m-fav-remove { width: 36px; background: #FEE2E2; color: var(--red); border: none; border-radius: 8px; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.m-favs-empty { text-align: center; padding: 80px 20px; }
.m-favs-empty-icon { font-size: 60px; margin-bottom: 16px; }
.m-favs-empty h2 { font-family: var(--font-display); font-size: 22px; color: var(--muted); margin-bottom: 8px; }
.m-favs-empty p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

/* ── ADMIN ── */
.m-admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.m-admin-side { background: linear-gradient(180deg, var(--g900) 0%, var(--g800) 100%); color: #fff; padding: 0; display: flex; flex-direction: column; }
.m-admin-side-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.m-admin-side-logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; margin-bottom: 8px; }
.m-admin-side-logo b { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: 2px; color: #fff; }
.m-admin-side-logo span { font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: 1.5px; text-transform: uppercase; }
.m-admin-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.m-admin-nav a, .m-admin-nav button {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.6);
  border: none; background: none;
  border-right: 3px solid transparent;
  width: 100%; text-align: right;
  transition: all .15s; cursor: pointer; font-family: inherit;
  text-decoration: none;
}
.m-admin-nav a:hover, .m-admin-nav button:hover { background: rgba(255,255,255,.07); color: #fff; }
.m-admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; border-right-color: var(--g400); }
.m-admin-main { background: #F0F2F0; overflow: auto; }
.m-admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0 28px; height: 58px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.m-admin-topbar h2 { font-size: 16px; font-weight: 700; }
.m-admin-badge { background: var(--g100); color: var(--g700); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.m-admin-content { padding: 26px 28px; }
.m-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.m-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; border-top: 3px solid var(--g700); }
.m-stat label { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.m-stat b { font-size: 28px; font-weight: 800; color: var(--charcoal); line-height: 1; }
.m-stat span { font-size: 12px; color: var(--muted); display: block; margin-top: 3px; }
.m-stat.blue { border-top-color: #2980b9; }
.m-stat.orange { border-top-color: #e67e22; }
.m-stat.red { border-top-color: var(--red); }
.m-admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.m-admin-card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.m-admin-card-head h3 { font-size: 14px; font-weight: 700; }
.m-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 12px; font-weight: 700; border-radius: 8px; cursor: pointer; border: none; transition: all .15s; font-family: inherit; text-decoration: none; }
.m-btn-g { background: var(--g700); color: #fff; }
.m-btn-g:hover { background: var(--g800); }
.m-btn-sm { padding: 6px 12px; font-size: 11px; }
.m-btn-gray { background: #f0f2f0; color: var(--ink); border: 1px solid var(--border); }
.m-btn-gray:hover { background: var(--border); }
.m-btn-red { background: var(--red); color: #fff; }
.m-btn-red:hover { opacity: .85; }
.m-table-wrap { overflow-x: auto; }
.m-table { width: 100%; border-collapse: collapse; }
.m-table th { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding: 12px 16px; text-align: right; background: #fafaf8; border-bottom: 1px solid var(--border); }
.m-table td { padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid #F4F1EC; vertical-align: middle; }
.m-table tr:last-child td { border-bottom: none; }
.m-table tr:hover td { background: #fafaf8; }
.m-table-thumb { width: 48px; height: 58px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); display: block; }
.m-badge-tbl { display: inline-block; padding: 3px 9px; font-size: 10px; font-weight: 800; border-radius: 999px; }
.m-badge-tbl.active { background: var(--g100); color: var(--g700); }
.m-badge-tbl.inactive { background: var(--sand); color: var(--muted); }
.m-tbl-actions { display: flex; gap: 6px; }
.m-admin-login { min-height: 100vh; background: linear-gradient(135deg, var(--cream), var(--g50)); display: grid; place-items: center; }
.m-login-box { width: min(420px, 92%); background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.m-login-box img { width: 80px; margin: 0 auto 16px; border-radius: 12px; }
.m-login-box h1 { font-family: var(--font-display); font-size: 22px; color: var(--g800); margin-bottom: 4px; }
.m-login-box p { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.m-login-input { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-family: inherit; margin-bottom: 12px; transition: border-color .15s; }
.m-login-input:focus { outline: none; border-color: var(--g700); }
.m-login-btn { width: 100%; background: var(--g700); color: #fff; border: none; border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 800; cursor: pointer; transition: background .2s; margin-bottom: 10px; font-family: inherit; }
.m-login-btn:hover { background: var(--g800); }
.m-error-box { background: #FEE2E2; border: 1px solid #FECACA; border-radius: 8px; padding: 10px 14px; color: var(--red); font-size: 13px; font-weight: 600; margin-bottom: 14px; text-align: right; }
.m-admin-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; }
.m-admin-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .5px; }
.m-admin-form label.full { grid-column: 1/-1; }
.m-admin-form input, .m-admin-form select, .m-admin-form textarea { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; background: var(--cream); }
.m-admin-form input:focus, .m-admin-form select:focus, .m-admin-form textarea:focus { outline: none; border-color: var(--g700); background: #fff; }
.m-admin-form textarea { min-height: 100px; resize: vertical; }
.m-checks { grid-column: 1/-1; display: flex; gap: 16px; flex-wrap: wrap; }
.m-checks label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.m-drop-zone { grid-column: 1/-1; border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; font-weight: 700; color: var(--muted); background: var(--cream); transition: border-color .15s; position: relative; }
.m-drop-zone:hover, .m-drop-zone.drag { border-color: var(--g700); color: var(--g700); }
.m-drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.m-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap: 10px; margin-top: 14px; grid-column: 1/-1; }
.m-preview-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px; }
.m-preview-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 7px; }
.m-preview-card span { font-size: 10px; color: var(--muted); display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-option-block { grid-column: 1/-1; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.m-option-block h3 { font-size: 13px; font-weight: 700; color: var(--g700); margin-bottom: 12px; }
.m-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px,1fr)); gap: 8px; }
.m-checkbox-grid label { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.m-color-row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.m-admin-imgs { grid-column: 1/-1; background: var(--cream); border: 1.5px dashed var(--g600); border-radius: var(--radius); padding: 16px; }
.m-admin-imgs h3 { font-size: 12px; font-weight: 800; color: var(--g700); margin-bottom: 10px; }
.m-admin-imgs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 10px; }
.m-admin-img-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.m-admin-img-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 7px; }
.m-admin-img-item span { font-size: 11px; color: var(--red); display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.m-order-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.m-order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.m-order-id { font-size: 12px; font-weight: 700; color: var(--muted); }
.m-order-total { font-size: 18px; font-weight: 800; color: var(--g700); }
.m-status-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.m-status-form select { border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 12px; font-family: inherit; font-size: 13px; }
.m-mini-check { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; }
.m-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; margin-bottom: 24px; }
.m-report-panels { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.m-report-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.m-report-card h2 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.m-order-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.m-admin-side-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); }
.m-admin-side-footer a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; }
.m-admin-side-footer a:hover { color: #fff; }
.m-inline-form { display: inline; }
.m-muted-note { font-size: 12px; color: var(--muted); padding: 14px 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .m-stats { grid-template-columns: repeat(2,1fr); }
  .m-catalog { grid-template-columns: 220px 1fr; }
  .m-grid { grid-template-columns: repeat(2,1fr); }
  .m-cat-banners { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .m-header { grid-template-columns: auto 1fr auto; padding: 0 14px; height: 56px; column-gap: 8px; }
  .m-header > nav { display: contents; }
  .m-logo { justify-self: center; min-width: 0; }
  .m-logo-text b { white-space: nowrap; }
  .m-nav { display: none; position: absolute; top: 56px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 12px; z-index: 198; flex-direction: column; gap: 4px; }
  .m-header.open .m-nav { display: flex; }
  .m-nav a { padding: 10px 14px; border-radius: 8px; background: var(--cream); border-bottom: none; }
  .m-mobile-btn { display: flex; }
  .m-header-actions { justify-self: start; }
  .m-hero { height: 380px; }
  .m-hero-content { right: 5%; left: 5%; max-width: none; text-align: center; }
  .m-catalog { grid-template-columns: 1fr; padding: 16px 14px 40px; }
  .m-sidebar { position: static; max-height: none; padding-left: 0; display: none; }
  .m-sidebar.open { display: block; }
  .m-mobile-filter-btn { display: flex; }
  .m-product-wrap { grid-template-columns: 1fr; margin: 14px auto 40px; gap: 20px; }
  .m-detail { position: static; }
  .m-cart-layout { grid-template-columns: 1fr; }
  .m-showroom { grid-template-columns: 1fr; }
  .m-showroom-img { height: 260px; }
  .m-showroom-body { padding: 36px 28px; }
  .m-test-grid { grid-template-columns: 1fr; }
  .m-favs-grid { grid-template-columns: repeat(2,1fr); }
  .m-admin-layout { grid-template-columns: 1fr; }
  .m-admin-side { display: none; }
  .m-report-panels { grid-template-columns: 1fr; }
  .m-trust { gap: 20px; }
}
@media (max-width: 600px) {
  .m-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .m-cat-banners { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .m-hero { height: 320px; }
  .m-hero-content h1 { font-size: 28px; }
  .m-stats { grid-template-columns: repeat(2,1fr); }
  .m-admin-form { grid-template-columns: 1fr; }
  .m-topbar { font-size: 10px; }
  .m-topbar-center { display: none; }
  .m-favs-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .m-whatsapp::before { display: none; }
}

/* ── ACCESSIBILITY & POLISH ── */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}
.m-add-btn:focus-visible, .m-checkout-btn:focus-visible, .m-hero-btn:focus-visible,
.m-cart-btn:focus-visible, .m-filter-btn:focus-visible, .m-login-btn:focus-visible {
  outline-offset: 4px;
}
::selection { background: var(--brass-tint); color: var(--g900); }

/* Brass link accent under the wordmark tagline */
.m-logo-text span { color: var(--brass); }

/* Larger, comfortable tap targets on touch screens */
@media (max-width: 900px) {
  .m-icon-btn { width: 44px; height: 44px; }
  .m-mobile-btn { width: 44px; height: 44px; }
  .m-nav a { min-height: 44px; display: flex; align-items: center; }
  .m-qty-btn { width: 42px; height: 42px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .m-card:hover, .m-hero-btn:hover, .m-whatsapp:hover { transform: none; }
}

/* ── ENGLISH (LTR) MODE ── */
html[lang="en"] body { direction: ltr; }
html[lang="en"] .m-hero-content { text-align: left; }
html[lang="en"] .m-detail, html[lang="en"] .m-showroom-body { text-align: left; }
/* Let each heading/paragraph pick direction from its own text (mixed AR/EN catalogues) */
.m-hero-content h1, .m-hero-content p, .m-hero-eyebrow,
.m-showroom-body h2, .m-showroom-body p,
.m-card-name, .m-detail-name, .m-cat-banner-label h3 {
  unicode-bidi: plaintext;
}

/* ── MOBILE POLISH ── */
@media (max-width: 900px) {
  .m-showroom-body { padding: 48px 22px; }
}
@media (max-width: 600px) {
  /* Trust strip: tidy 2×2 grid instead of a cramped wrap */
  .m-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 14px 16px; }
  .m-trust-item { font-size: 11.5px; justify-content: center; text-align: center; gap: 6px; }
  .m-trust-item span:first-child { font-size: 16px; }

  /* Hero: readable subtitle, calmer eyebrow */
  .m-hero-content p { font-size: 14px; }
  .m-hero-eyebrow { font-size: 10px; padding: 5px 14px; margin-bottom: 14px; }

  /* Tighter vertical rhythm */
  .m-section-title { margin: 40px auto 24px; }
  .m-cta { padding: 44px 18px; }

  /* Showroom: centered, full-width actions */
  .m-showroom-body { align-items: stretch; text-align: center; padding: 44px 20px; }
  .m-showroom-body .m-section-eyebrow { align-self: center; }
  .m-contact-row { justify-content: center; }
  .m-showroom-btns { justify-content: center; }
  .m-showroom-btns a { flex: 1; justify-content: center; }

  /* Product detail: comfortable CTA + spacing */
  .m-add-btn, .m-fav-detail-btn { padding: 16px; font-size: 15px; }
  .m-detail { padding: 22px 18px; }
  .m-breadcrumb { font-size: 11px; }
  .m-cat-banner { aspect-ratio: 4/5; }
}

/* ── MOBILE DECLUTTER (header + hero) ── */
@media (max-width: 900px) {
  .m-header { height: 58px; column-gap: 8px; }
  .m-logo { gap: 8px; }
  .m-logo img { width: 34px; height: 34px; }
  .m-logo-text b { font-size: 17px; letter-spacing: 2px; white-space: nowrap; }
  .m-logo-text span { font-size: 8px; letter-spacing: 1.5px; white-space: nowrap; }
  .m-header-actions { gap: 8px; }
  .m-icon-btn { width: 40px; height: 40px; font-size: 17px; }
  .m-mobile-btn { width: 40px; height: 40px; }
  .m-topbar { padding: 7px 14px; }

  /* Hero: fuller overlay for legibility over the busy monogram, calmer type */
  .m-hero { height: 340px; }
  .m-hero-overlay { background: linear-gradient(180deg, rgba(42,10,10,.4) 0%, rgba(42,10,10,.78) 100%); }
  .m-hero-content h1 { font-size: 30px; line-height: 1.12; }
  .m-hero-content p { font-size: 13.5px; line-height: 1.6; }
  .m-hero-eyebrow { margin-bottom: 14px; }
}
@media (max-width: 480px) {
  /* Drop the tagline and the redundant monogram to give the wordmark room */
  .m-logo img { display: none; }
  .m-logo-text span { display: none; }
  .m-logo-text b { font-size: 18px; letter-spacing: 2.5px; }
  .m-header { column-gap: 6px; padding: 0 12px; }
  .m-header-actions { gap: 6px; }
  .m-icon-btn { width: 38px; height: 38px; }
  .m-mobile-btn { width: 38px; height: 38px; font-size: 18px; }
  .m-hero { height: 320px; }
  .m-hero-content h1 { font-size: 27px; }
}
