/* ZAD GENIE â€” inside hall stage, behind glass UI */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Amiri:wght@700&family=Outfit:wght@500;600&display=swap");

html.is-storefront body .sx-root .sx-genie-sig,
html.is-storefront body .sx-root > .sx-genie-sig {
  position: fixed !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  z-index: 86 !important;
  pointer-events: auto !important;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: center;
  width: 160px;
  opacity: 0.94 !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  filter: brightness(0.9) saturate(0.92);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.sx-genie-sig:hover,
.sx-genie-sig:focus-visible {
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-4px);
  outline: none;
}
.sx-genie-sig:hover .sx-genie-hero.is-float,
.sx-genie-sig:focus-visible .sx-genie-hero.is-float {
  animation: zg-hero-float 4.2s ease-in-out infinite !important;
}
.sx-genie-sig:active { transform: scale(0.97); }
html.is-storefront body .sx-root .sx-genie-sig.is-hidden,
.sx-genie-sig.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.85) translateY(12px) !important;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease !important;
}

/* Mini summon-scroll tip — only this block; leave the hall alone */
html.is-storefront .sx-genie-sig .zg-sig-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: min(220px, 70vw);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transform-origin: bottom center;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
}
html.is-storefront .sx-genie-sig .zg-sig-tip-rod {
  display: block;
  flex: 0 0 auto;
  height: 12px;
  margin-inline: 1px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, #fff8d4 0%, #f0d060 16%, #d4a017 38%, #5a4010 52%, #c9a227 72%, #f5e8a8 100%);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}
html.is-storefront .sx-genie-sig .zg-sig-tip-rod::before,
html.is-storefront .sx-genie-sig .zg-sig-tip-rod::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8e0, #e8c050 42%, #8b6914 72%, #3a2808);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(90, 60, 10, 0.45);
}
html.is-storefront .sx-genie-sig .zg-sig-tip-rod::before { left: -7px; }
html.is-storefront .sx-genie-sig .zg-sig-tip-rod::after { right: -7px; }
html.is-storefront .sx-genie-sig .zg-sig-tip-rod:first-child { margin-bottom: -4px; }
html.is-storefront .sx-genie-sig .zg-sig-tip-rod:last-child { margin-top: -4px; }

