/* Royal Meat Kingdom Signature — design tokens + premium chrome */
/* Brand tokens always available; page colors come from [data-theme=...] so picker works. */
html[data-signature="1"] {
  --mk-charcoal: #191513;
  --mk-burgundy: #741D29;
  --mk-gold: #C6A269;
  --mk-ivory: #F5EBDD;
  --radius: 14px;
  --shadow-lux: 0 18px 40px rgba(25, 21, 19, 0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 64px;
  --container: min(1200px, calc(100% - 32px));
  --ease-lux: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 700ms;
  --font-display: "Fraunces", "IBM Plex Sans Arabic", serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
}
/* Active visitor theme/palette remaps brand chrome so templates actually change the site */
html[data-signature="1"][data-theme]:not([data-theme="jeddah"]):not([data-theme="royal"]):not([data-theme="royal-signature"]),
html[data-signature="1"][data-palette="majlis"],
html[data-signature="1"][data-palette="souk"] {
  --mk-charcoal: var(--ink);
  --mk-burgundy: var(--primary);
  --mk-gold: var(--accent);
  --mk-ivory: var(--canvas);
}

/* Only lock Signature brand tokens for royal/jeddah — never via :root (that blocked all themes) */
html[data-theme="royal"],
html[data-theme="royal-signature"],
html[data-theme="jeddah"] {
  color-scheme: light;
  --mk-charcoal: #191513;
  --mk-burgundy: #741D29;
  --mk-gold: #C6A269;
  --mk-ivory: #F5EBDD;
  --ink: var(--mk-charcoal);
  --primary: var(--mk-burgundy);
  --deep: #4A1219;
  --canvas: var(--mk-ivory);
  --paper: #FFFBF6;
  --line: #E8DCCB;
  --accent: var(--mk-gold);
  --sand: var(--mk-gold);
  --muted: #7A6A5C;
  --ok: #5F8F6B;
  --header: rgba(245, 235, 221, 0.94);
  --cart: var(--mk-burgundy);
  --cart-ink: #FFF8EF;
  --badge: var(--mk-gold);
  --badge-ink: var(--mk-charcoal);
  --radius: 14px;
  --shadow-lux: 0 18px 40px rgba(25, 21, 19, 0.08);
  --art-1: #741D29;
  --art-2: #F5EBDD;
  --art-3: #C6A269;
  --art-4: #2A211C;
  --note: #FFF6E8;
  --note-line: #C6A269;
}

html[data-signature="1"] body.bootstrap-store {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 100% -10%, color-mix(in srgb, var(--accent, var(--mk-gold)) 22%, transparent), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, color-mix(in srgb, var(--primary, var(--mk-burgundy)) 12%, transparent), transparent 55%),
    var(--canvas);
  color: var(--ink);
}

html[data-signature="1"] .header--signature {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(25, 21, 19, 0.04);
  overflow: visible;
}

html[data-signature="1"] .sig-announce {
  background: linear-gradient(90deg, var(--deep, var(--mk-charcoal)), color-mix(in srgb, var(--deep, #2c221e) 70%, var(--primary, var(--mk-burgundy))) 55%, var(--primary, var(--mk-burgundy)));
  color: var(--cart-ink, #f8f1e6);
  font-size: 13px;
  padding: 8px 16px;
}

html[data-signature="1"] .sig-announce-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

html[data-signature="1"] .sig-announce a {
  color: var(--mk-gold);
  text-decoration: none;
  font-weight: 700;
}
html[data-signature="1"] .lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  width: 44px;
  padding-inline: 0;
  gap: 0;
}
html[data-signature="1"] .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-style: normal;
}
html[data-signature="1"] .flag-ico {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  flex: 0 0 auto;
}
html[data-signature="1"] .lang-switch .flag-ico {
  width: 24px;
  height: 16px;
}
html[data-signature="1"] .lang-menu .flag-ico,
html[data-signature="1"] .lang-chip .flag-ico {
  width: 26px;
  height: 17px;
}
html[data-signature="1"] .lang-menu {
  min-width: 0 !important;
  width: auto;
  padding: 8px !important;
}
html[data-signature="1"] .lang-menu .dropdown-item,
html[data-signature="1"] .lang-item,
html[data-signature="1"] .lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 12px;
  padding: 8px 10px;
  min-width: 44px;
  min-height: 44px;
}
html[data-signature="1"] .lang-menu .dropdown-item.on,
html[data-signature="1"] .lang-chip.on {
  background: rgba(198, 162, 105, 0.22);
  box-shadow: inset 0 0 0 2px var(--mk-gold);
}

html[data-signature="1"] .sig-install-tip {
  width: var(--container);
  margin: 8px auto 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #5c3b12;
  background: #fff6e8;
  border: 1px solid #e7c48a;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(25, 21, 19, .08);
  position: relative;
  z-index: 40;
}
html[data-signature="1"] .sig-install-tip[hidden] { display: none !important; }
html[data-signature="1"] .sig-install-tip.is-visible { display: block; }
html[data-signature="1"] .sig-install-tip[data-kind="ok"] {
  color: #14532d; background: #ecfdf3; border-color: #86efac;
}
html[data-signature="1"] .sig-install-tip[data-kind="ios"] {
  color: #111827; background: #f3f4f6; border-color: #d1d5db;
}
html[data-signature="1"] .sig-install-tip[data-kind="android"] {
  color: #14532d; background: #f0fdf4; border-color: #86efac;
}

.ios-install-sheet {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: 100%;
  width: min(440px, calc(100vw - 24px));
  background: transparent;
  color: #1a1a1a;
}
.ios-install-sheet::backdrop {
  background: rgba(20, 12, 10, 0.55);
  backdrop-filter: blur(2px);
}
.ios-install-sheet__inner {
  display: grid;
  gap: 14px;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 16px 16px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f1ea 100%);
  border: 1px solid rgba(116, 29, 41, 0.12);
  box-shadow: 0 24px 48px rgba(20, 12, 10, 0.28);
}
.ios-install-sheet header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.ios-install-sheet h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #741D29;
  line-height: 1.35;
}
.ios-install-sheet__close {
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  color: #444;
}
.ios-install-sheet__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3f3f46;
}
.ios-install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ios-install-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.ios-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(116, 29, 41, 0.08);
  color: #741D29;
  font-size: 1.25rem;
}
.ios-install-steps strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.ios-install-steps small {
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.45;
}
.ios-install-sheet__note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.85rem;
  line-height: 1.5;
}
.ios-install-sheet__note[hidden] { display: none !important; }
.ios-install-sheet__done {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  background: #741D29;
  border-color: #741D29;
  color: #fff;
  font-weight: 600;
}
@media (max-width: 720px) {
  .ios-install-sheet {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
  }
  .ios-install-sheet__inner {
    border-radius: 22px 22px 0 0;
  }
}
html[data-signature="1"] .sig-announce .install-app,
html[data-signature="1"] .sig-announce [data-install-ios] {
  min-width: 40px;
  width: 40px;
  justify-content: center;
  padding-inline: 0;
  font-size: 1.05rem;
}
html[data-signature="1"] .sig-announce .install-app { color: #6b8f2a; }
html[data-signature="1"] .sig-announce [data-install-ios] { color: #111; }

html[data-signature="1"] .sig-bar {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(180px, 1fr) auto;
  grid-template-areas: "brand search tools";
  gap: 12px 16px;
  align-items: center;
  padding: 14px 0 12px;
  overflow: visible;
}
html[data-signature="1"] .sig-brand { grid-area: brand; min-width: 0; }
html[data-signature="1"] .sig-search { grid-area: search; width: 100%; min-width: 0; }
html[data-signature="1"] .sig-bar > .sig-tools { grid-area: tools; }

html[data-signature="1"] .sig-menubar {
  width: 100%;
  margin: 0;
  padding: 0;
  background:
    linear-gradient(90deg, #1a0c0e 0%, #4a151a 35%, #741d29 70%, #2a1214 100%);
  border-top: 1px solid rgba(240, 217, 165, 0.28);
  border-bottom: 1px solid rgba(240, 217, 165, 0.18);
  box-shadow: 0 10px 28px rgba(74, 21, 26, 0.18);
  overflow: visible !important;
  position: relative;
  z-index: 1060;
}
html[data-signature="1"] .sig-menubar-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 52px;
  overflow: visible !important;
  position: relative;
}

html[data-signature="1"] .sig-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

html[data-signature="1"] .sig-brand img,
html[data-signature="1"] .sig-brand .brand-fallback {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex: 0 0 auto;
}

html[data-signature="1"] .sig-brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.2;
  min-width: 0;
}

html[data-signature="1"] .sig-brand-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

html[data-signature="1"] .sig-brand-text span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-signature="1"] .sig-nav {
  display: none;
}
html[data-signature="1"] .sig-menu-bar.navbar-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible !important;
  --bs-nav-link-padding-x: 0;
  --bs-nav-link-padding-y: 0;
}
html[data-signature="1"] .sig-menu-bar .nav-item {
  flex: 1 1 0;
  position: relative;
  min-width: max-content;
  overflow: visible;
}
html[data-signature="1"] .sig-menu-bar .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 52px;
  padding: 12px 14px;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-top: 3px solid transparent;
  background: transparent;
  color: #f4e9dc;
  text-decoration: none;
  font-family: var(--font-display, "Tajawal", sans-serif);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
