/* Showroom display modes — luxury editorial glass (v9) */

.shop-display-bar { margin-top: .65rem; }
.shop-display-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.shop-display-chip {
  border: 1px solid color-mix(in srgb, var(--border, #c9c4d4) 80%, transparent);
  background: color-mix(in srgb, var(--panel, #fff) 88%, #1a1228 12%);
  color: var(--text, #1a1625) !important;
  border-radius: 999px;
  padding: .38rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.shop-display-chip:hover {
  border-color: color-mix(in srgb, var(--accent, #6d28d9) 45%, var(--border, #c9c4d4));
  background: color-mix(in srgb, var(--accent, #6d28d9) 10%, var(--panel, #fff));
  color: var(--text, #1a1625) !important;
}
.shop-display-chip.is-on {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 55%, #b45309 140%) !important;
  border-color: #5b21b6 !important;
  box-shadow: 0 6px 14px rgba(109, 40, 217, .28);
  font-weight: 800;
}
/* Beat admin shell text inheritance on every theme */
.app-shell .shop-portal-stage .shop-display-chip {
  color: var(--text, #1a1625) !important;
  background: color-mix(in srgb, var(--card, #fff) 90%, #1a1228 10%) !important;
  border-color: color-mix(in srgb, var(--accent, #6d28d9) 28%, var(--border, #d0cbd8)) !important;
}
.app-shell .shop-portal-stage .shop-display-chip.is-on {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 52%, #b45309 130%) !important;
  border-color: #5b21b6 !important;
}
html.theme-dark .shop-display-chip,
html[data-theme="dark"] .shop-display-chip,
body.theme-dark .shop-display-chip {
  background: rgba(255, 255, 255, .08);
  color: #f8f5ff !important;
  border-color: rgba(255, 255, 255, .18);
}
html.theme-dark .shop-display-chip.is-on,
html[data-theme="dark"] .shop-display-chip.is-on,
body.theme-dark .shop-display-chip.is-on {
  color: #ffffff !important;
  background: linear-gradient(135deg, #7c3aed, #a16207) !important;
  border-color: #c4b5fd !important;
}
.shop-display-hint { margin: .35rem 0 0; opacity: .75; }

.sx-modes-pop .sx-modes-grid {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 90;
  width: min(240px, 82vw);
  max-height: min(52vh, 320px);
  padding: .45rem;
  display: grid;
  gap: .28rem;
  border-radius: 16px;
  background: rgba(8, 6, 18, .96);
  border: 1px solid rgba(255, 214, 140, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sx-modes-pop .sx-modes-grid::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
.sx-mode-chip {
  display: block;
  text-align: start;
  border: 0;
  border-radius: 12px;
  padding: .55rem .7rem;
  background: transparent;
  color: #f4ecff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.sx-mode-chip:hover { background: rgba(168, 85, 247, .16); }
.sx-mode-chip.is-on {
  background: linear-gradient(135deg, rgba(124, 58, 237, .4), rgba(180, 130, 40, .22));
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4);
}

/* Display-mode HUD icon — champagne accent, distinct from products menu */
.sx-root.is-hall .sx-icon.sx-icon-display svg {
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, .35));
}
.sx-root.is-hall .sx-icon.sx-icon-display.is-on {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, .45);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, .25), 0 8px 20px rgba(0, 0, 0, .28);
}
.sx-root.is-hall .sx-icon.sx-icon-display.is-on svg {
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, .55));
}

.sx-mode-banner { display: none !important; }

/* Hide scrollbars but KEEP scroll working */
.sx-root.is-hall,
.sx-root.is-hall .sx-mode-stage,
.sx-root.is-hall .sx-best-track,
.sx-root.is-hall .sx-salon-layout,
.sx-root.is-hall .sx-folio-layout,
.sx-root.is-hall .sx-orbit-layout,
.sx-root.is-hall .sx-rail,
.sx-root.is-hall .sx-pcards,
.sx-root.is-hall .sx-folio-rail {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.sx-root.is-hall .sx-mode-stage::-webkit-scrollbar,
.sx-root.is-hall .sx-pcards::-webkit-scrollbar,
.sx-root.is-hall .sx-salon-layout::-webkit-scrollbar,
.sx-root.is-hall .sx-folio-rail::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Same hall lighting for ALL modes — no extra dark veil */
.sx-root.is-hall.is-mode-vitrine .sx-stage-dim,
.sx-root.is-hall.is-mode-salon .sx-stage-dim,
.sx-root.is-hall.is-mode-folio .sx-stage-dim,
.sx-root.is-hall.is-mode-orbit .sx-stage-dim {
  background:
    linear-gradient(180deg, rgba(8,6,14,.28) 0%, transparent 18%, transparent 72%, rgba(8,6,14,.35) 100%),
    linear-gradient(90deg, rgba(8,6,14,.22) 0%, transparent 18%, transparent 82%, rgba(8,6,14,.18) 100%) !important;
  opacity: 1 !important;
}
.sx-lux-veil { display: none !important; }

/* Hall mode: never touch floating spots — nexora owns them */
.sx-root.is-hall.is-mode-hall .sx-mode-stage { display: none !important; }

/* Safe zone: never under header / over dock */
.sx-root.is-hall .sx-mode-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding:
    max(6.2rem, calc(env(safe-area-inset-top) + 5rem))
    max(1.5rem, env(safe-area-inset-right))
    max(7.8rem, calc(env(safe-area-inset-bottom) + 6.8rem))
    max(1.5rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.sx-root.is-hall .sx-mode-stage > * {
  pointer-events: auto;
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.sx-root.is-hall.is-mode-salon .sx-mode-stage {
  z-index: 5;
}

/* Shared: sit composition in the safe zone (between header & dock), not crushed on the footer */
.sx-root.is-hall.is-mode-vitrine .sx-mode-stage,
.sx-root.is-hall.is-mode-salon .sx-mode-stage {
  justify-content: center !important;
  align-items: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-top: max(6.6rem, calc(env(safe-area-inset-top) + 5.4rem)) !important;
  padding-bottom: max(9rem, calc(env(safe-area-inset-bottom) + 7.8rem)) !important;
  padding-inline: max(1.5rem, env(safe-area-inset-left)) max(1.5rem, env(safe-area-inset-right)) !important;
  scroll-padding-top: 0.75rem;
  scroll-padding-bottom: 0.75rem;
}
.sx-root.is-hall.is-mode-orbit .sx-mode-stage {
  z-index: 5 !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  padding-top: max(8.6rem, calc(env(safe-area-inset-top) + 7.2rem)) !important;
  padding-bottom: max(9.8rem, calc(env(safe-area-inset-bottom) + 8.6rem)) !important;
  padding-inline: max(1.4rem, env(safe-area-inset-left)) max(1.4rem, env(safe-area-inset-right)) !important;
}
.sx-root.is-hall.is-mode-folio .sx-mode-stage {
  z-index: 5;
  overflow: hidden !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: max(7.8rem, calc(env(safe-area-inset-top) + 6.5rem)) !important;
  padding-bottom: max(8.6rem, calc(env(safe-area-inset-bottom) + 7.4rem)) !important;
  padding-inline: max(1.75rem, env(safe-area-inset-left)) max(1.75rem, env(safe-area-inset-right)) !important;
}

/* Genie lives above modes (fixed z=86). Only hide on summon — and always hide on dimmed hall (orders). */
.sx-root.is-hall .sx-genie-sig:not(.is-hidden) {
  display: flex !important;
  visibility: visible !important;
  opacity: .94 !important;
  pointer-events: auto !important;
}
html.is-storefront body .sx-keep-hall.is-dimmed .sx-root .sx-genie-sig,
html.is-storefront body .sx-keep-hall.is-dimmed .sx-root > .sx-genie-sig,
.sx-keep-hall.is-dimmed .sx-root.is-hall .sx-genie-sig,
.sx-keep-hall.is-dimmed .sx-root.is-hall .sx-genie-sig:not(.is-hidden),
html.is-storefront body .sx-keep-hall.is-dimmed .sx-root.is-hall > .sx-bot,
html.is-storefront body .sx-keep-hall.is-dimmed .sx-root.is-hall > .sx-bot.is-open {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ═══════════ VITRINE — boutique shelf (compact products + bold offers) ═══════════ */
.sx-root.is-hall.is-mode-vitrine .sx-mode-stage {
  z-index: 5 !important;
  justify-content: center !important;
}
.sx-root.is-hall.is-mode-vitrine .sx-mode-stage > * {
  flex: 0 0 auto !important;
  align-self: center !important;
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  height: auto !important;
  max-height: none !important;
  margin-block: auto !important;
}

.sx-shelf {
  width: min(920px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 0 0 auto;
}
.sx-shelf-head {
  text-align: center;
}
.sx-shelf-head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  color: #fff8ec;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}
.sx-shelf-head h2::after {
  content: "";
  position: absolute;
  inset-inline: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.85), transparent);
}

.sx-shelf-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  align-items: start;
}
.sx-shelf-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .5rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 32%, transparent 58%),
    linear-gradient(180deg, rgba(48, 36, 72, .9), rgba(14, 10, 24, .95));
  border: 1px solid rgba(255, 214, 140, .42);
  box-shadow:
    0 14px 30px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.18);
  animation: sx-vitrine-rise .5s ease both;
  animation-delay: calc(var(--i, 0) * .05s);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sx-shelf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.72);
  box-shadow: 0 18px 36px rgba(0,0,0,.44), 0 0 24px rgba(168,85,247,.16);
}
.sx-shelf-hit {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
  padding: 0;
}
.sx-shelf-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(255,236,200,.34), transparent 56%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(124,58,237,.2), transparent 60%),
    linear-gradient(180deg, rgba(46,36,70,.98), rgba(10,8,18,.99));
}
.sx-shelf-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 50%, transparent 58%);
  pointer-events: none;
  opacity: .5;
}
.sx-shelf-media img,
.sx-shelf-media svg,
.sx-item-photo-wrap svg,
.sx-item-photo-wrap img {
  position: relative;
  z-index: 1;
  height: 70px;
  max-width: 78%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)) drop-shadow(0 0 16px rgba(251,191,36,.22));
}
.sx-item-photo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.sx-item-photo-wrap > svg,
.sx-item-photo-wrap > img {
  grid-area: 1 / 1;
}
.sx-item-photo-wrap > svg {
  z-index: 0;
}
.sx-item-photo-wrap > img {
  z-index: 2;
  background: transparent;
}
.sx-item-photo-wrap.has-photo > svg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.sx-item-photo-wrap > img.is-miss {
  display: none !important;
}
.sx-shelf-media::after {
  z-index: 3;
}
.sx-spot-thumb .sx-item-photo-wrap {
  width: 100%;
  height: 100%;
  place-items: center;
}
.sx-spot-thumb .sx-item-photo-wrap > svg {
  height: 88%;
  max-width: 88%;
  width: auto;
}
.sx-spot-thumb .sx-item-photo-wrap > img {
  height: 84%;
  max-width: 84%;
  width: auto;
  object-fit: contain;
}
.sx-shelf-badge {
  position: absolute;
  top: .4rem;
  inset-inline-end: .4rem;
  z-index: 2;
  min-width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffe8a3, #f59e0b);
  color: #1a1200;
  font-size: .55rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.sx-shelf-meta {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  align-items: center;
}
.sx-shelf-meta strong {
  font-size: .72rem;
  font-weight: 700;
  color: #fff8ec;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.sx-shelf-meta em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
  color: #fbbf24;
}
.sx-shelf-bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  border-radius: 999px;
  padding: .42rem .55rem;
  font-size: .66rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #9b6dff, #6d28d9);
  box-shadow: 0 8px 16px rgba(109,40,217,.34);
}
.sx-shelf-bag:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.sx-shelf-bag-ico {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}
.sx-shelf-bag-ico svg { width: 100%; height: 100%; display: block; }

/* Offers — equal visual weight to the product shelf */
.sx-shelf-deals {
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 36%, transparent 62%),
    linear-gradient(180deg, rgba(52, 34, 82, .92), rgba(12, 8, 22, .96));
  border: 1px solid rgba(255, 214, 140, .4);
  box-shadow: 0 16px 36px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.16);
}
.sx-shelf-deals h3 {
  margin: 0 0 .75rem;
  text-align: center;
  color: #f8e7c0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  position: relative;
  padding-bottom: .3rem;
}
.sx-shelf-deals h3::after {
  content: "";
  position: absolute;
  inset-inline: 34%;
  bottom: 0;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.75), transparent);
}
.sx-shelf-deals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}
.sx-shelf-deal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 5.4rem;
  padding: .8rem .55rem;
  border-radius: 16px;
  border: 1px solid rgba(251,191,36,.5);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,248,231,.24), transparent 48%),
    linear-gradient(160deg, rgba(98,42,180,.65), rgba(16,8,32,.94));
  color: #fff8e7;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.32);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sx-shelf-deal:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.85);
  box-shadow: 0 16px 30px rgba(0,0,0,.4), 0 0 20px rgba(251,191,36,.22);
}
.sx-shelf-deal b {
  font-size: 1.22rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 0 0 18px rgba(251,191,36,.35);
}
.sx-shelf-deal small {
  font-size: .74rem;
  line-height: 1.3;
  text-align: center;
  opacity: .92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.sx-shelf-deal-kind {
  font-style: normal;
  font-size: .58rem;
  font-weight: 700;
  color: rgba(253, 230, 138, .85);
  opacity: .9;
}

/* Vitrine catalog rail uses the same card sizing as hall/orbit (compact overrides removed). */

@keyframes sx-vitrine-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sx-orb {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, .45);
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.18), rgba(76, 29, 149, .7) 60%, rgba(8,4,20,.88));
  color: #fff8e7;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.sx-orb.is-mini { width: 48px; height: 48px; }