html.is-storefront .sx-genie-sig .zg-sig-tip-paper {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0 6px;
  padding: 10px 18px 11px;
  font-family: "Amiri", "Cinzel", Georgia, serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em;
  color: #5c1a14 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  background-color: #e8d09a;
  background-image:
    radial-gradient(ellipse 90% 70% at 12% 8%, rgba(255, 250, 235, 0.88), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 92%, rgba(140, 90, 30, 0.22), transparent 50%),
    linear-gradient(185deg, #f8e8c0 0%, #ecd4a0 42%, #d9b878 100%);
  border-inline: 2.5px solid rgba(160, 110, 40, 0.55);
  box-shadow:
    inset 0 0 22px rgba(100, 60, 20, 0.16),
    inset 6px 0 12px rgba(0, 0, 0, 0.06),
    inset -6px 0 12px rgba(0, 0, 0, 0.06);
}
html.is-storefront .sx-genie-sig .zg-sig-tip-paper::before {
  content: "";
  position: absolute;
  inset: 5px 7px;
  border: 1.5px solid rgba(139, 90, 20, 0.28);
  border-radius: 2px;
  pointer-events: none;
}

html.is-storefront .sx-genie-sig:hover .zg-sig-tip,
html.is-storefront .sx-genie-sig:focus-visible .zg-sig-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
html.is-storefront body .sx-root.is-rtl .sx-genie-sig,
html.is-storefront body .sx-root.is-rtl > .sx-genie-sig,
html.is-storefront .sx-root.is-rtl .sx-genie-sig {
  left: 1.2% !important;
  right: auto !important;
}
html.is-storefront body .sx-root.is-ltr .sx-genie-sig,
html.is-storefront body .sx-root.is-ltr > .sx-genie-sig,
html.is-storefront .sx-root.is-ltr .sx-genie-sig {
  left: auto !important;
  right: 1.2% !important;
}

.sx-genie-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.sx-genie-hero-wrap {
  position: relative;
  width: 120px;
  height: 148px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0;
}

.zg-smoke-canvas {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 130px;
  height: 165px;
  z-index: 1;
  pointer-events: none;
  filter: blur(1.2px);
  mix-blend-mode: screen;
  opacity: 0.92;
}

.sx-genie-hero {
  position: relative;
  z-index: 3;
  line-height: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.86);
  will-change: transform, opacity;
}
.sx-genie-hero img {
  width: 96px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.sx-genie-hero.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  animation: zg-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.sx-genie-hero.is-visible.is-float {
  animation: zg-hero-float 4.2s ease-in-out infinite;
}
@keyframes zg-hero-in {
  from { opacity: 0; transform: translateY(14px) scale(0.86); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes zg-hero-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50%      { transform: translateY(-5px) scale(1); opacity: 1; }
}

.sx-genie-sig-copy {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-top: -2px;
  opacity: 1;
}

.zg-name {
  display: block;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.zg-name.is-ar {
  font-family: "Amiri", serif;
  font-size: 1.12rem;
  background: linear-gradient(165deg, #fff9eb, #f5d78e, #d4a853);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.zg-name.is-en {
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(165deg, #fff, #e9d5ff, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.zg-divider {
  display: block;
  width: 38px;
  height: 1px;
  margin: 3px auto;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.65), rgba(167, 139, 250, 0.5), transparent);
}
.zg-tagline {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(215, 210, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.zg-mark { display: inline-block; line-height: 0; }
.zg-mark__img { width: 44px; animation: zg-hero-float 4s ease-in-out infinite; }

@media (max-width: 900px) {
  html.is-storefront body .sx-root .sx-genie-sig { width: 140px; bottom: 1% !important; }
  .sx-genie-hero img { width: 84px; }
  .sx-genie-hero-wrap { width: 100px; height: 132px; }
  .zg-smoke-canvas { width: 108px; height: 140px; }
}
@media (max-width: 600px) {
  html.is-storefront body .sx-root .sx-genie-sig {
    width: 128px !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  html.is-storefront body .sx-root.is-rtl .sx-genie-sig { left: 8px !important; }
  html.is-storefront body .sx-root.is-ltr .sx-genie-sig { right: 8px !important; }
  .sx-genie-hero img { width: 76px; }
  .sx-genie-hero-wrap { width: 92px; height: 118px; }
  .sx-genie-sig-copy { max-width: 120px; }
  .sx-genie-sig-copy .zg-name { font-size: 0.62rem; }
  .sx-genie-sig-copy .zg-tagline { font-size: 0.5rem; }
}

/* ZAD GENIE chat assist */
.sx-chat-bubble {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sx-chat-bubble.is-me {
  align-self: flex-end;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.28);
  max-width: 92%;
}
.sx-chat-bubble.is-bot {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(76, 29, 149, 0.12));
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 8px 24px rgba(76, 29, 149, 0.18);
  max-width: 96%;
}
.sx-chat-bubble.is-staff {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  max-width: 96%;
}
.sx-chat-bubble-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.sx-chat-bubble-head b {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #e9d5ff;
}
.sx-chat-bot-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.45);
}
.sx-chat-bubble-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.94);
  white-space: pre-wrap;
}
.sx-chat-products {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.sx-chat-product {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: start;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sx-chat-product:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.sx-chat-product img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.sx-chat-product-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sx-chat-product-copy strong {
  font-size: 0.78rem;
  color: #fff;
  line-height: 1.25;
}
.sx-chat-product-copy small {
  font-size: 0.66rem;
  color: rgba(228, 228, 231, 0.78);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-chat-product-copy em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fbbf24;
}
.sx-chat-product-copy em s {
  margin-inline-start: 6px;
  color: rgba(161, 161, 170, 0.85);
  font-weight: 500;
}
.sx-chat-quick-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.8);
  margin: 0 12px 4px;
}
.sx-chat-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 8px;
}
.sx-chat-chip {
  font-size: 0.72rem !important;
  white-space: nowrap;
}