html[data-signature="1"] .sig-menu-bar .nav-link .sig-nav-ico {
  color: #f0d9a5;
  font-size: 14px;
  line-height: 1;
}
html[data-signature="1"] .sig-menu-bar .nav-link.dropdown-toggle::after {
  margin-inline-start: 4px;
  border-top-color: #f0d9a5;
  vertical-align: 0.15em;
  opacity: 0.9;
}
html[data-signature="1"] .sig-menu-bar .nav-link:hover,
html[data-signature="1"] .sig-menu-bar .nav-link:focus-visible,
html[data-signature="1"] .sig-menu-bar .nav-link.show {
  color: #fff8ef;
  background: rgba(240, 217, 165, 0.12);
  border-top-color: #c6a15b;
}
html[data-signature="1"] .sig-menu-bar .nav-link:hover .sig-nav-ico,
html[data-signature="1"] .sig-menu-bar .nav-link.show .sig-nav-ico,
html[data-signature="1"] .sig-menu-bar .nav-link:focus-visible .sig-nav-ico {
  color: #f5e2b8;
}
html[data-signature="1"] .sig-menu-bar .nav-link.active {
  color: #1a1008;
  background: linear-gradient(180deg, #f0d9a5, #c6a15b);
  border-top-color: #fff8ef;
}
html[data-signature="1"] .sig-menu-bar .nav-link.active .sig-nav-ico {
  color: #5c1016;
}
html[data-signature="1"] .sig-menu-bar .dropdown-menu.sig-mega-panel,
html[data-signature="1"] .sig-mega-panel {
  position: absolute !important;
  inset-inline-end: 0;
  inset-inline-start: auto;
  top: 100% !important;
  transform: none !important;
  min-width: min(18rem, 88vw);
  max-width: min(24rem, 92vw);
  max-height: min(72vh, 520px);
  overflow: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid color-mix(in srgb, var(--mk-gold, #c6a15b) 45%, transparent);
  border-radius: 0 0 16px 16px;
  box-shadow:
    0 24px 50px rgba(25, 21, 19, .18),
    0 0 0 1px rgba(255,255,255,.4) inset;
  background:
    radial-gradient(circle at 100% 0%, rgba(198,161,91,0.16), transparent 42%),
    linear-gradient(180deg, #fffdf8, #fff);
  z-index: 2000 !important;
  pointer-events: auto;
}
html[data-signature="1"] .sig-menu-bar .dropdown-menu.show {
  display: block !important;
}
html[data-signature="1"] .sig-mega-panel--slim,
html[data-signature="1"] .sig-mega-panel--cat {
  min-width: min(17rem, 86vw);
  max-width: min(22rem, 90vw);
}
html[data-signature="1"] .sig-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--mk-gold, #c6a15b) 28%, transparent);
  background: linear-gradient(90deg, rgba(116,29,41,0.06), transparent 70%);
}
html[data-signature="1"] .sig-mega-head span {
  font-family: var(--font-display, "Tajawal", sans-serif);
  font-weight: 800;
  font-size: 15px;
  color: var(--mk-burgundy, #741d29);
}
html[data-signature="1"] .sig-mega-head em,
html[data-signature="1"] .sig-mega-head a {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--mk-burgundy, #741d29);
  text-decoration: none;
  white-space: nowrap;
}
html[data-signature="1"] .sig-mega-head a:hover {
  color: #c6a15b;
}
html[data-signature="1"] .sig-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
}
html[data-signature="1"] .sig-mega-list {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
}
html[data-signature="1"] .sig-mega-link,
html[data-signature="1"] .dropdown-item.sig-mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  border: 1px solid transparent;
  background: transparent;
  white-space: normal;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
html[data-signature="1"] .sig-mega-link i {
  color: var(--mk-gold, #c6a15b);
  font-size: 11px;
  width: 1.1em;
  text-align: center;
  flex: 0 0 auto;
}
html[data-signature="1"] .sig-mega-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}
html[data-signature="1"] .sig-mega-link:hover,
html[data-signature="1"] .sig-mega-link:focus-visible {
  background: color-mix(in srgb, var(--mk-burgundy, #741d29) 8%, #fff);
  border-color: color-mix(in srgb, var(--mk-gold, #c6a15b) 35%, transparent);
  color: var(--mk-burgundy, #741d29);
  transform: translateY(-1px);
}
html[data-signature="1"] .sig-mega-link--accent {
  background: linear-gradient(135deg, rgba(116,29,41,0.08), rgba(198,161,91,0.12));
  border-color: color-mix(in srgb, var(--mk-gold, #c6a15b) 40%, transparent);
  grid-column: 1 / -1;
}
html[data-signature="1"] .sig-nav-links > a {
  color: #f4e9dc;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
html[data-signature="1"] .sig-theme-dd .sig-theme-label { display: none; }
html[data-signature="1"] .theme-swatch-ico {
  display: grid;
  grid-template-columns: 7px 7px;
  grid-template-rows: 7px 7px;
  gap: 2px;
  width: 16px;
  height: 16px;
  margin: 0;
  place-content: center;
  flex: 0 0 auto;
}
html[data-signature="1"] .theme-swatch-ico i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
html[data-signature="1"] .theme-swatch-ico i:nth-child(1) { background: #9a1c1f; }
html[data-signature="1"] .theme-swatch-ico i:nth-child(2) { background: #c6a15b; }
html[data-signature="1"] .theme-swatch-ico i:nth-child(3) {
  background: #0f766e;
  grid-column: 1 / -1;
  justify-self: center;
}
html[data-signature="1"] .sig-announce .settings-dd {
  max-height: min(70vh, 560px);
  overflow: auto;
}
html[data-signature="1"] .sig-announce .settings-dd .pref-chip {
  width: 100%;
  justify-content: flex-start;
  border-radius: 10px;
  margin: 0;
}

html[data-signature="1"] .sig-nav-links > a:hover,
html[data-signature="1"] .sig-nav-links > a:focus-visible {
  color: #1a1008;
  background: linear-gradient(135deg, #f5e2b8, #c6a15b 55%, #b08a45);
  box-shadow: 0 8px 18px rgba(166, 124, 48, .35);
  outline: none;
}
html[data-signature="1"] .sig-nav-links > a[aria-current="page"],
html[data-signature="1"] .sig-nav-links > a.is-active {
  color: #fff8ef;
  background: linear-gradient(135deg, #9a1c1f, #741d29 55%, #5c1016);
  box-shadow: inset 0 0 0 1px rgba(240, 217, 165, 0.35), 0 8px 18px rgba(116, 29, 41, .4);
}

html[data-signature="1"] .sig-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
  min-width: 0;
}
html[data-signature="1"] .sig-bar > .sig-tools {
  flex-wrap: nowrap;
  flex: 0 0 auto;
}
html[data-signature="1"] .sig-bar > .sig-tools > .sig-city,
html[data-signature="1"] .sig-bar > .sig-tools > .sig-icon-btn,
html[data-signature="1"] .sig-bar > .sig-tools > a.sig-icon-btn,
html[data-signature="1"] .sig-bar > .sig-tools > button.sig-icon-btn {
  flex: 0 0 auto;
}

html[data-signature="1"] .sig-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 520px;
  margin-inline: auto;
  height: 46px;
}

html[data-signature="1"] .sig-search input {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  min-width: 0;
  flex: 1;
  font: inherit;
}

html[data-signature="1"] .sig-search button {
  border: 0;
  background: var(--mk-charcoal);
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
}

html[data-signature="1"] .sig-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
html[data-signature="1"] .sig-announce .sig-icon-btn,
html[data-signature="1"] .sig-theme-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 0;
  gap: 0;
  aspect-ratio: 1 / 1;
}
html[data-signature="1"] .sig-announce .sig-icon-btn.dropdown-toggle::after,
html[data-signature="1"] .sig-theme-btn.dropdown-toggle::after {
  display: none !important;
  content: none !important;
  margin: 0 !important;
}
html[data-signature="1"] .sig-announce .sig-icon-btn > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  width: 16px;
  height: 16px;
  position: relative;
  top: 0;
}
html[data-signature="1"] .sig-announce .sig-icon-btn > i::before {
  display: block;
  line-height: 1;
  width: 1em;
  height: 1em;
  text-align: center;
}
html[data-signature="1"] .sig-announce .sig-icon-btn > .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
  width: 18px;
  height: 18px;
  font-size: 16px;
}
html[data-signature="1"] .sig-announce .sig-icon-btn > .theme-swatch-ico {
  display: grid;
  width: 16px;
  height: 16px;
  margin: 0;
}

html[data-signature="1"] .sig-cart {
  background: var(--mk-burgundy);
  border-color: var(--mk-burgundy);
  color: #fff;
}

html[data-signature="1"] .sig-cart b {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--mk-gold);
  color: var(--mk-charcoal);
  font-size: 11px;
}

html[data-signature="1"] .sig-city {
  margin: 0;
  flex: 0 0 auto;
}
html[data-signature="1"] .sig-city select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  max-width: 168px;
  height: 42px;
  line-height: 1;
}

/* Product cards — plain CSS grid (no Bootstrap row/col conflict) */
html[data-signature="1"] .product-grid {
  display: grid !important;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
}
html[data-signature="1"] .product-grid > .card,
html[data-signature="1"] .product-grid > .col,
html[data-signature="1"] .product-grid > .product-grid-col {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  padding: 0 !important;
}

html[data-signature="1"][data-card="editorial"] .card,
html[data-signature="1"] .card.card--editorial {
  border: 0;
  background: var(--paper);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-lux);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 0;
  transition: transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
html[data-signature="1"] .card.card--editorial .card-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  color: var(--ink);
}
html[data-signature="1"] .card.card--editorial .card-body h3,
html[data-signature="1"] .card.card--editorial .card-body h3 a,
html[data-signature="1"] .card.card--editorial .card-body p {
  color: inherit;
  overflow-wrap: anywhere;
}

html[data-signature="1"] .card.card--editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(25, 21, 19, 0.12);
}

html[data-signature="1"] .product-rail .card.card--editorial {
  flex: 0 0 min(260px, 78vw);
  width: min(260px, 78vw);
  max-width: 280px;
}
html[data-signature="1"] .card.card--editorial .thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1c1614;
  display: block;
  width: 100%;
}

html[data-signature="1"] .card.card--editorial .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-lux);
}

html[data-signature="1"] .card.card--editorial:hover .thumb img {
  transform: scale(1.04);
}

html[data-signature="1"] .card.card--retail .thumb { aspect-ratio: 1 / 1; }
html[data-signature="1"] .card.card--compact {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* Motion presets */
.anim-fade-up { animation: mkFadeUp var(--dur-slow) var(--ease-lux) both; }
.anim-fade-in { animation: mkFadeIn var(--dur-med) var(--ease-lux) both; }
.anim-slide-in { animation: mkSlideIn var(--dur-slow) var(--ease-lux) both; }
.anim-zoom-soft { animation: mkZoomSoft var(--dur-med) var(--ease-lux) both; }
.anim-none { animation: none; }

@keyframes mkFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes mkFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mkSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes mkZoomSoft {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}

html[data-motion="reduce"] .anim-fade-up,
html[data-motion="reduce"] .anim-fade-in,
html[data-motion="reduce"] .anim-slide-in,
html[data-motion="reduce"] .anim-zoom-soft {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in, .anim-slide-in, .anim-zoom-soft {
    animation: none !important;
  }
}

/* Cinematic hero */
html[data-signature="1"] .hero-cinematic {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: #140f0e;
  color: #fff8ef;
}

html[data-signature="1"] .hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 15, 14, 0.15), rgba(20, 15, 14, 0.72)),
    var(--hero-image, linear-gradient(135deg, #2a1614, #741D29 55%, #191513));
  background-size: cover;
  background-position: center;
}

html[data-signature="1"] .hero-cinematic-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  padding: 48px 0 56px;
  display: grid;
  gap: 14px;
  max-width: 720px;
}

html[data-signature="1"] .hero-cinematic .kicker {
  color: var(--mk-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

html[data-signature="1"] .hero-cinematic h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

html[data-signature="1"] .hero-cinematic p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 248, 239, 0.86);
  max-width: 36ch;
}

html[data-signature="1"] .hero-cinematic .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

html[data-signature="1"] .btn-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mk-gold);
  color: var(--mk-charcoal);
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
}