.sx-orb b { font-size: .62rem; color: #fbbf24; }

/* ═══════════ SALON — offers on top, tall catalog + infinite scroll ═══════════ */
.sx-root.is-hall.is-mode-salon .sx-mode-stage {
  z-index: 5 !important;
  justify-content: flex-start !important;
  align-items: center !important;
  overflow: hidden !important;
  padding-top: max(6.2rem, calc(env(safe-area-inset-top) + 5.2rem)) !important;
  padding-bottom: max(8.8rem, calc(env(safe-area-inset-bottom) + 7.6rem)) !important;
}
.sx-root.is-hall.is-mode-salon .sx-mode-stage > * {
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: min(980px, 100%) !important;
  max-width: 980px !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  margin-block: 0 !important;
  display: flex !important;
}
.sx-salon-layout {
  width: min(980px, 100%);
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1 1 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
.sx-salon-toolbar {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  width: 100%;
}
.sx-salon-search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .8rem;
  border-radius: 999px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.12), rgba(12, 8, 22, .84));
  border: 1px solid rgba(255, 214, 140, .38);
  box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.sx-salon-search-ico {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  opacity: .85;
  color: #fbbf24;
  flex: 0 0 auto;
}
.sx-salon-search-ico svg { width: 100%; height: 100%; display: block; }
.sx-salon-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff8ec;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
}
.sx-salon-search input::placeholder { color: rgba(255, 248, 236, .55); }
.sx-salon-count {
  flex: 0 0 auto;
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  color: #1a1200;
  background: linear-gradient(145deg, #ffe8a3, #f59e0b);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.sx-salon-empty {
  margin: 0;
  text-align: center;
  color: rgba(255,248,236,.8);
  font-size: .85rem;
  font-weight: 600;
  padding: .8rem;
  flex: 0 0 auto;
}
.sx-salon-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  align-content: start;
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: .15rem .1rem 1.1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(251,191,36,.35) transparent;
}
.sx-salon-fade {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sx-salon-fade > .sx-salon-mosaic {
  flex: 1 1 auto;
  height: 100%;
}
.sx-salon-fade::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3.6rem;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(to top, rgba(8, 6, 16, .8) 0%, rgba(8, 6, 16, .3) 50%, transparent 100%);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to top, #000 18%, transparent 95%);
  mask-image: linear-gradient(to top, #000 18%, transparent 95%);
}
.sx-salon-mosaic::-webkit-scrollbar { width: 4px; }
.sx-salon-mosaic::-webkit-scrollbar-thumb {
  background: rgba(251,191,36,.35);
  border-radius: 999px;
}

/* Product card — taller media, boutique feel */
.sx-salon-card {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  min-width: 0;
  margin: 0;
  padding: .48rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 214, 140, .4);
  cursor: pointer;
  color: inherit;
  text-align: center;
  background:
    linear-gradient(155deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 32%, transparent 58%),
    linear-gradient(180deg, rgba(48, 36, 72, .93), rgba(14, 10, 24, .97));
  box-shadow: 0 12px 26px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation: sx-vitrine-rise .45s ease both;
}
.sx-salon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.75);
  box-shadow: 0 16px 32px rgba(0,0,0,.42), 0 0 20px rgba(168,85,247,.14);
}
.sx-salon-hit {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
  font: inherit;
}
.sx-salon-bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  margin: 0;
  padding: .42rem .5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: .66rem;
  font-weight: 750;
  color: #fff8ec;
  background: linear-gradient(135deg, #9b6dff, #6d28d9);
  box-shadow: 0 8px 16px rgba(109,40,217,.34);
}
.sx-salon-bag:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.sx-salon-bag-ico {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}
.sx-salon-bag-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sx-salon-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 112px;
  border-radius: 13px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(255,236,200,.36), transparent 56%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(124,58,237,.2), transparent 60%),
    linear-gradient(180deg, rgba(46,36,70,.98), rgba(10,8,18,.99));
}
.sx-salon-media img,
.sx-salon-media svg {
  position: relative;
  z-index: 1;
  height: 78px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)) drop-shadow(0 0 14px rgba(251,191,36,.22));
}
.sx-salon-meta {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  align-items: center;
  padding: 0 .12rem .08rem;
}
.sx-salon-meta strong {
  font-size: .72rem;
  font-weight: 700;
  color: #fff8ec;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.sx-salon-meta em {
  font-style: normal;
  font-size: .76rem;
  font-weight: 800;
  color: #fbbf24;
}
.sx-salon-more {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 0 .2rem;
  opacity: .7;
}
.sx-salon-more span {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #fbbf24;
  animation: sx-salon-dot 1.1s ease infinite;
}
.sx-salon-more span:nth-child(2) { animation-delay: .15s; }
.sx-salon-more span:nth-child(3) { animation-delay: .3s; }
@keyframes sx-salon-dot {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* Slim offers strip ABOVE search */
.sx-salon-deals {
  flex: 0 0 auto !important;
  padding: .5rem .65rem .55rem !important;
  margin: 0 !important;
}
.sx-salon-deals h3 {
  margin: 0 0 .35rem !important;
  font-size: .84rem !important;
}
.sx-salon-deals .sx-shelf-deal {
  min-height: 3rem !important;
  padding: .4rem .35rem !important;
  gap: .14rem !important;
}
.sx-salon-deals .sx-shelf-deal b {
  font-size: .92rem !important;
}
.sx-salon-deals .sx-shelf-deal small {
  font-size: .6rem !important;
  -webkit-line-clamp: 1;
}

/* legacy mosaic hooks — keep harmless if referenced */
.sx-mosaic-tile { display: none; }
.sx-mosaic-cat { display: none !important; }

/* Keep offers fully above the dock */
.sx-root.is-hall.is-mode-salon .sx-shelf-deals,
.sx-root.is-hall.is-mode-vitrine .sx-shelf-deals {
  margin-bottom: 0;
}
.sx-root.is-hall.is-mode-vitrine .sx-shelf-deal {
  min-height: 3.6rem;
  padding: .55rem .4rem;
}
.sx-root.is-hall.is-mode-vitrine .sx-shelf-deal b {
  font-size: 1.05rem;
}
.sx-root.is-hall.is-mode-vitrine .sx-shelf-deals {
  padding: .7rem .8rem .75rem;
}
.sx-root.is-hall.is-mode-vitrine .sx-shelf-deals h3 {
  margin-bottom: .45rem;
  font-size: .92rem;
}

/* ═══════════ FOLIO ═══════════ */
.sx-folio-layout {
  width: min(1100px, 100%);
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  flex: 0 1 auto;
  height: min(58vh, 480px);
  max-height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
  align-self: center;
}
.sx-folio-spread {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: .85rem;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.sx-folio-hero {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  text-align: start;
  color: inherit;
  min-height: 0;
  height: 100%;
  background:
    linear-gradient(155deg, rgba(255,255,255,.1), transparent 40%),
    rgba(14, 10, 24, .82);
  border: 1px solid rgba(255, 214, 140, .36);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .42);
}
.sx-folio-hero:hover { border-color: rgba(251, 191, 36, .55); }
.sx-folio-hero-media {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 55% 35%, rgba(255, 236, 200, .14), transparent 55%),
    linear-gradient(180deg, rgba(28, 22, 40, .5), rgba(8, 6, 14, .75));
}
.sx-folio-hero-media img,
.sx-folio-hero-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-folio-hero-copy {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(6, 4, 14, .7) 30%, rgba(6, 4, 14, .94));
}
.sx-folio-hero-copy small {
  color: rgba(251, 191, 36, .95); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; font-size: .62rem;
}
.sx-folio-hero-copy strong {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #fff8ec; line-height: 1.25;
}
.sx-folio-hero-copy em { font-style: normal; color: #fbbf24; font-weight: 800; font-size: 1rem; }
.sx-folio-cta {
  margin-top: .2rem; align-self: flex-start;
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.sx-folio-rail {
  display: flex; flex-direction: column; gap: .45rem;
  min-height: 0; height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: none !important;
}
.sx-folio-rail-fade {
  position: relative;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sx-folio-rail-fade::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3.4rem;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(to top, rgba(8, 6, 16, .78) 0%, rgba(8, 6, 16, .28) 55%, transparent 100%);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 95%);
  mask-image: linear-gradient(to top, #000 15%, transparent 95%);
}
.sx-folio-rail::-webkit-scrollbar { display: none !important; width: 0 !important; }
.sx-folio-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: .55rem;
  align-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 16px;
  padding: .45rem .55rem;
  cursor: pointer;
  color: inherit;
  text-align: start;
  background: linear-gradient(155deg, rgba(255,255,255,.1), rgba(16, 12, 28, .88));
  border: 1px solid rgba(255, 214, 140, .26);
  transition: border-color .2s ease, transform .2s ease;
}
.sx-folio-row:hover {
  border-color: rgba(251, 191, 36, .5);
  transform: translateY(-1px);
}
.sx-folio-thumb {
  width: 64px; height: 64px; border-radius: 12px; overflow: hidden;
  background: rgba(0, 0, 0, .3);
}
.sx-folio-thumb img, .sx-folio-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-folio-row-copy { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.sx-folio-row-copy strong {
  font-size: .78rem; color: #fff8ec;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sx-folio-row-copy em { font-style: normal; font-size: .72rem; color: #fbbf24; font-weight: 800; }

/* ═══════════ ORBIT — VR carousel (hall-style 3D thumbs + sparkle + dual spin) ═══════════ */
.sx-orbit-layout {
  width: min(700px, 96vw);
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-height: min(88vh, 680px);
  overflow: visible;
}
.sx-vr {
  --planets: 6;
  --moons: 4;
  --orbit-dur: 48s;
  --moon-dur: 40s;
  position: relative;
  width: min(640px, 94vw);
  aspect-ratio: 1;
  max-height: min(84vh, 640px);
  margin: 0 auto;
  isolation: isolate;
  container-type: size;
  overflow: visible;
}
.sx-vr-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(168, 85, 247, .42), transparent 55%),
    radial-gradient(circle at 42% 58%, rgba(251, 191, 36, .2), transparent 58%),
    radial-gradient(circle at 60% 48%, rgba(96, 165, 250, .16), transparent 50%);
  filter: blur(12px);
  animation: sx-vr-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.sx-vr-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}
.sx-vr-sparkles i {
  --s: 0;
  position: absolute;
  left: calc(12% + (var(--s) * 4.2%));
  top: calc(10% + ((var(--s) * 19) % 78) * 1%);
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: #fff8e7;
  box-shadow:
    0 0 6px #fde68a,
    0 0 14px rgba(251, 191, 36, 1),
    0 0 22px rgba(196, 181, 253, .7);
  opacity: 0;
  animation: sx-vr-twinkle 1.8s ease-in-out infinite;
  animation-delay: calc(var(--s) * .12s);
}
.sx-vr-sparkles i:nth-child(3n) {
  width: .18rem;
  height: .18rem;
  background: #c4b5fd;
  animation-duration: 2.2s;
}
.sx-vr-sparkles i:nth-child(4n) {
  width: .34rem;
  height: .34rem;
  animation-duration: 1.45s;
}
.sx-vr-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  translate: -50% -50%;
  border: 1px solid rgba(255, 214, 140, .16);
}
.sx-vr-ring-outer {
  /* Offer track — visible oval so the curve reads as a cinematic orbit */
  width: 86%;
  height: 70%;
  border-style: dashed;
  border-width: 1.5px;
  border-color: rgba(251, 191, 36, .45);
  opacity: 1;
  box-shadow:
    0 0 28px rgba(251, 191, 36, .22),
    inset 0 0 40px rgba(251, 191, 36, .06);
}
.sx-vr-ring-mid {
  /* Product track — clearly inside offers */
  width: 54%;
  height: 54%;
  border-color: rgba(196, 181, 253, .42);
  box-shadow: 0 0 28px rgba(124, 58, 237, .28);
  opacity: .95;
}
.sx-vr-ring-inner {
  width: 20%;
  height: 20%;
  border-color: rgba(255, 214, 140, .55);
  box-shadow: 0 0 36px rgba(168, 85, 247, .45);
}
.sx-vr-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin: -2.1rem 0 0 -2.1rem;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 231, .85), transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, .92), rgba(10, 6, 22, .96) 72%);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, .7),
    0 0 32px rgba(168, 85, 247, .8),
    0 0 64px rgba(251, 191, 36, .45),
    0 0 96px rgba(96, 165, 250, .28);
  animation: sx-vr-core-breathe 2.4s ease-in-out infinite;
}
.sx-vr-core::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 191, 36, .45);
  animation: sx-vr-spot-pulse 2s ease-out infinite;
  pointer-events: none;
}
.sx-vr-core i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.45), transparent 52%);
}

