:root,
[data-theme="jeddah"] {
  color-scheme: light;
  --ink: #34211b;
  --primary: #9a1c1f;
  --deep: #5f1316;
  --canvas: #f7f2ea;
  --paper: #fffdfa;
  --line: #e8dbcd;
  --accent: #d4af37;
  --sand: #c9a227;
  --muted: #7b675b;
  --ok: #7ea878;
  --header: rgba(255, 253, 250, 0.94);
  --cart: #9a1c1f;
  --cart-ink: #fff8ef;
  --badge: #e1bd54;
  --badge-ink: #3b261c;
  --radius: 16px;
  --art-1: #7e171b;
  --art-2: #f0dfd2;
  --art-3: #d4af37;
  --art-4: #bd8f53;
  --note: #fff6e7;
  --note-line: #d4af37;
}
[data-theme="majlis"],
[data-palette="majlis"] {
  color-scheme: dark;
  --ink: #f7f3ea;
  --primary: #c6a15b;
  --deep: #0c1020;
  --canvas: #14182a;
  --paper: #1c2238;
  --line: #343a56;
  --accent: #e7c98a;
  --sand: #c6a15b;
  --muted: #c4bba8;
  --ok: #8fb59a;
  --header: rgba(20, 24, 42, 0.94);
  --cart: #c6a15b;
  --cart-ink: #14182a;
  --badge: #14182a;
  --badge-ink: #f7f3ea;
  --radius: 6px;
  --art-1: #2a2418;
  --art-2: #3a3122;
  --art-3: #243028;
  --art-4: #1a2230;
  --note: #2a2418;
  --note-line: #c6a15b;
}
[data-theme="souk"],
[data-palette="souk"] {
  color-scheme: light;
  --ink: #2a1812;
  --primary: #8b3a2a;
  --deep: #4a1f16;
  --canvas: #f7efe6;
  --paper: #fffaf4;
  --line: #e4d2c2;
  --accent: #c47a2a;
  --sand: #f0d7a8;
  --muted: #6d5346;
  --ok: #3f6b45;
  --header: rgba(247, 239, 230, 0.94);
  --cart: #8b3a2a;
  --cart-ink: #fffaf4;
  --badge: #f0d7a8;
  --badge-ink: #2a1812;
  --radius: 14px;
  --art-1: #8b3a2a;
  --art-2: #4a1f16;
  --art-3: #c47a2a;
  --art-4: #6b3e2a;
  --note: #fff4e5;
  --note-line: #e4c39a;
}
[data-palette="coast"] {
  color-scheme: light;
  --ink: #34211b;
  --primary: #9a1c1f;
  --deep: #5f1316;
  --canvas: #f7f2ea;
  --paper: #fffdfa;
  --line: #e8dbcd;
  --accent: #d4af37;
  --sand: #c9a227;
  --muted: #7b675b;
  --ok: #7ea878;
  --header: rgba(255, 253, 250, 0.94);
  --cart: #9a1c1f;
  --cart-ink: #fff8ef;
  --badge: #e1bd54;
  --badge-ink: #3b261c;
  --radius: 16px;
  --art-1: #7e171b;
  --art-2: #f0dfd2;
  --art-3: #d4af37;
  --art-4: #bd8f53;
  --note: #fff6e7;
  --note-line: #d4af37;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 100% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
    radial-gradient(820px 380px at -8% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 52%),
    linear-gradient(180deg, #fffdf9 0%, var(--canvas) 28%);
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom, 0);
  --pad: clamp(12px, 3.2vw, 24px);
  --shell: min(1180px, calc(100% - (var(--pad) * 2)));
}
body.lang-ur { font-family: "Noto Nastaliq Urdu", "IBM Plex Sans Arabic", serif; line-height: 2.15; }
body.lang-en { font-family: "Fraunces", "IBM Plex Sans Arabic", Georgia, serif; }
h1, h2, h3 { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; line-height: 1.25; font-weight: 700; }
body.lang-en h1, body.lang-en h2 { font-family: Fraunces, Georgia, serif; }
.bootstrap-store {
  --bs-body-bg: var(--canvas);
  --bs-body-color: var(--ink);
  --bs-card-bg: var(--paper);
  --bs-border-color: var(--line);
  --bs-danger: var(--primary);
  --bs-danger-rgb: 154, 28, 31;
  --bs-primary: var(--primary);
  --bs-primary-rgb: 154, 28, 31;
  --bs-link-color: var(--primary);
  --bs-link-hover-color: color-mix(in srgb, var(--primary) 82%, #000);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--paper);
}
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; inset-inline-start: 12px; top: -40px; background: var(--ink); color: var(--canvas); padding: 8px; }
.skip:focus { top: 8px; }
main, .site-foot, .more-nav { width: var(--shell); margin-inline: auto; }
.full-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.storefront {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0);
}
.utility, .header { width: var(--shell); margin-inline: auto; }
.utility { display: flex; justify-content: flex-end; align-items: center; gap: 12px; min-height: 44px; padding-block: 4px; }
.utility-end, .city-form, .search, .stack, .actions, .header-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.city-form select, .search input, .stack input, .stack select, .stack textarea, table input, table select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 44px; font-size: 16px;
}
.stack { flex-direction: column; align-items: stretch; max-width: 640px; width: 100%; }
.stack label, .checkout label { display: grid; gap: 6px; }
textarea { min-height: 96px; resize: vertical; }
.langs { display: flex; gap: 6px; flex-wrap: wrap; }
.langs a { text-decoration: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 10px; color: var(--ink); min-height: 36px; display: inline-flex; align-items: center; }
.themes { display: flex; gap: 6px; align-items: center; margin: 0; }
.themes button {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 36px;
  padding: 0;
}
.themes button[aria-pressed="true"] { background: var(--primary); color: var(--cart-ink); border-color: var(--primary); }
.swatch { width: 18px; height: 18px; border-radius: 999px; display: inline-block; }
.swatch-jeddah { background: linear-gradient(135deg, #9a1c1f 52%, #d4af37 52%); }
.brand-image { min-width: 0; }
.brand-logo-img, .foot-logo {
  width: auto;
  height: clamp(52px, 8vw, 78px);
  max-width: min(280px, 58vw);
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #fff6ef;
}
.foot-logo { height: 88px; max-width: 220px; margin-bottom: 10px; }
.logo-preview img { width: min(240px, 100%); height: auto; border-radius: 12px; background: #fff6ef; }
.utility-brand { margin: 0; color: var(--muted); font-size: 13px; }
.city-checkout { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--paper); }
.city-checkout legend { padding-inline: 6px; font-weight: 700; }
.swatch-majlis { background: linear-gradient(135deg, #14182a 52%, #c6a15b 52%); }
.swatch-souk { background: linear-gradient(135deg, #8b3a2a 52%, #c47a2a 52%); }
.header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px 0 14px;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.header-row--main { justify-content: space-between; }
.header-row--tools { justify-content: space-between; flex-wrap: wrap; }
.header-brand-nav { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.header .brand { flex: 0 0 auto; }
.header .desktop-nav { flex: 1; min-width: 0; }
.header .search { flex: 1 1 220px; max-width: 420px; margin: 0; }
.header .header-tools { flex: 0 0 auto; margin-inline-start: auto; }
.navbar-store .nav-link { color: var(--ink); font-weight: 600; white-space: nowrap; padding: 6px 10px; border-radius: 999px; }
.navbar-store .nav-link:hover, .navbar-store .nav-link:focus { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--ink); }
.dropdown-menu { border-radius: 14px; border-color: var(--line); box-shadow: 0 12px 30px rgba(16,34,38,.12); }

.theme-menu { position: relative; }
.theme-menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; min-height: 44px; padding: 8px 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.theme-menu summary::-webkit-details-marker { display: none; }
.theme-menu-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 35; width: min(340px, calc(100vw - 24px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(16, 34, 38, 0.12); padding: 14px; display: grid; gap: 10px; }
.theme-menu-panel strong { font-size: 13px; color: var(--muted); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; min-width: 0; }
.logo { width: 48px; height: 48px; color: var(--primary); flex: 0 0 auto; }
.brand span { display: grid; min-width: 0; }
.brand strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; }
.desktop-nav a:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.search { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.search input { width: 100%; min-width: 0; flex: 1; }
.header-tools { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.header-install { display: none; }
.icon-tool { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; text-decoration: none; color: inherit; }
.account-link { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; min-height: 44px; padding: 8px 14px; display: inline-flex; align-items: center; text-decoration: none; color: inherit; white-space: nowrap; }
.cart-link { text-decoration: none; background: var(--cart); color: var(--cart-ink); border-radius: 999px; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cart-link span:not(.cart-label) { background: var(--badge); color: var(--badge-ink); border-radius: 999px; min-width: 1.4em; text-align: center; padding-inline: 4px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; min-height: 44px; padding: 8px 14px; display: inline-flex; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-links { display: grid; gap: 4px; background: var(--paper); padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: min(320px, calc(100vw - 24px)); max-height: min(70vh, 520px); overflow: auto; z-index: 30; box-shadow: 0 16px 40px rgba(16, 34, 38, 0.12); }
.mobile-links a { text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 12px; min-height: 44px; display: flex; align-items: center; }
.mobile-links a:hover, .mobile-links a:focus-visible { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.note { width: var(--shell); margin: 8px auto; background: var(--note); border: 1px solid var(--note-line); border-radius: 12px; padding: 10px 14px; }
.surface-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 38px rgba(93, 51, 22, 0.08); }
.bootstrap-card { background: var(--paper); }
.product-grid { --bs-gutter-x: 0.9rem; --bs-gutter-y: 0.9rem; margin-inline: 0; width: 100%; max-width: 100%; }
.product-grid > * { min-width: 0; }
.product-grid-col { min-width: 0; }
.product-grid .card-body { display: grid; }
.product-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.product-rail .card { flex: 0 0 min(220px, 68vw); scroll-snap-align: start; }
.card--horizontal { display: flex; flex-direction: column; min-height: 0; }
.card--horizontal .art { min-height: 110px; padding: 10px; border-radius: 14px 14px 0 0; }
.card--horizontal .art img { width: min(100%, 96px); height: 64px; }
.card--horizontal .card-body { padding: 10px 12px 12px; gap: 4px; }
.card--horizontal .card-body h3 { font-size: 15px; margin: 0; }
.card--horizontal .card-body p { font-size: 12px; margin: 0; }
.card--horizontal .card-cta { margin-top: 6px; padding: 8px 12px; min-height: 36px; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 22px; padding: 18px 0 8px; align-items: center; }
.kicker { color: var(--accent); letter-spacing: 0.04em; margin-bottom: 0; font-weight: 600; }
h1 { font-size: clamp(34px, 5vw, 64px); margin: 0 0 8px; }
.lead { font-size: 18px; max-width: 40rem; }
.btn, button { background: var(--primary); color: var(--cart-ink); border: 0; border-radius: 999px; padding: 12px 16px; min-height: 44px; cursor: pointer; }
.btn.secondary, .checkout .secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.hero-side, .links, .grid, .cats, .trust { display: grid; gap: 12px; }
.banner, .links a, .cats a, .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.banner, .links a, .cats a { display: grid; gap: 4px; padding: 14px; text-decoration: none; color: inherit; }
.banner small, .meta, .stock { color: var(--muted); }
.cats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cats em { color: var(--accent); font-style: normal; }
.grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(16, 34, 38, 0.06); }
.card-body > p:not(.meta):not(.price):not(.stock) { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cta { margin-top: auto; text-align: center; text-decoration: none; }
.page-head { padding: 18px 0 8px; }
.page-head h1 { margin-bottom: 6px; }
.empty { color: var(--muted); }
.art { min-height: 150px; display: grid; place-items: center; position: relative; }
.product-grid .art { min-height: 170px; padding: 16px; }
.art img { width: 72%; height: 140px; object-fit: contain; }
.product-grid .art img { width: min(100%, 190px); height: 92px; }
.art.large { min-height: 320px; border-radius: 24px; }
.art.large img { height: 240px; }
.art-sheep, .art-grill { background: linear-gradient(160deg, var(--art-1), var(--art-2)); }
.art-camel, .art-feast { background: linear-gradient(160deg, var(--art-2), var(--art-3)); }
.art-veal, .art-meal { background: linear-gradient(160deg, var(--art-4), var(--art-2)); }
.art-box, .art-leaf { background: linear-gradient(160deg, var(--art-3), var(--art-1)); }
.flag { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--sand); color: var(--deep); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.card-body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.card-body h3 { margin: 0; font-size: 20px; }
.card-body h3 a { text-decoration: none; color: inherit; }
.price { display: flex; gap: 8px; align-items: baseline; }
.price strong { color: var(--accent); font-size: 20px; }
.price s { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 0; margin: 22px 0 0; }
.steps li, .trust article { background: var(--paper); border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); list-style: none; }
.trust { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; }
.choice { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--paper); }
fieldset { border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 8px; }
.prose { display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: 16px; }
.page-head--commerce { margin-bottom: 18px; }
.commerce-layout { align-items: flex-start; }
.cart-shell, .cart-summary, .checkout-section, .checkout-summary { padding: 20px; }
.cart-toolbar, .admin-section-head, .admin-topbar, .admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.cart-toolbar, .admin-section-head, .admin-topbar { justify-content: space-between; flex-wrap: wrap; }
.cart-item-cell { display: grid; gap: 4px; min-width: 220px; }
.cart-item-cell small { color: var(--muted); }
.cart-qty-form, .admin-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cart-remove-form, .cart-clear-form { margin-top: 10px; }
.cart-summary-kicker { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.cart-summary h2, .checkout-summary h2, .checkout-section h2 { margin: 0 0 12px; font-size: 1.25rem; }
.cart-benefits { margin: 14px 0 0; padding: 0 18px 0 0; color: var(--muted); display: grid; gap: 6px; }
.checkout-shell { display: block; }
.checkout-note { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.totals { display: grid; gap: 6px; max-width: 420px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.order-code { font-size: 28px; }
.faq { background: var(--paper); border-radius: 14px; padding: 8px 12px; margin: 8px 0; }
.site-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; padding: 28px 0 calc(40px + env(safe-area-inset-bottom, 0)); color: var(--muted); }
.site-foot nav { display: grid; gap: 6px; }
.admin { background: var(--canvas); }
.admin-frame { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-frame--solo { grid-template-columns: 1fr; }
.admin-main--solo { width: min(1200px, calc(100% - 24px)); margin: 28px auto 40px; }
.admin-nav { position: sticky; top: 0; align-self: start; display: grid; gap: 8px; padding: 18px 14px; background: var(--deep); color: var(--cart-ink); min-height: 100vh; }
.admin-nav a, .admin-nav button { color: inherit; text-decoration: none; background: transparent; border: 0; text-align: start; padding: 8px 10px; border-radius: 10px; }
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255,255,255,0.08); }
.admin-main { width: min(1100px, calc(100% - 24px)); margin: 20px auto 40px; }
.admin-lead { color: var(--muted); }
.admin-topbar { margin-bottom: 18px; }
.admin-section { display: grid; gap: 16px; }
.admin-filter-input { min-height: 46px; min-width: min(100%, 320px); border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 16px; }
.admin-form-grid, .admin-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.admin-perms { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.admin-perms label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--canvas); }
.admin textarea { min-height: 72px; }
.admin-main > * + * { margin-top: 18px; }
.admin-main h2 { font-size: 1.35rem; margin-top: 28px; }
.admin-main .stack,
.admin-main article,
.admin-main .table-wrap,
.admin-main ul { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 12px 28px rgba(93, 51, 22, 0.06); }
.admin-main table { background: transparent; }
.admin-main form.stack > p { margin: 0; }
.admin-main input,
.admin-main select,
.admin-main textarea { background: #fff; }
.admin-login-shell { min-height: calc(100vh - 40px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: 24px; align-items: stretch; }
.admin-login-brand, .admin-login-card { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.admin-login-brand { min-height: 560px; padding: clamp(28px, 4vw, 42px); align-content: end; background: radial-gradient(circle at top, rgba(212,175,55,0.14), transparent 32%), linear-gradient(160deg, #250d0e, #111 62%, #171717); }
.admin-login-logo { width: min(420px, 100%); height: auto; margin-bottom: 24px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.24); }
.admin-login-copy { display: grid; gap: 10px; max-width: 32rem; }
.admin-login-copy p { margin: 0; color: rgba(255,255,255,0.82); }
.admin-login-card { background: color-mix(in srgb, var(--paper) 92%, #000 8%); padding: clamp(24px, 4vw, 34px); display: grid; align-content: center; gap: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.14); }
.admin-login-card h2, .admin-login-card p { margin: 0; }
.admin-login-card .stack { max-width: none; }
@media (max-width: 900px) {
  .admin-frame { grid-template-columns: 1fr; }
  .admin-nav {
    min-height: auto;
    position: sticky;
    top: 0;
    z-index: 10;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: 10px;
  }
  .admin-main { width: min(1100px, calc(100% - 20px)); margin-top: 12px; }
  .admin-main table { font-size: 14px; }
  .admin-login-shell { grid-template-columns: 1fr; min-height: auto; }
  .admin-login-brand { min-height: 320px; }
}
.logo-slot svg, .logo { width: 48px; height: 48px; color: var(--primary); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

[data-theme="majlis"] .btn, [data-theme="majlis"] button, [data-theme="majlis"] .cart-link { border-radius: 4px; }
[data-theme="majlis"] .banner, [data-theme="majlis"] .links a, [data-theme="majlis"] .cats a, [data-theme="majlis"] .card, [data-theme="majlis"] .cat-board a { border-radius: 6px; }

@media (max-width: 1100px) {
  .desktop-nav a { padding: 8px; font-size: 14px; }
  .cat-board { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 900px) {
  .desktop-nav, .more-nav { display: none; }
  .mobile-nav { display: block; }
  .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "search search";
    gap: 10px;
    align-items: center;
  }
  .brand { grid-area: brand; grid-column: auto; }
  .desktop-nav { display: none; grid-column: auto; }
  .header-tools { grid-area: tools; grid-column: auto; }
  .search { grid-area: search; grid-column: auto; max-width: none; width: 100%; margin: 0; }
  .hero, .product { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; min-height: 320px; padding: 24px 18px; }
  .slide-mark { display: none !important; }
  .utility-brand { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-gallery-card { flex-basis: 220px; min-height: 184px; }
  .admin-section-head, .cart-toolbar, .admin-topbar { align-items: stretch; }
  .admin-filter-input { min-width: 100%; }
}
@media (max-width: 680px) {
  .utility { gap: 8px; }
  .utility-end { flex-wrap: nowrap; }
  .langs a { padding: 5px 8px; font-size: 13px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .brand-logo-img { height: 56px; max-width: min(200px, 52vw); }
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cart-link { position: relative; padding-inline: 12px; min-width: 48px; justify-content: center; }
  .hero, .product, .site-foot, .cats, .grid, .steps, .trust, .cat-board, .slide { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn, .actions button { width: 100%; justify-content: center; }
  .section-head { flex-direction: column; align-items: start; }
  h1 { font-size: clamp(28px, 9vw, 40px); }
  .lead { font-size: 16px; }
  .slide strong { font-size: clamp(26px, 8vw, 36px); }
  .art.large { min-height: 220px; border-radius: 18px; }
  .art.large img { height: 160px; }
  .product-grid { --bs-gutter-x: 0; }
  .product-grid.row { margin-inline: 0; }
  .product-grid .col, .product-grid .product-grid-col { padding-inline: 0; }
  .product-grid .card { width: 100%; max-width: 100%; }
  .product-grid .art { min-height: 136px; padding: 12px; }
  .product-grid .art img { width: min(100%, 150px); height: 76px; }
  .product-rail { gap: 12px; }
  .product-rail .card { flex-basis: min(70vw, 200px); }
  .card--horizontal .art { min-height: 96px; }
  .card--horizontal .card-body { padding: 10px; }
  .settings-fab { inset-inline-end: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  main { padding-bottom: 72px; }
  .slider, .hero-gallery { width: calc(100vw - (var(--pad) * 2)); }
  .hero-stage { padding-top: 12px; padding-bottom: 18px; }
  .ticker-track { padding-block: 8px; }
  .dots label { min-width: 38px; min-height: 38px; }
  .admin-login-card, .admin-login-brand { border-radius: 20px; }
}
.home-hero { margin-top: 0; }
.hero-stage { padding: 16px max(var(--pad), env(safe-area-inset-right)) 22px max(var(--pad), env(safe-area-inset-left)); background: linear-gradient(180deg, rgba(212,175,55,0.06), transparent 22%); }
.ticker { overflow: hidden; background: linear-gradient(90deg, #090909, #1a1a1b 45%, #090909); color: var(--cart-ink); border-top: 1px solid rgba(212,175,55,0.16); border-bottom: 1px solid rgba(212,175,55,0.12); }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 10px 0; animation: ticker 32s linear infinite; }
.ticker a { color: inherit; text-decoration: none; white-space: nowrap; }
.ticker a::before { content: "•"; margin-inline-end: 28px; color: var(--accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.slider { position: relative; width: min(1180px, calc(100vw - (var(--pad) * 2))); margin: 0 auto; }
.slider input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; min-height: clamp(380px, 56vw, 560px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); align-items: stretch; gap: 24px; padding: clamp(26px, 4vw, 44px); border-radius: 36px; color: white; text-decoration: none; opacity: 0; pointer-events: none; box-shadow: inset 0 -80px 120px rgba(0,0,0,0.18), 0 18px 40px rgba(120, 73, 45, 0.12); min-width: 0; width: 100%; overflow: hidden; }
.slide-copy { display: grid; gap: 8px; align-content: center; }
.slide-copy small { color: #f0d9a5; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.slide strong { font-size: clamp(32px, 5vw, 58px); line-height: 1.15; }
.slide-copy span { max-width: 42rem; color: rgba(255,255,255,0.84); font-size: clamp(16px, 2vw, 20px); }
.slide em { justify-self: start; background: white; color: var(--deep); font-style: normal; font-weight: 700; border-radius: 999px; padding: 10px 18px; margin-top: 8px; }
.slide-selling-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.slide-selling-points b { font-size: 14px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.26); border-radius: 999px; padding: 8px 12px; font-weight: 600; }
.slide-mark { width: min(34vw, 380px); min-height: 100%; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)); display: grid; place-items: center; justify-self: stretch; overflow: hidden; padding: 18px; }
.slide-mark img { width: min(100%, 290px); height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,0.22)); border-radius: 18px; }
.slider input:nth-of-type(1):checked ~ .slides .slide:nth-child(1),
.slider input:nth-of-type(2):checked ~ .slides .slide:nth-child(2),
.slider input:nth-of-type(3):checked ~ .slides .slide:nth-child(3),
.slider input:nth-of-type(4):checked ~ .slides .slide:nth-child(4),
.slider input:nth-of-type(5):checked ~ .slides .slide:nth-child(5),
.slider input:nth-of-type(6):checked ~ .slides .slide:nth-child(6) { opacity: 1; pointer-events: auto; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.dots label { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.hero-gallery { width: min(1320px, calc(100vw - (var(--pad) * 2))); margin: 14px auto 0; overflow: hidden; border-top: 1px solid rgba(212,175,55,0.12); padding-top: 14px; }
.hero-gallery-track { display: flex; gap: 14px; width: max-content; animation: gallery-marquee 34s linear infinite; }
.hero-gallery-card { flex: 0 0 260px; min-height: 200px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.hero-gallery-card img { width: 42%; height: 110px; margin: 16px; }
.hero-gallery-card figcaption { display: grid; gap: 4px; padding: 0 16px 16px; color: #fff; }
@keyframes gallery-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .hero-gallery-track { animation-name: gallery-marquee-rtl; }
@keyframes gallery-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 28px; }
.section-head h2 { margin: 0; }
.theme-showcase { width: min(1180px, calc(100vw - (var(--pad) * 2))); margin: 18px auto 0; padding: 20px; display: grid; gap: 16px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.theme-showcase-copy { display: grid; gap: 6px; }
.theme-showcase-copy h2, .theme-showcase-copy p, .theme-showcase-copy small { margin: 0; }
.theme-showcase-copy small { color: var(--muted); }
.theme-showcase-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.cat-board a { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: inherit; min-height: 92px; }
.cat-board a:hover { border-color: var(--primary); }
.cat-board strong { font-size: 16px; }
.cat-board a > span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.orb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.orb img { width: 34px; height: 34px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.rail .card { flex: 0 0 250px; scroll-snap-align: start; min-width: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 220px; color: white; display: grid; align-content: end; width: auto; }
.gallery img { width: 46%; height: 110px; margin: 16px; }
[data-theme="majlis"] .gallery figure.art,
[data-theme="majlis"] .slide { width: auto; min-width: 0; }
[data-theme="majlis"] .rail .card { flex-direction: column; }
[data-theme="majlis"] .rail .art { width: auto; min-width: 0; }
.gallery figcaption { display: grid; gap: 4px; padding: 0 16px 16px; }
.split-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.review-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.review-row blockquote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
@media (max-width: 680px) {
  .gallery, .split-news, .review-row { grid-template-columns: 1fr; }
  .slide { min-height: 240px; }
  .rail .card, [data-layout="rail"] .grid .card { flex-basis: min(78vw, 260px); }
  .dots label { min-width: 40px; min-height: 40px; }
  .checkout, .stack.checkout { max-width: none; }
  .table-wrap { margin-inline: calc(var(--pad) * -0.25); border-radius: 12px; }
  .choice { flex-wrap: wrap; }
  .theme-showcase { grid-template-columns: 1fr; padding: 16px; }
  .settings-fab small, .utility-settings span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header { backdrop-filter: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .hero-gallery-track { animation: none; flex-wrap: wrap; width: auto; }
}
.offline-banner { position: sticky; top: 0; z-index: 40; margin: 0; background: #8b3a2a; color: #fff; text-align: center; padding: 8px 12px; }
.offline-page { min-height: 100vh; display: grid; place-items: center; }
.offline-box { width: min(520px, calc(100% - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.settings-fab {
  position: fixed;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  min-width: 56px;
  min-height: 56px;
  border-radius: 999px;
  border: 0;
  background: var(--deep);
  color: var(--cart-ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.settings-fab small { font-size: 13px; font-weight: 700; }
.settings-rail {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 60;
  width: min(980px, 100vw);
  max-width: 100%;
  background: #eef2f0;
  border-inline-start: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(16,34,38,0.16);
  z-index: 60;
  padding: 18px;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  overflow: auto;
  transform: translateX(110%);
  transition: transform 0.25s ease, visibility 0.25s;
  visibility: hidden;
  pointer-events: none;
}
html[dir="ltr"] .settings-rail { transform: translateX(110%); }
html[dir="rtl"] .settings-rail { transform: translateX(-110%); }
.settings-rail.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.settings-rail h2 { margin: 0 0 12px; font-size: 22px; }
.settings-rail h3 { margin: 14px 0 8px; font-size: 14px; color: var(--muted); }
.pref-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-chip { border: 1px solid var(--line); background: var(--canvas); color: var(--ink); border-radius: 999px; padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; }
.pref-chip.on { background: var(--primary); color: var(--cart-ink); border-color: var(--primary); }
.rail-note { color: var(--muted); font-size: 13px; }
.utility-settings { min-width: 40px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; }
.utility-settings span { font-size: 13px; }
[data-layout="rail"] .grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
[data-layout="rail"] .grid .card { flex: 0 0 250px; scroll-snap-align: start; }
[data-density="compact"] .card-body { padding: 10px; gap: 4px; }
[data-density="compact"] .card-body h3 { font-size: 17px; }
[data-density="compact"] .section-head { margin-top: 18px; }
[data-density="compact"] .slide { min-height: 280px; padding: 24px; }
[data-density="compact"] .cat-board a { min-height: 76px; padding: 10px; }

@media (hover: none) and (pointer: coarse) {
  .desktop-nav, .more-nav { display: none; }
  .mobile-nav { display: block; }
  .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "search search";
    gap: 10px;
  }
  .brand { grid-area: brand; grid-column: auto; }
  .desktop-nav { display: none; grid-column: auto; }
  .header-tools { grid-area: tools; grid-column: auto; }
  .search { grid-area: search; grid-column: auto; max-width: none; width: 100%; margin: 0; }
  .brand small { display: none; }
  .slide-mark { display: none !important; }
  .slide { grid-template-columns: 1fr; min-height: 250px; }
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cart-link { position: relative; padding-inline: 12px; min-width: 48px; justify-content: center; }
  main { padding-bottom: 72px; }
}

@media (min-width: 901px) {
  .header-tools .mobile-nav { display: none; }
}

.header-install { display: none; }
.offline-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, #d9efe4); color: var(--ink); font-size: 12px; }
.offline-chip.is-offline { background: color-mix(in srgb, var(--paper) 80%, #f3d2c2); }
.install-app { min-height: 40px; }
.admin-quick-links, .admin-front-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-quick-links a, .admin-front-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: inherit; text-decoration: none; font-size: 13px; }
.admin-quick-links a:hover, .admin-front-link:hover { border-color: var(--accent, #8b3a2a); }
.admin-report-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.admin-inline-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block: 8px; }
.admin-nav a[aria-current="page"] { background: rgba(255,255,255,0.14); }
@media (max-width: 760px) {
  .header-install .offline-chip { display: none; }
}

/* RTL moving card rails */
.move-rail {
  display: flex;
  gap: 14px;
  overflow: hidden;
  direction: rtl;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.move-rail-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: mk-rail 42s linear infinite;
}
.move-rail:hover .move-rail-track { animation-play-state: paused; }
@keyframes mk-rail {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.move-card {
  flex: 0 0 min(280px, 72vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  box-shadow: 0 10px 28px rgba(16,34,38,.06);
}
.move-card .art, .move-card .thumb {
  min-height: 140px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--paper) 70%, #efe2d4);
}
.move-card img, .move-card video { width: 100%; height: 140px; object-fit: cover; display: block; }
.move-card .body { padding: 14px; display: grid; gap: 6px; }
.video-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.video-card { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.video-card video, .video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #111; }
.video-card .body { padding: 12px 14px; display: grid; gap: 4px; }
.celeb-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(20, 16, 12, .55);
  display: grid; place-items: center; padding: 20px;
}
.celeb-modal {
  width: min(480px, 100%); background: var(--paper); border-radius: 22px; padding: 22px;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.25); display: grid; gap: 12px;
}
.celeb-modal h2 { margin: 0; font-size: clamp(24px, 4vw, 34px); }
.dnd-handle { cursor: grab; user-select: none; opacity: .7; }
.dnd-ghost { opacity: .45; }
[data-dnd-list] > * { transition: transform .15s ease; }
.admin-table-wrap { overflow: auto; }
.admin-modal-form .stack { max-width: none; }
.loc-chip { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Prefs panel cards like enterprise settings */
.settings-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 14px; flex-wrap: wrap; }
.settings-head h2 { margin: 0; font-size: 28px; }
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.settings-card { background: #fff; border: 1px solid #d9e2dc; border-radius: 18px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 8px 24px rgba(20,40,30,.05); }
.settings-card h3 { margin: 0; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.swatch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.swatch-btn { border: 1px solid #d7e0d9; background: #fff; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.swatch-btn.on { outline: 2px solid #1f7a3f; background: #eef8f1; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .pref-chip.on { background: #1f7a3f; border-color: #1f7a3f; color: #fff; }
html[data-font="cairo"] body { font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif; }
html[data-font="tajawal"] body { font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif; }
html[data-font="ibm"] body { font-family: "IBM Plex Sans Arabic", sans-serif; }
html[data-font="system"] body { font-family: system-ui, sans-serif; }
html[data-size="sm"] { font-size: 14px; }
html[data-size="md"] { font-size: 16px; }
html[data-size="lg"] { font-size: 17px; }
html[data-size="xl"] { font-size: 18px; }
html[data-width="narrow"] { --shell: min(980px, calc(100% - 28px)); }
html[data-width="wide"] { --shell: min(1180px, calc(100% - 28px)); }
html[data-width="xl"] { --shell: min(1400px, calc(100% - 24px)); }
html[data-mode="dark"] body, html[data-mode="dark"] .bootstrap-store { background: #12151a; color: #f2f4f7; }
html[data-mode="dark"] .surface-card, html[data-mode="dark"] .card, html[data-mode="dark"] .settings-card { background: #1b2129; color: #f2f4f7; border-color: #2c3642; }
html[data-motion="reduce"] .move-rail-track, html[data-motion="reduce"] .ticker-track, html[data-motion="reduce"] .hero-gallery-track { animation: none !important; }
.move-card { flex: 0 0 min(200px, 62vw); }
.move-card .art, .move-card .thumb { min-height: 96px; }
.move-card img, .move-card video { height: 96px; }
.move-card .body { padding: 10px; gap: 4px; font-size: 13px; }
.site-foot { background: color-mix(in srgb, var(--paper) 88%, #e8efe9); border-radius: 22px; padding: 28px 22px; margin: 28px auto 20px; border: 1px solid var(--line); }
.site-foot .foot-title { color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { color: var(--primary); }
.admin.bootstrap-store { background: #eef1f4; }
.admin-topnav { background: #16324f; color: #fff; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px 14px; position: sticky; top: 0; z-index: 40; }
.admin-topnav a { color: #dce7f2; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.admin-topnav a[aria-current="page"], .admin-topnav a:hover { background: #1f7a3f; color: #fff; }
.admin-frame { grid-template-columns: 260px 1fr; }
.admin-nav { background: #16324f; }
.admin-nav a[aria-current="page"] { background: #1f7a3f; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.admin-toolbar .btn-add { background: #1f7a3f; }
.admin-table thead th { background: #f4f7fa; font-size: 13px; }
.admin-table .col-filter { font-weight: 400; }
@media (max-width: 980px) {
  .settings-grid { grid-template-columns: 1fr; }
  .header-brand-nav { flex-wrap: wrap; }
  .desktop-nav { width: 100%; }
}
@media (max-width: 900px) {
  .header-row--main { flex-wrap: wrap; }
  .header .desktop-nav { display: none; }
}

/* deploy-touch */



.settings-dd { min-width: 220px; max-height: min(70vh, 520px); overflow: auto; }
.settings-dd--wide { min-width: min(92vw, 360px); }
.settings-dd .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.settings-dd .pref-chip { width: 100%; justify-content: flex-start; border-radius: 10px; }
.brand-logo-svg { display: inline-flex; width: 72px; height: 72px; }
.brand-logo-svg svg { width: 100%; height: 100%; }
.admin-theme-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 14px; background: #0f2438; color: #dce7f2; font-size: 13px; }
.admin-theme-bar .btn { padding: 4px 10px; min-height: 32px; }
body.admin[data-admin-theme="navy"] .admin-topnav { background: #16324f; }
body.admin[data-admin-theme="green"] .admin-topnav, body.admin[data-admin-theme="green"] .admin-theme-bar { background: #14532d; }
body.admin[data-admin-theme="green"] .admin-topnav a[aria-current="page"], body.admin[data-admin-theme="green"] .admin-topnav a:hover { background: #166534; }
body.admin[data-admin-theme="dark"] { --canvas: #12151c; --paper: #1a1f2b; --ink: #f3f5f8; --line: #2c3444; }
body.admin[data-admin-theme="dark"] .admin-topnav, body.admin[data-admin-theme="dark"] .admin-theme-bar { background: #0b0d12; }
body.admin[data-admin-theme="dark"] .admin-main, body.admin[data-admin-theme="dark"] .admin-section { color: #f3f5f8; }
@media (max-width: 900px) {
  .header-tools .dropdown { width: 100%; }
  .header-tools .dropdown .btn { width: 100%; }
}


/* Premium storefront chrome */
.header--premium { padding: 0 0 16px; }
.header-trust {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  padding: 8px 12px; margin-bottom: 8px;
  background: linear-gradient(90deg, #1a0f0f, #5f1316 40%, #9a1c1f 70%, #c6a15b);
  color: #fff8ef; border-radius: 14px; font-size: 13px; font-weight: 600;
}
.header-trust span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header--premium .header-row--main {
  padding: 10px 0 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}
.header--premium .brand-logo-img { height: clamp(64px, 9vw, 92px); max-width: min(320px, 62vw); }
.header--premium .desktop-nav a { font-size: 15px; letter-spacing: 0.01em; }
.header--premium .search {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 12px;
  box-shadow: 0 8px 24px rgba(90, 30, 20, 0.06);
}
.header--premium .search input { border: 0; background: transparent; box-shadow: none; }
.header--premium .header-tools .btn.secondary {
  background: color-mix(in srgb, var(--paper) 88%, var(--accent));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  font-weight: 600;
}
.storefront {
  background:
    linear-gradient(180deg, color-mix(in srgb, #1a0f0f 8%, transparent), transparent 28%),
    color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 12px 30px rgba(40, 18, 12, 0.08);
}

.slide { position: relative; }
.slide-photo {
  display: none; position: absolute; inset: 0; border-radius: inherit;
  background: center / cover no-repeat var(--slide-photo);
  filter: brightness(0.48) saturate(1.08); transform: scale(1.02);
}
.slide--photo { background: #140a0a; }
.slide--photo .slide-photo { display: block; }
.slide--photo .slide-copy, .slide--photo .slide-mark { position: relative; z-index: 1; }
.slide--photo .slide-mark {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.25));
  border: 1px solid rgba(255,255,255,0.18);
}
.slide--photo .slide-mark img {
  width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 22px;
  filter: none;
}

.art-sheep, .art-grill, .art-camel, .art-feast, .art-veal, .art-meal, .art-box, .art-leaf {
  background-size: cover !important; background-position: center !important; position: relative;
}
.art-sheep { background-image: linear-gradient(160deg, rgba(20,8,8,.45), rgba(20,8,8,.2)), url("https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=900&q=80") !important; }
.art-grill { background-image: linear-gradient(160deg, rgba(20,8,8,.45), rgba(20,8,8,.2)), url("https://images.unsplash.com/photo-1558030006-450675393462?auto=format&fit=crop&w=900&q=80") !important; }
.art-camel { background-image: linear-gradient(160deg, rgba(20,8,8,.4), rgba(20,8,8,.15)), url("https://images.unsplash.com/photo-1529692236671-f1f9cff968b7?auto=format&fit=crop&w=900&q=80") !important; }
.art-feast { background-image: linear-gradient(160deg, rgba(20,8,8,.4), rgba(20,8,8,.15)), url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=900&q=80") !important; }
.art-veal { background-image: linear-gradient(160deg, rgba(20,8,8,.4), rgba(20,8,8,.15)), url("https://images.unsplash.com/photo-1603048588665-791ca8aea617?auto=format&fit=crop&w=900&q=80") !important; }
.art-meal { background-image: linear-gradient(160deg, rgba(20,8,8,.4), rgba(20,8,8,.15)), url("https://images.unsplash.com/photo-1588168333986-5078d3ae3976?auto=format&fit=crop&w=900&q=80") !important; }
.art-box { background-image: linear-gradient(160deg, rgba(20,8,8,.4), rgba(20,8,8,.15)), url("https://images.unsplash.com/photo-1432139555190-58524dae6a55?auto=format&fit=crop&w=900&q=80") !important; }
.art-leaf { background-image: linear-gradient(160deg, rgba(20,8,8,.35), rgba(20,8,8,.12)), url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80") !important; }
.art img { opacity: 0; }

.site-foot--premium {
  width: 100%; max-width: none; margin: 48px 0 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(198,161,91,0.18), transparent 40%),
    linear-gradient(180deg, #1a0f0f, #2a1214 55%, #120a0a);
  color: #f4e9dc; padding: 0;
}
.site-foot--premium a { color: #f0d9a5; text-decoration: none; }
.site-foot--premium a:hover { color: #fff; }
.foot-cta {
  width: var(--shell); margin: 0 auto; padding: 36px 0 10px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: end;
  border-bottom: 1px solid rgba(240,217,165,0.18);
}
.foot-cta .kicker { color: #c6a15b; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; margin: 0 0 6px; }
.foot-cta h2 { margin: 0 0 8px; color: #fff8ef; font-size: clamp(1.4rem, 3vw, 2rem); }
.foot-cta p { margin: 0; max-width: 46ch; color: rgba(244,233,220,0.82); }
.foot-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-cta-actions .btn.secondary { background: transparent; border: 1px solid rgba(240,217,165,0.45); color: #fff8ef; }
.foot-grid {
  width: var(--shell); margin: 0 auto; padding: 28px 0;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 22px;
}
.foot-title { color: #fff8ef !important; font-weight: 700; margin: 0 0 10px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-brand .foot-logo { background: rgba(255,255,255,0.06); border: 1px solid rgba(240,217,165,0.2); }
.foot-social { display: flex; gap: 10px; margin-top: 10px; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(240,217,165,0.28); background: rgba(255,255,255,0.04);
}
.foot-note { color: rgba(244,233,220,0.65); font-size: 13px; }
.foot-bottom {
  width: var(--shell); margin: 0 auto; padding: 14px 0 calc(28px + env(safe-area-inset-bottom, 0));
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(240,217,165,0.14); color: rgba(244,233,220,0.7); font-size: 13px;
}
.offer-band {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background:
    linear-gradient(120deg, color-mix(in srgb, #9a1c1f 10%, var(--paper)), var(--paper) 55%),
    var(--paper);
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .header-trust { justify-content: flex-start; overflow-x: auto; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; }
}