html[data-signature="1"] .btn-signature-ghost {
  background: transparent;
  color: #fff8ef;
  border: 1px solid rgba(255, 248, 239, 0.45);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}

/* Meat cuts explorer */
.cuts-explorer {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-lux);
}

.cuts-svg-wrap {
  background: linear-gradient(180deg, #1c1614, #2a1d1a);
  border-radius: 18px;
  padding: 16px;
  min-height: 320px;
}

.cuts-svg-wrap svg { width: 100%; height: auto; display: block; }
.cuts-region {
  fill: rgba(198, 162, 105, 0.22);
  stroke: #C6A269;
  stroke-width: 2;
  cursor: pointer;
  transition: fill var(--dur-fast) var(--ease-lux);
}
.cuts-region:hover,
.cuts-region[aria-current="true"] { fill: rgba(116, 29, 41, 0.55); }
.cuts-panel { color: var(--ink); }
.cuts-panel h3 { margin: 0 0 8px; font-family: var(--font-display); color: var(--ink); }
.cuts-panel p { color: var(--muted); }
.cuts-panel [data-cut-cook] { color: var(--mk-burgundy); }
.cuts-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cuts-list button {
  width: 100%; text-align: start; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer;
  color: var(--ink) !important;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.cuts-list button strong { color: var(--ink); font-weight: 800; }
.cuts-list button span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.cuts-list button[aria-current="true"] {
  border-color: var(--mk-burgundy);
  background: #fff4ef;
  color: var(--ink) !important;
}
.cuts-list li { color: var(--ink); }

html[data-signature="1"] .category-spotlight .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
html[data-signature="1"] .category-spotlight .kicker {
  margin: 0 0 4px;
  color: var(--mk-gold);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}
html[data-signature="1"] .category-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
html[data-signature="1"] .category-tile {
  display: grid;
  grid-template-rows: 140px auto;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-lux);
  min-width: 0;
  transition: transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
html[data-signature="1"] .category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(25, 21, 19, 0.12);
}
html[data-signature="1"] .category-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #1c1614;
}
html[data-signature="1"] .category-tile-body {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
}
html[data-signature="1"] .category-tile-body strong { font-size: 1rem; }
html[data-signature="1"] .category-tile-body em {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  background: rgba(255, 251, 246, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(25, 21, 19, 0.08);
}

.mobile-bottom-nav nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: min(560px, 100%);
  margin-inline: auto;
}