/* Rotating product carousel — spin driven by js/storefront-hall.js (sxOrbitSpin) */
.sx-vr-system {
  position: absolute;
  inset: 0;
  z-index: 4;
  will-change: transform;
}
.sx-vr-slot {
  --n: var(--planets);
  --r: 26cqmin;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(var(--r) * -1));
}
.sx-vr-planet {
  position: absolute;
  left: 0;
  top: 0;
  width: 6.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * -360deg / var(--n))) rotate(var(--sx-spin, 0deg));
  animation: sx-vr-bob 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * .22s);
}
.sx-vr-pulse,
.sx-vr-halo {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5.1rem;
  height: 5.1rem;
  margin-left: -2.55rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.sx-vr-pulse {
  border: 2px solid rgba(251, 191, 36, .65);
  animation: sx-vr-spot-pulse 1.8s ease-out infinite;
  animation-delay: calc(var(--i) * .15s);
}
.sx-vr-halo {
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .5), 0 0 22px rgba(124, 58, 237, .55);
  animation: sx-vr-halo-glow 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .16s);
}
.sx-vr-planet.has-deal .sx-vr-halo {
  box-shadow: 0 0 0 2px rgba(251, 191, 36, .7), 0 0 28px rgba(251, 191, 36, .55);
}
.sx-vr-planet-ball {
  position: relative;
  z-index: 1;
  width: 4.85rem;
  height: 4.85rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .16), transparent 52%),
    radial-gradient(circle at 32% 30%, rgba(255, 248, 231, .24), transparent 48%),
    linear-gradient(180deg, #1a1626 0%, #0c0a12 100%);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, .55),
    0 0 18px rgba(124, 58, 237, .55),
    0 0 32px rgba(251, 191, 36, .25),
    0 12px 24px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .28s ease, box-shadow .28s ease;
  animation: sx-vr-ball-glow 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .2s);
}
.sx-vr-planet.has-deal .sx-vr-planet-ball {
  box-shadow:
    0 0 0 2.5px rgba(251, 191, 36, .75),
    0 0 26px rgba(251, 191, 36, .35),
    0 12px 24px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}