.shop-inbox-bot-reply {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
}

.shop-inbox-live-pulse {
  animation: shop-inbox-pulse 1.1s ease-out 1;
}
@keyframes shop-inbox-pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.45); }
  100% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0); }
}

/* Top-bar ZAD GENIE launch + glass hover card */
header.top-bar,
header.top-bar .top-bar-end,
.zg-launch {
  overflow: visible !important;
}
.zg-launch {
  position: relative;
  z-index: 40;
}
.zg-launch .showroom-launch-btn {
  --slb-accent: color-mix(in srgb, var(--accent, #8b5cf6) 42%, #fbbf24);
}
.zg-launch-pop {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  padding-top: 8px;
  transform: translateX(-50%) translateY(4px) scale(0.96);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
/* Keep pop on-screen when the icon sits on the physical left (RTL chrome) */
.zg-launch.is-rtl .zg-launch-pop {
  left: 0;
  right: auto;
  transform: translateX(0) translateY(4px) scale(0.96);
}
/* Keep pop on-screen when the icon sits on the physical right (LTR chrome) */
.zg-launch.is-ltr .zg-launch-pop {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(4px) scale(0.96);
}
.zg-launch-pop::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 0;
  height: 12px;
}
.zg-launch.is-open .zg-launch-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.zg-launch.is-rtl.is-open .zg-launch-pop {
  transform: translateX(0) translateY(0) scale(1);
}
.zg-launch.is-ltr.is-open .zg-launch-pop {
  transform: translateX(0) translateY(0) scale(1);
}
.zg-launch-pop-card {
  position: relative;
  width: min(212px, calc(100vw - 1.25rem));
  padding: 12px 14px 12px;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  background: rgba(22, 14, 36, 0.96);
  border: 1px solid color-mix(in srgb, #fbbf24 42%, rgba(167, 139, 250, 0.55));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 32px rgba(139, 92, 246, 0.22);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

/* Mobile / compact chrome: never clip the showroom pop under the top bar */
@media (max-width: 980px) {
  header.top-bar,
  header.top-bar .top-bar-end,
  header.top-bar:has(.zg-launch.is-open),
  header.top-bar:has(.zg-launch.is-open) .top-bar-end {
    overflow: visible !important;
  }
  .app-shell .main-wrapper:has(.zg-launch.is-open) {
    overflow: visible !important;
  }
  .zg-launch.is-open {
    z-index: 6000;
  }
  .zg-launch.is-open .zg-launch-pop {
    z-index: 6001;
  }
}
.zg-launch-pop-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  min-height: 148px;
}
.zg-launch-hero-wrap {
  position: relative;
  width: 92px;
  height: 112px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.zg-launch-pop .zg-launch-smoke {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 96px;
  height: 122px;
  z-index: 1;
  pointer-events: none;
  filter: blur(1.2px);
  mix-blend-mode: screen;
  opacity: 0.92;
}
.zg-launch-hero {
  position: relative;
  z-index: 3;
  line-height: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.86);
  will-change: transform, opacity;
}
.zg-launch-hero img {
  width: 72px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(124, 58, 237, 0.45));
}
.zg-launch-hero.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  animation: zg-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.zg-launch-hero.is-visible.is-float {
  animation: zg-hero-float 4.2s ease-in-out infinite;
  animation-play-state: running !important;
}
.zg-launch-sig-copy {
  position: relative;
  z-index: 4;
  margin-top: 2px;
  width: 100%;
  padding-bottom: 2px;
}
/* Launch tooltip â€” same EN/AR brand as showroom stage sig */
.zg-launch-pop-card .zg-launch-sig-copy .zg-name,
.zg-launch-pop-card .sx-genie-sig-copy .zg-name {
  text-shadow: none !important;
}
.zg-launch-pop-card .zg-launch-sig-copy .zg-name.is-en,
.zg-launch-pop-card .sx-genie-sig-copy .zg-name.is-en {
  font-family: "Cinzel", serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  display: block !important;
  background-image: linear-gradient(165deg, #ffffff 0%, #e9d5ff 46%, #fbbf24 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.zg-launch-pop-card .zg-launch-sig-copy .zg-name.is-ar,
.zg-launch-pop-card .sx-genie-sig-copy .zg-name.is-ar {
  font-family: "Amiri", serif !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  background-image: linear-gradient(165deg, #fff9eb 0%, #f5d78e 48%, #d4a853 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.zg-launch-sig-copy .zg-divider {
  margin: 5px auto 4px;
}
.zg-launch-pop-card .zg-launch-sig-copy .zg-tagline,
.zg-launch-pop-card .sx-genie-sig-copy .zg-tagline {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.5rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
  margin-bottom: 0 !important;
  color: rgba(215, 210, 255, 0.88) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75) !important;
}
.zg-launch-pop-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 2px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #1a1028;
  background: linear-gradient(135deg, #fde68a, #fbbf24 45%, #d4a853);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.zg-launch-pop-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.38);
  color: #1a1028;
}
.zg-launch-pop-card::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: rotate(45deg);
  background: rgba(22, 14, 36, 0.96);
  border-left: 1px solid color-mix(in srgb, #fbbf24 42%, rgba(167, 139, 250, 0.55));
  border-top: 1px solid color-mix(in srgb, #fbbf24 42%, rgba(167, 139, 250, 0.55));
  backdrop-filter: blur(12px);
}

/* Light theme â€” clean card, no gold bloom */
html[data-theme="zad-light"] .zg-launch-pop,
html.theme-zad-light .zg-launch-pop {
  filter: none;
}
html[data-theme="zad-light"] .zg-launch-pop-card,
html.theme-zad-light .zg-launch-pop-card {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #c4b5fd 48%, #e2e8f0);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.1),
    0 4px 12px rgba(76, 29, 149, 0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="zad-light"] .zg-launch-pop-card::after,
html.theme-zad-light .zg-launch-pop-card::after {
  background: #ffffff;
  border-color: color-mix(in srgb, #c4b5fd 48%, #e2e8f0);
  box-shadow: none;
}
html[data-theme="zad-light"] .zg-launch-pop .zg-launch-smoke,
html.theme-zad-light .zg-launch-pop .zg-launch-smoke {
  opacity: 0.55;
  mix-blend-mode: multiply;
}
html[data-theme="zad-light"] .zg-launch-pop-card .zg-name.is-ar,
html.theme-zad-light .zg-launch-pop-card .zg-name.is-ar {
  background-image: linear-gradient(165deg, #5b21b6 0%, #7c3aed 42%, #b45309 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}
html[data-theme="zad-light"] .zg-launch-pop-card .zg-name.is-en,
html.theme-zad-light .zg-launch-pop-card .zg-name.is-en {
  font-family: "Cinzel", serif !important;
  background-image: linear-gradient(165deg, #4c1d95 0%, #7c3aed 40%, #fbbf24 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}
html[data-theme="zad-light"] .zg-launch-pop-card .zg-tagline,
html.theme-zad-light .zg-launch-pop-card .zg-tagline {
  color: #6d28d9 !important;
  text-shadow: none !important;
}
html[data-theme="zad-light"] .zg-launch-sig-copy .zg-divider,
html.theme-zad-light .zg-launch-sig-copy .zg-divider {
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.45), rgba(180, 83, 9, 0.35), transparent);
  box-shadow: none;
}
html[data-theme="zad-light"] .zg-launch-hero img,
html.theme-zad-light .zg-launch-hero img {
  filter: drop-shadow(0 6px 14px rgba(124, 58, 237, 0.22));
}
html[data-theme="zad-light"] .zg-launch-pop-cta,
html.theme-zad-light .zg-launch-pop-cta {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed 55%, #6d28d9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
}
html[data-theme="zad-light"] .zg-launch-pop-cta:hover,
html.theme-zad-light .zg-launch-pop-cta:hover {
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.36);
}

header.top-bar .showroom-launch-btn {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.38), rgba(251, 191, 36, 0.28)) !important;
  border-color: color-mix(in srgb, #fbbf24 48%, #8b5cf6 42%) !important;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22), 0 4px 14px rgba(124, 58, 237, 0.28) !important;
}
header.top-bar .showroom-launch-genie-ico {
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 7px rgba(251, 191, 36, 0.7)) brightness(1.28) contrast(1.12) saturate(1.15);
}
html[data-theme="zad-light"] header.top-bar .showroom-launch-btn,
html.theme-zad-light header.top-bar .showroom-launch-btn {
  background: color-mix(in srgb, #8b5cf6 14%, #fff) !important;
  border-color: color-mix(in srgb, #7c3aed 38%, #fbbf24 30%) !important;
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.18) !important;
}
html[data-theme="zad-light"] header.top-bar .showroom-launch-genie-ico,
html.theme-zad-light header.top-bar .showroom-launch-genie-ico {
  filter: drop-shadow(0 2px 6px rgba(91, 33, 182, 0.4)) saturate(1.08) brightness(1.05);
}

/* Header alerts â€” centered icons + readable on dark chrome */
header.top-bar .notification-bell-btn,
header.top-bar .ops-alert-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #d97706 !important;
  background: color-mix(in srgb, #f59e0b 14%, var(--card, #fff)) !important;
  border-color: color-mix(in srgb, #f59e0b 32%, var(--panel-border, #e2e8f0)) !important;
}
header.top-bar .notification-bell-btn svg,
header.top-bar .ops-alert-btn svg,
header.top-bar .ops-alert-icon,
header.top-bar .bell-icon {
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
html.theme-obsidian header.top-bar .notification-bell-btn,
body.theme-obsidian header.top-bar .notification-bell-btn,
html.theme-obsidian header.top-bar .ops-alert-btn,
body.theme-obsidian header.top-bar .ops-alert-btn,
html.theme-zad header.top-bar .notification-bell-btn,
body.theme-zad header.top-bar .notification-bell-btn,
html.theme-zad header.top-bar .ops-alert-btn,
body.theme-zad header.top-bar .ops-alert-btn {
  color: #fbbf24 !important;
  background: color-mix(in srgb, #fbbf24 16%, rgba(15, 23, 42, 0.55)) !important;
  border-color: color-mix(in srgb, #fbbf24 42%, rgba(255, 255, 255, 0.14)) !important;
}
html.theme-zad-light header.top-bar .notification-bell-btn,
body.theme-zad-light header.top-bar .notification-bell-btn,
html.theme-zad-light header.top-bar .ops-alert-btn,
body.theme-zad-light header.top-bar .ops-alert-btn {
  color: #b45309 !important;
  background: color-mix(in srgb, #f59e0b 12%, #fff) !important;
  border-color: color-mix(in srgb, #d97706 30%, #e2e8f0) !important;
}
header.top-bar .ops-alert-btn.is-critical {
  color: #fca5a5 !important;
  background: color-mix(in srgb, var(--red, #ef4444) 18%, rgba(15, 23, 42, 0.5)) !important;
  border-color: color-mix(in srgb, var(--red, #ef4444) 45%, rgba(255, 255, 255, 0.12)) !important;
}

@media (prefers-reduced-motion: reduce) {
  .zg-launch-pop {
    transition: none !important;
  }
  /* Keep a simple appear; do not fully kill genie motion on dashboard */
  .zg-launch-hero.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Tab hidden: pause float only â€” never permanently disable */
html.zad-anim-paused .zg-launch-hero.is-float,
html.is-hall-hidden .zg-launch-hero.is-float,
html.zad-anim-paused .sx-genie-hero.is-float,
html.is-hall-hidden .sx-genie-hero.is-float {
  animation-play-state: paused !important;
}

/* summon styles moved to _zg-summon-v8.css — legacy block disabled below */
/* ═══ GENIE SUMMON v7 — DISABLED ═══ */
.zg-summon {
  position: fixed;
  inset: 0;
  z-index: 9200;
  overflow: hidden;
  cursor: pointer;
}

.zg-summon-ambient-smoke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.zg-summon.is-active .zg-summon-ambient-smoke {
  animation: zg-s6-in 1s ease forwards;
}

.zg-summon-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 2, 10, 0.48);
  opacity: 0;
  pointer-events: none;
}
.zg-summon-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 78% 72% at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.2) 100%);
}
.zg-summon.is-active .zg-summon-veil {
  /* superseded by v8 */
}
.zg-summon.is-active .zg-summon-vignette { /* superseded */ }
.zg-summon.is-closing .zg-summon-veil,
.zg-summon.is-closing .zg-summon-vignette { /* superseded by v8 */ }
@keyframes zg-veil-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes zg-s6-in { to { opacity: 1; } }
@keyframes zg-s6-out { to { opacity: 0; } }

.zg-summon-chrome,
.zg-summon-close,
.zg-summon-hint { display: none !important; }

.zg-summon-ensemble {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vh, 64px) 12px clamp(88px, 11vh, 110px);
  box-sizing: border-box;
  pointer-events: none;
}
.zg-summon-scroll-col,
.zg-summon-genie-col,
.zg-summon-cta {
  pointer-events: auto;
}

.zg-summon-stage {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 28px);
  direction: ltr;
  width: min(1100px, 97vw);
  pointer-events: none;
}
.zg-summon-scroll-col,
.zg-summon-genie-col {
  pointer-events: auto;
}

/* â”€â”€ Scroll: hidden until whole assembly opens â”€â”€ */
.zg-summon-scroll-col {
  flex: 0 1 min(400px, 44vw);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: clamp(36px, 7vh, 72px);
  perspective: 800px;
}

.zg-summon-scroll {
  width: 100%;
  max-width: min(380px, 42vw);
  opacity: 1;
  transform: none;
  transform-origin: top center;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
  pointer-events: auto;
}
.zg-summon.is-active .zg-summon-scroll {
  pointer-events: auto;
  animation: zg-s6-scroll-open 1.25s cubic-bezier(0.16, 1, 0.3, 1) 1.7s both;
}
.zg-summon.is-closing .zg-summon-scroll {
  animation: zg-s6-out 0.3s ease forwards;
}
@keyframes zg-s6-scroll-open {
  0%   { opacity: 0; transform: scaleY(0.08) scaleX(0.94) translateX(-16px); }
  100% { opacity: 1; transform: scaleY(1) scaleX(1) translateX(0); }
}

.zg-scroll-assembly {
  display: flex;
  flex-direction: column;
}

.zg-scroll-rod {
  flex: 0 0 auto;
  height: 26px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fff8dc 0%, #f5e08a 16%, #d4af37 38%, #6b5010 52%, #c9a227 74%, #f0dfa0 100%);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.55),
    inset 0 3px 0 rgba(255, 255, 255, 0.65),
    inset 0 -3px 0 rgba(0, 0, 0, 0.35);
  position: relative;
}
.zg-scroll-rod::before,
.zg-scroll-rod::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8e0, #e8c050 42%, #8b6914 75%, #4a3508);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(90, 60, 10, 0.4);
}
.zg-scroll-rod::before { left: -10px; }
.zg-scroll-rod::after  { right: -10px; }
.zg-scroll-rod--top { margin-bottom: -5px; z-index: 2; }
.zg-scroll-rod--bottom { margin-top: -5px; z-index: 2; }

.zg-scroll-paper {
  position: relative;
  overflow: visible;
  margin-inline: 6px;
  max-height: none;
  background-color: #f0dcb0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 95% 75% at 12% 8%, rgba(255, 252, 245, 0.95), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 92%, rgba(170, 120, 50, 0.2), transparent 52%),
    linear-gradient(188deg, #fff6e0 0%, #f5e4bc 30%, #e8cf98 62%, #d9b878 100%);
  box-shadow:
    inset 0 0 70px rgba(120, 80, 30, 0.14),
    inset 8px 0 18px rgba(0, 0, 0, 0.07),
    inset -8px 0 18px rgba(0, 0, 0, 0.07),
    0 22px 48px rgba(0, 0, 0, 0.4);
  border-inline: 2px solid rgba(190, 150, 70, 0.55);
  clip-path: polygon(
    1.5% 0%, 98.5% 0%,
    100% 2%, 99% 10%, 100% 18%, 98.5% 28%, 100% 40%, 99% 52%, 100% 64%,
    98.5% 76%, 100% 86%, 99% 94%, 100% 100%,
    0% 100%, 1% 94%, 0% 86%, 1.5% 76%, 0% 64%, 1% 52%, 0% 40%,
    1.5% 28%, 0% 18%, 1% 10%, 0% 2%
  );
}
.zg-scroll-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, transparent 38%, transparent 62%, rgba(255, 240, 200, 0.12) 100%);
}
.zg-scroll-paper::before {
  content: "";
  position: absolute;
  inset: 12px 14px;
  border: 1.5px dashed rgba(139, 105, 20, 0.32);
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
}
.zg-scroll-paper::after {
  display: none !important;
  content: none !important;
}

.zg-summon.is-active .zg-scroll-inner {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none;
}
.zg-scroll-inner {
  position: relative;
  z-index: 3;
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 24px);
  max-height: min(46vh, 400px);
  overflow-y: auto;
  color: #2c2318;
  text-align: start;
  scrollbar-width: none !important;
  scrollbar-color: transparent transparent !important;
  -ms-overflow-style: none !important;
  opacity: 1;
  visibility: visible;
}
.zg-scroll-inner::-webkit-scrollbar,
.zg-scroll-inner::-webkit-scrollbar-thumb,
.zg-scroll-inner::-webkit-scrollbar-track {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.zg-scroll-title {
  margin: 0 0 10px;
  padding-inline-end: 12px;
  font-family: "Amiri", "Cinzel", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #1f1810;
}
.zg-scroll-lead {
  margin: 0 0 14px;
  font-size: clamp(0.74rem, 1.65vw, 0.84rem);
  line-height: 1.6;
  color: #3a3025;
}
.zg-scroll-block { margin-bottom: 12px; }
.zg-scroll-h3 {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c4a30;
}
.zg-scroll-steps,
.zg-scroll-features,
.zg-scroll-policy {
  margin: 0;
  padding-inline-start: 1.15em;
  font-size: 0.69rem;
  line-height: 1.55;
  color: #3a3025;
}
.zg-scroll-steps li + li,
.zg-scroll-features li + li,
.zg-scroll-policy li + li { margin-top: 4px; }

.zg-scroll-block--contact .zg-scroll-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.zg-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #2c2318;
  background: rgba(255, 248, 235, 0.5);
  border: 1px solid rgba(101, 67, 33, 0.22);
  font-size: 0.67rem;
}
.zg-contact-label { font-weight: 700; color: #5c4a30; }
.zg-ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.zg-scroll-sign {
  margin: 14px 0 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(101, 67, 33, 0.35);
  font-family: "Amiri", "Cinzel", serif;
  font-size: clamp(0.86rem, 1.9vw, 1rem);
  font-weight: 700;
  font-style: italic;
  text-align: end;
  color: #3d2e1a;
}

/* ── Genie + smoke ── */
.zg-summon-genie-col {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: min(360px, 46vw);
  cursor: default;
}

.zg-summon-feet-smoke {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 68vw) !important;
  height: min(380px, 44vh) !important;
  min-width: 280px;
  min-height: 220px;
  pointer-events: none;
  z-index: 2;
  display: block;
  opacity: 0.95;
  mix-blend-mode: screen;
  filter: blur(1.2px);
}

.zg-genie-float {
  position: relative;
  z-index: 4;
  opacity: 0;
  transform: translateY(260px) scale(0.18);
  filter: blur(28px) brightness(2.4);
  transform-origin: bottom center;
  will-change: transform, opacity, filter;
}
/* animations live in _zg-summon-v8.css */
.zg-summon.is-active .zg-genie-float {
  /* superseded by v8 mount animation */
}
.zg-summon.is-closing .zg-genie-float {
  /* superseded by v8 sink animation */
}
@keyframes zg-lamp-rise {
  0% {
    opacity: 0;
    transform: translateY(200px) scale(0.32);
    filter: blur(22px) brightness(2);
  }
  40% {
    opacity: 0.55;
    filter: blur(12px) brightness(1.4);
  }
  70% {
    opacity: 0.92;
    filter: blur(4px) brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}
@keyframes zg-lamp-exit {
  to {
    opacity: 0;
    transform: translateY(70px) scale(0.75);
    filter: blur(10px);
  }
}
@keyframes zg-s6-genie-idle {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.01); }
}

.zg-summon-genie-img {
  display: block;
  height: clamp(280px, 66vh, 640px);
  width: auto;
  max-width: min(500px, 48vw);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(60, 20, 120, 0.5)) drop-shadow(0 0 60px rgba(140, 80, 220, 0.25));
}

.zg-summon-cta {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 30;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid #8b6914;
  background: linear-gradient(180deg, #f5e6b8 0%, #e8c86a 35%, #c9a227 70%, #d4af37 100%);
  color: #2a2010;
  font-family: "Amiri", "Cinzel", serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  opacity: 0;
}
.zg-summon.is-active .zg-summon-cta {
  animation: zg-s6-cta 0.5s ease 2.6s forwards;
}
.zg-summon.is-closing .zg-summon-cta { animation: zg-s6-out 0.25s ease forwards; }
@keyframes zg-s6-cta {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.zg-summon-cta:hover {
  filter: brightness(1.06);
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 900px) {
  .zg-summon-stage {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .zg-summon-scroll-col {
    order: 1;
    width: min(94vw, 400px);
    padding-bottom: 0;
    flex: 0 0 auto;
  }
  .zg-summon-genie-col {
    order: 2;
    min-width: 0;
  }
  .zg-summon-scroll { max-width: 100%; }
  .zg-summon-genie-img {
    max-height: min(36vh, 300px);
    max-width: min(320px, 86vw);
  }
  .zg-scroll-inner { max-height: min(32vh, 260px); }
}

html.zg-summon-active,
html.zg-summon-active body {
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .zg-summon-scroll,
  .zg-scroll-inner,
  .zg-summon-cta { animation: none !important; }
  .zg-summon-veil {
    opacity: 1 !important;
    backdrop-filter: blur(20px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  }
  .zg-summon-vignette,
  .zg-summon-chrome,
  .zg-summon-ambient-smoke,
  .zg-summon-feet-smoke { opacity: 1 !important; }
  .zg-summon.is-active .zg-summon-scroll { opacity: 1; transform: none; animation: none; }
  .zg-summon.is-active .zg-genie-float {
    opacity: 1;
    transform: none;
    filter: none;
    animation: zg-s6-genie-idle 5.2s ease-in-out infinite !important;
  }
  .zg-summon-cta { opacity: 1; transform: translateX(-50%); }
}