.mobile-bottom-nav a {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 4px;
}

.mobile-bottom-nav a i { font-size: 18px; color: var(--mk-burgundy); }
.mobile-bottom-nav a[aria-current="page"] { color: var(--mk-charcoal); }

html[data-signature="1"] body.has-mobile-nav { padding-bottom: 78px; }

/* Unverified business markers (admin-facing / subtle) */
.unverified-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  padding: 2px 8px;
}

/* ===== Responsive: tablet ===== */
@media (max-width: 1200px) and (min-width: 981px) {
  html[data-signature="1"] .sig-bar {
    grid-template-columns: minmax(200px, auto) minmax(140px, 1fr) auto;
    grid-template-areas: "brand search tools";
    gap: 10px 12px;
  }
  html[data-signature="1"] .sig-brand img,
  html[data-signature="1"] .sig-brand .brand-fallback {
    height: 52px;
    max-width: 170px;
  }
  html[data-signature="1"] .sig-brand-text strong { font-size: 1.2rem; }
  html[data-signature="1"] .sig-menu-bar .nav-link {
    font-size: 12.5px;
    padding: 10px 10px;
    min-height: 48px;
  }
  html[data-signature="1"] .sig-menu-bar .nav-link .sig-nav-ico { display: none; }
  html[data-signature="1"] .sig-mega-grid {
    grid-template-columns: 1fr;
  }
  html[data-signature="1"] .sig-city select { max-width: 150px; }
}