.sx-vr-planet:hover .sx-vr-planet-ball {
  transform: scale(1.1);
  box-shadow:
    0 0 0 2.5px rgba(251, 191, 36, .9),
    0 0 32px rgba(168, 85, 247, .55),
    0 16px 30px rgba(0, 0, 0, .55);
}
/* Product photos: full product visible inside the circle — do not crop */
.sx-vr-planet-ball .sx-item-photo-wrap {
  width: 100%;
  height: 100%;
  place-items: center;
}
.sx-vr-planet-ball img,
.sx-vr-planet-ball .sx-item-photo-wrap > img {
  width: 84% !important;
  height: 84% !important;
  max-width: 84%;
  max-height: 84%;
  margin: auto;
  object-fit: contain !important;
  object-position: center;
  display: block;
  border-radius: 0;
  background: transparent;
  filter:
    drop-shadow(0 4px 10px rgba(0, 0, 0, .5))
    drop-shadow(0 0 10px rgba(251, 191, 36, .18));
}
/* Fallback silhouettes — leave unchanged */
.sx-vr-planet-ball svg,
.sx-vr-planet-ball .sx-item-photo-wrap > svg {
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 6px 12px rgba(0, 0, 0, .55))
    drop-shadow(0 0 14px rgba(251, 191, 36, .28));
}
.sx-vr-planet-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .08rem;
  max-width: 7rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: rgba(6, 4, 14, .82);
  border: 1px solid rgba(251, 191, 36, .42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.sx-vr-planet-label strong {
  font-size: .62rem;
  font-weight: 750;
  color: #fff8ec;
  text-align: center;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-vr-planet-label em {
  font-style: normal;
  font-size: .62rem;
  font-weight: 850;
  color: #fde68a;
}

/* Offer moons — oval path (JS positions chips); ring is elliptical so the curve is visible */
.sx-vr-moons-ellipse {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.sx-vr-moons-system {
  position: absolute;
  inset: 0;
  z-index: 5;
  transform-origin: center center;
  pointer-events: none;
}
.sx-vr-moon-face {
  pointer-events: auto;
}
.sx-vr-moon-slot {
  --n: var(--moons);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: auto;
}
.sx-vr-moon {
  position: absolute;
  left: 0;
  top: 0;
  width: 5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .22rem;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, .35));
}
.sx-vr-moon::before {
  content: "";
  position: absolute;
  top: .15rem;
  left: 50%;
  width: 3.6rem;
  height: 3.6rem;
  margin-left: -1.8rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, .35);
  pointer-events: none;
  animation: sx-vr-spot-pulse 2.1s ease-out infinite;
  animation-delay: calc(var(--i) * .28s);
  z-index: 0;
}
.sx-vr-moon-core {
  position: relative;
  z-index: 1;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 236, 180, .85);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 248, 231, .55), transparent 45%),
    linear-gradient(150deg, rgba(251, 191, 36, .98), rgba(146, 64, 14, .95));
  box-shadow:
    0 0 0 4px rgba(8, 6, 16, .55),
    0 0 22px rgba(251, 191, 36, .55),
    0 0 40px rgba(251, 191, 36, .25),
    0 10px 18px rgba(0, 0, 0, .45);
  transition: transform .22s ease, box-shadow .22s ease;
  animation: sx-vr-moon-shimmer 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .35s);
}
.sx-vr-moon[style*="--i:1"] .sx-vr-moon-core,
.sx-vr-moon-slot[style*="--i:1"] .sx-vr-moon-core,
.sx-vr-moon-slot[style*="--i:3"] .sx-vr-moon-core {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 248, 231, .28), transparent 45%),
    linear-gradient(155deg, rgba(124, 58, 237, .9), rgba(16, 8, 32, .96));
  border-color: rgba(196, 181, 253, .6);
}
.sx-vr-moon-slot[style*="--i:1"] .sx-vr-moon-core b,
.sx-vr-moon-slot[style*="--i:3"] .sx-vr-moon-core b { color: #fde68a; }
.sx-vr-moon-core b {
  font-size: .58rem;
  font-weight: 900;
  color: #1a1200;
  text-align: center;
  line-height: 1.1;
  max-width: 2.5rem;
}
.sx-vr-moon-cap {
  max-width: 4.3rem;
  font-size: .48rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: rgba(255, 248, 236, .92);
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-vr-moon:hover .sx-vr-moon-core {
  transform: scale(1.12);
  box-shadow:
    0 0 0 3px rgba(8, 6, 16, .65),
    0 0 28px rgba(251, 191, 36, .6),
    0 10px 20px rgba(0, 0, 0, .5);
}

/* Angle property — 0deg and 360deg interpolate. transform matrices treat them as identical (frozen). */
@keyframes sx-vr-orbit-turn {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes sx-vr-spin {
  to { transform: rotate(360deg); }
}
@keyframes sx-vr-spin-ring {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes sx-vr-face {
  from { transform: translate(-50%, -50%) rotate(calc(var(--i) * -360deg / var(--n))); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--i) * -360deg / var(--n) - 360deg)); }
}
@keyframes sx-vr-moon-face {
  from { transform: translate(-50%, -50%) rotate(calc((var(--i) * -360deg / var(--n)) - (180deg / var(--n)))); }
  to { transform: translate(-50%, -50%) rotate(calc((var(--i) * -360deg / var(--n)) - (180deg / var(--n)) + 360deg)); }
}
@keyframes sx-vr-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes sx-vr-core-breathe {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      0 0 0 2px rgba(251, 191, 36, .65),
      0 0 32px rgba(168, 85, 247, .7),
      0 0 58px rgba(251, 191, 36, .35),
      0 0 90px rgba(96, 165, 250, .22);
  }
  50% {
    transform: scale(1.16);
    filter: brightness(1.35);
    box-shadow:
      0 0 0 3px rgba(251, 191, 36, .95),
      0 0 48px rgba(168, 85, 247, .95),
      0 0 84px rgba(251, 191, 36, .55),
      0 0 120px rgba(96, 165, 250, .35);
  }
}
@keyframes sx-vr-spot-pulse {
  0% { transform: scale(.88); opacity: .85; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes sx-vr-halo-glow {
  0%, 100% { opacity: .4; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.35); }
}
@keyframes sx-vr-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  35% { opacity: 1; transform: scale(1.45); }
  65% { opacity: .4; transform: scale(.85); }
}
@keyframes sx-vr-moon-shimmer {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.35); transform: scale(1.06); }
}
@keyframes sx-vr-bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -5px; }
}
@keyframes sx-vr-ball-glow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(251, 191, 36, .45),
      0 0 16px rgba(124, 58, 237, .4),
      0 12px 24px rgba(0, 0, 0, .5),
      inset 0 1px 0 rgba(255, 255, 255, .16);
  }
  50% {
    box-shadow:
      0 0 0 2.5px rgba(251, 191, 36, .85),
      0 0 28px rgba(168, 85, 247, .7),
      0 0 40px rgba(251, 191, 36, .35),
      0 12px 24px rgba(0, 0, 0, .5),
      inset 0 1px 0 rgba(255, 255, 255, .22);
  }
}