/* ===== Responsive: phone + small tablet ===== */
@media (max-width: 980px) {
  html[data-signature="1"] {
    --container: calc(100% - 20px);
  }
  html[data-signature="1"] .header--signature {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding-inline: 10px;
    box-sizing: border-box;
  }
  html[data-signature="1"] .sig-announce {
    padding: 8px 10px;
  }
  html[data-signature="1"] .sig-announce-inner {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
  }
  html[data-signature="1"] .sig-announce-inner > strong {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html[data-signature="1"] .sig-announce .sig-tools {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 4px;
  }
  html[data-signature="1"] .sig-announce .sig-tools > a:not(.sig-icon-btn) {
    display: none; /* hide long CTA text on small screens */
  }
  html[data-signature="1"] .sig-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "search search";
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 10px 0 12px;
    box-sizing: border-box;
  }
  html[data-signature="1"] .sig-brand {
    grid-area: brand;
    min-width: 0;
  }
  html[data-signature="1"] .sig-brand img,
  html[data-signature="1"] .sig-brand .brand-fallback {
    height: 40px;
    max-width: 120px;
  }
  html[data-signature="1"] .sig-brand-text strong {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46vw;
  }
  html[data-signature="1"] .sig-brand-text span { display: none; }
  html[data-signature="1"] .sig-nav,
  html[data-signature="1"] .sig-menubar { display: none !important; }
  html[data-signature="1"] .sig-bar > .sig-tools {
    grid-area: tools;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
  }
  html[data-signature="1"] .sig-search {
    grid-area: search;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100%;
  }
  html[data-signature="1"] .sig-theme-label { display: none; }
  html[data-signature="1"] .sig-announce .sig-icon-btn,
  html[data-signature="1"] .sig-theme-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
  }
  html[data-signature="1"] .sig-bar > .sig-tools > .sig-icon-btn,
  html[data-signature="1"] .sig-bar > .sig-tools > a.sig-icon-btn {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
    width: auto;
    height: auto;
    min-width: 0;
  }
  html[data-signature="1"] .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .cuts-explorer { grid-template-columns: 1fr; }
  html[data-mobile-nav="1"] .mobile-bottom-nav { display: block; }
  html[data-signature="1"] .mega-grid { grid-template-columns: 1fr; }
  html[data-signature="1"] .storefront,
  html[data-signature="1"] main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (max-width: 680px) {
  html[data-signature="1"] .header--signature {
    padding-inline: 10px;
  }
  html[data-signature="1"] .sig-announce {
    margin-inline: -10px;
    padding-inline: 10px;
  }
  html[data-signature="1"] .sig-announce-inner > strong {
    max-width: 40vw;
  }
  html[data-signature="1"] .sig-bar > .sig-tools > a.sig-icon-btn[href*="account"] {
    min-width: 44px;
    justify-content: center;
    padding-inline: 10px;
  }
  html[data-signature="1"] .sig-cart {
    min-width: 48px;
    justify-content: center;
    padding-inline: 10px;
  }
  html[data-signature="1"] .sig-search button {
    padding-inline: 12px;
  }
  html[data-signature="1"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  html[data-signature="1"] .listing-hero h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  html[data-signature="1"] main {
    padding-inline: 10px;
    box-sizing: border-box;
  }
  html[data-signature="1"] .site-foot {
    padding-inline: 10px;
  }
}

@media (min-width: 981px) {
  html[data-signature="1"] .sig-mobile-only { display: none !important; }
}

html[data-signature="1"] .listing-hero {
  margin-bottom: 28px;
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}
html[data-signature="1"] .listing-hero .kicker {
  color: var(--mk-gold); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; margin: 0 0 6px;
}
html[data-signature="1"] .listing-hero h1 {
  font-family: var(--font-display); margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.6rem);
}
html[data-signature="1"] .listing-count { color: var(--muted); font-size: 14px; }
html[data-signature="1"] .estimate-note {
  display: inline-block; font-size: 11px; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 1px 8px; margin-inline-start: 4px;
}
html[data-signature="1"] .card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
html[data-signature="1"] .card-actions .btn-signature { padding: 10px 16px; font-size: 13px; }

html[data-signature="1"] .product--signature {
  display: grid; gap: 28px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start;
}
html[data-signature="1"] .product-gallery {
  border-radius: 22px; overflow: hidden; background: #1c1614; min-height: 420px; position: relative;
}
html[data-signature="1"] .product-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-signature="1"] .breadcrumb-sig {
  display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 16px;
}
html[data-signature="1"] .breadcrumb-sig a { color: var(--mk-burgundy); text-decoration: none; font-weight: 700; }
html[data-signature="1"] .option-card-grid {
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
html[data-signature="1"] .option-card {
  margin: 0; cursor: pointer; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 12px; display: grid; gap: 4px; position: relative;
  transition: border-color var(--dur-fast) var(--ease-lux), box-shadow var(--dur-fast) var(--ease-lux), transform var(--dur-fast) var(--ease-lux);
}
html[data-signature="1"] .option-card input { position: absolute; opacity: 0; width: 1px; height: 1px; inset-inline-start: 0; inset-block-start: 0; }
html[data-signature="1"] .option-card:has(input:checked),
html[data-signature="1"] .option-card:focus-within {
  border-color: var(--mk-burgundy); box-shadow: 0 0 0 3px rgba(116, 29, 41, .12);
}
html[data-signature="1"] .option-card:has(input:checked) .option-card-body em { color: var(--mk-burgundy); font-weight: 700; }
html[data-signature="1"] .option-card-body { display: grid; gap: 4px; }
html[data-signature="1"] .option-card-body strong { font-size: 14px; }
html[data-signature="1"] .option-card-body em { font-style: normal; color: var(--muted); font-size: 12px; }
html[data-signature="1"] .price-options-note {
  margin: -4px 0 10px; color: var(--mk-burgundy); font-size: 13px; font-weight: 700;
}
html[data-signature="1"] .live-line-total {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--mk-burgundy) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--mk-burgundy) 18%, var(--line));
}
html[data-signature="1"] .live-line-total strong { color: var(--mk-burgundy); font-size: 1.05rem; }
html[data-signature="1"] .product-panel .price strong[data-live-price] {
  transition: color .2s ease;
}
html[data-signature="1"] .review-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--paper); margin: 0 0 10px;
}
html[data-signature="1"] .review-chat-section { margin-top: 8px; }
html[data-signature="1"] .review-chat-head {
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; justify-content: space-between;
  margin-bottom: 14px;
}
html[data-signature="1"] .review-chat-head h2 { margin: 0 0 4px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
html[data-signature="1"] .review-chat-summary {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px;
}
html[data-signature="1"] .review-stars { color: var(--mk-gold); letter-spacing: 1px; font-size: 14px; }
html[data-signature="1"] .review-chat-log {
  display: grid; gap: 14px; padding: 16px; max-height: min(62vh, 560px); overflow: auto;
  background: linear-gradient(180deg, #fffdf9, #f7f0e6);
  border: 1px solid var(--line); border-radius: 18px;
}
html[data-signature="1"] .review-chat-item { display: grid; gap: 8px; max-width: min(100%, 640px); }
html[data-signature="1"] .review-chat-item--customer { justify-self: start; }
html[data-signature="1"] .review-chat-item--store { justify-self: end; margin-top: 4px; max-width: min(100%, 560px); }
html[data-signature="1"] .review-chat-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 12px;
}
html[data-signature="1"] .review-chat-meta strong { color: var(--ink); font-size: 13px; }
html[data-signature="1"] .review-chat-bubble {
  margin: 0; padding: 12px 14px; border-radius: 16px 16px 16px 4px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(25,21,19,.05);
  line-height: 1.65; white-space: pre-wrap;
}
html[data-signature="1"] .review-chat-bubble--store {
  border-radius: 16px 16px 4px 16px;
  background: color-mix(in srgb, var(--mk-burgundy) 8%, #fff);
  border-color: color-mix(in srgb, var(--mk-burgundy) 22%, var(--line));
}
html[data-signature="1"] .review-chat-compose { margin-top: 14px; }
html[data-signature="1"] .review-rating-pick {
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px;
  background: #fff;
}
html[data-signature="1"] .review-rating-pick legend { padding-inline: 6px; font-weight: 700; font-size: 13px; }
html[data-signature="1"] .review-star-option {
  margin: 0; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: #fffbf6;
}
html[data-signature="1"] .review-star-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-signature="1"] .review-star-option span { color: var(--mk-gold); letter-spacing: 1px; }
html[data-signature="1"] .review-star-option:has(input:checked) {
  border-color: var(--mk-burgundy); box-shadow: 0 0 0 3px rgba(116, 29, 41, .12);
}
.review-admin-log { display: grid; gap: 12px; }
.review-admin-card {
  border: 1px solid #d7e2ec; border-radius: 14px; padding: 14px 16px; background: #fff;
}
.review-admin-card header { display: grid; gap: 4px; margin-bottom: 8px; }
.review-admin-body { margin: 0 0 8px; white-space: pre-wrap; }
.review-admin-reply {
  margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #f6f1ea; border: 1px solid #e7dccb;
}
.badge-status {
  display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px;
}
.badge-status--ok { background: #e8f6ee; color: #176b3a; }
.badge-status--warn { background: #fff4df; color: #8a5a00; }
.badge-status--bad { background: #fde8e8; color: #9b1c1c; }
html[data-signature="1"] .pdp-sticky-bar {
  display: none; position: fixed; inset-inline: 0; bottom: 64px; z-index: 44;
  background: rgba(255,251,246,.96); border-top: 1px solid var(--line);
  padding: 10px 14px; box-shadow: 0 -8px 24px rgba(25,21,19,.08);
  align-items: center; justify-content: space-between; gap: 12px;
}
html[data-signature="1"] .pdp-sticky-bar strong { display: block; font-size: 14px; }
html[data-signature="1"] .pdp-sticky-bar span { color: var(--mk-burgundy); font-weight: 800; }

@media (max-width: 980px) {
  html[data-signature="1"] .product--signature { grid-template-columns: 1fr; }
  html[data-signature="1"] .product-gallery { min-height: 280px; }
  html[data-signature="1"] .option-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-signature="1"] .pdp-sticky-bar { display: flex; }
  html[data-signature="1"] body.has-mobile-nav .pdp-sticky-bar { bottom: 72px; }
  html[data-signature="1"] body.has-mobile-nav .product-page-signature {
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  }
  html[data-signature="1"] body.has-mobile-nav .commerce-layout,
  html[data-signature="1"] body.has-mobile-nav .checkout-shell {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  html[data-signature="1"] .sig-city select {
    max-width: min(46vw, 180px); font-size: 12px; padding-inline: 8px;
  }
  html[data-signature="1"] .commerce-steps {
    overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px;
  }
  html[data-signature="1"] .commerce-steps li { flex: 0 0 auto; white-space: nowrap; }
  html[data-signature="1"] .cart-shell table,
  html[data-signature="1"] .checkout-shell input,
  html[data-signature="1"] .checkout-shell select,
  html[data-signature="1"] .checkout-shell textarea {
    font-size: 16px;
  }
  html[data-signature="1"] .cart-qty-form { width: 100%; }
  html[data-signature="1"] .cart-qty-form input[type="number"] { min-width: 4rem; }
}

@media (max-width: 560px) {
  html[data-signature="1"] .option-card-grid { grid-template-columns: 1fr; }
  html[data-signature="1"] .product-buy-form { padding: 14px !important; }
  html[data-signature="1"] .checkout-summary .actions {
    display: grid; gap: 8px;
  }
  html[data-signature="1"] .checkout-summary .actions .btn { width: 100%; }
}

/* Mega menu */
html[data-signature="1"] .mega-menu {
  width: min(860px, 92vw); border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lux); background: #fffbf6;
}
html[data-signature="1"] .mega-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-signature="1"] .mega-title {
  margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
html[data-signature="1"] .mega-link {
  display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
}
html[data-signature="1"] .mega-link:hover { color: var(--mk-burgundy); }
html[data-signature="1"] .mega-promo {
  background: linear-gradient(180deg, #1c1614, #741D29); color: #fff8ef; border-radius: 14px; padding: 14px;
}
html[data-signature="1"] .mega-promo .mega-title { color: var(--mk-gold); }
html[data-signature="1"] .mega-promo p { margin: 0 0 12px; font-size: 14px; }

/* Cart drawer */
.cart-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(25,21,19,.45); z-index: 60;
}
.cart-drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(380px, 94vw); z-index: 61;
  background: #FFFBF6; border-inline-start: 1px solid var(--line);
  box-shadow: -16px 0 40px rgba(25,21,19,.14);
  display: grid; grid-template-rows: auto 1fr auto; transform: translateX(0);
}
[dir="rtl"] .cart-drawer { box-shadow: 16px 0 40px rgba(25,21,19,.14); }
.cart-drawer[hidden], .cart-drawer-backdrop[hidden] { display: none !important; }
.cart-drawer-head, .cart-drawer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.cart-drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cart-drawer-body { padding: 16px; overflow: auto; }
.cart-drawer-head h2 { margin: 0; font-size: 1.1rem; }
button.sig-cart { cursor: pointer; font: inherit; }

/* Box builder */
.box-builder-form .product-grid { margin-bottom: 12px; }
.box-pick { cursor: pointer; }
.box-pick.is-sold { opacity: .55; }
.box-qty-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.box-qty-row input[type="number"] {
  width: 4.5rem; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px;
}

@media (max-width: 900px) {
  html[data-signature="1"] .mega-grid { grid-template-columns: 1fr; }
}

/* Re-apply visitor theme tokens AFTER Signature so palette/template picker always wins */
html[data-theme="emerald"] { color-scheme: light; --ink:#123028; --primary:#0f766e; --deep:#115e59; --canvas:#f0faf7; --paper:#ffffff; --line:#cde7e0; --accent:#34d399; --sand:#99f6e4; --muted:#4b7168; --ok:#059669; --header:rgba(240,250,247,.94); --cart:#0f766e; --cart-ink:#ecfdf5; --badge:#a7f3d0; --badge-ink:#064e3b; --radius:18px; --art-1:#0f766e; --art-2:#d1fae5; --art-3:#34d399; --art-4:#115e59; --note:#ecfdf5; --note-line:#34d399; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="nightgold"] { color-scheme: dark; --ink:#f8f1df; --primary:#d4af37; --deep:#0a0a0c; --canvas:#101014; --paper:#18181f; --line:#2f2f3a; --accent:#f5d76e; --sand:#c6a15b; --muted:#cbbf9a; --ok:#86efac; --header:rgba(16,16,20,.94); --cart:#d4af37; --cart-ink:#17120a; --badge:#17120a; --badge-ink:#f8f1df; --radius:10px; --art-1:#1c1810; --art-2:#2a2418; --art-3:#3a3122; --art-4:#12141c; --note:#221c12; --note-line:#d4af37; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="sandrose"] { color-scheme: light; --ink:#4a2c33; --primary:#b76e79; --deep:#7a3f4a; --canvas:#fff5f3; --paper:#fffaf8; --line:#efd5d8; --accent:#e8b4b8; --sand:#f6d6d8; --muted:#8a6570; --ok:#7ea878; --header:rgba(255,245,243,.95); --cart:#b76e79; --cart-ink:#fff7f8; --badge:#f6d6d8; --badge-ink:#4a2c33; --radius:20px; --art-1:#b76e79; --art-2:#fde2e4; --art-3:#e8b4b8; --art-4:#7a3f4a; --note:#fff0f1; --note-line:#e8b4b8; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="navy"] { color-scheme: light; --ink:#14233a; --primary:#1e3a5f; --deep:#0f2744; --canvas:#f3f6fb; --paper:#ffffff; --line:#d5deea; --accent:#c6a15b; --sand:#e7d3a0; --muted:#5d6f86; --ok:#3f6b45; --header:rgba(243,246,251,.95); --cart:#1e3a5f; --cart-ink:#f7fafc; --badge:#c6a15b; --badge-ink:#14233a; --radius:12px; --art-1:#1e3a5f; --art-2:#dbe4f0; --art-3:#c6a15b; --art-4:#0f2744; --note:#eef3fa; --note-line:#c6a15b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="crimson"] { color-scheme: light; --ink:#3b1014; --primary:#b91c1c; --deep:#7f1d1d; --canvas:#fff5f5; --paper:#fffafa; --line:#f0d0d0; --accent:#f59e0b; --sand:#fde68a; --muted:#8a5555; --ok:#15803d; --header:rgba(255,245,245,.95); --cart:#b91c1c; --cart-ink:#fff7f7; --badge:#fde68a; --badge-ink:#3b1014; --radius:16px; --art-1:#b91c1c; --art-2:#fee2e2; --art-3:#f59e0b; --art-4:#7f1d1d; --note:#fff7ed; --note-line:#f59e0b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="olive"] { color-scheme: light; --ink:#2f3518; --primary:#6b7c3c; --deep:#3f4a24; --canvas:#f7f8f0; --paper:#fcfdf8; --line:#dde2c8; --accent:#c4a35a; --sand:#e6d5a8; --muted:#6d7456; --ok:#4d7c0f; --header:rgba(247,248,240,.95); --cart:#6b7c3c; --cart-ink:#f8faf0; --badge:#e6d5a8; --badge-ink:#2f3518; --radius:14px; --art-1:#6b7c3c; --art-2:#e7ebd4; --art-3:#c4a35a; --art-4:#3f4a24; --note:#f4f6ea; --note-line:#c4a35a; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="ivory"] { color-scheme: light; --ink:#3a2a22; --primary:#8b2e2e; --deep:#5c1d1d; --canvas:#fffcf5; --paper:#fffef9; --line:#ebe2d2; --accent:#c6a15b; --sand:#efe0b8; --muted:#7a6a5c; --ok:#5f7d4f; --header:rgba(255,252,245,.96); --cart:#8b2e2e; --cart-ink:#fff8ef; --badge:#efe0b8; --badge-ink:#3a2a22; --radius:8px; --art-1:#8b2e2e; --art-2:#f4ebe0; --art-3:#c6a15b; --art-4:#5c1d1d; --note:#fff8e8; --note-line:#c6a15b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="copper"] { color-scheme: light; --ink:#3a2418; --primary:#b45309; --deep:#7c2d12; --canvas:#fff7ed; --paper:#fffaf3; --line:#edd8bf; --accent:#f59e0b; --sand:#fdba74; --muted:#8a6248; --ok:#3f6b45; --header:rgba(255,247,237,.95); --cart:#b45309; --cart-ink:#fff7ed; --badge:#fdba74; --badge-ink:#3a2418; --radius:18px; --art-1:#b45309; --art-2:#ffedd5; --art-3:#f59e0b; --art-4:#7c2d12; --note:#fff7ed; --note-line:#f59e0b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="sapphire"] { color-scheme: light; --ink:#0f2744; --primary:#1d4ed8; --deep:#1e3a8a; --canvas:#eff6ff; --paper:#ffffff; --line:#bfdbfe; --accent:#60a5fa; --sand:#93c5fd; --muted:#64748b; --ok:#059669; --header:rgba(239,246,255,.95); --cart:#1d4ed8; --cart-ink:#eff6ff; --badge:#93c5fd; --badge-ink:#0f2744; --radius:14px; --art-1:#1d4ed8; --art-2:#dbeafe; --art-3:#60a5fa; --art-4:#1e3a8a; --note:#eff6ff; --note-line:#60a5fa; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="mint"] { color-scheme: light; --ink:#134e4a; --primary:#14b8a6; --deep:#0f766e; --canvas:#f0fdfa; --paper:#ffffff; --line:#99f6e4; --accent:#2dd4bf; --sand:#5eead4; --muted:#5b7c78; --ok:#059669; --header:rgba(240,253,250,.95); --cart:#14b8a6; --cart-ink:#f0fdfa; --badge:#99f6e4; --badge-ink:#134e4a; --radius:18px; --art-1:#14b8a6; --art-2:#ccfbf1; --art-3:#2dd4bf; --art-4:#0f766e; --note:#f0fdfa; --note-line:#2dd4bf; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="charcoal"] { color-scheme: dark; --ink:#f3f4f6; --primary:#e5e7eb; --deep:#111827; --canvas:#0b1220; --paper:#111827; --line:#374151; --accent:#f59e0b; --sand:#fbbf24; --muted:#9ca3af; --ok:#34d399; --header:rgba(11,18,32,.95); --cart:#f59e0b; --cart-ink:#111827; --badge:#111827; --badge-ink:#f3f4f6; --radius:10px; --art-1:#1f2937; --art-2:#111827; --art-3:#374151; --art-4:#0b1220; --note:#1f2937; --note-line:#f59e0b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="sunset"] { color-scheme: light; --ink:#7c2d12; --primary:#ea580c; --deep:#9a3412; --canvas:#fff7ed; --paper:#fffaf5; --line:#fed7aa; --accent:#fb923c; --sand:#fdba74; --muted:#9a6b4f; --ok:#16a34a; --header:rgba(255,247,237,.95); --cart:#ea580c; --cart-ink:#fff7ed; --badge:#fdba74; --badge-ink:#7c2d12; --radius:16px; --art-1:#ea580c; --art-2:#ffedd5; --art-3:#fb923c; --art-4:#9a3412; --note:#fff7ed; --note-line:#fb923c; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="lavender"] { color-scheme: light; --ink:#4c1d95; --primary:#7c3aed; --deep:#5b21b6; --canvas:#f5f3ff; --paper:#ffffff; --line:#ddd6fe; --accent:#a78bfa; --sand:#c4b5fd; --muted:#6b7280; --ok:#059669; --header:rgba(245,243,255,.95); --cart:#7c3aed; --cart-ink:#f5f3ff; --badge:#c4b5fd; --badge-ink:#4c1d95; --radius:20px; --art-1:#7c3aed; --art-2:#ede9fe; --art-3:#a78bfa; --art-4:#5b21b6; --note:#f5f3ff; --note-line:#a78bfa; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="forest"] { color-scheme: dark; --ink:#ecfdf5; --primary:#22c55e; --deep:#052e16; --canvas:#022c22; --paper:#064e3b; --line:#14532d; --accent:#86efac; --sand:#4ade80; --muted:#a7f3d0; --ok:#86efac; --header:rgba(2,44,34,.95); --cart:#22c55e; --cart-ink:#022c22; --badge:#052e16; --badge-ink:#ecfdf5; --radius:12px; --art-1:#14532d; --art-2:#064e3b; --art-3:#166534; --art-4:#022c22; --note:#064e3b; --note-line:#86efac; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="pearl"] { color-scheme: light; --ink:#374151; --primary:#6b7280; --deep:#4b5563; --canvas:#f9fafb; --paper:#ffffff; --line:#e5e7eb; --accent:#d1d5db; --sand:#e5e7eb; --muted:#6b7280; --ok:#10b981; --header:rgba(249,250,251,.96); --cart:#4b5563; --cart-ink:#f9fafb; --badge:#e5e7eb; --badge-ink:#374151; --radius:14px; --art-1:#9ca3af; --art-2:#f3f4f6; --art-3:#d1d5db; --art-4:#6b7280; --note:#f9fafb; --note-line:#d1d5db; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="ruby"] { color-scheme: light; --ink:#4c0519; --primary:#be123c; --deep:#9f1239; --canvas:#fff1f2; --paper:#fffafa; --line:#fecdd3; --accent:#fb7185; --sand:#fda4af; --muted:#9f1239; --ok:#15803d; --header:rgba(255,241,242,.95); --cart:#be123c; --cart-ink:#fff1f2; --badge:#fda4af; --badge-ink:#4c0519; --radius:16px; --art-1:#be123c; --art-2:#ffe4e6; --art-3:#fb7185; --art-4:#9f1239; --note:#fff1f2; --note-line:#fb7185; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="amber"] { color-scheme: light; --ink:#78350f; --primary:#d97706; --deep:#b45309; --canvas:#fffbeb; --paper:#fffef7; --line:#fde68a; --accent:#fbbf24; --sand:#fcd34d; --muted:#92400e; --ok:#15803d; --header:rgba(255,251,235,.95); --cart:#d97706; --cart-ink:#fffbeb; --badge:#fcd34d; --badge-ink:#78350f; --radius:14px; --art-1:#d97706; --art-2:#fef3c7; --art-3:#fbbf24; --art-4:#b45309; --note:#fffbeb; --note-line:#fbbf24; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="slate"] { color-scheme: light; --ink:#0f172a; --primary:#334155; --deep:#1e293b; --canvas:#f8fafc; --paper:#ffffff; --line:#cbd5e1; --accent:#64748b; --sand:#94a3b8; --muted:#64748b; --ok:#0f766e; --header:rgba(248,250,252,.95); --cart:#334155; --cart-ink:#f8fafc; --badge:#cbd5e1; --badge-ink:#0f172a; --radius:10px; --art-1:#334155; --art-2:#e2e8f0; --art-3:#64748b; --art-4:#1e293b; --note:#f8fafc; --note-line:#64748b; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="majlis"],
html[data-palette="majlis"] { --ink:#1a1520; --primary:#c6a15b; --deep:#2a1f14; --canvas:#f7f1e6; --paper:#fffaf2; --line:#e6d7bc; --accent:#d4af37; --sand:#e8d5a3; --muted:#7a6a55; --ok:#5f8f6b; --header:rgba(247,241,230,.95); --cart:#c6a15b; --cart-ink:#1a1520; --badge:#e8d5a3; --badge-ink:#1a1520; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-theme="souk"],
html[data-palette="souk"] { --ink:#2a1810; --primary:#8b3a2a; --deep:#5c2418; --canvas:#faf4ec; --paper:#fffdf8; --line:#e8d5c0; --accent:#c47a2a; --sand:#e0b87a; --muted:#7a5a45; --ok:#5f8f6b; --header:rgba(250,244,236,.95); --cart:#8b3a2a; --cart-ink:#fff8ef; --badge:#e0b87a; --badge-ink:#2a1810; --mk-charcoal:var(--ink); --mk-burgundy:var(--primary); --mk-gold:var(--accent); --mk-ivory:var(--canvas); }
html[data-layout="rail"] .grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; }
html[data-layout="rail"] .grid .card { flex:0 0 250px; scroll-snap-align:start; }
html[data-density="compact"] .card-body { padding:10px; gap:4px; }
html[data-density="compact"] .section-head { margin-top:18px; }