/* Legacy orbit hooks inert */
.sx-orbit-grid, .sx-planet, .sx-orbit-offers, .sx-orbit-orb { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  /* Orbit spin is JS-driven — do not freeze the carousel. Soften only decorative pulses. */
  .sx-vr-glow, .sx-vr-core, .sx-vr-pulse, .sx-vr-halo, .sx-vr-sparkles i,
  .sx-vr-moon-core, .sx-vr-planet { animation: none !important; }
}

html.is-storefront .sx-root.is-hall > aside.sx-rail .sx-pcards,
.sx-root.is-hall .sx-pcards {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

@media (max-width: 980px) {
  .sx-shelf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-shelf-deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-best-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-orbs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-offer-chip { min-height: 4.6rem !important; }
  .sx-salon-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-folio-spread { grid-template-columns: 1fr; }
  .sx-folio-layout {
    height: auto;
    max-height: none;
    flex: none;
    overflow: visible;
  }
  .sx-root.is-hall.is-mode-folio .sx-mode-stage {
    overflow-y: auto !important;
    justify-content: flex-start !important;
  }
  .sx-folio-hero { min-height: 260px; height: auto; }
  .sx-folio-rail { height: auto; max-height: 38vh; }
  .sx-orbit-layout { max-height: min(78vh, 560px); width: min(96vw, 560px); }
  .sx-vr { width: min(520px, 92vw); max-height: min(72vh, 520px); }
  .sx-vr-slot { --r: 25cqmin; }
  .sx-vr-moon-slot { --r: 47cqmin; }
  .sx-vr-planet { width: 5.6rem; }
  .sx-vr-planet-ball { width: 4.2rem; height: 4.2rem; }
  .sx-vr-pulse, .sx-vr-halo { width: 4.4rem; height: 4.4rem; margin-left: -2.2rem; }
  .sx-vr-moon { width: 4.4rem; }
  .sx-vr-moon-core { width: 2.9rem; height: 2.9rem; }
}
@media (max-width: 640px) {
  .sx-shelf-row,
  .sx-shelf-deals-grid,
  .sx-best-track,
  .sx-salon-mosaic { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .sx-orbs-track { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .sx-shelf-media { height: 88px; }
  .sx-shelf-media img, .sx-shelf-media svg { height: 58px; }
  .sx-shelf-deal { min-height: 4.4rem; padding: .65rem .45rem; }
  .sx-shelf-deal b { font-size: 1.05rem; }
  .sx-shelf-deals h3 { font-size: .95rem; }
  .sx-best-img { height: 92px !important; min-height: 92px !important; max-height: 92px !important; }
  .sx-best-img img, .sx-best-img svg { height: 62px !important; max-height: 62px !important; }
  .sx-offer-chip { min-height: 4.2rem !important; padding: .6rem .5rem; }
  .sx-offer-chip b { font-size: 1rem !important; }
  .sx-orbs-title { font-size: .92rem; }
  .sx-vr { width: min(400px, 94vw); max-height: min(62vh, 400px); }
  .sx-vr-slot { --r: 24cqmin; }
  .sx-vr-moon-slot { --r: 46cqmin; }
  .sx-vr-planet { width: 4.8rem; }
  .sx-vr-planet-ball { width: 3.6rem; height: 3.6rem; }
  .sx-vr-pulse, .sx-vr-halo { width: 3.8rem; height: 3.8rem; margin-left: -1.9rem; }
  .sx-vr-planet-label strong { font-size: .52rem; }
  .sx-vr-moon { width: 3.8rem; }
  .sx-vr-moon-core { width: 2.55rem; height: 2.55rem; }
  .sx-vr-moon-core b { font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-shelf-card, .sx-shelf-deal, .sx-best-card, .sx-mosaic-tile, .sx-planet, .sx-folio-hero, .sx-offer-chip, .sx-orbit-orb, .sx-vr-glow, .sx-vr-core { transition: none !important; animation: none !important; }
}
